Page 1 of 1

Switch or temperature device using on other nodes and their devices

Posted: Sat Jan 18, 2025 3:16 pm
by BerndN
Is it possible to use a switch device state or a temperature device value on devices that are on another node and how?

Re: Switch or temperature device using on other nodes and their devices

Posted: Mon Jan 20, 2025 1:45 pm
by ahsrabrifat
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.

Re: Switch or temperature device using on other nodes and their devices

Posted: Mon Jan 20, 2025 5:42 pm
by ESP_Piyush
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.