Anyone using the Shelly 1 in combination with ESPHome?

May be the Shelly has a small pull down and the button press takes it high.
If you use a pull up which wins the Shelly’s pull down you will always read high.
You use a pull up resistor when your button connects to ground. When button is idle I t will read HIGH and LOW when pressed. You usually invert the switch if that makes sense when the switch has ON/OFF markings
You use a pull down resistor when your button connects to +v (3.3v)

Looking at the Shelly page I see GPIO5 is connected to mains AC somehow. So circuitry here is not as simple as a pull up or pull down with a simple button to ground or 3.3v.

when it comes to connecting the wires… im a bit confused with the I/O and SW.
Is this a correct wiring?

1 Like

@filippos FWIW, that looks like the same wiring setup as what I have and in my case it works.

Fore reference, I learned about it here : http://www.thesmarthomehookup.com/the-shelly-1-smart-relay-is-it-better-than-the-sonoff-basic/

2 Likes

With the Shelley 1 the I is the load in for the O load out
you need 2 x Active lines in to L & I.
1 x neutral in to N 1 x active switch wire to SW.
This is cause you can power the Shelley 1 with DC or AC
The Shelly 2 uses the L to provide the load out and only runs on AC

yep, i used this wiring and it worked

2 Likes