Skip to main content

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>

example.png

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

device_ops-0.1.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

device_ops-0.1.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded 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