Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kicked out of PCC with error code 429 #10

Open
jorgenask86 opened this issue Feb 18, 2024 · 4 comments
Open

Kicked out of PCC with error code 429 #10

jorgenask86 opened this issue Feb 18, 2024 · 4 comments

Comments

@jorgenask86
Copy link

Hi!
I have successfully installed this alternative PCC app on my Homy Pro 2023
I can successfully add my Panasonic heatpump to my Homey Pro and change temperature and other settings

But If I add the heatpump in a flow to controll my heatpump using external sensors arround the house, I soon get an error message 429.
Seems like Panasonic doesn't like the relatively frequent data traffic?
Also I see some error code 500 in the log

If I have logged into PCC on my phone I would also get told there was suspicious activity and that I am suspended from the account for a while (or something like that).
Although this last time I was completely logged out of the phone app just too rule out that as an issue, even though the phone app and the homey app would be on different credentials/emails.

Anyhow I will include the log from the homey app and hope there could be a solution to this other than getting a sensibo to control the heatpump .

log PCChomey app.txt

Kind regards
Jørgen Ask

@Magnusri
Copy link
Contributor

This is true.
It happens because the API is really not supposed to be used for anything but their official app...

Any calls that are considered different to how the app should behave proceeds to lock you out for around 24h. This includes some amount of calls within some time (I do not think anyone has identified the amount or the time span)

@Magnusri
Copy link
Contributor

You might be able to automate this still if you make some variable to store your data in, and make sure to not send it to this app as often.

@ugumba
Copy link
Owner

ugumba commented Mar 11, 2024

I agree - it does sound like your flow is causing the app to call Panasonic's API too often, @jorgenask86.
I'll leave this issue open as a reminder to look at it.

Are you able to pull a log from before you get the 429's? This should show how often the flow cards are triggered.

If you can't control how often your flow is triggered, you can probably easily "debounce" the flow by starting a 30 second (or so) "Chronograph" timer at the very top. Only start it if it is not already counting down.
Then trigger the rest of the flow (including the PCC-Alt flow card(s)) when the timer reaches 0.

@jorgenask86
Copy link
Author

I already tried with running the flow only every 2 and 3 minutes and it still kickes me out after a while.
I have basically given up and started using a sensibo to controll my heatpump, haha.

I could one day try to run it again with the alternative app and try to get the log from before I get kicked out :)
I will post here if I do.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants