Switch or temperature device using on other nodes and their devices
Switch or temperature device using on other nodes and their devices
Is it possible to use a switch device state or a temperature device value on devices that are on another node and how?
-
- Posts: 23
- Joined: Sat Jan 18, 2025 2:31 pm
Re: Switch or temperature device using on other nodes and their devices
You can achieve this by using MQTT. Configure both nodes to connect to the same MQTT broker.The node with the switch or temperature sensor publishes the data to an MQTT topic. For example, the temperature sensor node publishes to home/room1/temperature.The other node subscribes to the same topic to receive updates in real-time. Use the received value to control the state or make decisions.
-
- Posts: 313
- Joined: Wed Feb 20, 2019 7:02 am
Re: Switch or temperature device using on other nodes and their devices
In the context of ESP RainMaker, node to node direct communication is not possible. You can, however, create automations using the RainMaker phone apps, so that events on one node can trigger actions on others.
Who is online
Users browsing this forum: No registered users and 13 guests