ich versuche eine Shelly Plus 2PM per MQTT an Openhab 3.3 zu binden.
Habe dazu folgedes Thing definiert:
Code: Alles auswählen
UID: mqtt:topic:d60207dd58
label: Shelly Plus 2PM (Rollo 2)
thingTypeUID: mqtt:topic
configuration:
payloadNotAvailable: "false"
availabilityTopic: shellyplus2pm-4855199b4084/online
payloadAvailable: "true"
bridgeUID: mqtt:broker:4efecebca1
location: Terrasse
channels:
- id: cover
channelTypeUID: mqtt:rollershutter
label: Cover
description: ""
configuration:
postCommand: true
formatBeforePublish: '{"id":0,"src":"shellyplus1pm-4855199b4084","method":"Cover.%s","params":{"id":0}}'
stop: Stop
commandTopic: shellyplus2pm-4855199b4084/rpc
stateTopic: shellyplus2pm-4855199b4084/rpc
off: Close
on: Open
Code: Alles auswählen
2022-07-09T17:39:59+0200 shellyplus2pm-4855199b4084/rpc Open
Danke für ein Tipp, damit ich in der richtigen Richtung weiterschuaen kann.
Frank