Skip to main content

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)

Uploaded Source

Built Distribution

pyoutlet-0.0.1-py2.py3-none-any.whl (40.6 kB view hashes)

Uploaded Python 2 Python 3

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