pail23 / stiebel_eltron_isg_component

Stiebel Eltron ISG integration for Home Assistant
MIT License
45 stars 19 forks source link

unpack requires a buffer of 2 bytes #40

Closed jmerifjKriwe closed 1 year ago

jmerifjKriwe commented 1 year ago

Version of the custom_component

current version installed via HACS V0.12.0

Describe the bug

After the setup of this component the integration page shows an error "Setup erneut versuchen: unpack requires a buffer of 2 bytes". I'm using ISG Web.


Logger: homeassistant.config_entries
Source: config_entries.py:1242
First occurred: 10:29:44 (2 occurrences)
Last logged: 11:10:26

Config entry 'Stiebel Eltron ISG' for stiebel_eltron_isg integration not ready yet: unpack requires a buffer of 2 bytes; Retrying in background

Manuel access without this component (via .yaml) is working. Example:

modbus:
  - name: ISG
    type: tcp
    host: 192.168.178.77
    port: 502
  #  timeout: 30
  #  delay_between_queries: 30
  # #
  # # The modbus sensor allows you to gather data from Modbus registers.
  # #
  # # https://www.home-assistant.io/integrations/sensor.modbus/
  # #
    sensors:

      #############################
      ###  Raumtemperatur
      #############################
      - name: 'THZ RAUMISTTEMP-HK1'
        slave: 1
        address: 1
        input_type: input
        unit_of_measurement: °C
        device_class: temperature
        scale: 0.1
        precision: 1
pail23 commented 1 year ago

I might have found the root cause. Could you please test with the latest version 0.12.1?

In case it does not fix the issue: Do you see any values in the ui? A screenshot might be helpful.

jmerifjKriwe commented 1 year ago

I can confirm it's working now. Thanks a lot :-)

pail23 commented 1 year ago

Thanks for testing!