gazoodle / geckolib

Library to interface with Gecko Alliance spa pack systems via in.touch2 module
GNU General Public License v3.0
62 stars 24 forks source link

Expose Smart Winter Mode (SWMStatus) and Filter (FilterStatus) #7

Closed chicago6061 closed 3 years ago

chicago6061 commented 4 years ago

I suggest exposing the Smart Winter Mode status as well as FilterStatus:

<SWMStatus>
          <SwmPurgeSusp Type="Bool" Pos="282" BitPos="3" />
          <SwmPurge Type="Bool" Pos="282" BitPos="5" />
          <SwmActive Type="Bool" Pos="282" BitPos="6" />
          <SwmRisk Type="Enum" Pos="313" Items="NO|LO|MED|HI|EXTREME" />
          <SlaveSwmPurge Type="Bool" Pos="353" BitPos="5" />
          <SlaveSwmActive Type="Bool" Pos="353" BitPos="6" />
          <SwmAdc Type="Word" Pos="355" />
</SWMStatus>

<FilterStatus>
          <Clean Type="Bool" Pos="273" BitPos="0" />
          <Purge Type="Bool" Pos="273" BitPos="2" />
          <FiltSuspendByUD Type="Bool" Pos="273" BitPos="3" />
          <FiltSuspendedByOT Type="Bool" Pos="273" BitPos="4" />
          <FiltSuspendedByErr Type="Bool" Pos="273" BitPos="5" />
          <CPOT Type="Bool" Pos="274" BitPos="2" />
</FilterStatus>
gazoodle commented 4 years ago

I'll try to get that into the next release. I presume just having Smart Winter Mode SwmActive and SwmRisk are the critical values and FilterStatus>Clean and FilterStatus>Purge?

gazoodle commented 3 years ago

Sensors for these added in 0.3.14