Localized IOT – JSON Sensor Command Documents

Sensor Commands

*Returns current sensor value – overrides time and change value
{“doc_type”:”sensor_cmd”,”dstNode”:”ESP8266″,”cmd”:”report”}

*Updates Sensor config – Read Time
{“doc_type”:”sensor_cmd”,”dstNode”:”ESP8266″,”cmd”:”urtime”,”data”:6000}

*Updates Sensor config – Outbox
{“doc_type”:”sensor_cmd”,”dstNode”:”ESP8266″,”cmd”:”usoutbox”,”data”:”new”}

*Updates Sensor config – Change Value
{“doc_type”:”sensor_cmd”,”dstNode”:”ESP8266″,”cmd”:”uscngval”,”data”:0.5}