Skip to main content

Class for NooLite USB stick

Project description

This project is a python module for woriking with NooLite USB stick (PC118, PC1116, PC1132).
Can be easy used for making a smarthome.
About NooLite: http://www.noo.com.by/

Author: Anton Balashov
E-mail: sicness(_at_)darklogic.ru
License: GPL v3
Site: https://github.com/Sicness/pyNooLite

Example:

import noolite

n = noolite.NooLite()
n.on(0) # Turn power on on first channel
n.off(0) # Turn power off on first channel
n.set(1, 115) # Set 115 level on second channel
n.bind(7) # send "bind" signal on channel 8

Look at noolite file for a extra example

Dependences:

* python module pyusb
For Ubuntu do:
sudo apt-get install python-pip
sudo pip install pyusb

* To have access to device from common user add rule to udev, for example to /etc/udev/rules.d/50-noolite.rules next line:
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="dialout"
And add your user to dialout group:
sudo usermod <user> -a -G dialout

Forked from https://github.com/kyuri/nooLite commit 504b9bd7572ba8f5b337fbb27cd3343fcbbd8550

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

noolite-1.4.0.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file noolite-1.4.0.tar.gz.

File metadata

  • Download URL: noolite-1.4.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for noolite-1.4.0.tar.gz
Algorithm Hash digest
SHA256 d4f8aacdb3863f54c43c2ffa6500a411456405517475eb591504992d6b7cc9da
MD5 5d49b939d15490894c4e9ce76d3301b8
BLAKE2b-256 55bea435ddb77093bfbb8d83d5825650c8dc1d34286add3a3202684bd3ad2c9f

See more details on using hashes here.

Supported by

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