Home » Howto & Style » Creating a Simple Controllable MQTT Sensor With Node-Red

Creating a Simple Controllable MQTT Sensor With Node-Red

Written By Steve Cope on Tuesday, Mar 20, 2018 | 01:54 PM

 
- In this video tutorial we will create a very simple controllable MQTT sensor that you can use in IOT projects to simulate a two state sensors like lights,doors etc The sensor can be controlled across the Internet by sending simple MQTT commands. We look at choosing suitable topic prefixes for sensor state and sensor commands to allow control of multiple sensors. We examine the function node in detail and I show you the function node extracts commands and sends status information. Flows download http://stevesnoderedguide.com/download/node-red-controllable-sensor-flow Website Node-red https://stevesnoderedguide.com Other videos Simple MQTT Controllable Sensor Using Python https://youtu.be/XF1Lfcj1YyI ------------- How to Store Data In Node Red Variables https://youtu.be/kNfP1vw2Img ----------------------- MQTT Publish and Subscribe Using Node Red https://youtu.be/XDrwgMSQrEY If you find these videos useful then you might want to consider buying me a coffee https://www.paypal.me/StepenCope