TonyM1958 / FoxESS-Cloud

Access to Fox ESS Cloud Data
MIT License
25 stars 4 forks source link

Dateparse issue? #13

Closed ramotswa closed 5 months ago

ramotswa commented 5 months ago

Just opening up my unchanged notebook again and trying to run a simple get_device(). Getting an error. Code;


import foxesscloud.openapi as f
f.api_key = "valid - checked the portal"
f.device_sn = "valid"
f.time_zone = "Europe/London"
f.get_device()

** get_device(), no list result data, errno = 40256: Parameter could not be parsed correctly illegal timestamp
TonyM1958 commented 5 months ago

That error is produced when Open API takes longer than 60 seconds to process a query. It has been running very slowly this time of day recently. Try again later, it tends to work better after 10pm or before 12 noon.

ramotswa commented 5 months ago

Yes, quite right. All working fine now. Thanks