Shelly Binding

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.

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

I am pretty sure this is not the case, as I can see the values in the RPC call to the Shelly device:

"switch:0":{"id":0, ... "current":0.042, ...}

The other problem with power consumption the RPC call showed 0.000 in “aenergy” whereas now there is actually data to report. So this may be a binding issue.

@MiniOh
do you have authentication enabled??

Yes, authentication is enabled.

Ok, so if I add a 4Pro PM without authentication to OH, I can see the meters, then I can enable the authentication on the device interface.
But if I add a device with authentication enabled the meter channels are not shown.

@MiniOh Can you confirm that when you added the 4Pro PM to your OH, you did not have authentication enabled initially, but added it later?

OK, now I see what you mean.
I can reproduce your behavior.
If you add the 4PM with Authentication, the energy measurements are missing.

Adding and then enabling authentication, works.

Ok, thanks for testing this out :slight_smile:

Thanks for your answer, I have removed everything again also the binding and installed again. But unfortunately I can’t get any further than the “CONFIGURATION_PENDING”.

2022-08-02 17:37:07.167 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'shelly:shellyplusht:441793d0e730' to inbox.
2022-08-02 17:37:07.167 [INFO ] [openhab.event.InboxAddedEvent ] - Discovery result with UID 'shelly:shellyplusht:441793d0e730' was added.
2022-08-02 17:38:02.118 [INFO ] [openhab.event.InboxRemovedEvent ] - Discovery result with UID 'shelly:shellyplusht:441793d0e730' was removed.
2022-08-02 17:38:25.808 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyplusht:441793d0e730' changed from UNINITIALIZED (DISABLED) to INITIALIZING.
2022-08-02 17:38:27.822 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyplusht:441793d0e730' changed from INITIALIZING to UNKNOWN (CONFIGURATION_PENDING): Initialization or device in sleep mode.
Exception:java.lang.NullPointerException
Check openHAB.log for details.
2022-08-02 17:58:05.534 [WARN ] [g.shelly.internal.api2.Shelly2ApiRpc] - shellyplusht-441793d0dbc0: Device requires restart to activate changes
2022-08-02 17:58:08.630 [WARN ] [g.shelly.internal.api2.Shelly2ApiRpc] - shellyplusht-441793d0dbc0: Device requires restart to activate changes
2022-08-02 17:58:08.673 [INFO ] [y.internal.handler.ShellyBaseHandler] - shellyplusht-441793d0dbc0: INFO: Neue Firmware verfügbar: aktuelle Version: v0.11.0, neue Version: vplushtprod1
==> /var/log/openhab/events.log <==
2022-08-02 17:58:08.715 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyplusht:441793d0dbc0' changed from UNKNOWN (CONFIGURATION_PENDING): Initialisierung oder Gerät im Schlafmodus. to ONLINE
==> /var/log/openhab/openhab.log <==
2022-08-02 17:58:08.826 [WARN ] [g.shelly.internal.api2.Shelly2ApiRpc] - shellyplusht-441793d0dbc0: Device requires restart to activate changes
2022-08-02 17:59:18.541 [WARN ] [g.shelly.internal.api2.Shelly2ApiRpc] - shellyplusht-441793d0e730: Device requires restart to activate changes
2022-08-02 17:59:21.674 [WARN ] [g.shelly.internal.api2.Shelly2ApiRpc] - shellyplusht-441793d0e730: Device requires restart to activate changes
2022-08-02 17:59:21.749 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'shelly:shellyplusht:441793d0e730' changed from UNKNOWN (CONFIGURATION_PENDING): Initialisierung oder Gerät im Schlafmodus. to ONLINE
==> /var/log/openhab/openhab.log <==
2022-08-02 17:59:21.896 [WARN ] [g.shelly.internal.api2.Shelly2ApiRpc] - shellyplusht-441793d0e730: Device requires restart to activate changes

what can i do?

send a proper extract if the log, esp. the lines following the exception

This line shows a status change from CONFIG PENDING to ONLINE