dahlb / ha_carrier

Carrier Infinity Integration for Home Assistant
MIT License
35 stars 3 forks source link

Add Fan, System and Occupancy Status #71

Closed FSFirenze closed 7 months ago

FSFirenze commented 7 months ago

Missing informations that are available on the Carrier API

I have been using the homebridge carrier-infinity integration at this link: https://github.com/grivkees/homebridge-carrier-infinity for a while and then connecting homebridge to homeassistant. I then found this brilliant integration and noticed that some data is missing for example the fan status or the flow (cfm), the system status (idel in the example below) and the occupancy status (unoccupied, below). I can see these info in the "STATUS" answer from the Carrier API, of which here below there is an extract. Would it be possible to add?

<idu>
    <cfm>0</cfm>                                <-------
    <opstat>off</opstat>
    <type>furnace2stg</type>
</idu>

<zone id="1">
    <name>ZONE 1</name>
    <enabled>on</enabled>
    <currentActivity>manual</currentActivity>
    <rt>73</rt>
    <rh>59</rh>
    <fan>off</fan>
    <hold>on</hold>
    <htsp>69</htsp>
    <clsp>77</clsp>
    <otmr/>
    <zoneconditioning>idle</zoneconditioning>             <-------
    <damperposition>15</damperposition>
    <occupancy>unoccupied</occupancy>                      <-------
    <occupancyOverride>off</occupancyOverride>
dahlb commented 7 months ago

the cfm, both indoor and outdoor unit statuses are already on the climate entity as attributes; occupancy is already provided by the integration as it's own sensor like outdoor temperature, there are lots of sensors in addition to the extra attributes on climate