legotheboss / YouTube-files

Files for QuickPi tutorials
https://www.youtube.com/QuickPie
109 stars 40 forks source link

Light_accessory #3

Closed linuxpa closed 7 years ago

linuxpa commented 7 years ago

How would it be possible to change the status of the light as well as by IOS also through a gpio input?

Maxmudjon commented 7 years ago

I would use mqtt protocol. With this protocol can be changed and the state of light and brightness of the light through the iPhone

legotheboss commented 7 years ago

@linuxpa Yep, it's possible. I have updated the light_accessory.js file to allow some sort of implementation if you wanted.

Maxmudjon commented 7 years ago

i'm already created 😉