项目作者: valley-fordham

项目描述 :
PHP Carport Door Controller
高级语言: PHP
项目地址: git://github.com/valley-fordham/php-carport-server.git
创建时间: 2020-08-26T12:03:19Z
项目社区:https://github.com/valley-fordham/php-carport-server

开源协议:

下载


Simple PHP Carport Door Controller

Credits go to Raspberry Pi Garage Door Opener.

Usage

  1. Configure carportopener to execute at system start to ensure GPIO pins are configured correctly.

  2. 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

Creative Commons Licence