Atom Socket UIFlow example?
-
I purchased an Atom Socket that I want to control using MQTT. I see there is an arduino example on the website but no UIFlow version. If there is no micropython module to control the socket , is there a description of the communication protocol so I can create the class myself?
-
-
@robjasey Looks like I was able to figure it out from the arduino code. Note that at this time I was only interested in turning on or off the socket, not monitoring the voltage or current. Basically you control the socket through Pin 23. I created a simple example that would turn on or turn off the socket from the button or an MQTT message to "socket" which I would have attached but it appears attachments are not supported in the community (or I don't know how to do it).
Cheers! -
@felmue Thanks! I made a simple MQTT UIflow example that I'd be willing to post. Do you know if there is a way to do that ?
-
Hello @robjasey
I am glad to hear you got it working to your liking. The forum allows to upload pictures (cloud symbol with arrow) or you could post the resulting python code.
Thanks
Felix
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login