--------------------------------------------------------------------------------
 Description of JSON file values.json from P85xx/P86xx (P8511, P8541, P8510,
                            P8610, P8631, P8611, P8641, P8552, P8652, P8653)

 file path: http://<IP>/values.json

 v2.0 for firmware 4-5-8-2, 2023-02-24
--------------------------------------------------------------------------------


Top objects
--------------------------------------------------------------------------------

|----------------|--------------|----------------------------------------------|
| Name           | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| devname        | String       | Device description (name).                   |
|----------------|--------------|----------------------------------------------|
| devsn          | String       | Device serial number.                        |
|----------------|--------------|----------------------------------------------|
| time           | String       | Current time according RFC3339.              |
|                | RFC3339 time | Blank if time is not synchronised with NTP.  |
|----------------|--------------|----------------------------------------------|
| timeunix       | String       | Unix timestamp (seconds since 01/01/1970).   |
|                |              | Blnak if time is not synchronised with NTP.  |
|----------------|--------------|----------------------------------------------|
| synch          | String       | Device synchronised with NTP server (=1).    |
|----------------|--------------|----------------------------------------------|
| ch1            |              | Object with information about each channel   |
| ...            |              | with current measured values.                |
| ch5            |              |                                              |
|----------------|--------------|----------------------------------------------|
| bin1           |              | Object with information about each binary    |
| bin2           |              | input channel.                               |
| bin3           |              |                                              |
|----------------|--------------|----------------------------------------------|


Object for channel(s)
--------------------------------------------------------------------------------

|----------------|--------------|----------------------------------------------|
| Name           | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| name           | String       | Channel name (measured value type).          |
|----------------|--------------|----------------------------------------------|
| unit           | String       | Unit name.                                   |
|----------------|--------------|----------------------------------------------|
| aval           | String       | Current measurted value. As decimal point    |
|                |              | separator is used dot. Error states are      |
|                |              | "Error 1", "Error 2", etc. and "n/a".        |
|----------------|--------------|----------------------------------------------|
| alarm          | Integer      | State of Alarm (0=no alarm, 1=high alarm,    |
|                |              | 2=low alarm).                                |
|----------------|--------------|----------------------------------------------|


Object for binary input(s) - only for P8552, P8652, P8653
--------------------------------------------------------------------------------

|----------------|--------------|----------------------------------------------|
| Name           | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| name           | String       | Binry input name.                            |
|----------------|--------------|----------------------------------------------|
| aval           | String       | State of binary input.                       |
|----------------|--------------|----------------------------------------------|
| alarm          | Integer      | State of Alarm (1=active).                   |
|----------------|--------------|----------------------------------------------|

