Open Christian-CFP opened 11 months ago
Yep same!
TypeError: Cannot read properties of undefined (reading 'concentration') at updateAirQuality (/var/lib/homebridge/node_modules/homebridge-tado-platform/src/helper/handler.js:1274:53) at processTicksAndRejections (node:internal/process/task_queues:95:5) at getStates (/var/lib/homebridge/node_modules/homebridge-tado-platform/src/helper/handler.js:625:9)
Me too. NodeJS v18.16.1. Maybe Tado changed the API?
I'm using Node 16.20.1
Same error for me, Node v18.6.1
I'm having the same issue too...
[21/07/2023, 19:49:57] [TadoPlatform] TypeError: Cannot read properties of undefined (reading 'concentration') at updateAirQuality (/usr/local/lib/node_modules/homebridge-tado-platform/src/helper/handler.js:1274:53) at processTicksAndRejections (node:internal/process/task_queues:95:5) at getStates (/usr/local/lib/node_modules/homebridge-tado-platform/src/helper/handler.js:625:9)
@seydx Are you aware of this issue?
Has anyone found a way to resolve this issue?
Nope 👎 and @seydx does not care, I guess but I do not hope/wish so.
I guess a feature that they have dumped maybe? But what's the point regarding this issue?
Well the error is: reading "concentration" at "updateAirQuality". So my guess is, the API changed and "concentration" (CO2, pollen, whatever) is empty.
Ok, now I got it! THX. Thats possible. If this only relates to the airquality and not the entire system. I mean the error... Becaus I do not get the at ... This is all I get :"TypeError: Cannot read properties of undefined (reading 'concentration')" Im on HOOBS ;)
I looks just like that. I checked /homebridge-tado-platform/tree/master/src/helper/handler.js and the error occurs at let pm10 = returnPol('PM10')[0].concentration.value; which refers to particulate matter (PM) and line 625 await updateAirQuality();. I really hope this project is active maintained, since the last update was 2021... :(
I am afraid that this project is not actively supervised. Just like his other projects like the FRITZ Platform.
@seydx Would a donation help you getting this challenge resolved? I love your plugin, it's the best for Tado, so some assistance in fixing this would be appreciated by many
Just turned off "Air quality" and the error is gone:
"weather": { "temperatureSensor": false, "solarIntensity": false, "accTypeSolarIntensity": "LIGHTBULB", "airQuality": false },
I'd sure like to have the air quality back, but that's more a Tado issue.
Yes, that's what I have done yesterday.
I think the problem is that Tado removed the items for "pollen forecast" and "air pollution values" from their App and therefore from their API
tado Error: Cannot read properties of undefined (reading 'concentration') ? Thats since 3 days. Don't know what causees this.