-->
Page 2 of 19

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Thu Jan 05, 2017 12:30 pm
by eqsOne
DaPeace wrote:..brightness is only calulated and send back to the plugin..


Exactly, that's what happens. I was stumbling at the same point, thought it would be more complex as well. The controller still works rock solid yet. Good luck and happy tinkering!

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Sun Jan 08, 2017 4:42 pm
by Tmurphy
Is there a way for me to wire in a physical switch (pushbutton) that when pressed would switch the state of the lights? For instance, if the lights are off, turn them on. If the lights are on, turn them off?
I wanted to just wire the switch to ground and GPIO 5 so when it is shorted to ground, it would send a request to toggle the light. I want to try to do this all on one module.
Please reply.
Thanks,
Todd

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Mon Jan 09, 2017 4:04 am
by eqsOne
I'm not entirely sure but I don't think so. Philips own switch uses seperate buttons for on and off commands via zigbee.

HomeKit uses one single virtual on/off button within the Home App, but I don't think this 'iOS-device-side' can be implemented easily into a Hardware switch.

Well, my thoughts are not engraved in stone, maybe there is a way, anyone please correct me if you have a solution.

Re: RGB Controller for Apple HomeKit and Siri (NodeMCU-ESP82

PostPosted: Fri Feb 10, 2017 4:48 am
by DaPeace
Why should it be a problem to add a button? the controller-code has an on and off url..
You can simply use a button and another esp that triggers the on an off-url..
You can also wire a button to the esp with the lightstrip itsself and check for the button-state and switch it on and off if you want..