News for hackers. Stuff that matters.
Re:How I Use Home Assistant in 2025 by wkat4242 on Friday January 24, 2025 @11:18PM (#42819460)
The problem with smart switches is they require 3 wires: live, neutral and the switched wire to the light. Where I live most switches have only two: live and the switched wire to the light. The neutral goes directly to the light and doesn't pass through the switch. Because of this I have no way to power the smart switch module. Unless I want to rewire half the house :(
Re:How I Use Home Assistant in 2025 by gorgoiler on Saturday January 25, 2025 @12:35AM (#42819760)
Sonoff make modules that don’t need a neutral connection:

https://sonoff.tech/product-review/product-insight/zbmini-ex...

I assume they hack what little power they need from the AC wobble? How do they do that without triggering a current leakage cutout though? Perhaps they “charge” when current flows for the first time?

Re:How I Use Home Assistant in 2025 by XorNot on Saturday January 25, 2025 @02:22AM (#42820112)
Athom make ESPhome smart switches with no neutral wire, they work great.

The way it works is you put a bypass capacitor to neutral in the light fixture, and then it lets the switch be powered - no flicker or low energy requirements needed.

Re:How I Use Home Assistant in 2025 by wkat4242 on Saturday January 25, 2025 @11:35AM (#42822626)
Ah I see, does require to modify the light though. But it's interesting to look at, thanks. I don't use Homey though, I use Home Assistant. So I'm not sure if it works with that.
Re:How I Use Home Assistant in 2025 by XorNot on Saturday January 25, 2025 @01:34PM (#42823514)
? They're ESPhome smart which is specifically Home Assistant? https://www.athom.tech/blank-1/no-neutral-wall-touch-switch-...
Re:How I Use Home Assistant in 2025 by wkat4242 on Saturday January 25, 2025 @05:55PM (#42825779)
Ooh I see. Athom also has their own system called homey: https://en.m.wikipedia.org/wiki/Homey_(smart_hub)

They're not open source so I thought maybe their other stuff isn't either. I didn't even know they made switches in fact.

Several of my friends have the homey, they're very popular here because athom is a Dutch company and they market here a lot. But I prefer the openness of home assistant.

Edit: Aah I see the confusion. The athom that makes the esphome devices is a Chinese copycat company that has nothing to do with the real athom but is trying to get a free ride on their name.

They've just received an injunction banning their sales in the EU and have to take back all their products sold here. https://community.homey.app/t/athom-wins-lawsuit-against-chi...

I had never heard of the Chinese company before.

Re:How I Use Home Assistant in 2025 by JoBrad on Saturday January 25, 2025 @06:44AM (#42821076)
Caseta dimmers don’t require a neutral wire.
Re:How I Use Home Assistant in 2025 by willis936 on Saturday January 25, 2025 @08:43AM (#42821582)
Returning current through ground is a bad idea in general. You should consider rewiring your house for the safety benefits rather than enabling some smart devices.

Putting significant return current through ground means anything in the environment can be part of the path of least resistance. You will see small voltages across your house depending on what loads are on and there will be load-dependent noise conducted and radiated everywhere. This also puts the system one open circuit away from making nearly every conductive part of your house a shock hazard (if the wrong place in the ground network goes open circuit).

What is done in modern times is to have the current return on a neutral wire then monitor the ground wire for current and open the circuit when current is flowing back through ground (a fault).

Re:How I Use Home Assistant in 2025 by wkat4242 on Saturday January 25, 2025 @11:32AM (#42822604)
Huh? I never mentioned ground. I said neutral.

Returning current through ground is impossible in Europe anyway due to residual current breakers. More than 30mA and the whole system shuts down.

And none of the light switches have ground either by the way.

Re:How I Use Home Assistant in 2025 by willis936 on Saturday January 25, 2025 @01:13PM (#42823372)
How does the current return? Do you have two phases running to every endpoint?

Try putting a 50 mA fault and see if the GFCI does anything. It won't if you don't have a second line for return current.

Re:How I Use Home Assistant in 2025 by wkat4242 on Saturday January 25, 2025 @03:48PM (#42824722)
No, the current goes back through the neutral. This is the normal operating mode with single phase power.

This is different from ground. Neutral is the way the return is meant to go. Ground is a safety feature. Connected to the enclosure in some devices.

So sockets here have 3 wires: Live (Brown), Neutral (Blue) and Ground (Green with Yellow stripe). But the switches only have Live and the Switching wire (Black, the wire that goes to the light). The light then receives the switching wire and has Neutral. Because the power is consumed in the light and returns via neutral.

The switch doesn't need the neutral normally because it doesn't use any power. It just switches it on and off on the way to the light. But the wifi switchboxes do need it because they need to remain connected even when the switch is off.

Re:How I Use Home Assistant in 2025 by ianburrell on Saturday January 25, 2025 @06:01PM (#42825835)
There are some smart switches that work without neutral. They trickle some power through the load. This only works with some loads. I have one fixture with small LEDs where one of them glows slightly.