Localized IOT – JSON Node Command Documents

Node Commands


Node Command – Is Alive
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”isAlive”}

Reply – Node Online – Published Message


Node Command – Update MQTT InBox
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”uminbox”,”data”:”new”}


Node Command – Update MQTT Outbox
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”umoutbox”,”data”:”new”}


Node Command – Update MQTT Broker
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”umbroker”,”data”:”new”}


Node Command – Update MQTT User
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”umuser”,”data”:”new”}


Node Command – Update MQTT Password
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”umpass”,”data”:”new”}


Node Command – Device Restart
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”xrestart”}


Node Command – Get Device Firmware
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”fware”}

++++Reply
{“doc_type”:”node”,”node_name”:”ESP8266″,”chp_id”:”2286510″,”tdata”:”firmware”,”data”:1}


Node Command – Update Node name
{“doc_type”:”node_cmd”,”dstNode”:”ESP8266″,”cmd”:”unodename”,”data”:”new”}