Responsive_LED_Control icon indicating copy to clipboard operation
Responsive_LED_Control copied to clipboard

Control via http GET requests?

Open m00st opened this issue 8 years ago • 5 comments

Is it somehow possible to control via HTTP GET requests? I remixed some other code (mostly sparkfun samples) to have trigger actions using Domoticz, but your Responsive LED Control is has way nicer functionality. However.. I don't see how I could send commands via GET (or POST) requests. Is this possible? If not, is this something you're considering?

m00st avatar Nov 05 '17 13:11 m00st

There are some commands available for remote control via http, jsut have a look into the request-handler file. As i haven't tested them, they might need some fixing.

Best regards,

Christian

doctormord avatar Nov 07 '17 17:11 doctormord

please add mqtt.. like this wen can add your amazing work into home assistant

thundergreen avatar Nov 16 '17 23:11 thundergreen

unfortunaltely this thread is dead. could we have an example how to control it via http request please. as MQTT is not available

thundergreen avatar Jan 09 '18 15:01 thundergreen

I don't know whether there is anyone still interested in this, but i am using this Code on a daily basis. Calling the different modes via HTTP GET is mostly straight forward. In my case, i use it to start a custom lighting animation at a different daytime. E.g. in winter i start the "fire" animation at 5 p.m. using the following request: http://<your device ip>/fire To set a solid color like RGB FF00FF (Purple sort of) just issue the following GET request via curl for example: http://<your device ip>/all?rgb=FF00FF The code which gets executed can be found in "request_handlers.h", as @doctormord mentioned. I hope this helps out some of you, since i had the same problem in the beginning and couldn't find a documentation of it.

JulianD267 avatar Feb 19 '21 18:02 JulianD267

Thanks for that.

Regards

Christian

Am 19.02.2021 um 19:51 schrieb JulianD267 [email protected]:

I don't know whether there is anyone still interested in this, but i am using this Code on a daily basis. Calling the different modes via HTTP GET is mostly straight forward. In my case, i use it to start a custom lighting animation at a different daytime. E.g. in winter i start the "fire" animation at 5 p.m. using the following request: http:///fire To set a solid color like RGB FF00FF (Purple sort of) just issue the following GET request via curl for example: http:///all?rgb=FF00FF The code which gets executed can be found in "request_handlers.h", as @doctormord https://github.com/doctormord mentioned. I hope this helps out some of you, since i had the same problem in the beginning and couldn't find a documentation of it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/doctormord/Responsive_LED_Control/issues/8#issuecomment-782270686, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVK22U7KAHPY5FJNBWDJGDS72XJXANCNFSM4ECJQQ7A.

doctormord avatar Mar 09 '21 09:03 doctormord