Unofficial zmote.io interface
=======================
This module serves as a Python interface for the [zmote.io](http://zmote.io/)
IoT gadget- it's basically a USB-powered, WiFI connected IR blaster.
The module was written using the
[zmote.io API documentation](http://www.zmote.io/apis) and tested against two
real devices.
----
#### Overview
This module supports the discovery of devices via multicast and interacting
with devices via HTTP or TCP; in all instances communication is directly
with the device (and not via the zmote.io cloud application).
#### To install for use standalone/in your project
<code>pip install zmote</code>
##### To passively discover all devices on your network until timeout (30 seconds)
<code>python -m zmote.discoverer</code>
##### To actively discover two devices on your local network
<code>python -m zmote.discoverer -l 2 -a</code>
##### To passively discover a particular device on your local network (e.g. in case of DHCP)
<code>python -m zmote.discoverer -u CI001f1234</code>
##### To put a device into learn mode via TCP
<code>python -m zmote.connector -t tcp -d 192.168.1.1 -c learn</code>
##### To tell a device to send an IR signal via HTTP
<code>python -m zmote.connector -t http -d 192.168.1.1 -c send -p 1:1,0,36000,1,1,32,32,64,32,32,64,32,3264</code>
### To install for further development
Prerequisites:
* [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/])
#### Clone the repo
<code>git clone https://github.com/initialed85/zmote
cd zmote</code>
#### Build the virtualenv
<code>mkvirtualenv zmote
pip install -r requirements-dev.txt</code>
#### Run the tests
<code>py.test -v</code>
=======================
This module serves as a Python interface for the [zmote.io](http://zmote.io/)
IoT gadget- it's basically a USB-powered, WiFI connected IR blaster.
The module was written using the
[zmote.io API documentation](http://www.zmote.io/apis) and tested against two
real devices.
----
#### Overview
This module supports the discovery of devices via multicast and interacting
with devices via HTTP or TCP; in all instances communication is directly
with the device (and not via the zmote.io cloud application).
#### To install for use standalone/in your project
<code>pip install zmote</code>
##### To passively discover all devices on your network until timeout (30 seconds)
<code>python -m zmote.discoverer</code>
##### To actively discover two devices on your local network
<code>python -m zmote.discoverer -l 2 -a</code>
##### To passively discover a particular device on your local network (e.g. in case of DHCP)
<code>python -m zmote.discoverer -u CI001f1234</code>
##### To put a device into learn mode via TCP
<code>python -m zmote.connector -t tcp -d 192.168.1.1 -c learn</code>
##### To tell a device to send an IR signal via HTTP
<code>python -m zmote.connector -t http -d 192.168.1.1 -c send -p 1:1,0,36000,1,1,32,32,64,32,32,64,32,3264</code>
### To install for further development
Prerequisites:
* [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/])
#### Clone the repo
<code>git clone https://github.com/initialed85/zmote
cd zmote</code>
#### Build the virtualenv
<code>mkvirtualenv zmote
pip install -r requirements-dev.txt</code>
#### Run the tests
<code>py.test -v</code>
Metadata
Release files for zmote 2017.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zmote-2017.7.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zmote-2017.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / zmote-2017.7.tar.gz
| Download URL | zmote-2017.7.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe865484b5d81bd7bb60e0f1a8b0e6e0f1168f385e052b8f98557599c3aa5c83
|
|
BLAKE2b-256 checksum How to use checksums |
6a98c784de8d58a98eb54cfed8b5eb8771bb13749ee7a1299e5a075540918c06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zmote-2017.7-py3-none-any.whl
| Download URL | zmote-2017.7-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25b97eb992a266fb43cab075f40dc04e024395723cc8478a98fa79f7a4e0c970
|
|
BLAKE2b-256 checksum How to use checksums |
c010518d1935a73faca7ddc569e32bc8c5d378dc008c8e3dcae355d072c8b1b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |