Giter VIP home page Giter VIP logo

Comments (4)

Julius2342 avatar Julius2342 commented on July 29, 2024

Hmm, my velux windows report the position during movement ...

from pyvlx.

redneckdba avatar redneckdba commented on July 29, 2024

After moving from a Somfy Connexoon box to the KLF-200 I have noticed this as well for all my Velux SSL Shutters and Somfy Motors as I'm using the current position / state in various automations within HomeAssistant and they simply won't work any longer due to this. As the reporter mentioned, as soon as the motor is stopped, the current position in HA gets updated immediately.

from pyvlx.

tschevko avatar tschevko commented on July 29, 2024

@Julius2342 First of all, thanks for your feedback! I'm not a coder, but I tried to read the code and I thought, in terms of position aquisition, windows and covers are handled in the same way. Would it be possible to force a higher (maybe configurable) position update rate for covers? I mean if you press the stop button also the current position can be gathered immediately.

I tried to find an "easy" solution in the code, but I could not find it.

@redneckdba Thank you for the confirmation, so it seems it is not a specific behaviour of my setup and there are use cases for which a more frequently updated position is needed.

from pyvlx.

T-E-N avatar T-E-N commented on July 29, 2024

Using just a .py without HomeAssistant, I can confirm the following gets the Awning and RollerShutter names nicely (incl. spaces and diacritics), performs set_position to percentages as well as open or close, but in either case comes up empty for serial_number and position on all 7 of our Somfy motors/actuators:

    await pyvlx.load_nodes()
    print(*pyvlx.nodes)
<... node_id="0" serial_number="None" position="UNKNOWN"/>

Is there a method to populate/query these, position in particular?

from pyvlx.

Related Issues (20)

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.