--------------------------------------------------------------------------------
 Description of XML file values.xml from P2520

 file path: http://<IP>/values.xml
 structure of XML file is described at XSD schema

 v1.1 for firmware 7-5-1-0 or higher, 2021-03-17
--------------------------------------------------------------------------------


Tags in <root> key
--------------------------------------------------------------------------------
                                                                                
|----------------|--------------|----------------------------------------------|
| Tag            | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| <err>          | 0, 1         | 0 = values are valid                         |
|                |              | 1 = error state, other tags are not in XML   |
|----------------|--------------|----------------------------------------------|
| <devname>      | String/66    | Device description (name)                    |
|----------------|--------------|----------------------------------------------|
| <devsn>        | String/8     | Device serial number                         |
|----------------|--------------|----------------------------------------------|
| <time>         | RFC3339 time | Current time according RFC3339.              |
|                |              | Blank if time is not synchronised with NTP.  |
|----------------|--------------|----------------------------------------------|
| <timeunix>     | Integer/32b  | Unix timestamp (seconds since 01/01/1970).   |
|                |              | Blnak if time is not synchronised with NTP.  |
|----------------|--------------|----------------------------------------------|
| <synch>        | 0, 1         | Device synchronised with NTP server (=1).    |
|----------------|--------------|----------------------------------------------|
| <ch1>          |              | Element with information about each channel  |
|  ...           |              | with current measured values.                |
| <ch2>          |              |                                              |
|----------------|--------------|----------------------------------------------|


Tags for channel(s)
--------------------------------------------------------------------------------

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

