Shelly Binding

please try the DEV build, this is way newer. The PR didn’t make it into the 3.0 release.


Latest DEV build: 2.5.12 - 3.0.0 - README - Installation - Bugs/Features - Firmware Index - Firmware Archive - API Doc
Note: The binding version included in the final OH 3.0 distro is significantly older than the DEV build. I can’t make it in-time to bring in the PR in advance to the feature freeze for 3.0 - sorry for that, but always a matter of (spare time).

I followed your instructions for OH 2.5.12. I did a fresh (container) installation. The DEV binding is properly installed.

210 │ Active │  80 │ 2.0.0                   │ Californium (Cf) Core
211 │ Active │  80 │ 2.0.0                   │ Californium (Cf) Element Connector
212 │ Active │  80 │ 2.5.12.202012192330     │ openHAB Add-ons :: Bundles :: Shelly Binding

Things (a 2.5 Switch and DW2) are detected. Still I seem to have no luck with CoAP status updates. There are no traces in the log of the binding from DW2.

I can see the multicast CoAP message in tcpdump, but somehow the bindings seems not to get it.

10:57:27.291204 IP (tos 0x0, ttl 255, id 10, offset 0, flags [none], proto UDP (17), length 226)
    xx.xxx.xxx.xxx.5683 > 224.0.1.187.5683: [udp sum ok] UDP, length 198
	0x0000:  4500 00e2 000a 0000 ff11 ceee 0a00 0057  E..............W
	0x0010:  e000 01bb 1633 1633 00ce 790e 501e 59bd  .....3.3..y.P.Y.
	0x0020:  b363 6974 0173 ed0b ec08 5348 4457 2d32  .cit.s....SHDW-2
	0x0030:  2334 3046 3532 3032 4441 3733 4123 32d2  #40F5202DA73A#2.
	0x0040:  4396 0082 0300 ff7b 2247 223a 5b5b 302c  C......{"G":[[0,
	0x0050:  3931 3033 2c30 5d2c 5b30 2c33 3130 382c  9103,0],[0,3108,
	0x0060:  305d 2c5b 302c 3331 3039 2c2d 315d 2c5b  0],[0,3109,-1],[
	0x0070:  302c 3631 3130 2c2d 315d 2c5b 302c 3331  0,6110,-1],[0,31
	0x0080:  3036 2c31 375d 2c5b 302c 3331 3130 2c22  06,17],[0,3110,"
	0x0090:  6461 726b 225d 2c5b 302c 3331 3031 2c32  dark"],[0,3101,2
	0x00a0:  332e 3630 5d2c 5b30 2c33 3130 322c 3734  3.60],[0,3102,74
	0x00b0:  2e34 385d 2c5b 302c 3331 3135 2c30 5d2c  .48],[0,3115,0],
	0x00c0:  5b30 2c33 3131 312c 3130 305d 2c5b 302c  [0,3111,100],[0,
	0x00d0:  3931 3032 2c5b 2273 656e 736f 7222 5d5d  9102,["sensor"]]
	0x00e0:  5d7d                                     ]}

Could it be a Java issue? To my surprise I found the 2.5.12-snapshot-debian container is providing OpenJDK. I was under the impression the Debian images use Oracle Java (that’s at least what the documentation suggests)

root@DS214:/openhab# java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (Zulu 8.50.0.51-CA-linux64) (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (Zulu 8.50.0.51-CA-linux64) (build 25.275-b01, mixed mode)

For a test I upgraded DW2 firmware to latest RC, but no change

Current firmware version: v1.9.3-rc4/20201216-140701(146c9bd7)

If you are running the binding in a Docker container there are some pre-requities. check the README.
I know that this topic was covered here, so maybe someone of the gang could help - I still didn’t found the time to setup a Docket environment for OH.

Did you tried to use Network type = Host? In this case the container shares the network with the Docker host. That should be the easiest way.

By the way: Who wants to contribute some instructions how to setup OH+Shelly*CoIoT, which I could include in the documentation? Or a new use case description? I already started with additional information on roller setup utilizing new firmware features like Roller Positioning Favorites. Those will become part of the distro and liked into the README. Please start sharing your advanced solutions with the community: More detailed setup guide, smart rules, advanced monitoring etc. I’m pretty sure all of us already found stuff, which could be beneficial for others.

Hi!
i recently got a shelly em and a shelly 3em have set them up via text config.
i’m (obviously) interested in power consumption and so the first thing i configured was [thing]:device#accumulatedWatts (“Accumulated power in W of the device (including all meters)”) but i got no updates for this item.
only after i configured a meter specific item [thing]:meter1#currentWatts i also got updates for the accumulated item. as soon as i remove/deactivate the meter1 item i stop getting updates from the accumulated item.
is this supposed to be this way or am i missing something?

and i have another (not binding-related) question: how do you guys store/evaluate power consumption? with currentWatts i can see the actual consumption but i’d like to store data the way i can later “extract” power consumptions for a specific period (24H, 365D, Month etc.).

totalKWH gives back total consumption but resets on restart, so i should probably calculate the difference of totalKWH (now) and (totalKWH) (5minutesago)?

and what exactly is the difference between accumulatedTotal and accumulatedReturned?

I’d appreciate any help :slight_smile:

edit: i’m still on OH2 with binding version 2.5.10

Hmm, usually the channels are non depending on each other. This sounds a little bit unusual.

You should look into OH’s persitance capabilities. You could setup the system to store those items into InfluxDB, which creates time series, which could be visualized using Garfana or jump on OH3, it has some build-in capabilities.

Merry Merry Christmas to all of you!

It’s time to say thank you for joining this post and sharing ideas as well as one of the best sources to get information. I’m always interested in your feedback, this drove already some cool ideas. Don’t hesitate to ask questions, that what’s the community is made for. Happy to include your contributions like config examples or use case descriptions with the binding’s documentation.

Bildschirmfoto 2020-12-25 um 18.18.55

I also want to share the XMas release for 2.5 and 3.1, which brings some minor fixes, support for the Shelly Duo Color Bulb (G10), but also for Shelly Motion. I’m already working with the Allterco team on this and the binding supports the current development status, so it will be ready when you get the Motion on the table.

Stay safe, let’s pass the pandemic and have fun with our Shellys.


Latest DEV build: 2.5.12 - 3.1.0 - README - Installation - Bugs/Features - Firmware Index - Firmware Archive - API Doc
Note: The binding version included in the final OH 3.0 distro is significantly older than the DEV build. I can’t make it in-time. Make sure you deleted older versions of the binding when installing the 2.5.12-SNAPSHOT or 3.1.0-SNAPSHOT if you are already on OH 3.

2 Likes

Yeah thx. Need the Shelly motion. Waiting so long for it.
Can you tell how the Shelly motion works? Just an on signal or on /off signal?
Greets and merry Christmas

I’ve problems with my shellys. They send no update when I do some action with a physical button on the Shelly or when he has an auto-off-timer.
I use Openhab 3.0 with the newest dev binding with shelly 2.5 and 1 (1.9.0 or 1.9.3.rc5 firmware).
Shellys and OpenHAB are in the same subnet and mDNS (Avahi on pfsense) is active.
What can I do? What can I check?

PS: Problem was also in OpenHAB 2.5.11 (and rlease binding).
PS2: After an update or restart it works for a short time and after a while it do no update.

Thanks for you help.

I’ve found the problem:
I use two Asus router with “AI-mesh”. When a shelly was connected to the main router it works, when it was connected to an mesh router, it won’t work.
After I’ve setup boot router as an “AP-Router” without mesh functionality (AI-Mesh) it works like a charme.

:+1: good catch

what can i say. on my system it’s perferctly reproducible.
without [thing]:meter1#currentWatts i get no data from [thing]:device#accumulatedWatts

does anyone here have a em3 and can validate/invalidate this?

Please provide a DEBUG log, maybe there is an exception

ok, set log to debug, “deactivated” [thing]:meter1#currentWatts, waited some time and reactivated the meter1 channel.
as you can see, between link removed and link added there are no updates for any times:

2020-12-27 09:59:42.105 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from 377.6 to 385.1
2020-12-27 09:59:42.142 [vent.ItemStateChangedEvent] - Shelly_EM3_accWatts changed from 1360.9 W to 1374.1 W
2020-12-27 09:59:44.164 [temChannelLinkRemovedEvent] - Link 'Shelly_EM3_Watts3 => shelly:shellyem3:84cca8ad12a6:meter3#currentWatts' has been removed.
2020-12-27 09:59:55.022 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16245): {"G":[[0,9103,0],[0,1101,0],[0,4105,564.14],[0,4106,162389.4],[0,4107,108987.4],[0,4108,234.30],[0,4109,3.97],[0,4110,0.61],[0,4205,428.21],[0,4206,79406.1],[0,4207,97461.9],[0,4208,239.46],[0,4209,3.35],[0,4210,0.53],[0,4305,382.30],[0,4306,38384.6],[0,4307,637.3],[0,4308,231.48],[0,4309,3.54],[0,4310,0.47],[0,6102,0]]}
2020-12-27 09:59:55.025 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,564.14],[0,4106,162389.4],[0,4107,108987.4],[0,4108,234.30],[0,4109,3.97],[0,4110,0.61],[0,4205,428.21],[0,4206,79406.1],[0,4207,97461.9],[0,4208,239.46],[0,4209,3.35],[0,4210,0.53],[0,4305,382.30],[0,4306,38384.6],[0,4307,637.3],[0,4308,231.48],[0,4309,3.54],[0,4310,0.47],[0,6102,0]]} (serial=33306)
2020-12-27 09:59:55.027 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:00:10.024 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16246): {"G":[[0,9103,0],[0,1101,0],[0,4105,559.62],[0,4106,162398.9],[0,4107,108987.4],[0,4108,233.75],[0,4109,3.94],[0,4110,0.61],[0,4205,423.48],[0,4206,79413.2],[0,4207,97461.9],[0,4208,239.55],[0,4209,3.33],[0,4210,0.53],[0,4305,383.07],[0,4306,38390.9],[0,4307,637.3],[0,4308,231.93],[0,4309,3.52],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:00:10.027 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,559.62],[0,4106,162398.9],[0,4107,108987.4],[0,4108,233.75],[0,4109,3.94],[0,4110,0.61],[0,4205,423.48],[0,4206,79413.2],[0,4207,97461.9],[0,4208,239.55],[0,4209,3.33],[0,4210,0.53],[0,4305,383.07],[0,4306,38390.9],[0,4307,637.3],[0,4308,231.93],[0,4309,3.52],[0,4310,0.47],[0,6102,0]]} (serial=33306)
2020-12-27 10:00:10.030 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:00:25.031 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16247): {"G":[[0,9103,0],[0,1101,0],[0,4105,558.15],[0,4106,162398.9],[0,4107,108987.4],[0,4108,234.56],[0,4109,3.95],[0,4110,0.60],[0,4205,430.70],[0,4206,79413.2],[0,4207,97461.9],[0,4208,238.88],[0,4209,3.37],[0,4210,0.54],[0,4305,381.52],[0,4306,38390.9],[0,4307,637.3],[0,4308,231.07],[0,4309,3.52],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:00:25.033 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,558.15],[0,4106,162398.9],[0,4107,108987.4],[0,4108,234.56],[0,4109,3.95],[0,4110,0.60],[0,4205,430.70],[0,4206,79413.2],[0,4207,97461.9],[0,4208,238.88],[0,4209,3.37],[0,4210,0.54],[0,4305,381.52],[0,4306,38390.9],[0,4307,637.3],[0,4308,231.07],[0,4309,3.52],[0,4310,0.47],[0,6102,0]]} (serial=33306)
2020-12-27 10:00:25.035 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:00:34.038 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16248): {"G":[[0,9103,0],[0,1101,0],[0,4105,564.17],[0,4106,162398.9],[0,4107,108987.4],[0,4108,233.60],[0,4109,3.93],[0,4110,0.61],[0,4205,411.74],[0,4206,79413.2],[0,4207,97461.9],[0,4208,238.64],[0,4209,3.33],[0,4210,0.52],[0,4305,389.95],[0,4306,38390.9],[0,4307,637.3],[0,4308,233.48],[0,4309,3.57],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:00:34.040 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,564.17],[0,4106,162398.9],[0,4107,108987.4],[0,4108,233.60],[0,4109,3.93],[0,4110,0.61],[0,4205,411.74],[0,4206,79413.2],[0,4207,97461.9],[0,4208,238.64],[0,4209,3.33],[0,4210,0.52],[0,4305,389.95],[0,4306,38390.9],[0,4307,637.3],[0,4308,233.48],[0,4309,3.57],[0,4310,0.47],[0,6102,0]]} (serial=33562)
2020-12-27 10:00:34.042 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:00:47.044 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16249): {"G":[[0,9103,0],[0,1101,0],[0,4105,559.92],[0,4106,162398.9],[0,4107,108987.4],[0,4108,232.97],[0,4109,3.93],[0,4110,0.61],[0,4205,415.92],[0,4206,79413.2],[0,4207,97461.9],[0,4208,239.59],[0,4209,3.35],[0,4210,0.52],[0,4305,395.52],[0,4306,38390.9],[0,4307,637.3],[0,4308,233.63],[0,4309,3.57],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:00:47.047 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,559.92],[0,4106,162398.9],[0,4107,108987.4],[0,4108,232.97],[0,4109,3.93],[0,4110,0.61],[0,4205,415.92],[0,4206,79413.2],[0,4207,97461.9],[0,4208,239.59],[0,4209,3.35],[0,4210,0.52],[0,4305,395.52],[0,4306,38390.9],[0,4307,637.3],[0,4308,233.63],[0,4309,3.57],[0,4310,0.47],[0,6102,0]]} (serial=33818)
2020-12-27 10:00:47.049 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:01:02.051 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16250): {"G":[[0,9103,0],[0,1101,0],[0,4105,556.57],[0,4106,162408.2],[0,4107,108987.4],[0,4108,234.14],[0,4109,3.93],[0,4110,0.60],[0,4205,423.70],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.12],[0,4209,3.38],[0,4210,0.52],[0,4305,391.35],[0,4306,38397.3],[0,4307,637.3],[0,4308,232.73],[0,4309,3.54],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:01:02.054 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,556.57],[0,4106,162408.2],[0,4107,108987.4],[0,4108,234.14],[0,4109,3.93],[0,4110,0.60],[0,4205,423.70],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.12],[0,4209,3.38],[0,4210,0.52],[0,4305,391.35],[0,4306,38397.3],[0,4307,637.3],[0,4308,232.73],[0,4309,3.54],[0,4310,0.47],[0,6102,0]]} (serial=33818)
2020-12-27 10:01:02.057 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:01:17.056 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16251): {"G":[[0,9103,0],[0,1101,0],[0,4105,561.40],[0,4106,162408.2],[0,4107,108987.4],[0,4108,233.84],[0,4109,3.93],[0,4110,0.61],[0,4205,417.29],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.35],[0,4209,3.37],[0,4210,0.52],[0,4305,395.24],[0,4306,38397.3],[0,4307,637.3],[0,4308,233.04],[0,4309,3.59],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:01:17.058 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,561.40],[0,4106,162408.2],[0,4107,108987.4],[0,4108,233.84],[0,4109,3.93],[0,4110,0.61],[0,4205,417.29],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.35],[0,4209,3.37],[0,4210,0.52],[0,4305,395.24],[0,4306,38397.3],[0,4307,637.3],[0,4308,233.04],[0,4309,3.59],[0,4310,0.47],[0,6102,0]]} (serial=33818)
2020-12-27 10:01:17.061 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:01:32.066 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16252): {"G":[[0,9103,0],[0,1101,0],[0,4105,560.68],[0,4106,162408.2],[0,4107,108987.4],[0,4108,233.88],[0,4109,3.93],[0,4110,0.61],[0,4205,416.28],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.20],[0,4209,3.34],[0,4210,0.52],[0,4305,390.91],[0,4306,38397.3],[0,4307,637.3],[0,4308,233.00],[0,4309,3.56],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:01:32.069 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,560.68],[0,4106,162408.2],[0,4107,108987.4],[0,4108,233.88],[0,4109,3.93],[0,4110,0.61],[0,4205,416.28],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.20],[0,4209,3.34],[0,4210,0.52],[0,4305,390.91],[0,4306,38397.3],[0,4307,637.3],[0,4308,233.00],[0,4309,3.56],[0,4310,0.47],[0,6102,0]]} (serial=33818)
2020-12-27 10:01:32.072 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:01:47.074 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16253): {"G":[[0,9103,0],[0,1101,0],[0,4105,568.23],[0,4106,162408.2],[0,4107,108987.4],[0,4108,233.54],[0,4109,3.95],[0,4110,0.62],[0,4205,409.79],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.44],[0,4209,3.35],[0,4210,0.51],[0,4305,397.63],[0,4306,38397.3],[0,4307,637.3],[0,4308,233.63],[0,4309,3.63],[0,4310,0.47],[0,6102,0]]}
2020-12-27 10:01:47.077 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,568.23],[0,4106,162408.2],[0,4107,108987.4],[0,4108,233.54],[0,4109,3.95],[0,4110,0.62],[0,4205,409.79],[0,4206,79420.2],[0,4207,97461.9],[0,4208,239.44],[0,4209,3.35],[0,4210,0.51],[0,4305,397.63],[0,4306,38397.3],[0,4307,637.3],[0,4308,233.63],[0,4309,3.63],[0,4310,0.47],[0,6102,0]]} (serial=33818)
2020-12-27 10:01:47.079 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:01:58.230 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from NULL to 385.1
2020-12-27 10:01:58.249 [.ItemChannelLinkAddedEvent] - Link 'Shelly_EM3_Watts3-shelly:shellyem3:84cca8ad12a6:meter3#currentWatts' has been added.
2020-12-27 10:02:02.082 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16254): {"G":[[0,9103,0],[0,1101,0],[0,4105,574.84],[0,4106,162417.6],[0,4107,108987.4],[0,4108,234.89],[0,4109,3.97],[0,4110,0.62],[0,4205,408.69],[0,4206,79427.2],[0,4207,97461.9],[0,4208,239.50],[0,4209,3.31],[0,4210,0.52],[0,4305,386.64],[0,4306,38403.8],[0,4307,637.3],[0,4308,233.50],[0,4309,3.62],[0,4310,0.46],[0,6102,0]]}
2020-12-27 10:02:02.085 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,574.84],[0,4106,162417.6],[0,4107,108987.4],[0,4108,234.89],[0,4109,3.97],[0,4110,0.62],[0,4205,408.69],[0,4206,79427.2],[0,4207,97461.9],[0,4208,239.50],[0,4209,3.31],[0,4210,0.52],[0,4305,386.64],[0,4306,38403.8],[0,4307,637.3],[0,4308,233.50],[0,4309,3.62],[0,4310,0.46],[0,6102,0]]} (serial=33818)
2020-12-27 10:02:02.089 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:02:02.108 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel meter3#currentWatts updated with 386.6 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:02.118 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 1 channels updated from CoIoT status, serial=33818
2020-12-27 10:02:02.114 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from 385.1 to 386.6
2020-12-27 10:02:03.105 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel meter3#currentWatts updated with 386.3 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:03.120 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel device#accumulatedWatts updated with 1368.8 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:03.141 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel device#accumulatedWTotal updated with 280.249 kWh (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:03.111 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from 386.6 to 386.3
2020-12-27 10:02:03.151 [vent.ItemStateChangedEvent] - Shelly_EM3_accWatts changed from 1374.1 W to 1368.8 W
2020-12-27 10:02:03.155 [vent.ItemStateChangedEvent] - Shelly_EM3_accTotal changed from 280.180 to 280.249
2020-12-27 10:02:03.568 [vent.ItemStateChangedEvent] - Shelly_EM3_consumption changed from 0.023 to 0.069
2020-12-27 10:02:12.390 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel meter3#currentWatts updated with 390.6 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:12.400 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel device#accumulatedWatts updated with 1371.0 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:12.399 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from 386.3 to 390.6
2020-12-27 10:02:12.424 [vent.ItemStateChangedEvent] - Shelly_EM3_accWatts changed from 1368.8 W to 1371.0 W
2020-12-27 10:02:17.085 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Message from /192.168.178.212:5683 (MID=16255): {"G":[[0,9103,0],[0,1101,0],[0,4105,563.13],[0,4106,162417.6],[0,4107,108987.4],[0,4108,235.33],[0,4109,3.94],[0,4110,0.61],[0,4205,416.74],[0,4206,79427.2],[0,4207,97461.9],[0,4208,238.97],[0,4209,3.35],[0,4210,0.52],[0,4305,385.48],[0,4306,38403.8],[0,4307,637.3],[0,4308,232.73],[0,4309,3.57],[0,4310,0.46],[0,6102,0]]}
2020-12-27 10:02:17.089 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: CoIoT Sensor data {"G":[[0,9103,0],[0,1101,0],[0,4105,563.13],[0,4106,162417.6],[0,4107,108987.4],[0,4108,235.33],[0,4109,3.94],[0,4110,0.61],[0,4205,416.74],[0,4206,79427.2],[0,4207,97461.9],[0,4208,238.97],[0,4209,3.35],[0,4210,0.52],[0,4305,385.48],[0,4306,38403.8],[0,4307,637.3],[0,4308,232.73],[0,4309,3.57],[0,4310,0.46],[0,6102,0]]} (serial=33818)
2020-12-27 10:02:17.091 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 21 CoAP sensor updates received
2020-12-27 10:02:17.104 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel meter3#currentWatts updated with 385.5 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:17.110 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyem3-84cca8ad12a6: 1 channels updated from CoIoT status, serial=33818
2020-12-27 10:02:17.111 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from 390.6 to 385.5
2020-12-27 10:02:18.643 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel meter3#currentWatts updated with 388.2 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:18.655 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyem3-84cca8ad12a6: Channel device#accumulatedWatts updated with 1370.0 W (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-12-27 10:02:18.649 [vent.ItemStateChangedEvent] - Shelly_EM3_Watts3 changed from 385.5 to 388.2
2020-12-27 10:02:18.676 [vent.ItemStateChangedEvent] - Shelly_EM3_accWatts changed from 1371.0 W to 1370.0 W

ok, the value was computed, but the channel only updated when currentWatts was updated too
please check, should work now.

Keep in mind the accumulated* channels are computed once a minute on every status check (usually once a minute), whereas the currentWatt channel gets updated by CoAP.

@markus7017 will the “Local interface IP to listen for CoIoT messages” setting be implemented in a future official release of the binding (for OH 2.5)?

This is already in, check the binding settings (Host Interface IP); and yes, this included in the PR

i should probably update something ?
i have the binding from paperui (2.5.11)…

No, you need to move to the DEV build

Latest DEV build: 2.5.12 - 3.1.0 - README - Installation - Bugs/Features - Firmware Index - Firmware Archive - API Doc
Note: The binding version included in the final OH 3.0 distro is significantly older than the DEV build. I can’t make it in-time. Make sure you deleted older versions of the binding when installing the 2.5.12-SNAPSHOT or 3.1.0-SNAPSHOT if you are already on OH 3.

uninstalled binding from paperui.
followed instructions (stopped oh, copied files, restarted, copied binding.jar) but nothing pops up with list -s
removed the files from addons folder and dropped californium-core-2.0.0.jar again (while openhab running):

2020-12-27 19:51:30.230 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/californium-core-2.0.0.jar
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.californium.core [289]
  Unresolved requirement: Import-Package: org.eclipse.californium.elements; version="[2.0.0,3.0.0)"
        at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]

all this happenend on openhab 2.5.11.

obviously you forgot org.eclipse.californium.elements.jar
follow the instructions