Beta for Hysen thermostats powered by broadlink

Hi,
I just updated to the latest version, and still not working.

Platform error: climate - Requirements for hysen not found: [‘broadlink==0.13.0’].e[0m
2020-03-26 09:54:34 stdout e[31m2020-03-26 09:54:34 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package broadlink==0.13.0: ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/site-packages/broadlink-0.9.dist-info/'e

What could be the problem?

Thank you

after latest HASS the error changed:

2020-03-26 10:54:01 stdout e[31m2020-03-26 10:54:01 ERROR (MainThread) [homeassistant.config] Platform error: climate - Requirements for hysen not found: [‘broadlink==0.13.0’].e[0m
2020-03-26 10:54:00 stdout e[31m2020-03-26 10:54:00 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package broadlink==0.13.0: ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/site-packages/broadlink-0.12.0.dist-info/'e

working after reinstall the integration…

After update Home Assistant (Hassio) from 0.108.5 to 0.108.6 in log happens the next error:
Logger: custom_components.hysen.climate
Source: custom_components/hysen/climate.py:891
Failed to get Data from Broadlink Hysen Device:climate.main_thermostat,:name ‘calculate_crc16’ is not defined

Me too. I tried to modify json like past suggest but still not work.
Someone can help us?

I’ve upgraded to 0.108.6, no issues to report i’m using hass.io, I have noticed that HA has upgraded to broadlink 0.13.1 in this release and this has replaced the crc check code away from using pythoncrc . I’ve tried moving the hysen component to use the new version but it fails with the error you say above. However if the manifest and code reference 0.13.0, it continues to work for me.

On version 0.108.7 the same error occurred.

In version 108.8 the same problem.

have you the latest version on github updated to use broadlink 13.2 it works for me under 108.8

I have installed using HACS. Is not correct?

Better to download it from here?

This is the record … But I don’t know where to look anymore. :frowning:

Logger: custom_components.hysen.climate
Source: custom_components/hysen/climate.py:891
First occurred: 21:35:26 (28 occurrences)
Last logged: 22:02:50

Failed to get Data from Broadlink Hysen Device:climate.main_thermostat,:name 'calculate_crc16' is not defined

and this is my configuration:

climate:
  - platform: hysen
    devices:
      calefaccion:
        name: Calefaccion
        host: 192.168.X.X
        mac: "XX:XX:XX:XX:XX:XX"

I download latest version from github. Same error.

Solved. The manifest.son file had to be modified

:slight_smile:

Not work. Same error.

Hi. could you detail the modifications that have you done? thanks

The solution is not mine, it is Andrea’s. It’s up. Inside the custom_components / hysen folder, you have to replace the content of the manifest.json and put the following:


{
“domain”: “hysen”,
“name”: “Hysen Thermostat Controller”,
“documentation”: “”,
“requirements”: [“broadlink==0.13.2”, “pythoncrc”],
“dependencies”: [
“http”
],
“codeowners”: ["@markcarter", “@iwantto.com”]
}

Save, restart and it should work.

A greeting!!

This is such a good component. The only downside is that it is still not official and thus breaks every ~+10 updates of hass.io.

Unfortunately, updating the manifest.json didn’t work. I still get
Failed to get Data from Broadlink Hysen Device:climate.fussbodenheizung,:name ‘calculate_crc16’ is not defined

New update and the problem repeats:

Logger: custom_components.hysen.climate
Source: custom_components/hysen/climate.py:892
First occurred: 0:05:52 (11 occurrences)
Last logged: 0:16:02

Failed to get Data from Broadlink Hysen Device:climate.main_thermostat,:name ‘calculate_crc16’ is not defined

FrayBer, there must be a problem with your HA installation, its working fine on mine @ Hassio.io 0.108.9.

Have you tried deleting the entire hysen directory from your custom_components directory, getting the new version from github and putting it in, then do a Hass.io reboot?

After uninstalling, reinstalling and restarting, this keeps showing me. Have you modified any of the files?Captura de pantalla 2020-04-26 a las 13.01.23