MQTT is a client-server based message publish/subscribe transport protocol.The MQTT protocol is lightweight, simple, open, and easy to implement, and these characteristics make it applicable to a wide range of applications. In many cases, including in constrained environments such as: machine-to-machine (M2M) communication and the Internet of Things (IoT). Its use has been widespread in, communicating sensors via satellite links, medical devices with occasional dialing, smart homes, and some miniaturized devices.
Here we use the lightweight mosquitto as an example
I generally use this method of installation, if this method is not feasible, please try other options on their own Baidu.
Just use MQTT nodes, one for subscribing and one for publishing.
Here is a brief introduction, if you need to configure security or other aspects of the information, you can see the node information.
So a subscription node is ready. The same is true for publishing information, using the publish node.
Because the field garden lights do not arrange the line to the intelligent control box, so you can only use MQTT relays to realize the control.
Buy MQTT relay (Taobao buy sonoff brush firmware, you can also buy on the idle fish I brush good)
Configure the device's wireless network, you can see my article how to configure how to use the KNX wireless relay instructions
and enable the MQTT protocol can be.
Through this series of operations, the success of the garden lights control up.
You can import your own test
.