nidayand / motor-on-roller-blind-ws

WebSocket and MQTT supported device code for the roller blind. As rework of the design and code is on its way there won't be any updates to this repository
https://www.thingiverse.com/thing:2392856
MIT License
110 stars 118 forks source link

Use with http and Homebridge #12

Closed Kepete closed 6 years ago

Kepete commented 6 years ago

First thank you for your development.

I would like to use this with the a Homebridge plugin that can control blinds over http. Plugin here: https://github.com/Nicnl/homebridge-minimal-http-blinds

I need a get_current_position_url that will return the current blinds position in plaintext, from 0 to 100. I need a set_target_position_url that will trigger the blinds movement. I need get_current_state_url that will return the state of the blinds in plaintext.

Is this possible to do with your project? Would love to use yours because of easy setup and nice web-interface.

nidayand commented 6 years ago

Hi, I'm not a Homebridge user and will not build that into the code but you are of course free to fork my project and modify it as much as you like to. It is not supporting HTTP requests to control it today but you can build a bridging app as all the values are available.