HTTP Request not working with Flic controlled by Hub. BUG ??
-
Hello, I'm used to controlling my home through simple HTTP requests since a long time with my Flic buttons v1 controlled by an iOS device.
I invested in a bunch of Flic buttons v2 and 2 x Flic Hubs.
Now my HTTP requests won't work from any flic controlled by a Hub...but the very same request will work from any Flic controlled by an iOS device or from any flic Widget.
This is definitely not a problem of format or command since I'm using the same command line, with same HTTP request set-up: only URL, no headers. It work on the one hand, but not on the other.
I've tried checking/unchecking the "Validate certificate(s)" option in the Hub HTTP requests set-up, no luckCan someone from the Flic team jump in here, as I believe I'm not the only facing this bug, it makes my flic hubs useless
Thank you
PS: my request is a simplet GET from http://<login>:<password>@<HC2 local IP address>/api/callAction?deviceID=XX&name=turnOn
PS2: Tested with hubs being RJ45 hardwired, with an IP address assigned by DHCP and can access to the Internet (as per confirmed by the test in the Flic app). Also tested with Hubs connected to my LAN via wifi. Same results -
I woud also suggest looking at this thread : https://community.flic.io/topic/17282/flic-hub-http-request
-
@Emil said in HTTP Request not working with Flic controlled by Hub. BUG ??:
Hi. Please see https://community.flic.io/topic/17817/internet-request-with-user-name-and-password.
Hi, makes sense, thanks for pointing at this. I managed to make it work.
However, having a different behaviour of HTTP request between Flic Hub and Flic app is hard to understand. You should probably put some more effort on explaining this, since HTTP requests is the main channel used to expand Flic usage.Best
-