Jump to content

Sensibo mode not displayed correctly


Recommended Posts

Posted

Running an EISY with 5.9.1 firmware and Polyglot V3.

I'm using the Sensibo plugin and it works fairly well.  But, the mode displayed doesn't always match the mode set.  Setting the mode does send the correct mode to the Sensibo device and air conditioner.  But, the mode displayed is not correct.

I looked over the code and think I found the reason.

In sensibo_node.py line 155 the uom for the mode is defined as 67 which references a table of thermostat modes.  But I think it should be 25 for index since it is used to lookup the value in the arrays defined in line 7 (MODEs) and 19 (MODE_COUNTER). 

The array index look up works for FAN_LEVEL in _update(self, data) and setFan(self, param).   The code for MODES should probably work the same way in _update(self, data) and setMode(self, param).

 

The mode that is displayed matches the table for uom 67.

 

 67 = Thermostat mode
           0 - Off
           1 - Heat
           2 - Cool
           3 - Auto
           4 - Aux/Emergency Heat
           5 - Resume
           6 - Fan Only
           7 - Furnace
           8 - Dry Air
           9 - Moist Air
          10 - Auto Changeover
          11 - Energy Save Heat
          12 - Energy Save Cool
          13 - Away
          14 = Program Auto
          15 = Program Heat
          16 = Program Cool

When it should display the modes defined in MODES

line 7   MODES = ['cool', 'heat', 'fan', 'dry', 'auto']

 

I'm not a python programmer and I am not sure how to make my own version and load it into the EISY or I would test this out myself.

Thanks!

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...