scottyphillips / pychonet

A simple to use library for interfacing with the ECHONETlite protocol
GNU General Public License v3.0
20 stars 17 forks source link

Add room humidity and instantaneous power consumption #35

Closed eramus closed 2 years ago

eramus commented 2 years ago

I reworked #34 to better conform to the existing code. I also added the corresponding helper methods for retrieving humidity and instantaneous power consumption.

Original PR message:

This adds a couple of new constants that are useful for HVAC units. These are working as expected on my Daikin unit. The naming is based on what I found in this java library: https://github.com/SonyCSL/OpenECHO

I can open a follow up PR on the HA integration to add these to the available sensors from the module. I have been using these for the past couple of months without much issue -- occasionally I get odd values.