GithubHelp home page GithubHelp logo

Comments (11)

jbouwh avatar jbouwh commented on July 22, 2024 1

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.

from ha-elro-connects.

JoSchaap avatar JoSchaap commented on July 22, 2024 1

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 ^_^

from ha-elro-connects.

jbouwh avatar jbouwh commented on July 22, 2024

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.

from ha-elro-connects.

alexkoel1958 avatar alexkoel1958 commented on July 22, 2024

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.

from ha-elro-connects.

jbouwh avatar jbouwh commented on July 22, 2024

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.

from ha-elro-connects.

alexkoel1958 avatar alexkoel1958 commented on July 22, 2024

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

from ha-elro-connects.

jbouwh avatar jbouwh commented on July 22, 2024

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.

from ha-elro-connects.

jbouwh avatar jbouwh commented on July 22, 2024

Any progress with debugging?

from ha-elro-connects.

alexkoel1958 avatar alexkoel1958 commented on July 22, 2024

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.

from ha-elro-connects.

jbouwh avatar jbouwh commented on July 22, 2024

Any progress here?

from ha-elro-connects.

jbouwh avatar jbouwh commented on July 22, 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.

from ha-elro-connects.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.