PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

Homebridge-eDomoticz plugin, Air Particulate Density, illegal value #234

Open JustKarma123 opened 3 years ago

JustKarma123 commented 3 years ago

I have a MCOHome CO2 Monitor is an air quality detector, which was working correctly with Homebridge v1.2.5. Since updating to Homebridge v1.3.4 when the air quality value comes into Homebridge from Domoticz via the edomoticz plugin I now get the following warnings:

[homebridge-edomoticz] This plugin generated a warning from the characteristic 'Air Particulate Density': characteristic was supplied illegal value: number 1445 exceeded maximum of 1000. See https://git.io/JtMGR for more info.

The MCOHome CO2 Monitor values that were passed through Homebridge were proviously ok in v1.2.5 and no warnings were shown. The warning is now present in v1.3.4. Typical values that the MCOHome CO2 Monitor can produce values of 0-5000ppm.

PatchworkBoy commented 2 years ago

Need the full Domoticz JSON API output for the device please. Will need a custom rule to divide it's output by 5.