mrvanes / MMM-PVoutput

PVOutput module for MagicMirror
2 stars 0 forks source link

"Forbidden 403:" #3

Open martint123 opened 3 years ago

martint123 commented 3 years ago

Sorry, me again. It's been running well, but I get the above fairly regularly.

Forbidden 403: Exceeded 60 requests per hour

This continues for some while then returns to normal for a while and so on. The script is as published other than the two ID/keys. Running on a Windows 10 box as serveronly with a single pi zero as client. I can't really think what might be calling the api too often. Although the W10 box is also running PVbeancounter to upload data from my SMA inverter.

your thoughts appreciated

mrvanes commented 3 years ago

Well, it's been a while since I last took a look at the code (it's been running for years on a strech on my mirror) and the defaults read updateInterval: 300000, which means 300s, which translates to once every 5 minutes. So, it's impossible MMM-PVoutput is generating those > 60 requests/h. Just disable the PVbeancounter and see what happens?

martint123 commented 3 years ago

thanks the response, I stopped pvbeancounter but with no change to the problem. So moved the whole mm over to a pi3 from the W10 box and it seems to be working as designed, albeit slower. giving up until I get a bit more spare time