First start
- Start pvmon.
- Find the setup code in the log. It is the value of the field
setup_code. - Open the web interface.
- Enter the setup code.
- Create the first admin account.
A password must have a minimum of 12 characters. pvmon does not accept common passwords.
The setup code has 8 characters. You can use it one time. If pvmon starts again before you use it, find the new code in the log.
Setup wizard
If the configuration has no meters, the setup wizard starts.
- Devices: add each device.
- Enter the address of the device.
- Select a profile.
- Select Test to read the device one time.
- If a Modbus device does not answer, select Try unit IDs.
- Meters: switch on the meters that you use.
- Hierarchy: set the category and the parent of each consumer.
- Check: compare the values with the displays of your devices.
- Save: save the configuration.
The wizard cannot change the direction of a meter. It does not examine grid netting.
Admin account from the command line
Stop pvmon.
Add the account:
bashprintf '%s\n' "$PASSWORD" | pvmon user add admin
State of the system
- The page Devices shows the state of each device.
GET /healthgives the status 200 if pvmon operates. It gives 503 if a necessary part failed.