Thanks! I have made the change and will report back how it goes.
I’ve submitted a PR to fix this:
There are also two other PRs to fix other bugs I’ve discovered during testing.
Hi @jimtng :
Unfortunately the new version doesn’t seem to help.
Below is my configuration:
Number:Dimensionless ToolshedHumidity "Toolshed Humidity [%.1f %unit%]" (gToolshedWeatherSensor) {channel="miio:lumi:xxxxxxxx:humidity"[profile="basic-profiles:state-filter", conditions="> 0 %", "< 100 %"], unit="%"}
And I have cleaned cache and tmp folder and double checked the version of basic profile binding. I can see many spikes later today:
Shall I try without % like conditions=“> 0”, “< 100”?
Many thanks in advance!
@somy change your conditions as noted above
Also, have you downloaded the jar that I posted above?
Hi @jimtng : sorry my bad I didn’t have the dollar sign before INPUT.
So far I haven’t seen any spike so it seems to work well (will keep an eye on it for the next couple of days).
BTW it also seems to work when I don’t specify unit “%” in the condition.