Open Booleano75 opened 1 year ago
What device type is this?
It is the Smarther2 termostat by Bticino . The online APIs are working properly
Thx
F.
Il Mar 3 Gen 2023, 19:45 Tobias Sauerwein @.***> ha scritto:
What device type is this?
— Reply to this email directly, view it on GitHub https://github.com/jabesq/pyatmo/issues/369#issuecomment-1370107916, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKZOSSL2RNH4HBFVU53HF3WQRXU7ANCNFSM6AAAAAASYLX5OM . You are receiving this because you authored the thread.Message ID: @.***>
Yes, so it is a BNS? Which version of pyatmo are you using?
Also, you are using the old and deprecated classes/functions. Those do not support BTicino devices. Are you using pyatmo
in a standalone script?
Correct it is a BNS, I am using pyatmo in a standalone script. I tried with 7.5.0 and older 5,x,x versions
I am using the ones provided in pyatmo package
thank you
Il giorno mar 3 gen 2023 alle ore 22:25 Tobias Sauerwein < @.***> ha scritto:
Also, you are using the old and deprecated classes/functions. Those do not support BTicino devices. Are you using pyatmo in a standalone script?
— Reply to this email directly, view it on GitHub https://github.com/jabesq/pyatmo/issues/369#issuecomment-1370239605, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKZOSVO6EMHUZS32DLKYXDWQSKMDANCNFSM6AAAAAASYLX5OM . You are receiving this because you authored the thread.Message ID: @.***>
Hello, any news ? what does it mean the old deprecated ? which are the new ones?
If i run :
homeData = pyatmo.HomeData(authorization) homeData.update()
thermostat_data = pyatmo.ThermostatData(authorization) thermostat_data.update()
then i get :
File "C:\Users\xxxxx\Desktop\temp\test.py", line 20, in
Il giorno mer 4 gen 2023 alle ore 08:37 Francesco Sinacori < @.***> ha scritto:
Correct it is a BNS, I am using pyatmo in a standalone script. I tried with 7.5.0 and older 5,x,x versions
I am using the ones provided in pyatmo package
thank you
Il giorno mar 3 gen 2023 alle ore 22:25 Tobias Sauerwein < @.***> ha scritto:
Also, you are using the old and deprecated classes/functions. Those do not support BTicino devices. Are you using pyatmo in a standalone script?
— Reply to this email directly, view it on GitHub https://github.com/jabesq/pyatmo/issues/369#issuecomment-1370239605, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKZOSVO6EMHUZS32DLKYXDWQSKMDANCNFSM6AAAAAASYLX5OM . You are receiving this because you authored the thread.Message ID: @.***>
Here is a small example:
account = pyatmo.AsyncAccount(async_auth)
await account.async_update_topology()
home_id = "your_home_id"
await async_account.async_update_status(home_id)
room_id = "a_room_id"
room = async_home.rooms[room_id]
Unfortunately I haven't had the time to update the documentation yet.
Hi, still can't make it work. How should i initialize async_auth ?
Thank you
Il giorno lun 16 gen 2023 alle ore 17:08 Tobias Sauerwein < @.***> ha scritto:
Here is a small example:
account = pyatmo.AsyncAccount(async_auth)await account.async_update_topology()home_id = "your_home_id"await async_account.async_update_status(home_id)room_id = "a_room_id"room = async_home.rooms[room_id]
Unfortunately I haven't had the time to update the documentation yet.
— Reply to this email directly, view it on GitHub https://github.com/jabesq/pyatmo/issues/369#issuecomment-1384259171, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKZOSSQQ5B5CEQDNG6KTLTWSVW63ANCNFSM6AAAAAASYLX5OM . You are receiving this because you authored the thread.Message ID: @.***>
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 ?