Used with success here to replace some old “va et vient” as we say in french (basically when you have multiple, well more than one button) wired in parallel to control a single light circuit !). Relays were very noisy (old ones, 40 years old) and impossible to integrate with HA, and wanted also feature to switch off automatically after a while (if it’s forgotten on) !
Wired easily the Shelly 1 in replacement of the relay and used this sketch:. I made a toggle for the relay command as I have only push buttons in this system so I need relay to change state at each push !
I did not do this with my shelly but with 2 Gosund wall plugs. They had Tasmota installed. I compiled esphome for them and flashed it OTA in the Tasmota Webinterface of the wall plug.
Hi, I am trying now to flash this particular shelly with ESPhome, I opened my switch, and can access it.
I have on one shelly the same situation (I think) as you but I have an ON/OFF switch (on position for ON and one position for OFF): the SW is connected to the On/OFF phisical switch. and the 1-0 to the same light connected to the mechanical switch.
Basically now I can turn on-off the light from the mechanical switch or from Home assiatant: of course the switch and HA are not sincrnonized (the position of the switch can change depending if HA was used, but I don’t care much about it.
Hello.
I have received my Shelly 1 v3 and Shelly 2.5 today.
Im thinking about flashing my shelly 1 with EspHome.
My wall switch doesnt bounce back so im wondering how this is going to affect syncing the switch state on my hassio. It would be disturbing hassio to state the switch off each time i switch the lights on from the physical switch.
I have some Shelly at home, all with the original firmware that works well and did not gave me any issues in months. I control them via MQTT in Hassio, so I can use the Lovelace interface tu turn them on or off, Alexa (via Hass.io CLOUD), Google Home (via CLOUD), and of course the phisical switches.
As told, I decided to not reflash them with Tasmota or ESPhome since they worked really well (old rule: NEVER change something that works well !!)
Could someone elaborate, why in my case it worked without the PULLUP?
Anyone knows how the shelly 1’s circuit is made, so what is the binary_sensor actually physically reading.
As it works, I assume a clear HIGH or LOW arrives at PIN GPIO05.
i suspect that the binary sensor inspects the button’s behaviour (if it is pressed, how it is pressed, how long etc) so that it fires the corresponding action to the relay in the GPIO.
I can’t say that I understood the meaning of the pullup though in practical terms