Basic Web Browser commands to get/set all the field name/values of a Node Item:
addresses: mm:00 to 19(MAC), ss:00 to 99(shared), pp:00 to 99(private/paired)
alternatieve: Building           Floor                 Room
      (always an even number of fields, use a dot or space as empty field)
(from) WS: this WebSocket-browser address, or the address of the sender mmsspp
|mmsspp|WS|ITEMS|.|                  get- Item numbers and name(s) list
|mmsspp|WS|LIST|Item number| get- Item[n] parameter list (number from ITEMS) |mmsspp|WS|DATE(or)TIME|.| get- local date and time
|mmsspp|WS|GETTIME|.| get- UTC/GMT UNIX TimeStamp
|mmsspp|WS|SUN|.| get- today Sunrise and Sunset local time
|mmsspp|WS|DST|.| get- local DST/Summertime yes/no and dates
|mmsspp|WS|SETTIME|TimeStamp| set- UTC/GMT UNIX TimeStamp (if not using NTP-time)
|mmsspp|WS|USEDST|0/1| set- 0: No, 1: YES |mmsspp|WS|INITVAL|.| set- use the original initial Item values
|mmsspp|WS|CMD|Item number| get- list additional commands of this Node Item |mmsspp|WS|command|Item number| get- the value of a additional command |mmsspp|WS|ONLINE|.| get- is this Node online |mmsspp|WS|OTA|.| start- Over-The-Air upload, time window 5 minutes ----------------------------------------------------------------------------
mmsspp or mmss-- nn: private command, --: private/paired command (all from 00 to 99) after the addresses |name|Item name| then the |field name|new value|...|...|etc... suppose we have Node item(s): |name|lamp|mode|1|status|0|pause|0|rise|10|set|10| and we want to change the values status and mode (the order is unimportant) |000102|WS|name|lamp|mode|2|status|1| private 02: set- lamp ON and mode to 2
|0001--|WS|name|lamp|status|1| paired --: set- lamp(s) ON from room 00 to 99 |0000--|WS|ITEMS|.| get- list all Node items from room 00 to 99 |0111--|WS|ONLINE|.| get- list all online Nodes from room 00 to 99 -- use these wildcards careful, with 'set-' it modifies all paired private Nodes! addresses are declared in "myST_??????.ino" and the Item(s) in "myST_Node.h" Home pages: www.kendziorra.nl