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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file device_ops-0.1.2.tar.gz.
File metadata
- Download URL: device_ops-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.10 Linux/5.4.0-193-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a0c967b1a06d71ea59078912c0bffb075972d25a5ec046f667ad36d32d4eb6a
|
|
| MD5 |
4a3bf8d30e7fc977bbc6ca01cc2d80c4
|
|
| BLAKE2b-256 |
2e1a1595383bcb349ab99fc91154afa79b525e179f0dc1e57a77c047a11ac45d
|
File details
Details for the file device_ops-0.1.2-py3-none-any.whl.
File metadata
- Download URL: device_ops-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.10 Linux/5.4.0-193-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e97a1736025fd98533f1270e882cb44291cce0fd9d0b1fd457de990e63e7130
|
|
| MD5 |
c5d6cce53a56cff2999e7008162e0aae
|
|
| BLAKE2b-256 |
69646d9b3d0ee067b50d857fe299eec262ad13a8d6fba433838040f85f2d3ba9
|