Shelly 1 plus con node red

Tengo varios Shelly 1 y los controlo desde node red con un nodo de mqtt in y pongo shellies/xxx/relay/0 y para la entrada shellies/xxx/relay/0/command y funciona perfecto… he comprado los nuevos Shelly 1 plus, y ya no funciona así, alguien me puede ayudar por favor

I have several Shelly 1 and I control them from node red with a mqtt in node and I put shellies/xxx/relay/0 and for the shellies/xxx/relay/0/command input and it works perfectly... I have bought the new Shelly 1 plus, and it no longer works like that, can someone help me please

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 to true. 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

Lo he leído y habla de que quita la parte delantera shellies… que debería quedar así xxx/relay/0… probado y nada

I have read it and it talks about removing the front shellies... that it should look like this xxx/relay/0... tested and nothing

Are you reading the right post

example

[{"id":"f6ee0c7b.18c73","type":"inject","z":"d1395164b4eec73e","name":"on","props":[{"p":"topic","vt":"str"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"add_your_shelly_id_here/rpc","payload":"{\"id\":123,\"src\":\"any_string_you_wish\",\"method\":\"Switch.Set\",\"params\":{\"id\":0,\"on\":true}}","payloadType":"json","x":270,"y":4760,"wires":[["5e2a3763d28e983c"]]},{"id":"5e2a3763d28e983c","type":"mqtt out","z":"d1395164b4eec73e","name":"","topic":"","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"e8ba3ef5.22f4a8","x":410,"y":4760,"wires":[]},{"id":"e8ba3ef5.22f4a8","type":"mqtt-broker","name":"testb","broker":"192.168.1.25","port":"1883","clientid":"","autoConnect":true,"usetls":false,"compatmode":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""}]

add you shelly device id to the topic where it says add_your_shelly_id_here

Si lo que no entendió es como hacerlo…disculpaste nuevo en esto.. mi dispositivo se llama Focos_piscina

If what you didn't understand is how to do it... you apologized new in this.. my device is called Focos_picina

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.