This link may help Shellyplus1 (gen2) Nodered to MQTT - #4 by E1cid
There are some setting you may have to enable
enabling
enable mqtt control
will allow these commands also
In addition to the MQTT RPC channel, some functional components export a control interface which allows for easier integration with external systems, in cases where a complete RPC client on the peer is not feasible or practical. Publish and subscribe topics are defined which allow direct control of the device over MQTT. They are available when the
enable_control
flag in the MQTT configuration is set totrue
. For components which support mqtt control, the common topic pattern is:
- Shelly will subscribe to the following topics, accepting commands:
shellies/command
which can be used to send a "broadcast" command to all devices on this MQTT exchange<topic_prefix>/command
where<topic_prefix>
is usually unique per device<topic_prefix>/command/<component:id>
where individual components accept specific commands