Skip to content

Command line ​

CommandFunctionpvmon must be stopped
pvmon, pvmon serveStart the server
pvmon versionShow the versionno
pvmon config validateExamine the configurationno
pvmon config exportPrint the configuration as YAML, without secretsno
pvmon user add <name> [--lang de|en]Add an admin accountyes
pvmon user reset-password <name>Set a new passwordyes
pvmon user listList the accountsyes
pvmon token create --name <name> [--expires 90d]Create an API tokenyes
pvmon token listList the tokensyes
pvmon token revoke <id>Revoke a tokenyes
pvmon profile validate <file>Examine profile filesno
pvmon dump --device <id> [--count N] [--interval D] [-o file]Record the values of a deviceyes
pvmon import-solis --db <file> --map <file>Import a solis databaseyes
pvmon simulate [--setup R1..R7]Start with simulated devices

The option -config <path> selects the configuration file. The default is config.yaml.

user add and user reset-password read the password from the first line of the standard input.

Exit codeDescription
0Success
1Failure
2Incorrect command line

Version 0.4.0-66c93c2. MIT license.