Recently I bought a couple of Shelly 1PM Mini’s, I received the Gen3 model. They’re not playing nice with the 4.1 Shelly binding release. I tried them with the most recent OH 4.2 snapshot build and as well with the 4.2 Shelly binding snapshot build. In both cases I’ve got alot of communication errors.
So, am I correct in asuming these Gen3 models aren’t supported yet?
And is there maybe a workaround to get them playing nice with the 4.1 build, or do I need to be just a littlepatient? I hope someone can help me out.
I’m using my Shelly PM Mini Gen3 with MQTT unitl they are working fine with the newest shelly binding version.
This should also work with the 1PM Mini Gen3
I was afraid someone would say that.
I checked the docs and it seems a rather cumbersome procedure to perform that upgrade with high risk of something breaking. So I might eventually do that but need to be prepared to spend some considerable amount of time. Next time I buy some new hardware I better check the compatibility with my OH version.
I have the same issue with latest & greatest SW & HW (OH 5.0.1, Shelly Mini Gen4). My current solution is to use MQTT to get the input channel change notifications.
I tried the MQTT work around, it doesn’t actually solve the original problem but at least makes openhab receive the input/event status updates. So for anybody who has the same problem and stumbles onto this post, for your convenience; an example for a thing configuration and a map transformation.
thing config:
UID: mqtt:topic:39f845666d:d793f9da78
label: MQTT | Switch | Livingroom | 01
thingTypeUID: mqtt:topic
configuration:
payloadNotAvailable: "false"
availabilityTopic: shelly/shelly-switch-livingroom-01/online
payloadAvailable: "true"
bridgeUID: mqtt:broker:39f845666d
channels:
- id: eventTrigger
channelTypeUID: mqtt:trigger
label: Event Trigger
description: "MQTT Workaround to get event status updates from Shelly 1PM Mini Gen3 into OpenHAB 4.2.2"
configuration:
stateTopic: shelly/shelly-switch-livingroom-01/events/rpc
transformationPattern: JSONPATH:$.params.events[0].event∩MAP:button_push.map