An observation that could maybe help others with a similar problem. When I created the items in OH 3.4.0 the rain rate item was created as âNumber:VolumetricFlowRateâ with unit âl/minâ. However it seems that the channel of the weather station thing delivers âmm/hâ. For some reason that still worked in OH 3.4.0, but in OH 4.0.1 I got the following error in the log files:
2023-08-06 20:23:54.483 [WARN ] [penhab.core.library.items.NumberItem] - Failed to update item 'Weather_Station_Rain_Rate' because '0 mm/h' could not be converted to the item unit 'l/min'
I then changed the item type to plain âNumberâ and set the unit meta data to âmm/hâ. With that change it works again, no more error in the log files.
Thanks! In my case the channel in the Thing is already âNumber:Speedâ, but the item was still âNumber:VolumetricFlowRateâ. Maybe the OH upgrade to 4.0.1 changed the type of the channel and that is what then caused the incompatibility with the previously created item?
If your Thing is file-based, then yes, the item type of the channel was automatically updated.
However, that PR was merged before the update instructions were added for making it possible to migrate channels of managed Things, and I donât think it was retrofitted:
So if you have managed Things (created from the UI), it shouldnât have happened automatically. Not because we didnât want that, but simply because it wasnât possible at the time.
Hmmm, my Thing was created via the UI and still was updated somehow. I have never used file-based configuration, everything in my system is created via the UI.
Hi,
is anyone getting correct values ââfrom the ârain-hourâ channel? I get the constant value â10mmâ
Iâm using OH3.4.5 and a GW2000. On Ecowitt, I get correct values for hourly rainfall
I have several soil moisture sensors (ecowitt WH51). Humidity report is ok but low battery is not. Using ecowitt web ui I can see when the battery is low but this info does not flow to openHAB (lowBattery item is always off).