Simple Python MQTT Sensor Simulator

If you are trying to learn MQTT or are working on a MQTT prject then having access to real time data is very important. The aim of this project is to create a very simple two state binary sensor, that can be controlled externally using MQTT. The sensor could be used to simulate real world objects like lights, doors etc that have two states on or off, open or closed etc in IOT projects.

Continue reading