Fixed config
This commit is contained in:
parent
175ae64b75
commit
13ac853ac6
44
config.py
44
config.py
|
@ -10,7 +10,6 @@ SFTP_PORT = 22
|
|||
SFTP_USER = 'sftprcclub'
|
||||
SFTP_KEY = '/home/pi/.ssh/id_rsa'
|
||||
|
||||
|
||||
DATA_FILE = './solar.rrd'
|
||||
ARCHIVE_DATA_FILE = './solar_archive.rrd'
|
||||
DATA_INTERVAL = 60
|
||||
|
@ -21,7 +20,6 @@ MAX_MISSING = 0.5
|
|||
# Manual claims poly should be 0x8404, internet says xmodem
|
||||
CRC_TYPE = 'crc-aug-ccitt'
|
||||
|
||||
|
||||
STORED_VALUES = [
|
||||
StoredValue('U_bat', 0.0, 20.0),
|
||||
StoredValue('U_mod1', 0.0, 20.0),
|
||||
|
@ -48,37 +46,21 @@ GRAPHS = {
|
|||
GraphLine('load_switch', 'Relay', '#0000ff'),
|
||||
],
|
||||
'charges': [
|
||||
GraphLine('max_charge_bat_day', 'Max. Batterie Ladung [Ah]', '#0000ff'),
|
||||
GraphLine('max_charge_load_day', 'Max. Last Entladung [Ah]', '#ff0000'),
|
||||
]
|
||||
GraphLine('max_charge_bat_day', 'Max. Batterie Ladung [Ah]',
|
||||
'#0000ff'),
|
||||
GraphLine('max_charge_load_day', 'Max. Last Entladung [Ah]',
|
||||
'#ff0000'),
|
||||
],
|
||||
'soc': [
|
||||
GraphLine('soc', 'State Of Charge', '#ff0000'),
|
||||
]
|
||||
}
|
||||
|
||||
FORMAT = ['Version',
|
||||
'Date',
|
||||
'Time',
|
||||
'U_bat',
|
||||
'U_mod1',
|
||||
'U_mod2',
|
||||
'SOC',
|
||||
'SOH',
|
||||
'I_bat_total',
|
||||
'I_pv_max1',
|
||||
'I_pv_max2',
|
||||
'I_pv_in',
|
||||
'I_charge_total',
|
||||
'I_load_device',
|
||||
'I_load_total',
|
||||
'T_bat',
|
||||
'error',
|
||||
'charge_mode',
|
||||
'load_switch',
|
||||
'relais_aux1',
|
||||
'relais_aux2',
|
||||
'max_charge_bat_day',
|
||||
'max_charge_bat_ever',
|
||||
'max_charge_load_day',
|
||||
'max_charge_load_ever',
|
||||
'derating']
|
||||
FORMAT = [
|
||||
'Version', 'Date', 'Time', 'U_bat', 'U_mod1', 'U_mod2', 'SOC', 'SOH',
|
||||
'I_bat_total', 'I_pv_max1', 'I_pv_max2', 'I_pv_in', 'I_charge_total',
|
||||
'I_load_device', 'I_load_total', 'T_bat', 'error', 'charge_mode',
|
||||
'load_switch', 'relais_aux1', 'relais_aux2', 'max_charge_bat_day',
|
||||
'max_charge_bat_ever', 'max_charge_load_day', 'max_charge_load_ever',
|
||||
'derating'
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue