I should probably mention the link to our API docs (HTTP and MQTT):
http://shelly-api-docs.shelly.cloud/
Do use the Feedback link if you find stuff missing. It’s also possible to use the Dev Tools of your browser to look at requests done by the local web interface of each device.
as @Simonbove already wrote it would be great if you can create your own MQTT-Topics.
Not going to happen. However, we try to design the MQTT protocol to be as plain as possible, so that integrations with all sorts of home automation systems are easily doable.
it would be great if the Shelly Device ID could be seen in the app or the HTML page.
We’ll work on that. In the mean time for local discovery you can try using mDNS. On Linux, with avahi installed the output of avahi-browse --all
should show the shellies in your LAN.
If you have configured the device for MQTT, subscribe to shellies/announce
and pub announce
on shellies/command
or just restart the device.
Slightly offtopic, position control and autocalibration for roller mode on Shelly2 is code-complete, release coming up in a week or two if all is well.