A remote control client for Ubiquiti's mFi system
Project description
Client for Ubiquiti's mFi system
================================
The APIs in this library (and tool) should not be considered stable!
To install:
$ pip install mficlient
To get started, set your connection information like this::
$ export MFI="http://user:password@192.168.1.123:6443"
Then you can run the client, doing something like:
$ mfi dump_sensors
Model | Label | Tag | Value | Extra
-------------------------------------------------------------------------------
Output 12v | Relay Control | output | 0 | 0.0
Output 24v | Relay | output | 0 | 0.0
Ubiquiti mFi-THS | Temp | temperature | 14.3 | None
Input Digital | Garage Door | input | 1 | None
Outlet | Heater Control | active_pwr | 5.810242 | 1.0
Ubiquiti mFi-CS | Furnace | amps | 1.0539 | None
Ubiquiti mFi-CS | Water Heater | amps | 0.0 | None
$ mfi control_device --device 'Heater Control' --state on
================================
The APIs in this library (and tool) should not be considered stable!
To install:
$ pip install mficlient
To get started, set your connection information like this::
$ export MFI="http://user:password@192.168.1.123:6443"
Then you can run the client, doing something like:
$ mfi dump_sensors
Model | Label | Tag | Value | Extra
-------------------------------------------------------------------------------
Output 12v | Relay Control | output | 0 | 0.0
Output 24v | Relay | output | 0 | 0.0
Ubiquiti mFi-THS | Temp | temperature | 14.3 | None
Input Digital | Garage Door | input | 1 | None
Outlet | Heater Control | active_pwr | 5.810242 | 1.0
Ubiquiti mFi-CS | Furnace | amps | 1.0539 | None
Ubiquiti mFi-CS | Water Heater | amps | 0.0 | None
$ mfi control_device --device 'Heater Control' --state on
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
mficlient-0.2.2.tar.gz
(4.8 kB
view details)
File details
Details for the file mficlient-0.2.2.tar.gz
.
File metadata
- Download URL: mficlient-0.2.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cdf76b9626296d950cc56f606fc32acd9d16a8fc27b85d9676ac3d12e77433f |
|
MD5 | a5b5bf8732ef0ca4596086a90d14452f |
|
BLAKE2b-256 | 28526a5b453ed5b658424bdbe8f42b8e6948580fd433a9ccda3ff09e83a73560 |