Skip to content

Configuration keys ​

The column UI shows the settings that you can change in the web interface.

Application ​

KeyDefaultUIFunction
site.nameHomeyesName of the site
site.interval5syesPoll interval of the devices without their own interval, minimum 1 s
app.port8080HTTP port
app.log_levelinfodebug, info, warn or error
app.request_timeout30sTime limit for HTTP requests and database reads, minimum 1 s
app.trusted_proxiesemptyAddresses or networks of the trusted reverse proxies
auth.public_readtrueyesRead access without a login
auth.session_idle7dA session stops after this time without use
auth.session_max30dMaximum life of a session
storage.path./data/pvmon.dbDatabase file
storage.retention10yyesRetention time of the data. No function in this version
storage.backup_interval24hyesInterval of the backups
storage.max_backups3yesNumber of backups that pvmon keeps
status.offline_after15myesA device that is offline in daylight for longer than this time has a fault

Log file ​

KeyDefaultFunction
log.fileemptyLog file in addition to stdout
log.max_size50MBSize at which pvmon starts a new file
log.max_backups5Number of old files that pvmon keeps
log.max_age30dMaximum age of old files
log.rotate_atemptyTimes of day to start a new file, for example ["00:00"]
log.compressiongzipgzip, zstd or none

connections.<id> ​

KeyDefaultFunction
addresstcp://host:port, rtu:///dev/ttyUSB0 or http://host
timeout2sTime limit of one request
speed9600Serial speed
data_bits8Serial data bits
parityNSerial parity
stop_bits1Serial stop bits

devices.<id> ​

KeyDefaultFunction
connectionID of a connection
addressAddress, as an alternative to connection
unit1Modbus unit ID
profileID of a built-in profile, or the path of a profile file
intervalsite.intervalPoll interval, minimum 1 s
timeoutTime limit of one request
readfrom the profilerange or direct. You cannot set range for a direct profile
rollover00:00Local time at which the device resets its daily counters
nettingfrom the profilemeter or app. Refer to Grid netting
historyemptyChannels to store in addition to power, state of charge and energy
insecure_tlsfalseAccept a TLS certificate without a check
auth.user, auth.passwordemptyLogin of the device. Use a secret reference

meters.<id> ​

KeyDefaultFunction
deviceID of the device
sourceMeter block of the profile
rolefrom the profileA role that the profile permits
categoryfrom the profilewallbox, heatpump, heater or other
parentsite or the ID of a meter
labelName in the web interface
kwpPeak power of a PV meter in kWp
capacityCapacity of a battery, for example 10kWh
criticalfalseGET /health gives an error if this meter is offline too long

Version 0.4.0-66c93c2. MIT license.