homebridge-mqttthing icon indicating copy to clipboard operation
homebridge-mqttthing copied to clipboard

invalid Nan value WindowCovering

Open Heukers opened this issue 3 years ago • 1 comments

The log off homebridge shows the following error

[7/1/2021, 4:49:34 PM] [Rolgordijn voor] Ignoring invalid value [NaN] for Target Position - not an integer [7/1/2021, 4:49:34 PM] [Rolgordijn voor] Ignoring invalid value [NaN] for Current Position - not an integer

and keeps repaeting.

I tried to add the line to set validation to false.... this did not work. Everything works as should be expected... but it looks like homebridge expects a percentage and receives a number??

This plugin generated a warning from the characteristic 'Current Position': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

Heukers avatar Jul 01 '21 14:07 Heukers

did you publish non numeric characters to corresponding topic?

wunaidage avatar Oct 12 '21 01:10 wunaidage