Shelly Binding

just use Shelly Manager :wink:
or default (no port)

DAMN. If I only would have seen that earlier that shelly manager has a command for that. I already did it an hour ago… and thought how great it would be if shelly manger would provide this feature :slight_smile:

anyway, Your shelly manager is really great. I have been using before some other tools provided by shelly-support.eu but your tool is by far better (and working :wink: )
one question though: does shelly manager check itself for existing updates or does it just read shelly’s json file?
the question behind is, if the answer is yes, that shelly manager just reads shelly’s json file, is it possible to switch to check directly on the internet?
In many environment shelly devices do not have direct access to internet. So in my case. Only OH server is allowed to communicate outside

what do you mean with “check itself”? Shelly Manager is build into the Shelly Binding.

So you mean “Shelly could do the update check instead of the device and then the update could be installed using the existing proxy mode”? In general this is possible. However, there was a lot of hick-up around format of version strings. I could make an assumption “update = yes means: there is a different version in the official repo”. I never saw that Allterco posted an older version as the official release version. In this case: if device version = repo version - all good, no update; otherwise signal update available (any case you see, which version was found in the drop down list)

I wanted to suggest that shelly manager should check for updates and not read shelly’s status json file.
allterco provides this file containing all current firmware versions:
http://api.shelly.cloud/files/firmware

no. Shelly Manager should do the update check. In environments where Shellys devices have no access to internet, Shelly device will never know if there are updates available

Related to Shelly binding sometimes does not switch item states via CoIoT - Add-ons / Bindings - openHAB Community.

pm2.5 sometimes does not feed OH3 item via channel. Tried both multicast and unicast mode.

NOT OK
2021-03-31 19:17:04.944 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel relay1#output updated with ON (type class org.openhab.core.library.types.OnOffType).
2021-03-31 19:17:04.944 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 2 channels updated from CoIoT status, serial=4611

OK
2021-03-31 19:17:08.023 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel relay1#output updated with OFF (type class org.openhab.core.library.types.OnOffType).
2021-03-31 19:17:08.023 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 5 channels updated from CoIoT status, serial=4867
2021-03-31 19:17:08.029 [DEBUG] [.internal.handler.ShellyRelayHandler] - shelly25-relay-8caab54cd25e: Set relay output to OFF

again, please provide a proper description and enough log. When does the problem happens? only specific device? which firmware? which binding version?

FW: 20210323-104714/v1.10.1-gf276b51
OH 3.0.1
binding 3.1.0.202103090756, but same was on 3.0.1

Thing shelly:shelly25-relay:8caab54cd25e "Shelly 2.5relay 8CAAB54CD25E" @ "Shelly" [deviceIp="192.168.10.123", eventsCoIoT="true"]
Switch Shelly_25R_8CAAB54CD25E_1Output  {channel="shelly:shelly25-relay:8caab54cd25e:relay1#output"}

log where latest OFF (2021-04-02 21:03:49.836) output does not change item

2021-04-02 21:03:47.897 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 18 CoAP sensor updates received
2021-04-02 21:03:47.898 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter1:currentWatts with 0.0
2021-04-02 21:03:47.898 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter2:currentWatts with 0.0
2021-04-02 21:03:47.898 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#currentWatts updated with 0.00 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:47.899 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel relay2#output updated with OFF (type class org.openhab.core.library.types.OnOffType).
2021-04-02 21:03:47.899 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 2 channels updated from CoIoT status, serial=9999
2021-04-02 21:03:48.743 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: CoIoT Message from /192.168.10.123:5683 (MID=13945): {"G":[[0,9103,0],[0,1101,1],[0,1201,0],[0,2101,1],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4101,8.93],[0,4103,4725],[0,6102,0],[0,4201,0.00],[0,4203,6866],[0,6202,0],[0,3104,78.26],[0,6101,0],[0,9101,"relay"]]}
2021-04-02 21:03:48.743 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#heartBeat updated with 2021-04-02T21:03:48.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:48.743 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,1],[0,1201,0],[0,2101,1],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4101,8.93],[0,4103,4725],[0,6102,0],[0,4201,0.00],[0,4203,6866],[0,6202,0],[0,3104,78.26],[0,6101,0],[0,9101,"relay"]]} (serial=10255)
2021-04-02 21:03:48.743 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 18 CoAP sensor updates received
2021-04-02 21:03:48.744 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter1:currentWatts with 8.93
2021-04-02 21:03:48.744 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter2:currentWatts with 0.0
2021-04-02 21:03:48.744 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter1#currentWatts updated with 8.93 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:48.745 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter1#lastUpdate updated with 2021-04-02T21:03:48.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:48.745 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#lastUpdate updated with 2021-04-02T21:03:48.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:48.746 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel relay1#output updated with ON (type class org.openhab.core.library.types.OnOffType).
2021-04-02 21:03:48.746 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 4 channels updated from CoIoT status, serial=10255
2021-04-02 21:03:48.752 [DEBUG] [.internal.handler.ShellyRelayHandler] - shelly25-relay-8caab54cd25e: Set relay output to ON
2021-04-02 21:03:49.002 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: CoIoT Message from /192.168.10.123:5683 (MID=13946): {"G":[[0,9103,0],[0,1101,1],[0,1201,1],[0,2101,1],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4101,9.01],[0,4103,4725],[0,6102,0],[0,4201,9.99],[0,4203,6866],[0,6202,0],[0,3104,78.26],[0,6101,0],[0,9101,"relay"]]}
2021-04-02 21:03:49.003 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#heartBeat updated with 2021-04-02T21:03:49.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:49.003 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,1],[0,1201,1],[0,2101,1],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4101,9.01],[0,4103,4725],[0,6102,0],[0,4201,9.99],[0,4203,6866],[0,6202,0],[0,3104,78.26],[0,6101,0],[0,9101,"relay"]]} (serial=10511)
2021-04-02 21:03:49.003 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 18 CoAP sensor updates received
2021-04-02 21:03:49.003 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter1:currentWatts with 9.01
2021-04-02 21:03:49.004 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter2:currentWatts with 9.99
2021-04-02 21:03:49.004 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter1#currentWatts updated with 9.01 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:49.004 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter1#lastUpdate updated with 2021-04-02T21:03:49.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:49.005 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#currentWatts updated with 9.99 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:49.005 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#lastUpdate updated with 2021-04-02T21:03:49.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:49.006 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel relay2#output updated with ON (type class org.openhab.core.library.types.OnOffType).
2021-04-02 21:03:49.006 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 5 channels updated from CoIoT status, serial=10511
2021-04-02 21:03:49.333 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#uptime updated with 171989 s (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:49.334 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#accumulatedWatts updated with 19.00 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:49.833 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: CoIoT Message from /192.168.10.123:5683 (MID=13947): {"G":[[0,9103,0],[0,1101,0],[0,1201,1],[0,2101,1],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4101,0.00],[0,4103,4725],[0,6102,0],[0,4201,9.88],[0,4203,6866],[0,6202,0],[0,3104,78.26],[0,6101,0],[0,9101,"relay"]]}
2021-04-02 21:03:49.833 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,1201,1],[0,2101,1],[0,2102,""],[0,2103,0],[0,2201,0],[0,2202,""],[0,2203,0],[0,4101,0.00],[0,4103,4725],[0,6102,0],[0,4201,9.88],[0,4203,6866],[0,6202,0],[0,3104,78.26],[0,6101,0],[0,9101,"relay"]]} (serial=10767)
2021-04-02 21:03:49.834 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 18 CoAP sensor updates received
2021-04-02 21:03:49.834 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter1:currentWatts with 0.0
2021-04-02 21:03:49.834 [DEBUG] [ly.internal.coap.ShellyCoIoTVersion2] - shelly25-relay-8caab54cd25e: Updating meter2:currentWatts with 9.88
2021-04-02 21:03:49.834 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter1#currentWatts updated with 0.00 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:49.835 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#currentWatts updated with 9.88 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:49.836 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel relay1#output updated with OFF (type class org.openhab.core.library.types.OnOffType).
2021-04-02 21:03:49.836 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shelly25-relay-8caab54cd25e: 3 channels updated from CoIoT status, serial=10767
2021-04-02 21:03:52.369 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#heartBeat updated with 2021-04-02T21:03:52.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:52.412 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#uptime updated with 171992 s (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:52.413 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter1#lastUpdate updated with 2021-04-02T21:03:52.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:52.413 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#currentWatts updated with 9.89 W (type class org.openhab.core.library.types.QuantityType).
2021-04-02 21:03:52.414 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel meter2#lastUpdate updated with 2021-04-02T21:03:52.000+0300 (type class org.openhab.core.library.types.DateTimeType).
2021-04-02 21:03:52.414 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly25-relay-8caab54cd25e: Channel device#accumulatedWatts updated with 9.89 W (type class org.openhab.core.library.types.QuantityType).

If I turn|off switch continuosly this happend for 10% cases or around.
Pro4 looks like working ok

UPD I’m not sure for 100% BUT looks like item does not switched when next log record is
‘Channel device#heartBeat’. Not sure what that means but looks like a hook

Markus
Installed my first Shelly1 yesterday and happy to report your binding works terrific!!! :+1:
stupid question… are you considering getting this binding merged into OH as an ‘official’ binding?
Anyhow… thanks for your work!

It is an official Binding, just latest additions are waiting to get merged, therefore the dev version exists…

1 Like

3.1M3 is very close to the current feature set except Shelly Manager. PR is created, but sits since 4 weeks

1 Like

Markus, what additional info should I provide?

just linking this post here if some of the shelly cracks here have a good solution for channel-based triggers

Hey Markus,
are you still using this rule?
How do you get the name of the triggering channel?
AFAIK there is only receivedEvent available as implicit variable

My I ask where is Shelly Manager. I am total beginner. :confused:

/shelly/manager behind your openhab URL

1 Like

There is documentation :wink:

1 Like

Try updated DEV build - I made a change, but won’t expect that this changes anything
What is the output in events.log. If I read the DEBUG log correctly the binding receives the event and updates the channel, I can’t see if the item is updated (that’s handled by the framework)


Latest DEV builds: 2.5.13 - 3.1.0 - README - Installation - Avdanced Users - Shelly Manager - Bugs/Features - Firmware Index - Firmware Archive - API Doc
Note: The DEV build is always newer than the version in the official Distro or the Milestone builds (SNAPSHOTs); OH Distro 2.5 will not receive updates anymore, so you have to switch to DEV build when running OH 2.5, see installation notes.

Hi,

I am having a strange issue with one of my Shelly RGBW2. The ON-OFF state is flipping for the device. I checked and on the device UI the state is not flipping; also on MQTT I cannot see any messages that the state would flip. Ofc when the state flips to ON IRL it is off. I recently changed from Home Assistant where I’ve never seen such issue. This is happening for the second time in the past 4 weeks. OH Restart is not solving the issue.

events log:

2021-04-08 10:45:00.206 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:11.718 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:13.376 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:14.813 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:15.234 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:26.718 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:28.355 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:29.814 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:30.240 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:41.727 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:43.401 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:44.895 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:45.259 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:45:56.732 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:45:58.376 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:46:00.088 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:46:00.207 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:46:11.737 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:46:13.376 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:46:15.095 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:46:15.232 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:46:26.867 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:46:28.353 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:46:30.250 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON
2021-04-08 10:46:32.950 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from ON to OFF
2021-04-08 10:46:41.870 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'RGBWLedStripLivingRoom_Power' changed from OFF to ON

openhab log Shelly - TRACE

2021-04-08 10:45:04.989 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyrgbw2-6f856c: CoIoT Message from /192.168.2.2:5683 (MID=58978): {"G":[[0,9103,0],[0,1101,0],[0,5105,0],[0,5106,0],[0,5107,0],[0,5108,30],[0,5102,0],[0,4101,0.00],[0,4103,0],[0,6102,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,9101,"color"]]}
2021-04-08 10:45:04.990 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyrgbw2-6f856c: Channel device#heartBeat updated with 2021-04-08T10:45:04.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2021-04-08 10:45:04.990 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyrgbw2-6f856c: Watchdog restarted (expires in 70 sec)
2021-04-08 10:45:04.990 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyrgbw2-6f856c: Serial 256 was already processed, ignore update
2021-04-08 10:45:19.989 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyrgbw2-6f856c: CoIoT Message from /192.168.2.2:5683 (MID=58979): {"G":[[0,9103,0],[0,1101,0],[0,5105,0],[0,5106,0],[0,5107,0],[0,5108,30],[0,5102,0],[0,4101,0.00],[0,4103,0],[0,6102,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,9101,"color"]]}
2021-04-08 10:45:19.989 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyrgbw2-6f856c: Channel device#heartBeat updated with 2021-04-08T10:45:19.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2021-04-08 10:45:19.989 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyrgbw2-6f856c: Watchdog restarted (expires in 70 sec)
2021-04-08 10:45:19.989 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyrgbw2-6f856c: Serial 256 was already processed, ignore update
2021-04-08 10:45:35.008 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyrgbw2-6f856c: CoIoT Message from /192.168.2.2:5683 (MID=58980): {"G":[[0,9103,0],[0,1101,0],[0,5105,0],[0,5106,0],[0,5107,0],[0,5108,30],[0,5102,0],[0,4101,0.00],[0,4103,0],[0,6102,0],[0,2101,0],[0,2102,""],[0,2103,0],[0,9101,"color"]]}
2021-04-08 10:45:35.008 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyrgbw2-6f856c: Channel device#heartBeat updated with 2021-04-08T10:45:35.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2021-04-08 10:45:35.008 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyrgbw2-6f856c: Watchdog restarted (expires in 70 sec)
2021-04-08 10:45:35.008 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyrgbw2-6f856c: Serial 256 was already processed, ignore update

Right now I am on OH 3.1.0M3, but earlier this happend on 3.1.0M1 as well. The logs here are filtered to this single device I have the problem with.

Hey Markus,
this is again about receiving a trigger from shelly1 (shelly:shelly1::relay#button) when button is in detached mode. this is currently not working. on shelly ix3 this is working fine. I am on OH3.1 M3, no dev build, shelly-FW v1.10.1-gf276b51

  1. shelly status before button press:
{"wifi_sta":{"connected":true,"ssid":"myWLAN2","ip":"192.168.178.78","rssi":-65},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"20:34","unixtime":1617906873,"serial":46,"has_update":false,"mac":"84CCA8A87EC1","cfg_changed_cnt":2,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"timer"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":11}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20210323-104500/v1.10.1-gf276b51","old_version":"20210323-104500/v1.10.1-gf276b51","beta_version":"20210405-091013/v1.10.2-rc5-gc86c23a"},"ram_total":50224,"ram_free":36072,"fs_size":233681,"fs_free":149094,"uptime":12640}
  1. shelly status after button press:
{"wifi_sta":{"connected":true,"ssid":"myWLAN2","ip":"192.168.178.78","rssi":-67},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"20:35","unixtime":1617906921,"serial":49,"has_update":false,"mac":"84CCA8A87EC1","cfg_changed_cnt":2,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"timer"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":12}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20210323-104500/v1.10.1-gf276b51","old_version":"20210323-104500/v1.10.1-gf276b51","beta_version":"20210405-091013/v1.10.2-rc5-gc86c23a"},"ram_total":50224,"ram_free":36952,"fs_size":233681,"fs_free":146835,"uptime":12688}

from the event count you can see that button press is registered: {“input”:0,“event”:"",“event_cnt”:12}

Trace log before and after button press.
button press was between 20:34:29.196 and 20:35:30.464

2021-04-08 20:34:29.049 [TRACE] [y.internal.handler.ShellyBaseHandler] - shelly1-84cca8a87ec1: Updating status (refreshSettings=false)
2021-04-08 20:34:29.050 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP GET for http://192.168.178.78/status
2021-04-08 20:34:29.121 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"myWLAN2","ip":"192.168.178.78","rssi":-66},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"20:34","unixtime":1617906869,"serial":45,"has_update":false,"mac":"84CCA8A87EC1","cfg_changed_cnt":1,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"timer"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":11}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20210323-104500/v1.10.1-gf276b51","old_version":"20210323-104500/v1.10.1-gf276b51","beta_version":"20210405-091013/v1.10.2-rc5-gc86c23a"},"ram_total":50224,"ram_free":37168,"fs_size":233681,"fs_free":149847,"uptime":12636}
2021-04-08 20:34:29.124 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly1-84cca8a87ec1: Channel device#heartBeat updated with 2021-04-08T20:34:29.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2021-04-08 20:34:29.126 [TRACE] [y.internal.handler.ShellyBaseHandler] - shelly1-84cca8a87ec1: Watchdog restarted (expires in 70 sec)
2021-04-08 20:34:29.127 [TRACE] [.internal.handler.ShellyRelayHandler] - shelly1-84cca8a87ec1: Updating 1 relay(s)
2021-04-08 20:34:29.129 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP GET for http://192.168.178.78/status/relay/0
2021-04-08 20:34:29.196 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"myWLAN2","ip":"192.168.178.78","rssi":-66},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"20:34","unixtime":1617906869,"serial":45,"has_update":false,"mac":"84CCA8A87EC1","cfg_changed_cnt":1,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"timer"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":11}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20210323-104500/v1.10.1-gf276b51","old_version":"20210323-104500/v1.10.1-gf276b51","beta_version":"20210405-091013/v1.10.2-rc5-gc86c23a"},"ram_total":50224,"ram_free":38576,"fs_size":233681,"fs_free":149847,"uptime":12636}
2021-04-08 20:34:29.199 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly1-84cca8a87ec1: Channel device#uptime updated with 12636 s (type class org.openhab.core.library.types.QuantityType).
2021-04-08 20:34:29.201 [TRACE] [y.internal.handler.ShellyBaseHandler] - shelly1-84cca8a87ec1: Watchdog restarted (expires in 70 sec)
2021-04-08 20:35:29.206 [TRACE] [y.internal.handler.ShellyBaseHandler] - shelly1-84cca8a87ec1: Updating status (refreshSettings=false)
2021-04-08 20:35:29.208 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP GET for http://192.168.178.78/status
2021-04-08 20:35:30.464 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"myWLAN2","ip":"192.168.178.78","rssi":-67},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"20:35","unixtime":1617906930,"serial":49,"has_update":false,"mac":"84CCA8A87EC1","cfg_changed_cnt":2,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"timer"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":12}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20210323-104500/v1.10.1-gf276b51","old_version":"20210323-104500/v1.10.1-gf276b51","beta_version":"20210405-091013/v1.10.2-rc5-gc86c23a"},"ram_total":50224,"ram_free":37108,"fs_size":233681,"fs_free":146333,"uptime":12697}
2021-04-08 20:35:30.467 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly1-84cca8a87ec1: Channel device#heartBeat updated with 2021-04-08T20:35:30.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2021-04-08 20:35:30.468 [TRACE] [y.internal.handler.ShellyBaseHandler] - shelly1-84cca8a87ec1: Watchdog restarted (expires in 70 sec)
2021-04-08 20:35:30.470 [TRACE] [.internal.handler.ShellyRelayHandler] - shelly1-84cca8a87ec1: Updating 1 relay(s)
2021-04-08 20:35:30.473 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP GET for http://192.168.178.78/status/relay/0
2021-04-08 20:35:32.070 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shelly1-84cca8a87ec1: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"myWLAN2","ip":"192.168.178.78","rssi":-67},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"20:35","unixtime":1617906931,"serial":49,"has_update":false,"mac":"84CCA8A87EC1","cfg_changed_cnt":2,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"timer"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":12}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20210323-104500/v1.10.1-gf276b51","old_version":"20210323-104500/v1.10.1-gf276b51","beta_version":"20210405-091013/v1.10.2-rc5-gc86c23a"},"ram_total":50224,"ram_free":37284,"fs_size":233681,"fs_free":146082,"uptime":12698}
2021-04-08 20:35:32.072 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly1-84cca8a87ec1: Channel device#uptime updated with 12697 s (type class org.openhab.core.library.types.QuantityType).
2021-04-08 20:35:32.074 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly1-84cca8a87ec1: Channel relay#eventCount updated with 12 (type class org.openhab.core.library.types.DecimalType).
2021-04-08 20:35:32.077 [DEBUG] [lly.internal.util.ShellyChannelCache] - shelly1-84cca8a87ec1: Channel device#heartBeat updated with 2021-04-08T20:35:32.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2021-04-08 20:35:32.078 [TRACE] [y.internal.handler.ShellyBaseHandler] - shelly1-84cca8a87ec1: Watchdog restarted (expires in 70 sec)