@rob-loosx many thanks for these examples, really helpful. I wonder if you can help with an integration I need for LightwaveRF which uses UDP. The API for it is here and I'm wondering if your UDP script would be a starting point for this? Unfortunately my programming is limited so I doubt I can work out what needs changed but if you or anyone can point me in the right direction that would be great.
@emil I had it previously set up so my phone was on my guest network and so was the Flic Hub. I couldn't access the site on my computer because my computer was on a different network. So I had to change the Flic Hub to be on that network.
This is awesome!
@Emil I found the error: the .pem file on my server only had the server certificate, not the intermediate nor the root. The Flic Hub was the only client so far to throw an error because of this. I added the missing certificates and now it works just fine.
On a related note: for people issuing self-signed certificates, you may want to add the option of switching off certificate validation (as you have in the ui).
old firmware (could not update myself)
with new firmware the 'sdk-switch' in the flic-app was turned off, by default
-> red dot in the sdk-login-screen
turning sdk-switch to on
-> green dot in the sdk-login-screen
-> login works!