Home automation or connected objects
It would be nice to trigger actions in the form of queries HTTP / HTTPS box to home automation, web server, etc ...
I have a home automation box and I can:
- Make it speak by: http: //ipaddress:8080/sarah/speaks="Hello the World !!!"?
- Turn on the blue light: http://ipaddress:8080/sarah/milight?status=ON&color=blue
- Turn on the television: http://ip_address:8080/sarah/TV?status=ON
In doing be able to control all devices that support the applications HTTP / HTTPS.
Make an API in Node.js
This can be done with the HTTP Request and the Internet Request functions in the Flic Apps.
Gabriel Klappenbach commented
But basic auth does not seem to be supported. So in order for me to call my Fibaro rest API, I have had to setup a node proxy between my flic buttons and the Fibaro API (which requires auth)..... :/