Skip to main content

Library to interface Qwikswitch USB Hub

Project description

pyqwikswitch library

CircleCI QwikSwitch USB Modem library for Python 3

See for more information on the Qwikswitch devices.

The library contains threaded and async interfaces and supports relays, buttons, LED dimmers and decoding of various sensors

QSUsb class

  • Get a list of all devices & values. (http://localhost:2020/&device)


    [{"id": "@0c26e0","name": "buitelig","type": "rel","val": "ON",
          "time": "1460146507","rssi": "45%"},
  • Long poll (http://localhost:8080/&listen) for device changes and button presses. This is non-blocking and should be stopped manually (.stop())


  • Set a specific device according to ID. (dim 5%) or 100 (on) (http://localhost:8080/@0ac2f0=5)

    QSUsb.set(id, value)

    Dimmers values can be adjusted to get a more linear behaviour by setting dim_adj between 1 - 2

Example usage

See for a basic usage and tests though the synchronous interface

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqwikswitch-0.94.tar.gz (7.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page