i have a WiFi Rollershutter and would include it via MQTT
This is the doc of the RollerShutter
### MQTT in Roller mode
When configured to operate in roller mode, MQTT topics used by Shelly Switch are:
* `shellies/shellyswitch-<deviceid>/roller/0` reports the current state: `open` , `close` while in motion, `stop` when not moving.
* `shellies/shellyswitch-<deviceid>/roller/0/command` accepts `open` , `close` and `stop` .
I’m too stupid to put it on properly. maybe someone can help me :)?
shellies/shellyswitch-32B62F/roller/0 -> gets the actual State
shellies/shellyswitch-32B62F/roller/0/command:open -> open the shutter
shellies/shellyswitch-32B62F/roller/0/command:close -> close the shutter
shellies/shellyswitch-32B62F/roller/0/command:stop -> stop the shutter
that’s because your MQTT item has only an outbound configuration (only sends stuff to MQTT)
To be able to get updates from the device, you need to add an inbound conf also that subscribes to a topic that is updated from the endpoint
Se Vincent’s recommendation above (part with < sign)
well then you will need to wait till then to get a proper status in an OH2 Rollershutter item
The state of a Rollershutter Item is a number (0-100) so you can’t use any of the existing info that is being reported.
sure you can. use the same map file as above and add these 2 mappings
close=0
open=100
but you will still get an error when the device will publish a stop message (which will be the most common/often one). Workaround this by adding yet another map