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

Warnings after homebridge 1.3.1 upgrade

Open vzlgdu opened this issue 4 years ago • 14 comments

After ugraded to homebrdge 1.3.1, I'm receiving the following messages:

[homebridge-mqttthing] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://git.io/JtMGR for more info.

vzlgdu avatar Feb 26 '21 15:02 vzlgdu

The same here. Tons of invalid values:

[homebridge-mqttthing] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 5. See https://git.io/JtMGR for more info.

[2/27/2021, 9:49:44 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 5. See https://git.io/JtMGR for more info.

[2/27/2021, 9:45:38 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Carbon Monoxide Level': characteristic was supplied illegal value: number 138 exceeded maximum of 100. See https://git.io/JtMGR for more info.

[2/27/2021, 9:44:24 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic was expected valid number and received NaN. See https://git.io/JtMGR for more info.

kremik avatar Feb 27 '21 21:02 kremik

Same here with HB 1.3.2 upgrade (from 1.1.7 - I knew I should have waited longer, stupid me!) Did set HB to debug mode (as instructed) so I guess just need to wait now...

Shaky50 avatar Mar 04 '21 13:03 Shaky50

I've just updated and I can reproduce this by publishing 'bad' values from MQTT. From the page linked to in the warning message (https://git.io/JtMGR), Homebridge is now checking for incorrect values and logging warnings. I don't know whether it also stops them from from being passed on to Homekit (where it seems they can cause 'not responding' issues). If it does stop them, the warnings can probably safely be ignored. If not, MQTTThing should really be modified to perform its own validation and stop invalid values itself.

I will try to find out more. If MQTTThing does need to be modified to perform its own validation, this may take some time to add.

arachnetech avatar Mar 04 '21 22:03 arachnetech

Thanks you David for the prompt reply. You guys are very efficient and professional.

To avoid all the warnings and potential issues/problems between HB & HK I simply rolled-back to my previous version of HB (1.1.7) and it’s back to normal.

This is a great plug-in by the way and I’m just starting to discover it’s potential.

Thank you again and best regards, Henri ---/a

On 5 Mar 2021, at 06:21, David Miller [email protected] wrote:

 I've just updated and I can reproduce this by publishing 'bad' values from MQTT. From the page linked to in the warning message (https://git.io/JtMGR), Homebridge is now checking for incorrect values and logging warnings. I don't know whether it also stops them from from being passed on to Homekit (where it seems they can cause 'not responding' issues). If it does stop them, the warnings can probably safely be ignored. If not, MQTTThing should really be modified to perform its own validation and stop invalid values itself.

I will try to find out more. If MQTTThing does need to be modified to perform its own validation, this may take some time to add.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Shaky50 avatar Mar 05 '21 02:03 Shaky50

I've implemented something which should fix this, but I haven't had a chance to test it fully.

Consequently I've published it as a beta version for now: 1.1.26-beta.0.

arachnetech avatar Mar 05 '21 08:03 arachnetech

I'm on 1.1.27 and have lots of these warnings all over the console. Did your change make it into the 1.1.27 or did it stay with the beta?

ghost avatar Apr 24 '21 01:04 ghost

Validation is in 1.1.27, but I missed a few types which results in lots of warnings. Attempting to fix now...

Sorry I've been so slow to fix this.

arachnetech avatar Apr 24 '21 15:04 arachnetech

Validation should be working better in 1.1.28.

arachnetech avatar Apr 24 '21 20:04 arachnetech

Validation is in 1.1.27, but I missed a few types which results in lots of warnings. Attempting to fix now...

Sorry I've been so slow to fix this.

We are always grateful for your amazing work!

1.1.28 fixes all the warnings I was seeing before and I'm down to warnings that are due to my own doing now.

Thanks!

ghost avatar Apr 26 '21 18:04 ghost

Excellent! Thanks for confirming.

arachnetech avatar Apr 26 '21 18:04 arachnetech

I'm on Homebridge Mqttthing homebridge-mqttthing v1.1.28

but still getting this warning... is there anything I can do to track down where the problem is...

5/28/2021, 9:42:16 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:42:35 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:43:05 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:43:42 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:05 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:14 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:37 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:51 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:45:07 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:47:44 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:47:59 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:48:28 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:48:43 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:53:52 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:54:13 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [

mhuca avatar May 29 '21 04:05 mhuca

I'm on Homebridge Mqttthing homebridge-mqttthing v1.1.28

but still getting this warning... is there anything I can do to track down where the problem is...

5/28/2021, 9:42:16 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:42:35 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:43:05 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:43:42 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:05 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:14 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:37 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:44:51 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:45:07 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:47:44 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:47:59 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:48:28 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:48:43 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:53:52 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [5/28/2021, 9:54:13 PM] [homebridge-mqttthing] This plugin generated a warning from the characteristic 'Last Activation': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [

I'm also getting this still. Is it something to worry about?

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

jat80 avatar Nov 19 '23 02:11 jat80

This is still an issue

jat80 avatar Jan 23 '24 20:01 jat80