guillaumeblanc / pyhfs

Python client for Huawei FusionSolar SmartPVMS Northbound Interface
https://pypi.org/project/pyhfs/
MIT License
2 stars 1 forks source link

Issue with access frequency #2

Open amazigh007 opened 12 months ago

amazigh007 commented 12 months ago

This is not related to the source code, it works great. Based on the documentation (Northbound Interface) there must be a delay between two requests. I was able to issue two requests with 1 minute between them. For some reason, I'm now not able to do this. I have to wait at least 15 minutes or more before I can send the second request. This is very strange, and I have no idea what would cause it. For more info, I did the development on a Windows machine, but when moved to a Raspberry Pi, I started getting this issue. May someone has a similar issue. Cheers,

dricair commented 1 month ago

I suspect that the limitation could be due to Plants/Station request: this is limited during to 25 times a day. It would be better to request plants/devices and save to a file to not request again.