Shelly Binding

For gen2 devices, you need the dev version. This is independent to TRV support.

If the 3.3.0 version discovers the TRV you are fine, otherwise you need to uninstall this one from the UI and install the -gen2 build following the instructions.

I‘m in the process to merge the current code base into the dist, but my expectation is that this will take another 3-6 weeks.

In the meantime use the gen2 build. Hardening for Gen1 devices is almost done, now we move to the gen2 devices and just today I received dev samples of all new devices Shelly presented on their event.

3.4.0-Gen2 build for Plus/Pro+Gen1 | 3.4.0-DEV Gen1 stable build
README | READMEbeta for more info on first installation
Avdanced Users - Shelly Manager - Bugs/Features - API Doc
Gen1: Firmware Index - Firmware Archive

Note: The DEV build is always newer than the version in the official Distro or the Milestone builds check [here]

I‘ll check the Pro 4PM

Did you tried the latest Gen2 build? I just did some fixing a few days ago

will add this to the test list for Gen2

Thank, newest build solved this. The temperature channel is shown.

the newest build shows an error:

> 2022-07-30 10:31:18.031 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
> java.lang.NoClassDefFoundError: org/openhab/binding/shelly/internal/api1/Shelly1ApiJsonDTO$ShellyStatusLight
> 	at org.openhab.binding.shelly.internal.api1.Shelly1HttpApi.getLightStatus(Shelly1HttpApi.java:286) ~[?:?]
> 	at org.openhab.binding.shelly.internal.handler.ShellyLightHandler.updateDeviceStatus(ShellyLightHandler.java:330) ~[?:?]
> 	at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.refreshStatus(ShellyBaseHandler.java:499) ~[?:?]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
> 	at java.lang.Thread.run(Thread.java:834) [?:?]
> Caused by: java.lang.ClassNotFoundException: org.openhab.binding.shelly.internal.api1.Shelly1ApiJsonDTO$ShellyStatusLight cannot be found by org.openhab.binding.shelly_3.4.0.202207162149
> 	at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:529) ~[org.eclipse.osgi-3.17.200.jar:?]
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:524) ~[org.eclipse.osgi-3.17.200.jar:?]
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416) ~[org.eclipse.osgi-3.17.200.jar:?]
> 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168) ~[org.eclipse.osgi-3.17.200.jar:?]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
> 	... 9 more

Hello I bought the new Shelly Plus HT (SNSN-0013A), unfortunately the org.openhab.binding.shelly-3.4.0-gen2.jar binding always remains on CONFIGURATION_PENDING.

http://IP/rpc/Shelly.GetConfig:

{"ble":{"enable":false},"cloud":{"enable":false,"server":"shelly-43-eu.shelly.cloud:6022/jrpc"},"devicepower:0":{},"ht_ui":{"temperature_unit":"C"},"humidity:0":{"id":0, "name":null, "report_thr":1},"mqtt":{"enable":false,"server":null,"client_id":"shellyplusht-441793d0dbc0","user":null,"topic_prefix":"shellyplusht-441793d0dbc0","rpc_ntf":true,"status_ntf":false},"sys":{"device":{"name":"Shelly-BZ-PlusHT","mac":"441793D0DBC0","fw_id":"20220602-132134/plushtprod1-g7578881","discoverable":true},"location":{"tz":"Europe/Berlin","lat":51.366160,"lon":12.420820},"debug":{"mqtt":{"enable":false},"websocket":{"enable":false},"udp":{"addr":null}},"ui_data":{},"rpc_udp":{"dst_addr":null,"listen_port":null},"sntp":{"server":"time.google.com"},"sleep":{"wakeup_period":43200},"cfg_rev":22},"temperature:0":{"id":0, "name":null, "report_thr_C": 0.5},"wifi":{"ap":{"ssid":"ShellyPlusHT-441793D0DBC0","is_open":false, "enable":false},"sta":{"ssid":"SSID","is_open":false, "enable":true, "ipv4mode":"dhcp","ip":null,"netmask":null,"gw":null,"nameserver":null},"sta1":{"ssid":null,"is_open":true, "enable":false, "ipv4mode":"dhcp","ip":null,"netmask":null,"gw":null,"nameserver":null},"roam":{"rssi_thr":-80,"interval":60}}}

http://IP/rpc/Shelly.GetStatus:

{"ble":{},"cloud":{"connected":false},"devicepower:0":{"id": 0,"battery":{"V":5.26, "percent":67},"external":{"present":false}},"ht_ui":{},"humidity:0":{"id": 0,"rh":69.1},"mqtt":{"connected":false},"sys":{"mac":"441793D0DBC0","restart_required":false,"time":"11:16","unixtime":1659172564,"uptime":53,"ram_size":239676,"ram_free":169540,"fs_size":458752,"fs_free":196608,"cfg_rev":22,"available_updates":{"beta":{"version":"0.11.0-beta2"}},"wakeup_reason":{"boot":"deepsleep_wake","cause":"button"}},"temperature:0":{"id": 0,"tC":25.1, "tF":77.2},"wifi":{"sta_ip":"IP","status":"got ip","ssid":"SSID","rssi":-30}}

maybe I can be helped
Greetings

Thanks everyone for your help (and @markus7017 for developing such a great binding!)

Just wanted to say that upgrading to 3.3 meant that the TRV showed up as a Thing type so I was able to add it to my platform without having to install a Dev build.

@markus7017, I am still unable to mount the gen2 binding, even following all steps to the letter, multiple times. But perhaps I have a clue. I delete all .things but I have several devices that consistently show up as a new thing in my inbox. They are there now; two 1’s, a 1PM and a 2.5. These are real devices but they are already on my network and are defined as .things. It is as if they are some sort of ghost devices that are not purged with a clean-cache. Could some device information be lurking in a config file that is preventing the gen2 binding from being mounted?

check the jsondb,?it has all the thing definitions in json format. stop oh, delete the definitions you want to get rid of. You could grep the folder for the ids you are looking for

which device are you using?

strange, try updated build

@markus7017 This is the org.openhab.core.thing.Thing.json file? I can delete all of the shelly device references in this file to completely clear any device history?

yes, make sire to keep the format after esiting (remove complete shelly related entries and keep the others unmodified)

grep the json db folder for „shelly“ there are also the links for channels to items

keep a backup cop if the filder

Make sure to have installed the latest gen2 build (and removed rhe Shelly binding, which comes wirh tge IH standard install).The device must be online and in discovery mode. Best is to do a device revoot from the Web UIwait 15sec and the. start OH discovery

Hey Markus.

So, back at it, trying to get the Shelly 4Pro PM getting to report comsumption, now with new devices, which was a waste of time since Shelly made a new FW beta (0.11.0-beta2) which adresses the problem I was seeing, and now the kWh reports work, and are updated in OH as well.

Changelog for the beta fixes this issue: * Wrong aenergy values with low-power loads on Pro devices

Last time troubleshooting you asked me to disable authentication for the 4Pro PM, for testing which exposed the metering channels - I just downloaded the latest image from today, 1 AUG, and when enabling authentication the meter channels disappear. You probably are aware of this, but maybe others are not.

While power consumption is fixed, the binding is not reporting current, even though the device is reporting current when making a call to - I don’t need this myself, but others might, and I’ve already set up a test bench with the device, so might as well put it to work.
Here is the output from the rpc status call with loads connected to switch 0 and 2, OH reports all currents as 0

`{"ble":{},"cloud":{"connected":false},"eth":{"ip":null},"input:0":{"id":0,"state":false},"input:1":{"id":1,"state":false},"input:2":{"id":2,"state":false},"input:3":{"id":3,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"HTTP", "output":true, "apower":5.0, "voltage":234.7, "current":0.042, "pf":-0.67, "aenergy":{"total":1.285,"by_minute":[81.236,84.035,84.079],"minute_ts":1659336117},"temperature":{"tC":36.4, "tF":97.5}},"switch:1":{"id":1, "source":"HTTP", "output":false, "apower":0.0, "voltage":234.7, "current":0.000, "pf":0.00, "aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1659336117},"temperature":{"tC":36.4, "tF":97.5}},"switch:2":{"id":2, "source":"HTTP", "output":true, "apower":2.6, "voltage":234.5, "current":0.025, "pf":-0.64, "aenergy":{"total":0.649,"by_minute":[42.280,43.704,43.764],"minute_ts":1659336117},"temperature":{"tC":36.4, "tF":97.5}},"switch:3":{"id":3, "source":"init", "output":false, "apower":0.0, "voltage":234.5, "current":0.000, "pf":0.00, "aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1659336117},"temperature":{"tC":36.4, "tF":97.5}}`

The output from OH debug log is as follows, I see no nothing in there regarding current which explains it not updating:

2022-08-01 09:13:43.887 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.6593380248E9,"switch:0":{"id":0,"pf":0.5}}}
2022-08-01 09:13:44.958 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.6593380258E9,"switch:0":{"id":0,"pf":-0.67}}}
2022-08-01 09:13:44.961 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933798086E9,"switch:0":{"id":0,"aenergy":{"total":3.886,"by_minute":[83.77,83.77,83.725],"minute_ts":1659337979}}}}
2022-08-01 09:13:44.967 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933798089E9,"switch:1":{"id":1,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659337979}}}}
2022-08-01 09:13:44.970 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933798094E9,"switch:2":{"id":2,"aenergy":{"total":2.013,"by_minute":[44.318,44.033,44.048],"minute_ts":1659337979}}}}
2022-08-01 09:13:44.971 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933798097E9,"switch:3":{"id":3,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659337979}}}}
2022-08-01 09:13:49.882 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.6593380308E9,"switch:0":{"id":0,"pf":0.5}}}
2022-08-01 09:13:51.882 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.6593380328E9,"switch:0":{"id":0,"pf":-0.67}}}
2022-08-01 09:13:58.687 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay1
2022-08-01 09:13:58.688 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:13:58.688 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter1
2022-08-01 09:13:58.689 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay1 done
2022-08-01 09:13:58.689 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay2
2022-08-01 09:13:58.689 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:13:58.690 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter2
2022-08-01 09:13:58.690 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay2 done
2022-08-01 09:13:58.691 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay3
2022-08-01 09:13:58.691 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:13:58.691 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter3
2022-08-01 09:13:58.692 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay3 done
2022-08-01 09:13:58.692 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay4
2022-08-01 09:13:58.693 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:13:58.693 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter4
2022-08-01 09:13:58.694 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay4 done
2022-08-01 09:13:58.694 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input1
2022-08-01 09:13:58.695 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input1 done
2022-08-01 09:13:58.695 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input2
2022-08-01 09:13:58.695 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input2 done
2022-08-01 09:13:58.696 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input3
2022-08-01 09:13:58.697 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input3 done
2022-08-01 09:13:58.697 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input4
2022-08-01 09:13:58.698 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input4 done
2022-08-01 09:13:58.699 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellypro4pm-30c6f784318c: Channel device#heartBeat updated with 2022-08-01T09:13:58.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-08-01 09:13:59.918 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933804079E9,"switch:0":{"id":0,"aenergy":{"total":3.97,"by_minute":[83.873,83.77,83.77],"minute_ts":1659338039}}}}
2022-08-01 09:13:59.921 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933804079E9,"switch:1":{"id":1,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659338039}}}}
2022-08-01 09:13:59.996 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933804087E9,"switch:2":{"id":2,"aenergy":{"total":2.057,"by_minute":[44.348,44.318,44.033],"minute_ts":1659338039}}}}
2022-08-01 09:13:59.998 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933804087E9,"switch:3":{"id":3,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659338039}}}}
2022-08-01 09:14:08.871 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933804979E9,"switch:0":{"id":0,"pf":0.51}}}
2022-08-01 09:14:09.870 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933805078E9,"switch:0":{"id":0,"pf":-0.67}}}
2022-08-01 09:15:24.835 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933812575E9,"switch:0":{"id":0,"pf":0.5}}}
2022-08-01 09:15:25.835 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933812675E9,"switch:0":{"id":0,"pf":-0.66}}}
2022-08-01 09:15:44.831 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933814575E9,"switch:0":{"id":0,"pf":0.5}}}
2022-08-01 09:15:44.935 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.6593381008E9,"switch:0":{"id":0,"aenergy":{"total":4.053,"by_minute":[83.681,83.873,83.77],"minute_ts":1659338099}}}}
2022-08-01 09:15:44.938 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933810083E9,"switch:1":{"id":1,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659338099}}}}
2022-08-01 09:15:44.939 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933810088E9,"switch:2":{"id":2,"aenergy":{"total":2.101,"by_minute":[44.003,44.348,44.318],"minute_ts":1659338099}}}}
2022-08-01 09:15:44.943 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933810091E9,"switch:3":{"id":3,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659338099}}}}
2022-08-01 09:15:45.830 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933814675E9,"switch:0":{"id":0,"pf":-0.67}}}
2022-08-01 09:15:58.905 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay1
2022-08-01 09:15:58.906 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:15:58.907 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter1
2022-08-01 09:15:58.908 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay1 done
2022-08-01 09:15:58.908 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay2
2022-08-01 09:15:58.909 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:15:58.909 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter2
2022-08-01 09:15:58.910 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay2 done
2022-08-01 09:15:58.911 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay3
2022-08-01 09:15:58.912 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:15:58.912 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter3
2022-08-01 09:15:58.913 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay3 done
2022-08-01 09:15:58.913 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay4
2022-08-01 09:15:58.914 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update temperature
2022-08-01 09:15:58.915 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update meter4
2022-08-01 09:15:58.915 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update relay4 done
2022-08-01 09:15:58.916 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input1
2022-08-01 09:15:58.917 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input1 done
2022-08-01 09:15:58.917 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input2
2022-08-01 09:15:58.918 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input2 done
2022-08-01 09:15:58.919 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input3
2022-08-01 09:15:58.919 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input3 done
2022-08-01 09:15:58.920 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Updating input4
2022-08-01 09:15:58.920 [DEBUG] [helly.internal.api2.Shelly2ApiClient] - shellypro4pm-30c6f784318c: Update for input4 done
2022-08-01 09:15:58.922 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellypro4pm-30c6f784318c: Channel device#heartBeat updated with 2022-08-01T09:15:58.000+0200 (type class org.openhab.core.library.types.DateTimeType).
2022-08-01 09:15:58.930 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellypro4pm-30c6f784318c: Channel meter3#currentWatts updated with 2.50 W (type class org.openhab.core.library.types.QuantityType).
2022-08-01 09:15:58.937 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellypro4pm-30c6f784318c: Channel device#accumulatedWatts updated with 7.40 W (type class org.openhab.core.library.types.QuantityType).
2022-08-01 09:15:59.869 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933816075E9,"switch:0":{"id":0,"aenergy":{"total":4.137,"by_minute":[83.77,83.681,83.873],"minute_ts":1659338159}}}}
2022-08-01 09:15:59.871 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933816075E9,"switch:1":{"id":1,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659338159}}}}
2022-08-01 09:15:59.949 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933816082E9,"switch:2":{"id":2,"aenergy":{"total":2.145,"by_minute":[43.973,44.003,44.348],"minute_ts":1659338159}}}}
2022-08-01 09:15:59.951 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933816082E9,"switch:3":{"id":3,"aenergy":{"total":0.0,"by_minute":[0.0,0.0,0.0],"minute_ts":1659338159}}}}
2022-08-01 09:16:03.826 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933816474E9,"switch:0":{"id":0,"pf":0.5}}}
2022-08-01 09:16:04.827 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro4pm-30c6f784318c: NotifyStatus update received: {"src":"shellypro4pm-30c6f784318c","dst":"shellypro4pm-30c6f784318c","method":"NotifyStatus","params":{"ts":1.65933816574E9,"switch:0":{"id":0,"pf":-0.67}}}

Hi David

Have you tried deleting the Californium and Element core bundles from OH using the console?
I still had them in there after I removed the original Shelly binding, and also tried installing them manually to get som later versions of Californium, which include the other, which didn’t work - you need the ones from the repo, and you need to make sure they are not already installed, even if the version numbers match.

Hi

Do you have the power metering channels so you can monitor power consumption with the 4Pro PM, when using authentication? I have no metering channels with authentication on. Markus is aware of this. Also note that the current measuring channel, at least on my devices is currently not reporting.

I see a lot of notifications, maybe I need to talk to them. From my pov it makes sense to aggregate updates. Imagine you have 50 of those devices in the network…

That‘s a good observation, I need to test

I don“t see any updated current or voltage data in the notifications, maybe another issue with low power devices

Hello Zylle,

yes, Shelly Pro 4 PM is working as well.

My Pro4PM does not report meter readings and I have authentication turned on. Will try to disable auth later today and report back the behavior.