Describe the bug
Adapter throws a warning each time values are received:
State value to set for "sainlogic.0.weather.current.3.soilmoisture" has value "57" greater than max "24"
To Reproduce
Added soil moisture sensors to my Froggit DP1500 dongle and used the adapter to get the values into iobroker (using Ecowitt as protocol, see #121).
Expected behavior
I'm not sure why 24 is the maxvalue here. This is percentage, so I'd assume a range of values from 0 to 100.
Screenshots & Logfiles State value to set for "sainlogic.0.weather.current.3.soilmoisture" has value "57" greater than max "24"
Describe the bug
Adapter throws a warning each time values are received:
State value to set for "sainlogic.0.weather.current.3.soilmoisture" has value "57" greater than max "24"
To Reproduce
Added soil moisture sensors to my Froggit DP1500 dongle and used the adapter to get the values into iobroker (using
Ecowitt
as protocol, see #121).Expected behavior
I'm not sure why 24 is the maxvalue here. This is percentage, so I'd assume a range of values from 0 to 100.
Screenshots & Logfiles
State value to set for "sainlogic.0.weather.current.3.soilmoisture" has value "57" greater than max "24"
Versions:
Additional context
Looks like this is the relevant line: https://github.com/phifogg/ioBroker.sainlogic/blob/master/lib/constants.js#L991