Hi,
I just received the brand new Shelly 4PM.
At first glance it looks professional and very promising.
Although, setup was a bit tricky. Neither standard nor Beta version App could find it.
Finally I got it working via its Webpage.
Now I'm a bit struggling with MQTT.
I understand that the backbone of all interface seems to be RPC. So even via MQTT it is possible to see these RPC messages.
But also, it is possible to set "Generic status update" which sends separate status topics for each switch.
On the other hand I have to say that the control via MQTT unfortunately is not very nicely documented yet.
Nevertheless I found this variant in the Forum and it is working in a test.
It uses one topic to control everything.
shelly-xxx/rpc {"method": "Switch.Set", "params": {"id": 2, "on": true}}
My question now is:
Is it possible to also control Shelly 4PM via separate switch topics - as Shelly Gen 1 does - and as the status can show ?
example: shelly-xxx/relay/2/command on
or similar to status: shelly-xxx/command/switch:2 on
It wouldn't matter whether it's a plain command or json.
If it only could be separate switches ...
Maybe I only didn't find in the documenation ?
Best regards
Torsten