magico13 / PyEmVue

Python Library for the Emporia Vue Energy Monitor
MIT License
185 stars 36 forks source link

403 forbidden #33

Closed ifuchs closed 2 years ago

ifuchs commented 2 years ago

I am getting an error when I try to execute:

devices = vue.get_devices()

requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.emporiaenergy.com/customers/22563/devices?detailed=true&hierarchy=true

The keys.json shows the tokens have been added.

ifuchs commented 2 years ago

Found the problem. Needed to get the latest version.