@Emil Thanks for explanation.
I also managed to figure out what JSON structure is going for MDM under point 3.
Basically I export pairings from dev hub and if we use those buttons on managed hub I just paste "buttons pairings" json in to the field.
@antonio-mestre the net module implements just a raw TCP socket. The secure web socket protocol uses the Websocket protocol on top of the TLS protocol on top of the TCP protocol.
Right now our sdk unfortunately does not include modules for TLS (but we have https) nor Websocket, so you would have to implement that yourself if you want to use wss, using the net module in the bottom for TCP.
@mattias-0 Why can't I use any of the flic/Wyze applets already posted. I have flic2 so I guess that's my answer but why can't your interface detect which type of flic is being pushed? I assume there must be a difference but I don't see anything to help me. What I'm trying to do is simply turn on/off a Wyze smart plug. When I try to create this I add "flic" from your menu of stuff to the "if". For the "this/then" part I add the "Turn on Wyze plug". Now I get asked to select "Options" NADA can't do anything. Tried using a Tagged flic whatever that means, doesn't ask for any options and I get "Finish". I click that and I get to title my applet which I did. Now I get "Can't create Applet, try again later". What the hell is going on? I should not have to worry about whether I have a flic or a flic 2 YOUR interface should be able to detect and take care of that, why should I? If you want your stuff to make it in this market you need to SIMPLIFY things. I have 38 years of programming experience. I could dig into this and probably figure it out, is that what you want the average Joe off the street with no programming experience to do? YOU WANT THIS TO BE EASY FOR ANYBODY, OTHERWISE YOU WILL NOT MAKE IT!
I would like to reply that I totally agree with you. I also hoped for the hub and/or app to bee open to load/play sounds you have got on the phone or desktop (by hub). The fart thing is really funny and the preload sounds are good for a small time. I see no reply anywhere if this feature is going to be integrated. I guess this would be THE biggest improvement for all types of entertainers in the field.
Hey Roberto, I've got it working just fine.
I assume your phone can find both the Tradfri and Flic hub?
You might want to check if both hubs are on the same network (especially if you use them over WiFi and have more than one Access Point).
I've actually connected both hubs over ethernet to the same access point (just worked out that way) but you might want to try over cable in case the above doesn't help...