magico13 / PyEmVue

Python Library for the Emporia Vue Energy Monitor
MIT License
185 stars 36 forks source link

Getting A & B phases for circuit leveling #44

Open gauthig opened 1 year ago

gauthig commented 1 year ago

Instead of just getting Home usage in getchart (history), can you pull the A&B side of both phases? Not sure if the data is exposed but it is there as when you do an extract from Emporia all history file show Home_1 and Home_2 instead of a single Home total.

DabblerIOT commented 4 months ago

I am new to this project and ha. But... if you are in the USA residential is a single primary coil and a center tap secondary coil. So A&B are the same phase / coil off the transformer on the street. (Understand?). Commercial 3 phase is different. Both phases are "in phase" with each other in residential, not offset 33% like 3 phase power. Link with a nice transformer drawing. Ex: If you put a scope on a and b the voltage lines will be on top of each other.

https://science.howstuffworks.com/environmental/energy/power7.htm#:~:text=At%20each%20house%2C%20there%20is,up%20normal%20household%20electrical%20service.

On most standard panels every other breaker is A or B. If you look at your panel you should be able to figure out the panel by looking at the bus bars in unused breaker slots.

You could make a new sensor using ha / settings / devices and services / helpers... there is a math helper there you can make a new sensor and combine other sensors just with gui.

Not sure why you would really care about this for residential that much, as in both "phases" are off the same transformer coil. Most of your big loads (compressors, well pump, ovens, dryers) and so on will be 240 and balanced. (Why you can put one ct on them in emporia and use multiplier of 2).

I don't see any data published via the emporia api if a circuit is on A or B phase.

Cheers.