Coder Social home page Coder Social logo

Comments (9)

steilerDev avatar steilerDev commented on August 19, 2024

Currently tilting the lamellas is not supported for rollershutters. How is the tilt angle exposed within openHAB? is it s number representing degrees of an angle?

from homebridge-openhab2-complete.

CHTHSCH avatar CHTHSCH commented on August 19, 2024

I will move over to openHAB to control my blinds (Jalousien) two weeks from now. After that I will now and will let you know. I am using FIBARO Roller Shutters (2 & 3). The control of the lamellas is defined by the time they need to fully rotate. There should be two items types in openHAB, a roller shutter item, that controls the movement up/down and a dimmer item, that controls the lamellas.

from homebridge-openhab2-complete.

CHTHSCH avatar CHTHSCH commented on August 19, 2024

I am using FIBARO Roller Shutter 2 and 3. The RS2 is defined as blinds_control, also for the lamellas and the RS3 as switch_dimmer, also for the lamellas

It is represented as a number (I would say % rather than angle) that determines one full turn (0° - 180°, or in my case 0°-90°)

from homebridge-openhab2-complete.

CHTHSCH avatar CHTHSCH commented on August 19, 2024

Update: In the new SNAPSHOT, the RS3 is also represented as blinds_control. Lamellas are controlled by a second item

from homebridge-openhab2-complete.

steilerDev avatar steilerDev commented on August 19, 2024

I checked with the HomeKit specification and it states for vertical and horizontal tilting of WindowCovering the following:

The characteristics describes the current angle of vertical slats for accessories such as windows, fans, portable heater/cooler etc. This characteristics takes values between -90 and 90. A value of 0 indicates that the slats are rotated to be fully open. A value of -90 indicates that the slats are rotated all the way in a direction where the user-facing edge is to the left of the window-facing edge.

Therefore, when I implement this feature, I would expect OpenHAB to provide and understand a value of -90 to 90.

from homebridge-openhab2-complete.

CHTHSCH avatar CHTHSCH commented on August 19, 2024

I will check on Sunday again and provide some feedback. At the moment I am setting the angle of the blinds with a setpoint between 0 and 100.

from homebridge-openhab2-complete.

CHTHSCH avatar CHTHSCH commented on August 19, 2024

The FIBARO Rollershutter 2/3 use two channels, one for the up/down and a second one for the angle of the lamellas.

from homebridge-openhab2-complete.

CHTHSCH avatar CHTHSCH commented on August 19, 2024

The lamellas in openHAB have values between 0 and 100, which would correspond to -90 to 90. Perhaps a parameter is required, that would map this accordingly. Also openHAB allows the percentages to be reversed, which would also call for a parameter to configure the interface.

from homebridge-openhab2-complete.

steilerDev avatar steilerDev commented on August 19, 2024

My latest commit (3c65977) adds this feature. I also have added a parameter to map the range from -90/90 to 0/100 (or any other range, fitting your use case).

Feel free to test the feature, I will hopefully publish my next release to npm very soon (I want to close all open issues first).

from homebridge-openhab2-complete.

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.