Python library for the Mipow RGB lightbulbs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mipow
.gitignore
LICENSE
README.md
handle_uuid.txt
setup.py

README.md

python-mipow

Python library for the Mipow RGB lightbulbs

Installation

The library can be installed from the repository with pip or setup.py:

$ git clone https://github.com/atalax/python-mipow.git
$ cd python-mipow
$ pip3 install .

Usage

import mipow

mw = mipow.Mipow("31:C2:4B:12:34:56")
mw.set(200, 245, 0)

Command line tool

The package also contains the mipow-ctl command line utility.

$ mipow-ctl -a 31:C2:4B:12:34:56 -c aaf100

MQTT Bridge

$ mipow-mqtt -a 31:C2:4B:19:AC:E6 -t lights/lamp
$ mosquitto_pub -t lights/lamp/rgbl -m eeff00