Hello @chase, not sure if you are still responding to comments for this post but I first wanted to say thank you for writing up this detailed walk through. After looking at a ton of different ways to control a garage door with a raspberry pi I settled on your method as it is super simple. I also have one question for you to if your willing. After I got everything all set up and I run top on my pi it is running around 99% and if I kill the webiopi garage door the cpu settles back down. I noticed in the Adafruit tutorial they have some code in the python script that says:
gives CPU some time before looping again
webiopi.sleep(1)
I don't see this in your code, is this something that can be added to help with the cpu load?
Hello @chase, not sure if you are still responding to comments for this post but I first wanted to say thank you for writing up this detailed walk through. After looking at a ton of different ways to control a garage door with a raspberry pi I settled on your method as it is super simple. I also have one question for you to if your willing. After I got everything all set up and I run top on my pi it is running around 99% and if I kill the webiopi garage door the cpu settles back down. I noticed in the Adafruit tutorial they have some code in the python script that says:
gives CPU some time before looping again
webiopi.sleep(1)
I don't see this in your code, is this something that can be added to help with the cpu load?