ThinQ Energy Monitoring

I have the LG ThinQ integration setup and working.

But, I’ve been trying to use Apexcharts to show energy totals by hour and day.

I’m not stuck on Apexcharts, but I’ve managed to get a bunch of charts working for other data.

All I can do is use the History card and it automatically scales the X and Y axis and shows what I think are current readings.

Here’s what I mean:

image

Sensors provide power in watts:

sensor.3rd_floor_energy_current
sensor.1st_floor_energy_current

I’ve tried use the GROUP_BY function SUM with various durations, but can’t get good data.

Anyone have any suggestions?

Thank you!