dxdc / homebridge-blinds

:sunrise: Homebridge Plugin to control my blinds over HTTP
https://www.npmjs.com/package/homebridge-blinds
ISC License
54 stars 26 forks source link

Not an issue but an question #19

Closed Leonoerlemans closed 4 years ago

Leonoerlemans commented 6 years ago

Hi, thank you for this plugin. I am new to homebridge. I do know how to use the plugins, but I am getting stuck on altering them. I am hoping that you can and will help me to controle my environment with homebridge. Here is my situation:

since your plugin voor de blinds kind of resembles wat I need voor a dimmable lightbulb. Sounds strange but here is my situation:

I have created an arduino based device which can control 64 relays bij a HTTP command.

URL format: http://0.0.0.0/?XpYnnnn X = Board (A-B-C-D-E-F-G-H) p = Pin number (0-7) Y = Action to perform

I can ONLY controle the light via a external switch: with two touch switches ON/+ and OFF/- each time a set of two relais is wired to the touch switches. When I:

give a short puls (200 ms) to the relay which controles the ON switch, the light goes ON give a short puls (200 ms) to the relay which controles the OFF switch, the light goes OFF keep the ON switch pressed (either bij a long puls or set the relay ON (with an URL) and after a certain time set the relay OFF (with an URL)), the light will turn brighter keep the OFF switch pressed (either bij a long puls or set the relay ON (with an URL) and after a certain time set the relay OFF (with an URL)), the light will get less brighter so I need to create a plugin with an config.jsn -file with parameters:

ON URL OFF URL duration time in ms (from fully off to fully on and visa versa ) brighter relay ON URL brighter relay OFF URL less brighter relay ON URL less brighter relay OFF URL Because I want to create a dimmable lightbulb in Homekit

I realize I ask for a lot, but can and will you help met with that.

Kinds regards,

Leon

dxdc commented 4 years ago

Have you seen:

https://github.com/benzman81/homebridge-http-webhooks

OR

https://github.com/cflurin/homebridge-mqtt

Seems like these could be better suited to you @Leonoerlemans

Leonoerlemans commented 4 years ago

Thank you,

I have replaced all my buttons with HomeKit compatible Lightwave buttons

Kind regards

Leon

Verstuurd vanaf mijn iPhone

Op 6 nov. 2019 om 18:13 heeft dxdc notifications@github.com het volgende geschreven:



Have you seen:

https://github.com/benzman81/homebridge-http-webhooks

OR

https://github.com/cflurin/homebridge-mqtt

Seems like these could be better suited to you @Leonoerlemanshttps://github.com/Leonoerlemans

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/zwerch/homebridge-blinds/issues/19?email_source=notifications&email_token=AI2QLGLS6I7HW473M6FO22LQSL3JVA5CNFSM4FEGCKQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHJHLA#issuecomment-550409132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI2QLGO7QX75J27DNNXZSC3QSL3JVANCNFSM4FEGCKQQ.