You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue or bug, but a request for some instructions (sorry).
Maybe add some simple, basic example for connecting to netatmo on the home network inside firewall.
Something that I don't understand is the significance of "client_id" and "client_secret" and also the "redirect URL". Can you maybe shed some light on this?:
import pyatmo
USERNAME = "netatmo username"
PASSWORD = "netatmo password"
REDIRECT_URL = What is this?
authorization = pyatmo.ClientAuth(
client_id=None,
client_secret=None,
username=USERNAME,
password=PASSWORD,
redirect_uri=REDIRECT_URL,
scope="read_station",
)
r = pyatmo.HomeData(authorization)
r.update()
r.process()
print(r.homes)
for home_id in r.homes.keys():
r = pyatmo.HomeStatus(authorization, home_id)
r.update()
r.process()
print(r.rooms)
The text was updated successfully, but these errors were encountered:
This is not an issue or bug, but a request for some instructions (sorry).
Maybe add some simple, basic example for connecting to netatmo on the home network inside firewall.
Something that I don't understand is the significance of "client_id" and "client_secret" and also the "redirect URL". Can you maybe shed some light on this?:
import pyatmo
USERNAME = "netatmo username"
PASSWORD = "netatmo password"
REDIRECT_URL = What is this?
authorization = pyatmo.ClientAuth(
client_id=None,
client_secret=None,
username=USERNAME,
password=PASSWORD,
redirect_uri=REDIRECT_URL,
scope="read_station",
)
r = pyatmo.HomeData(authorization)
r.update()
r.process()
print(r.homes)
for home_id in r.homes.keys():
r = pyatmo.HomeStatus(authorization, home_id)
r.update()
r.process()
print(r.rooms)
The text was updated successfully, but these errors were encountered: