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.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for device_ops-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e97a1736025fd98533f1270e882cb44291cce0fd9d0b1fd457de990e63e7130 |
|
MD5 | c5d6cce53a56cff2999e7008162e0aae |
|
BLAKE2b-256 | 69646d9b3d0ee067b50d857fe299eec262ad13a8d6fba433838040f85f2d3ba9 |