Skip to content

jkoenig72/gpioRest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gpioRest

simple gpioRest service for using gpio command line commands to control orange pi / raspberry pi gpio pins via REST

sudo cp gpio_rest.service /etc/systemd/system/

sudo chmod 644 /etc/systemd/system/gpio_rest.service

sudo systemctl daemon-reload

sudo systemctl enable gpio_rest.service

sudo systemctl start gpio_rest.service

curl -X GET http://192.168.10.41:9090/gpio/1

curl -X PUT -d "value=0" http://192.168.10.41:9090/gpio/1 curl -X PUT -d "value=1" http://192.168.10.41:9090/gpio/1

About

simple gpioRest service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages