Hey all - I’ve been trying to convert my Tesla wall connector from amps to Watts / Kw I can’t really seem to get it working… Any ideas? Sensors I have are below. I’ve spent days working on this already haha
Just single phase - So Phase A current & Voltage
Ohm’s law
Watts = voltage x amps
{{ states('sensor.sma_array_udc') | float }} 255.28 ### voltage {{ states('sensor.sma_array_idc') | float }} 5.446 ### amps
{{ states('sensor.sma_array_udc') | float * states('sensor.sma_array_idc') | float }} 1390.25488 ### watts
There is probably a neater way to do it. You can put that in the dev tools Jinja Template. phase A voltage and current.