plamish / xcomfort

Eaton xComfort SHC integration for Home Assistant
18 stars 6 forks source link

Energy sensor #8

Open jansog opened 3 years ago

jansog commented 3 years ago

Hi, Do you have any plans for adding energy sensors (switching actuators with EMS)?

/Jan

plamish commented 3 years ago

Sadly, I don't. I just don't have those at home to code and test the integration. However, I'm happy to work with somebody who knows Python a bit, have HA + xComfort SHA and could help with coding

jansog commented 3 years ago

I have HA and XComfort SHC and would be more than happy to assist. However I am a novice when it comes to coding.

plamish commented 2 years ago

I'll write some additional functionality to the integration to allow capturing debug information and testing API without heavy changes in the code. Stay tuned

jansog commented 2 years ago

That sounds great!

plamish commented 2 years ago

As starting point I'd need logs from xcomfort API. You need to update the integration to version >1.3 and call service XComfort SHC: save_status_files. This will save 2 files in config folder: xcomfort_devices and xcomfort_log_stats. I'd need both files. This should help me develop updated version which I'll share with you for testing purposes via private repository

jansog commented 2 years ago

Great, will do

plamish commented 2 years ago

Here you go https://github.com/plamish/xcomfort2mqtt You can use this broker to see all events from xComfort in your HA. It shouldn't be an issue to map button with HA sensor and use it for automations. Enjoy

jansog commented 2 years ago

I am impressed! Is it possible to communicate in private?

plamish commented 2 years ago

I invited you to private repository xcomfort_ems where we can trial and error code for ems. Accept an invite and open issue there

jansog commented 2 years ago

hmmm, can't find the invite.

plamish commented 2 years ago

Try accessing directly https://github.com/plamish/xcomfort_ems

TheAlpiner commented 2 years ago

Hi, just found this topic. I would like to get all my energi sources in to HA. I already have your xcomfort integration running and has worked flawlessly for a long time. But i have only used it for lights. Now i want to controll and read out energy usage of floor heating actuators (EMS). Same as jansog wanted. What is best right now. To use the MQTT integration or the one that I already have ? :-)

TheAlpiner commented 2 years ago

Tried, no energy readings appear with the old integration..... Maybe i have to use the MQTT integration