Beta for Hysen thermostats powered by broadlink

this is my configuration.yamlCaptura de pantalla 2020-04-26 a las 13.02.17

and this is the resultCaptura de pantalla 2020-04-26 a las 13.02.44

FrayBer, the only reason you would be getting this error is that the correct version 0.13.2 of the broadlink library, 0.13.1 had an error which give the error you are getting are you sure you have upgraded to 0.108.9 of Hass.io? As an alternative, modify your manifest.json file and try the following references for the broadlink libraries.

 "requirements": ["broadlink==0.12.0","pythoncrc"],

This is my version.

1 Like

I do have the exact same problem as FrayBer. If it helps, I am running hassio in Docker on Ubuntu 19.10 and my version ist 0.108.9

Hello again!!
I have tried modifying the manifest.json file in every possible way, but the problem remains the same. I do not get it. With version 108.8 it worked …

FrayBer, I’m struggling to as it works fine on my version of 0.108.9 :frowning:
with either config of manifest.json

Captura de pantalla 2020-04-27 a las 13.42.58 It does not allow me to write more than three answers, for being a new user. So I write from here.
NOW IT WORKS !!! The solution is correct, at least for now. Thank you very much Markt for all the great work.

My manifest.json is

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

FreyBer, try this below, I’ve removed the reliance on the external broadlink package, let me know if it works for you. Then if if does I will work on a version that does not require the external library.

Test new hysen component

grab the txt and save it to a file climate.py, then overwrite the one in your custom components folder and restart

1 Like

Test new hysen component
NOW IT WORKS !!! Hass.io 0.108.9 RPi3.

Hi,
Somtimes i lost the connection with the device.
Ususally after change the desired temp.
The device change the temp, but on the HA screen the thermostat grayed out.
I found this in the log:

Failed to get Data from Broadlink Hysen Device:climate.fsz_thermostat,:bytearray index out of rangee

What could be the problem?
Thank you

probably a bug in the implementation, I will have to work on it to make it a releasable version, will try this weekend

1 Like

Thank you for your work…:slight_smile:

Thanks, it works!

All, please give this a try, I’ve just included a cut down version of the broadlink lib and therefore no external dependency with it. I’m going to run this version myself for a while before committing to github

Let me know any problems you find New test version 2.1.8

New test version 2.1.8 Working good !

1 Like

can someone upload the latest version 2.1.8?

So I’ve put the latest version I’m using up https://github.com/mairas/hysen/tree/master/custom_components/hysen

Hopefully it works for everyone its been good for me for last couple of months

Still not working.

I get this:

Any help appreciated.