I’ve been working on a project to integrate my smart thermostat with a Shelly-1 switch to control my heater. The goal is to ensure that the Shelly switch turns on when the thermostat calls for heat and turns off when it signals to stop. While I’ve managed to set up an automation that connects the two, I’m curious if there’s a more direct way to link them without relying solely on an automation rule.
I’ve considered using a binary sensor to detect the thermostat’s state and then trigger the Shelly switch accordingly. However, I’m concerned about potential synchronization issues. It’s crucial that the switch never falls out of sync with the sensor, as that could lead to the heater not turning on or off when it should.
To address this, I’ve thought about combining a trigger on the sensor’s state change with periodic checks to ensure everything stays in sync. If I were to use an automation, how would I structure it to handle both immediate responses and regular verification? Any insights or best practices would be greatly appreciated! ![]()
![]()