Python CLI & Web switcher for Etekcity power outlets using 433MHz RF emitter
Project description
**PYOUTLET**
============
Python CLI & Web switcher for Etekcity power outlets using 433MHz RF
--------------------------------------------------------------------
Python wrapper around rfoutlet (from https://timleland.com/wireless-power-outlets/)
to control **Etekcity power outlets from a Raspberry Pi** using a 433MHz RF emitter module.
It has a simple **CLI** utility and a minimal **flask webapp** with ON/OFF buttons.
- Outlet CODES are saved (and labeled) in a JSON file, inside `pyoutlet` module, like this:
{
"pulse_length": 185,
"outlets": [
{
"on": 4527411,
"off": 4527420,
"label": "1"
},
{
"on": 4527555,
"off": 4527564,
"label": "2"
},
{
"on": 4527875,
"off": 4527884,
"label": "3"
},
{
"on": 4529411,
"off": 4529420,
"label": "switch X"
},
{
"on": 4535555,
"off": 4535564,
"label": "switch Y"
}
]
}
{
"pulse_length": 185,
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
pyoutlet-0.0.1.tar.gz
(38.0 kB
view hashes)
Built Distribution
Close
Hashes for pyoutlet-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43719fc62bb5fa11001d19948bf04ba0e69b2ddd5599c8637db3da29da9e22d1 |
|
MD5 | 899d3942be7fd6c1a56dce5cf0965d05 |
|
BLAKE2b-256 | 406c509c563fb11e65502f60798e00b547c6db12a2232147b2117372db2f6239 |