crashtestoz / homebridge-http-window-blinds

This is a homebridge plugin for motorised DIY window blinds.
22 stars 14 forks source link

Detect movement with buttons #2

Open aschmidt74 opened 5 years ago

aschmidt74 commented 5 years ago

How would the plugin detect a manual movement outside HomeKit? e.g. buttons pressed on a sonoff touch.

2nd question: what xactly does the parameter outputValueMultiplier do?

tillepille commented 5 years ago

The plugin, or better HomeKit, queries the urlGetCurrentPosition, so you need to update this value on the endpoint, however this works with a sonoff, I have no experience with it.

I guess if your endpoint only has a range from 0-10 or 0-20 or something else you can multiply this value to make it compatible with HomeKit.

crashtestoz commented 5 years ago

@aschmidt74 If the sonoff device can report its state, then I can not see why not.

HomeKidd commented 4 years ago

I'm working on a native Homekit (esp8266) based blind to skip problems like this... 😄 Currently its working without Homebridge but the firmware is not published yet ( i have to make a software solution to adjust the end stop of the motor if needed) 😄 Also i have other native projects too.... check out my Github 😄