@paul-j-houghton you know you should be able to set a static ip in your router using mac bindings? That's how I achieved this
Best posts made by ariel
-
RE: Testing HTTP request
Latest posts made by ariel
-
RE: MQTT Integration
if anyone is still looking, I've taken some time to make a more robust mqtt library which even supports the battery status and IR modules. Feel free to look at it https://github.com/asosnovsky/flic2hass
-
Add support for playing sounds
Since the flichub has an aux output, would it be possible to add support to play sounds on it via the sdk?
-
RE: Testing HTTP request
@paul-j-houghton you know you should be able to set a static ip in your router using mac bindings? That's how I achieved this
-
RE: Flic HomeKit pairing code
@Emil , sorry took long to respond, I forgot to turn on notifications.
So after playing with this a lot I can summarize my problem in two bullet points:
- I couldn't properly target homeassistant via webhooks as I enabled ssl which means that using the local ip address fails (unless you have a ssl_verify turned off) Your sdk does not offer this, which caused me to do a lot of leg work to configure my router so that it re-routes local calls to my domain name to the device directly (as otherwise it goes to my dns provider then back to my router, which makes flic not usable without direct access to the web, which happened when I tried setting it up causing a lot of confusion for me).
- I can't access the sdk locally using the actual ip of the device, I have to go to the https://hubsdk.flic.io/ which is an online sdk! Which doesn't work during hard times (no internet)
I think some updates from your team which would be nice to address these issues could be:
- Add a "ssl_verify=false" option (this is possible using any standard javascript library, should be possible here as well)
- Have a way to access the sdk without an "online sdk" I should be able to just access the files directly (assuming they really live in the hub and not in the cloud
- Maybe have a way to have the hub provide the pairing code (since this would honestly resolve so many issues, homekit is great even without the apple homepod)
-
RE: Flic HomeKit pairing code
@Emil errggg that would have been good to know before I spent $200 on this product... The SDK integration is flimsy (I've tested this out a few times and it just randomly stops working at times, plus writing code in some partially implemented javascript engine is very hacky) and it looks like the HTTP Request via the app goes through cloud which defeats the whole purpose for local control and the hub.
Is there any plans to make the codes available in the future?
-
Flic HomeKit pairing code
Hi I am trying to connect the flic hub to Home assistant via Homekit. It seems that it's requesting a homekit pairing code which I can't seem to find anywhere on the packaging or the device. Is there any way for me to proceed?