rene-d / netatmo

Python3 API for the Netatmo Weather Station
The Unlicense
36 stars 18 forks source link

Device not found #12

Closed Ragazzoforte closed 3 years ago

Ragazzoforte commented 3 years ago

Schermopname (156)

Hello, I am trying to read the temperature from my netatmo thermostat. However, I run into this problem, do you know what the problem could be?

rene-d commented 3 years ago

Try to remove the 'device' element in the dict.

However, when I use a bad device_id, I get the following message:

error {'code': 21, 'message': 'device id is invalid'} https://api.netatmo.com/api/getstationsdata

and not Device not found. This message comes from Netatmo servers, not from the Python package.

rene-d commented 3 years ago

Moreover, this library has not been tested with other Netatmo devices than the weather station (especially the thermostat). You can add support for it if you dare.