Dear,
I have an energy monitor (CEMM) that provides me data over a local API.
Now I want to use this values in my energy dashboard in HA.
For example, my solar output :
http://192.168.1.142/open-api/v1/mb2/realtime/
Gives me the result :
{"data":{"t1":[1641377395000,7906.34],"t2":[0,0],"electric_power":[1641377395000,908.3]},"totals":{"t1":[1641377404000,5633.71],"t2":[1641377404000,2272.62],"electric_energy":[1641377404000,5625.71],"electric_energy_high":[1641377404000,2245.38],"t3":[1641377404000,8],"t4":[1641377404000,27.24]}}
Where the value of T1 after the comma, is the value I need (in this case 7906.34) also a value for my SOLAR readings, it’s the overall power generated since the beginning (kwh).
Same for my car charger.
call : http://192.168.1.142/open-api/v1/mb3/realtime/
results in :
{"data":{"t1":[1641378664000,4259],"t2":[0,0],"t3":[1641378664000,0],"t4":[0,0],"electric_power":[1641378664000,7.2]},"totals":{"t1":[1641378667000,2526.85],"t2":[1641378667000,1732.15],"t3":[1641378667000,0],"t4":[1641378667000,0],"electric_energy":[1641378667000,2526.85],"electric_energy_high":[1641378667000,1732.15]}}
Where t1 is the TOTAL amount of energy (kwh) used by the charger.
How can I integrate this in my energy dashboard, and where ? I’m just starting to use HA, so I’m new to the YAML config
Erwin