Soft launch of our Linux SDK today!! Please have a look at the lib and comment at Github.Andre commented
could anyone write a howto on installing and getting this to work on a pi? specifically with http request for all three button modes, and with the use of headers for basic http auth
14 votesAndre commented
Stefan try this
in FLIC app under your chose Hub, select the Internet Request"Hub Action"
add your URL which for me was http://192.168.1.161/JSON?Request=controldevicebylabel&ref=290&label=On to enable a device on my home automation box (HomeSeer)
stick with GET http method (in my use case)
under the Headers (Optional), set up basic authentication i.e. type "Authorization" in the Key field of the app
encode your "user:password" string using base64 (I used base64encode.org for online base64 encoding)
Prefix the encoded string with "Basic " including a trailing space
"Basic YWRtaW46YWRtaW4NCg==" is encoded "admin:admin" as an example. Type or paste all of this into the Value field in the FLIC app
Press the ADD button on the left hand side below the key/value fields. You should then see this header linein a grey field.
Press SAVE ACTION to ensure all saved away
And now it should work, it did for me!Andre supported this idea ·