jbouwh / ha-elro-connects

Elro Connects K1 for Home Assistant via HACS
MIT License
10 stars 2 forks source link

Other sensors and actuators #21

Open alexkoel1958 opened 1 year ago

alexkoel1958 commented 1 year ago

Hi,

After reading the manual better I succeeded in installing the integration. It works great with a Elro K1 (found a refurbised one with Elro). As far as I understand it is only suitable for Fire/smoke, heat and CO alarm. Are you planning other sensors in the future? Elro has a nice priced set of addons. I'm interested in the temperature/humidity (SF40TH) and the radiator thermostat (SF40RV). The temperature sensor is great for monitoring or temperature regulation.

Regards Alex

jbouwh commented 1 year ago

All alarm types should work, and also door/window sensors. Other devices should work as well but will only return a state, a signal strength and battery sensor based on the current code.

alexkoel1958 commented 1 year ago

So no plans for sensors returning a value like temperature? At he moment I'm using TFA sensors, but the range of those sensors is bad. It seems that the K1 has better specs.

jbouwh commented 1 year ago

May be. But that needs to be reverse engineered. There are some tools (examples) to debug in https://github.com/jbouwh/lib-elro-connects Since it is open source any one can open a PR to add functionality. If you have a sensor I expect you could have some interesting output if out tested that with lib-elro-connects. It shows the raw data (JSON) that comes from the K1 connector. If it is clear how sensor states are published I might be able to extend the support for sensors.

alexkoel1958 commented 1 year ago

How to use this debug lib. Do I need a running Linux system with python for it?

jbouwh commented 1 year ago

No, it is possible to use it on Windows. It might be a challenge though to discover where the files are installed. You need Python 3.10 or higher.

jbouwh commented 1 year ago

Any progress with debugging?

alexkoel1958 commented 1 year ago

No, Sorry. I have no clue how to get the debugging working. I have to do it in windows. I installed Phyton and did "pip install lib-elro-connects". This seems to have done something. After that I'm lost. I could't figure out how to do the debugging. I love to give a contribution, but I'm missing the Phyton skills I'm afraid.

jbouwh commented 1 year ago

After installing lib-elro-connects with pip install lib-elro-connects you can find the installed example scrips as follows:

JoSchaap commented 1 year ago

After installing lib-elro-connects with pip install lib-elro-connects you can find the installed example scrips as follows:

  • Open a cmd (command box), standard it will open in your home dir.
  • Search for lib-elro-connects using: dir /s lib-elro-connects
  • Something like Directory of C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\share
  • Copy the found folder name and change directory:
  • cd C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\share
  • cd lib-elro-connects
  • dir shows 2 example scripts.

Thanks for this, I actually also have one of these temp sensors; so I'll also give it a go :) -merely replying to bookmark this for myself ^_^

jbouwh commented 10 months ago

Any progress here?

jbouwh commented 8 months ago

@alexkoel1958 There was a new release of the library lib-elro-connects that has a test an example test script that allows to readout states. So for sensors it would be interesting to see if some more sensors could be added. But all must be reversed engineered. So if you are still interested, let me help you to discover and explain how to use this test script.