hansnielsen/garagetron
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
This provides a simple garage door opener web interface. It has no security beyond whatever your wifi offers. It does exactly what it has to and no more! # How to use this 1. Check out this git repository in `/root/garagetron` on your CHIP or whatever Linux device. 2. Configure it, either with `cp config.py.chip config.py`, or by making a custom config. 3. Figure out the IP address of the device. 4. Run `python garage.py`. 5. Open "http://ipaddress/garage" in a browser, and click the button! # To automatically start the script on boot: 1. Copy the systemd service file to /etc/systemd/system/garagedoor.service 2. Run `systemctl enable garagedoor.service` # Updating the config file The config file lets you specify which GPIO pins correspond to switches. The `config.py.chip` config uses all of the options! You're limited to as many switches as you have GPIOs. The "poweron outputs" are used in case you have an enable line. Once the garage script has loaded and configured all the normal outputs, it'll set the poweron outputs to whatever you've set. For example, on a CHIP, pin 408 is the garage door, 409 is the light, and 410 is the enable line.
About
Simple webapp for a wifi garage door opener
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published