Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HomeStatus not working in my account #369

@Booleano75

Description

@Booleano75

I have a Smarther thermostat (Smarther2 in Italy).

the following code works properly

homeData = pyatmo.HomeData(authorization)
homeData.update()
print(homeData.raw_data)

only differently from the website doesn't show all the info about the house but it stop at rooms details.

when i run the following code, with home_id set accordingly to previous response

homeStatus = pyatmo.HomeStatus(authorization, home_id="xxxxxxxxxxx")
homeStatus.update()
print(homeStatus.raw_data)

I get :
Traceback (most recent call last):
File "C:\Users\Francesco\Desktop\Temp\test.py", line 21, in
homeStatus.update()
File "C:\Users\Francesco\anaconda3\lib\site-packages\pyatmo\thermostat.py", line 264, in update
self.raw_data = extract_raw_data(resp.json(), "home")
File "C:\Users\Francesco\anaconda3\lib\site-packages\pyatmo\helpers.py", line 57, in extract_raw_data
raise NoDevice("No device found, errors in response")
pyatmo.exceptions.NoDevice: No device found, errors in response

while on netatmo API tryout all the information including the thermostat are properly shown.

Any hint ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions