ive googled and havent found what i looking for i seen the ZMPT101B to measure voltage but there doesnt seem to be working in ESPHOME people tried but no luck…
what i want is i got a automatic transfer switch for when power goes out there is 2 leads that put out 120vac on them when power is working and i wanna hook up a lead wire like a multimeter to the terminal screw and measure like 120vac like a multimeter would… is there any device that works in home assistant that does the same… or is there something for esphome to use with a esp32 device that would work… i looked at a hall effect and a current sensors
but then i come to a wall alot of stuff only for DC power and not AC
ya thats not going to work cuz u gotta plug something in here is pic of my transfer switch … N1 N2 put 120vac on them from the main lines i wanna be able to probe those 2… so when power goes out and HA is on battery backup… the esp or other device can read N1 or N2 that power is 0v or at least 110v and higher…
what do you call that device? and what is a KV isolation?
and it doesnt have to report the voltage but it be nice… as i was making in node red if its 100vac above do nothing if its below 100vac or 0 it would report back or start generator etc… so i wanted it to report the voltage in home assistant constantly
and this device above what voltage does it tell esphome its connected
but ill look into this one too… and i guess there is no real voltage reporting device i was hoping something simple but like ZMPT101B apparently can report the voltage AC but it seems people have issues with esphome no working… but it works for arduino code…
They meant the other end. There’s nowhere to plug the smart plug in. They are screw terminals.
Though fitting a socket that connects to the N1 & N2 terminals would be easy enough.
comet424 please don’t take this the wrong way but it does not sound like you have much of an understanding of electricity. For the safety of yourself and others get a qualified electrician to do this.
as for N1 N2 ya could you would need to wire 2 smart plugs to them, since
N1 N2 is reliative to L1 L2 so you have 220vac across the terminals so youd have to wire it 1 plug from N1 to Netural and N2 to Neutral but the problem using a wifi is its flaky and if it disconnects from wifi more then 5 min or doesnt come back on it would create the automation to think power is out when its not… so this where you want accurate and non wifi solution right now i use a Shelly 4PM pro with an ethernet but its giving false positive when power removed 0 it thinks it has power on Switch 1 and Switch 2 so i was going for an alternative… to detect but illook those up
i have an understanding what i was going to do was
use 2 ZMPT101B
so 1 goes to N1 and othjer goes to N2 and both go to the netural but since the ZMPT101B doesnt work for esphome its not option
and then HA would read N1 has 120vac and N2 has 120vac
if you wanted to use Smart Plug youd wire it
youd wired it one side N1 and other side Netural and then home assistant would read if it has voltage or it goes Unavaliable
and to read
N2 you do the same
so with ZMPT101B you have N1 going into 1 screw terminal and the other goes to Netural bar. and you do this for N2 this way you be reading
N1 110volts and N2 110 volts an a combined 220vac thats how you probe things with a multi meter
If N1 and N2 are different phases you just wire one device capable of monitoring 240V between N1 and N2.
That could be an optocoupler or a relay.
Simple.
No need for two transformers like the ZMPT101B (which could be made to work with an ESP quite easily btw). Why do you insist on making it complicated by trying to measure the voltage when all you need to know is if the voltage is present ort not?
single phase just N1 is relative to L1 and L2 for N2 and i wanted to monitor both Wires i didnt think you can wire both well i guess you could go N1 N2 to the ZMPT101B to read 220vac that would work too
but if you know how to make the ZMPT101B work great cuz i can easily buy it off amazon… i only seen videos how to get it to work with arduino
and the reason is i use a Shelly Pro 4 where i run N1 into Switch 1 and Switch 2 for N2 and the issue i get false postive is it simulates turning on a switch but damn thing is sensing if there is power or no power as a switch is on so it wasnt reliable for me so thats why i wanted to go with a voltage reading to be more accurate… cuz i didnt want false reading to cause automation run when its reading wrong…
and i seen those octopulars you mentioned on amazon and aliexpress for the 220v which would work too as you mentioned it will report 1 or 0
i did look at the esphome page for voltage sensors go figure they just all chips and not complete modules really
And the reason it has not been implemented is that it is not needed. The ZMPT101B can work with the ADC component as long as you deal with the 5V hardware supply requirement.
However again, the ZMPT101B is not the best solution. You don’t need to measure the RMS voltage. You just need to know if the voltage is there. Stop over complicating it.
As much as I am a fan of DIY, there are some people who demonstrate the need for hiring someone.
To wit.
So, you cut an extension cord to give you a socket for your Smart Switch.
Most smart switches will work from 85-240V, but you haven’t explained why you need to measure both phases when one phase to ground would give you the same information.