ich benötige mal eure Hilfe.
Ich möchte einen Shelly in cbpi4 als actor einbinden.
Über einen Mosquitto broker client kann ich vom pi den shelly wie folgt schalten
Einschalten
Code: Alles auswählen
mosquitto_pub -h 10.1.x.x -p 1883 -t 'shelly-1/rpc' -m '{"id":1, "src":"shellyplugsg3-8cbfea90f844", "method":"Switch.Set", "params":{"id":0,"on":true}}'Code: Alles auswählen
mosquitto_pub -h 10.1.x.x -p 1883 -t 'shelly-1/rpc' -m '{"id":1, "src":"shellyplugsg3-8cbfea90f844", "method":"Switch.Set", "params":{"id":0,"on":false}}'Topic: shelly-1/rpc
Payload: {"id":1, "src":"shellyplugsg3-8cbfea90f844", "method":"Switch.Set", "params":{"id":0,"on":true}}
Mit den Actor MQTT Einstellungen komme ich nicht weiter.
Was muss hier als Topic und Payload eingestellt werden.


