Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tado Error: Cannot read properties of undefined (reading 'concentration') #143

Open
Christian-CFP opened this issue Jul 20, 2023 · 18 comments

Comments

@Christian-CFP
Copy link

tado Error: Cannot read properties of undefined (reading 'concentration') ?
Thats since 3 days. Don't know what causees this.

@adamstamper
Copy link

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)

@SaschaRH
Copy link

Me too. NodeJS v18.16.1. Maybe Tado changed the API?

@Christian-CFP
Copy link
Author

I'm using Node 16.20.1

@hanwalt
Copy link

hanwalt commented Jul 20, 2023

Same error for me, Node v18.6.1

@adavison007
Copy link

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)

@adavison007
Copy link

@seydx Are you aware of this issue?

@adavison007
Copy link

Has anyone found a way to resolve this issue?

@Christian-CFP
Copy link
Author

Nope 👎 and @seydx does not care, I guess but I do not hope/wish so.

@Christian-CFP
Copy link
Author

I guess a feature that they have dumped maybe? But what's the point regarding this issue?

@SaschaRH
Copy link

Well the error is: reading "concentration" at "updateAirQuality". So my guess is, the API changed and "concentration" (CO2, pollen, whatever) is empty.

@Christian-CFP
Copy link
Author

Christian-CFP commented Jul 24, 2023

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 ;)

@SaschaRH
Copy link

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... :(

@Christian-CFP
Copy link
Author

I am afraid that this project is not actively supervised. Just like his other projects like the FRITZ Platform.

@adavison007
Copy link

@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

@SaschaRH
Copy link

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.

@Christian-CFP
Copy link
Author

Yes, that's what I have done yesterday.

@hanwalt
Copy link

hanwalt commented Aug 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants