Skip to content

This service exposes GPIO ports over an HTTP interface and allows calling of remote endpoints from interrupts.

License

Notifications You must be signed in to change notification settings

automaid/generic-gpio-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpio-service

Build Status Greenkeeper badge Known Vulnerabilities

This Service exposes GPIO Ports over an HTTP Endpoint and allows calling of remote Endpoints from Interrupts.

Configuration

interrupts:
    -   pin: 10
        urls:
            -   http://google.com
        edge: FALLING
        pud: DOWN
outputs:
    -   name: led
        mode: rgb
        pins:
            r: 1
            g: 2
            b: 3
    -   name: light
        mode: digital
        pin: 4
    -   name: white
        mode: pwm
        pin: 5
endpoints:
    -   url: /led
        mode: set
        name: led
        value: rgb(255, 128, 64)
    -   url: /light
        mode: toggle
        name: light
    -   url: /white
        mode: set
        name: white
        value: 255

About

This service exposes GPIO ports over an HTTP interface and allows calling of remote endpoints from interrupts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published