Fibaro Walli Switch/Dimmer Strange Watt/kWh Reporting

I’m not really sure how to start investigating this so I’m gonna try and explain the issue and maybe someone knows something about it.

The switch has 2 relays.

The following power meters are available:

*meter_watts
*meter_kwh
*meter_watts1
*meter_kwh1
*meter_watts2
*meter_kwh2

However the following is logged when turning switch1 on. The kWh value seems to be the same as the watt vallue and it’s pretty much impossible to work out what the meters without 1 or 2 appended does at all? One would think that would be reporting the total, but it seems to report all kinds of random values.

Any ideas?

Edit: In the log below, switch1 was turned on, 19.2 should be a reasonable correct value, so it’s in there but is also reported on kWh and affects a bunch of other stuff? Why is bathroom_1_watts e.g very briefly 0.13 which could be a resonable kWh value (switch is one day old).

2021-02-17 16:49:22.719 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'switch_bathroom1' received command ON
2021-02-17 16:49:22.730 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'switch_bathroom1' predicted to become ON
2021-02-17 16:49:22.731 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1' updated to ON
2021-02-17 16:49:22.734 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1' changed from OFF to ON
2021-02-17 16:49:24.417 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom' updated to ON
2021-02-17 16:49:24.418 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom' changed from OFF to ON
2021-02-17 16:49:24.611 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom_watts' updated to 0
2021-02-17 16:49:24.612 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom_watts' changed from 19.1 to 0
2021-02-17 16:49:24.827 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom_kwh' updated to 0.13
2021-02-17 16:49:25.046 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1' updated to ON
2021-02-17 16:49:25.238 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_watts' updated to 0.13
2021-02-17 16:49:25.239 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_kwh' updated to 0.13
2021-02-17 16:49:25.240 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1_watts' changed from 0 to 0.13
2021-02-17 16:49:25.241 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1_kwh' changed from 0 to 0.13
2021-02-17 16:49:25.425 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom2' updated to OFF
2021-02-17 16:49:25.629 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom2_watts' updated to 0
2021-02-17 16:49:25.629 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom2_kwh' updated to 0
2021-02-17 16:49:26.339 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_watts' updated to 19.3
2021-02-17 16:49:26.340 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_kwh' updated to 19.3
2021-02-17 16:49:26.342 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1_watts' changed from 0.13 to 19.3
2021-02-17 16:49:26.342 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1_kwh' changed from 0.13 to 19.3
2021-02-17 16:49:56.372 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_watts' updated to 19.2
2021-02-17 16:49:56.373 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_kwh' updated to 19.2
2021-02-17 16:49:56.373 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1_watts' changed from 19.3 to 19.2
2021-02-17 16:49:56.373 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_bathroom1_kwh' changed from 19.3 to 19.2
2021-02-17 16:49:56.534 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_watts' updated to 19.2
2021-02-17 16:49:56.534 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_bathroom1_kwh' updated to 19.2

Here’s another example on my other switch

2021-02-17 17:07:25.999 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'switch_balcony1' received command ON
2021-02-17 17:07:26.011 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'switch_balcony1' predicted to become ON
2021-02-17 17:07:26.012 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony1' updated to ON
2021-02-17 17:07:26.014 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony1' changed from OFF to ON
2021-02-17 17:07:28.351 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony' updated to ON
2021-02-17 17:07:28.352 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony' changed from OFF to ON
2021-02-17 17:07:29.115 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony_watts' updated to 1.1
2021-02-17 17:07:29.116 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony_watts' changed from 0 to 1.1
2021-02-17 17:07:35.115 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony1' updated to ON
2021-02-17 17:07:35.775 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony1_watts' updated to 42.36
2021-02-17 17:07:35.775 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony1_kwh' updated to 42.36
2021-02-17 17:07:35.776 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony1_watts' changed from 0 to 42.36
2021-02-17 17:07:35.778 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony1_kwh' changed from 0 to 42.36
2021-02-17 17:07:36.672 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony2' updated to OFF
2021-02-17 17:07:37.517 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony2_watts' updated to 0.04
2021-02-17 17:07:37.518 [INFO ] [openhab.event.ItemStateEvent        ] - Item 'switch_balcony2_kwh' updated to 0.04
2021-02-17 17:07:37.519 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony2_watts' changed from 0 to 0.04
2021-02-17 17:07:37.519 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'switch_balcony2_kwh' changed from 0 to 0.04

In this example no matter if the usage goes up down or sideways
‘switch_balcony_watts’ sitcks to 1.1. This is not a reasonable value for any of the measurements, the light uses 20-45 W. It’s been on for months so it can’t be the kWh.

I’m gonna update a bit here. Haven’t really figured out or though much about this. But for some reason it seems that the kWh would go to 0 every time the relay is switched off?

Have a look at this image for example. Looking at the 1 year scale we can see the line but it is as if the watt channel is mixed in there.

If we look at the “Watt” channel of the same switch:

Here’s another Walli Switch (not December to February there was a christmas light connected. Then we see that we never go to 0. It seems kwh and watt gets reported to the same item)

If we instead look at the dimmers, it’s looking a lot more sensible:

We can see here that I have indeed setup the channels correctly (or at least it works on dimmers).

Group gBalconyOutlet "Balcony Outlet" (Balcony) ["Lightbulb"]
Switch switch_balcony1 "Balcony Outlet" <poweroutlet> (gBalconyOutlet) ["Light"] {channel="zwave:device:8f57dbad:node7:switch_binary1", ga="Outlet"}
Number switch_balcony1_watts "Balcony Outlet [%.1f W]" <energy> (gWatts, gBalconyOutlet) ["Measurement", "Power"] {channel="zwave:device:8f57dbad:node7:meter_watts1"}
Number switch_balcony1_kwh "Balcony Outlet kWh [%.1f kWh]" <energy> (gKWH, gBalconyOutlet) ["Measurement", "Energy"] {channel="zwave:device:8f57dbad:node7:meter_kwh1"}

Group gBalconyLight "Balcony Light" (Balcony) ["Lightbulb"]
Switch switch_balcony2 "Balcony Light" <light> (gBalconyLight) ["Light"] {channel="zwave:device:8f57dbad:node7:switch_binary2", ga="light"}
Number switch_balcony2_watts "Balcony Light [%.1f W]" <energy> (gWatts, gBalconyLight) ["Measurement", "Power"]  {channel="zwave:device:8f57dbad:node7:meter_watts2"}
Number switch_balcony2_kwh "Balcony Light [%.1f kWh]" <energy> (gKWH, gBalconyLight) ["Measurement", "Energy"] {channel="zwave:device:8f57dbad:node7:meter_kwh2"}

What is going on here, any input? Z-wave master @chris? I have tried to look here:

But in my mind at least it all seems correct.