nickoala / telepot

Python framework for Telegram Bot API
MIT License
2.43k stars 475 forks source link

Stop some function after some hour #191

Closed suibaf closed 7 years ago

suibaf commented 7 years ago

Hi,

my bot work perfectly on Raspberry PI 2. I use it in my house to see some variable and it send me a message if I push some physical buttons. The problem is that sometimes after some hour of work it does not response to my command, but if I push a physical button (on piface digital 2), it send me a message. The only way to restore all operation is to reboot the raspberry. Below the code. Have you some advice for me? Thank you!

Sbot.pdf

nickoala commented 7 years ago

Sorry I don't have time to analyze and test your code thoroughly.

My advice is this: Start from the simplest program possible, and increase complexity until the problem occurs. Then, you should have some clue where the problem lies.

suibaf commented 7 years ago

OK, thank you!