Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other sensors and actuators #21

Open
alexkoel1958 opened this issue Nov 27, 2022 · 11 comments
Open

Other sensors and actuators #21

alexkoel1958 opened this issue Nov 27, 2022 · 11 comments
Labels
enhancement New feature or request

Comments

@alexkoel1958
Copy link

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
Copy link
Owner

jbouwh commented Nov 27, 2022

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
Copy link
Author

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
Copy link
Owner

jbouwh commented Nov 28, 2022

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
Copy link
Author

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

@jbouwh
Copy link
Owner

jbouwh commented Dec 1, 2022

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
Copy link
Owner

jbouwh commented Dec 19, 2022

Any progress with debugging?

@alexkoel1958
Copy link
Author

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
Copy link
Owner

jbouwh commented Dec 19, 2022

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.

@JoSchaap
Copy link

JoSchaap commented Jan 9, 2023

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 jbouwh self-assigned this Jan 9, 2023
@jbouwh jbouwh removed their assignment Jan 19, 2023
@jbouwh jbouwh added the enhancement New feature or request label Jul 22, 2023
@jbouwh
Copy link
Owner

jbouwh commented Nov 6, 2023

Any progress here?

@jbouwh
Copy link
Owner

jbouwh commented Jan 10, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants