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

Use with multiple accounts #409

Open
timmhayes opened this issue Sep 4, 2023 · 3 comments
Open

Use with multiple accounts #409

timmhayes opened this issue Sep 4, 2023 · 3 comments

Comments

@timmhayes
Copy link

First of all, I have to say this app is fantastic. Kudos to @Der-Henning!

I've configured this via Docker on an Raspberry Pi 4 / 4G and everything works perfectly. However I'd like to set this up for a friend who lives in a different area. What is the best way to do this? I've been looking through your docs and don't really see a best practice listed. Any thoughts on what I should try? Just create a second Docker container? Or would this be a good feature request?

And if I have twice the number of requests coming my my IP address, am I just asking to get banned? I don't want to push it.

Thanks for any advice you can provide.

@Der-Henning
Copy link
Owner

Hi @timmhayes.
You are right. The scanner itself doesn't support multiple TGTG accounts.
As you mentioned, the easiest way would be to set up a second docker container.
When you increase the number of requests to the TGTG API the risk of running into the rate limit rises.
The rate limit ban is only temporary for some hours and I didn't hear of anybody receiving a permanent ban.
When this happens you could simply increase the sleep time of the scanners.

Alternatively, you could set up a second pi at your friend's house. A Pi zero should be sufficient if you don't use docker and run it directly as a service.

As integrating the possibility of a second TGTG account would also lead to the same amount of requests as running a second scanner, I will not implement it.

@timmhayes
Copy link
Author

Hi @Der-Henning,

Thanks for the feedback and quick reply.

About the TGTG rate limits... do you know what they are? I know they don't provide any public API documentation, but do you have any best guesses based on anecdotal information?

@floriegl
Copy link
Contributor

floriegl commented May 7, 2024

I have used 60 seconds on two instances on the same server without an issue. So I would assume two requests per minute and IP work fine. Not sure if there is a harsher limit per account.

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