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
Python exampels #72
Comments
Do you mean something like:
Maybe there is a "smarter" way to get it similar to the |
And how often can you request the status from the API whitout verisure get mad and block me. |
I have never heard that they have been mad at or contacted anyone that has
used python-verisure so I don't know. I would suggest to keep it at a
reasonable level though, a few calls a minute or so.
On Mar 23, 2017 3:58 PM, "hanspnyholm" <notifications@github.com> wrote:
And how often can you request the status from the API whitout verisure get
mad and block me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABzM_XCFBsDYJIMX1dz5aKhUp4n7TTWyks5rooimgaJpZM4Mmw86>
.
|
I have gotten this e-mail from verisure:
|
Wonder if the limit is the same now then we use the app api instead of my page api |
import verisure A example to sort this data out should be great :) |
The data is in JSON format, I don't have a lock myself so I can't give you an answer. |
Got this working now. import verisure |
They have some kind of rate limiting now. verisure.session.ResponseError: Invalid response, status code: 429 - Data: {"errorGroup":"TOO_MANY_REQUESTS","errorCode":"AUT_00021","errorMessage":"Request limit has been reached"} |
Does this mean that the app also stops working or is it a session limit so it would help to logout/login? |
I have not investigated thoroughly, but I believe it is the opposite. So I basically do a reconnect every time, but I guess the app just keeps the connection open and runs the requests through the same connection many times. I have thought of a few things that could be done to mitigate the issue - but I have not tested any of them to see if they actually work.
|
A example how to get doorlock (more than one doorlock) status out from module.
You hade that on the old version.
The text was updated successfully, but these errors were encountered: