Creating a Simple Controllable MQTT Sensor With Node-Red

Опубликовано: 08 Октябрь 2024
на канале: Steve Cope
19,263
169

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/downloa...
Website Node-red
https://stevesnoderedguide.com

Other videos
Simple MQTT Controllable Sensor Using Python
   • How to create a Smple Controllable MQ...  
-------------
How to Store Data In Node Red Variables
   • How to Store Data In Node Red Variables  
-----------------------
MQTT Publish and Subscribe Using Node Red
   • MQTT Publish and Subscribe Using Node...  

If you find these videos useful then you might want to consider buying me a coffee
https://www.paypal.me/StepenCope