-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bot goes to sleep when started #5286
Comments
change the duration or time. |
Doesn't help. Even if I add the schedule, it goes to sleep on start :( |
the config above means you are going to sleep at 12pm for around 5 hours and 30 mins. So, it will wake up at around 5:30pm . what did you change it to? |
I changed it to 10pm. But somehow it still goes to sleep_schedule. "sleep_schedule": [ Is there any chance the data is cached from previous config versions? |
@neogan86 what's your time now ?
|
Now the time is 4:45 pm. I removed the second schedule and had only 10pm schedule entry, it works. Don't know why it went to sleep cycle from around 12 pm :( |
Expected Behavior
Bot should login when started
Actual Behavior
Bot goes to sleep cycle of 4.5hrs on day time.
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{
"websocket_server": false,
"heartbeat_threshold": 10,
"enable_social": true,
"live_config_update": {
"enabled": false,
"tasks_only": false
},
"tasks": [
{
"type": "TelegramTask",
"config": {
"enabled": false,
"master": null,
"// old syntax, still supported: alert_catch": ["all"],
"// new syntax:": {},
"//alert_catch": {"all": {"operator": "and", "cp": 1300, "iv": 0.95},"Snorlax": {"operator": "or", "cp": 900, "iv": 0.9}},
"alert_catch": ["all"]
}
Steps to Reproduce
Start the bot with above config
Output when started
--------------------Starting bot--------------------
2016-09-08 12:56:07,305 [ cli] [INFO] PokemonGO Bot v1.0
2016-09-08 12:56:07,325 [ cli] [INFO] commit: unknown
2016-09-08 12:56:07,326 [ cli] [INFO] No auth argument specified, checking for C:\Users\neo\Desktop\PoGo\PoGoBot\PokemonGo-Bot\pokemongo_bot..\configs\auth.json
2016-09-08 12:56:07,331 [ cli] [INFO] No config argument specified, checking for C:\Users\neo\Desktop\PoGo\PoGoBot\PokemonGo-Bot\pokemongo_bot..\configs\config.json
2016-09-08 12:56:07,335 [ cli] [INFO] Configuration initialized
2016-09-08 12:56:07,336 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-08 12:56:07,338 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-08 12:56:07,351 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
(6548) wsgi starting up on http://127.0.0.1:4000
2016-09-08 12:56:07,599 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): 127.0.0.1
[2016-09-08 12:56:07] [SleepSchedule] [INFO] Sleeping for 03:57:08, wake at 2016-09-08 16:53:15.625000
Other Information
OS:
Windows10
Branch:
latest
Git Commit:
11123a8
Python Version:
2.7
Am I doing something wrong? It was working fine till I took latest today. Kindly help.
The text was updated successfully, but these errors were encountered: