diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2023-11-21 19:06:14 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2023-11-21 19:06:14 +0000 |
commit | 58b73d720dad5b4375b3e8a37782ac716f23311e (patch) | |
tree | 34ce9b19e38a7df7095073301c2ddcca6707d576 /README.md | |
parent | 0587e350dee77816b4133c55b5db479f1523d02b (diff) | |
download | TasmotaCLI-58b73d720dad5b4375b3e8a37782ac716f23311e.tar.gz TasmotaCLI-58b73d720dad5b4375b3e8a37782ac716f23311e.zip |
Updated documentation
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -1,2 +1,33 @@ # TasmotaCLI Quick CLI script for turning on and off Tasmota-flashed plugs + +## Command line usage + +``` +usage: tasmota-cli.py [-h] -d DEVICE_HOST [-u USER] [-t] + +optional arguments: + -h, --help show this help message and exit + -d DEVICE_HOST, --device-host DEVICE_HOST + Tasmota host port + -u USER, --user USER Username to login with + -t, --toggle Toggle current power status +``` + +## Example output + +``` +{ + "TotalStartTime": "2022-11-09T21:11:01", + "Total": 144.706, + "Yesterday": 0.361, + "Today": 0.288, + "Power": 16, + "ApparentPower": 27, + "ReactivePower": 22, + "Factor": 0.58, + "Voltage": 242, + "Current": 0.113 +} +'12VBrickPlug' is currently ON +``` |