EnigmaIOT
0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
|
This shows the simplest implementation of EnigmaIOTjsonController.h that accepts commands.
Led can be turned on by sending the right command.
Using EnigmaIOT Gateway MQTT, this node get commands if MQTT messages use this format.
You may interrogate node for led status in any moment by sending this message
Node will answer with a message using this format.
No configuration data is added here to keep example as simple as possible.