From 2a7c4253029a473ff774e12a4baa9bdc73716a49 Mon Sep 17 00:00:00 2001 From: Eveldee Date: Thu, 21 Mar 2019 21:51:32 +0000 Subject: [PATCH] Update page 'Command_Historic' --- Command_Historic.md | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Command_Historic.md diff --git a/Command_Historic.md b/Command_Historic.md new file mode 100644 index 0000000..62317c8 --- /dev/null +++ b/Command_Historic.md @@ -0,0 +1,47 @@ +# Historic - Command + +## Description + +Request historic of each captor mean values at different intervals + +## Request + +| Command | Argument1 | Argument2 | +| :------: | :-------: | :-------: | +| HISTORIC | Interval | Number | + +- **Interval**: Interval between each value, can be (case insensitive): + - Monthly + - Weekly + - Daily + - Hourly + - Minutely (this is dependant of the server implementation, default is 10 minutes) +- **Number**: Number of values to request + +## Response + +| Command | Argument1 | Argument2 | Argument3 | +| :------: | :--------: | :----------: | :----------: | +| HISTORIC | Humidities | Luminosities | Temperatures | + +> Multiple values are separated by a `/` + +- **Humidities**: Humidities in % +- **Luminosities**: Luminosities in lux +- **Temperatures**: Temperatures in °C + +## Example + +```md +HISTORIC +Hourly;4 +``` + +> Request + +```md +HISTORIC +87/76/64/53/45;874/765/643/512/460;24.5/24.2/23.9/23.5/23.1 +``` + +> Response \ No newline at end of file