Admin tool for device operations over MQTT.
Project description
Device Ops (dops)
Manage settings of devices through a command line client instead of over MQTT.
Config files
2 files are needed:
- .config
- .secrets
.config
LOCATION=test
.secrets
MQTT_SERVER_IP=foo.com
MQTT_SERVER_PORT=1234
MQTT_SERVER_USER=my_user
MQTT_SERVER_PASS=my_password
Usage
# list devices
dops devices
# list settings for a device
dops devices <device_id>
# show a specific setting
dops devices <device_id> <setting_id>
# update the value of a setting (both --set and --type are required)
# valid options for [--type] : --type=float,str,bytes,bytearray
dops devices <device_id> <setting_id> [--set]/[-s] <value> [--type]/[-t] <_type>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
device_ops-0.1.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for device_ops-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e6651f0d977ba3660475a9fb696d8537f3c49b23bee07f83da7dc373eaf45a8 |
|
MD5 | 8f01e08fa9618b5b66bc94530c5978d5 |
|
BLAKE2b-256 | 634f87a062121860f8c274b08c1cd1eb2062ec3cfa05adbab1c095896daee17c |