ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

Watts To Amps

Open pleeplow20 opened this issue 3 years ago • 4 comments

I am trying to Change Watts to Amp is there any way to change it

pleeplow20 avatar Sep 14 '20 19:09 pleeplow20

There's an ongoing conversation in the PyEmVue library github (the one I wrote/use for this) in that amps is not directly accessible from the API. Until something for that is added to PyEmVue I can't add it to the home assistant plugin either. I'm not sure how I'd provide an option for it, potentially just an extra sensor, so I'll also have to do a bit of research on that. Link to other discussion https://github.com/magico13/PyEmVue/issues/5

magico13 avatar Sep 14 '20 19:09 magico13

It's very easy to calculate. A = W / V. Take your local voltage and create a new sensor for it.

happydutch avatar Feb 10 '21 16:02 happydutch

AmpHours is now an option on the new API so it should be easier to set up. I'm not sure if/when I'll add it to this, it might be worth forking this repo to change the unit if you don't care about having the Watt based sensors.

magico13 avatar Feb 10 '21 16:02 magico13

I personally don't care... will add sensors myself on HA to calculate Amps if needed.

happydutch avatar Feb 10 '21 20:02 happydutch