hass-smartthinq icon indicating copy to clipboard operation
hass-smartthinq copied to clipboard

Add power usage report to HA

Open dacrypt opened this issue 5 years ago • 7 comments

What would be the way to implement the new wideq power usage report feature to this HA component?

dacrypt avatar Jan 22 '20 19:01 dacrypt

I'm glad you're interested, but TBH I don't know! The right place to start is to read the HA documentation to figure out what other energy-reporting components do.

sampsyo avatar Jan 22 '20 19:01 sampsyo

Screen Shot 2020-01-23 at 2 19 09 AM

dacrypt avatar Jan 23 '20 07:01 dacrypt

@dacrypt - how did you get that going? was pleased to check into this repo today and see @sampsyo has added power consumption... so did a new git pull.... confirm that the updated wideq appears to be pulling power stats back...
keharris — keiran@vm-untrust _LOCALDATACONTAINERShasscustom_componentswideq — script ◂ sh — 180×40 2020-02-29 13-21-21

... but it doesnt seem to be showing up in HASS (history page for instance on my W / kWh graph, there is no LG aircon to be found). Should i be expecting to see W values in here? (dev tools -> states UI) Home Assistant 2020-02-29 13-23-47 thanks in advance! Keiran.

keiranharris avatar Feb 29 '20 02:02 keiranharris

Hi! No, we haven't added any support to the HA component. I'm not sure if anyone's working on it… @dacrypt, it looks like you might have a prototype working? Shall we merge any part of it back into this repo?

sampsyo avatar Feb 29 '20 06:02 sampsyo

@dacrypt - touching this thread again to see if you would consider merging your works so we can suck in power data into HASS? Would love to see it. thanks guys!

keiranharris avatar May 05 '20 06:05 keiranharris

@dacrypt - touching this thread again to see if you would consider merging your works so we can suck in power data into HASS? Would love to see it. thanks guys!

Try this: #48

I've been quite busy at work so I haven't had the time to share what I've done. I replaced my raspberry HA with a vps over vpn and installed a docker version under ubuntu and never managed to upload my version of hass-smartthinq and test it. I need to spend some time to learn how to install the code I have to my own ha.

dacrypt avatar May 06 '20 15:05 dacrypt

Any updates on this? Would be great to be able to integrate power usage with the Energy Dashboard of HA.

Xitro01 avatar May 20 '22 11:05 Xitro01