Jump to content

Shelly Plug Plus S, activate / deactivate the relay


Robertof

Recommended Posts

 

Recently, I bought a Shelly Plus Plug S to control my laptop’s battery charging via MQTT.
I have a Python script that reads the battery charge and acts on the relay via MQTT.
With the Shelly plug, I published to shellies/portátil/relay/0/command with a payload of on or off as needed.
Interestingly, I am connected via MQTT and do not lose cloud control.
If you could help, I would like to know the topic and payload to subscribe and activate the relay.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...