Il formato è identico a quello di MBusEasy.
With the ModBus Reading/Settings menu, you can enter the URL of your own script (must be standard http:// and for the default port, 80); either as http://www.aserver.com/nicescript.php or simply www.aserver.com/nicescript.php.
Or nicescript.pl or nicescript.py - any server programming language that can read a POST request in normal CGI standard is OK; the name of the script is your choice.
The CGI parameters passed on are:
webid (unique identifier; preset when ModBusEasy is assembled)
rmt (remote mode: wifi or gsm; you may use it for display purpose)
batt (battery charge in % - if less than 25 batteries must be replaced)
rtim (current reading frequency in minutes)
rtimset (if this is 1, a end user has just changed the reading frequency, locally)
err (errors, if any, in plain text)
f (the readings, in plain text as HEX to Ascii)
The server MUST reply with a short text reply (any reply will be actually read as text; lines terminated by LF), in this format:
This is a message (one line) that will be shown to the end user if present.
OK data saved
2019-03-31 10:11 (the current UTC/GMT time, used to adjust the internal Clock)
2019-03-31 10:11 (last reading time; or can be a empty line)
2019-03-31 10:11 (last correct reading time; or can be a empty line)
360 (reading frequency for next reading, in minutes)
0 (summer mode)
(C) 2020 VisualVision