项目作者: valley-fordham
项目描述 :
PHP Carport Door Controller
高级语言: PHP
项目地址: git://github.com/valley-fordham/php-carport-server.git
Simple PHP Carport Door Controller
Credits go to Raspberry Pi Garage Door Opener.
Usage
Configure carportopener
to execute at system start to ensure GPIO pins are configured correctly.
Invoke GET requests through your device or browser.
localhost/?trigger
Supported Request types
- trigger: Equivalent to pressing a carport remote button. Will open/close/stop the door, depending on context.
- status: Returns 1 if the door will be closed.
- close_carport: Attempts to close the carport door. If door is closed, request will be ignored.
- open_carport: Opens the carport door if closed, otherwise request will be ignored.
License
