plugwise / python-plugwise

Plugwise python module for Smiles (Anna, Adam, P1) and Stretch

Home Page:https://pypi.org/project/plugwise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Cannot add my Stretch with firmware 2.7.15

bouwew opened this issue · comments

Describe the bug
User CoHoAppel reports errors when trying to add the Core Plugwise integration for his Stretch with firmware v2.7.15

Evidence

Logger: plugwise.smile
Source: /usr/local/lib/python3.8/site-packages/plugwise/smile.py:125
First occurred: January 27, 2021, 11:43:09 AM (8 occurrences)
Last logged: 8:20:49 PM

Connected but expected text not returned, we got <Element ‘domain_objects’ at 0xabc40488>
Connected but expected text not returned, we got <Element ‘domain_objects’ at 0xac363668>
Connected but expected text not returned, we got <Element ‘domain_objects’ at 0xac29fb40>
Connected but expected text not returned, we got <Element ‘domain_objects’ at 0xabc41ed8>
Connected but expected text not returned, we got <Element ‘domain_objects’ at 0xada2f848>

Home Assistant Core (please complete the following information):

  • Version: 2021.1.5
  • Deployment: Raspberry Pi
  • Installed plugwise version: HA-core

Plugwise product (please complete the following information):

  • Type: Stretch
  • Firmware: v2.7.15

After obtaining the xml-data, it turns out that /core/domain_objects is empty.

Solution: collect the required data from/core/modules instead.

Looks like this particular Stretch with firmware 2.7.x suffers from an issue that hinders the normal operation significantly.

Let's close this issue but keep the code-update present in the Github.