Skip to content

surdouski/device-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

pip install device-ops

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

About

Admin tool for device operations over MQTT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages