arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
462 stars 104 forks source link

Fake Eve Room 1 Air Quality History Problem #541

Open ghost opened 2 years ago

ghost commented 2 years ago

In the doc it is stated :

But with the following config :

"topics": {
    "getAirQuality": "get/data/yyyyyyyyyyyy$.airQuality",
    "getCarbonDioxideLevel": "get/data/yyyyyyyyyyyy$.co2",
    "getAirQualityPPM": "get/data/yyyyyyyyyyyy$.co2",
    "getCurrentRelativeHumidity": "get/data/yyyyyyyyyyyy$.humidity",
    "getCurrentTemperature": "get/data/yyyyyyyyyyyy$.temperature"
},
"history": true,
"accessory": "mqttthing"

I get the following message :

This plugin generated a warning from the characteristic 'Air Particulate Density': characteristic value expected valid finite number and received "undefined" (undefined).

Here is my MQTT "JSON" :

{
  "co2":1319,
  "temperature":25,
  "humidity":34,
  "carbonDioxideDetected":"ABNORMAL",
  "airQuality":"FAIR"
}