JNSwanson / ESP-Home-iBoost

ESPHOME Marlec iboost integration
MIT License
18 stars 2 forks source link

Extra sensors #4

Closed arthuriansoft closed 11 months ago

arthuriansoft commented 11 months ago

Thanks for getting the iBoost working with HA and sharing what you've done! I've taken some of the items you had commented out in the code and enabled them so heatingMode show the message you'd see on the iBoost display, including the tank hot message which you'd already identified. I added in the CT clamp power reading which I've exposed as the heatingImport sensor as I'm interested in having that data available. Also I've added a new text sensor which looks for the battery low warning message.

Sorry there are a lot of changes flagged in the header file as I adjusted the indentation to help me read the flow of the code more easily.

JNSwanson commented 11 months ago

Hi, I played around with the import power, but the Buddy seems to do a lot of averaging and uses a strange factor. It made it difficult to get any sensible values out and I have other, better ways of reading import power, so I didn't persue. Happy to merge it though.

BTW the 360 factor was just a guess!