Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 617 Bytes

File metadata and controls

32 lines (23 loc) · 617 Bytes

About

This is an addon for qToggleServer.

It provides a qToggleServer driver for Raspberry Pi GPIOs based on the raspi-gpio command.

Install

Install using pip:

pip install qtoggleserver-raspigpio

Usage

qtoggleserver.conf:
...
ports = [
    ...
    {
        driver = "qtoggleserver.raspigpio.GPIO"
        no = 18             # GPIO number
        def_value = true    # default value at startup
        def_output = true   # default output/input GPIO mode at startup
    }
    ...
]
...