A simple PHP-based automation project using GPIO on NanoPi Neo
- Install Ubuntu Core
- Install
php5-cli - Install
cpufrequtils - Append the content of
rc.localto/etc/rc.local
GET /api/[0-9]/[on|off]
/api/0/onwill turn on load on channel 0/api/1/offwill turn off load on channel 1
Configure GPIO to channel mapping at
api/index.php:$gpio_config
