-
Notifications
You must be signed in to change notification settings - Fork 6
/
fanShutDownUps.ini
34 lines (31 loc) · 1.13 KB
/
fanShutDownUps.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[fan]
# GPIO pin for fanspeed control
# set to -1 to disable fan control
GPIO_FAN = -1
# fan speed will be calculated and set with this frequency
FAN_LOOP_TIME_s = 5
# fan will start at this temperature
DESIRED_CPU_TEMP_degC = 60
[ups]
# adjust INA219 shunt values. Default values are the values given by Geekpi.
# INA219_SHUNT_OUT_Ohm = 0.00725
# INA219_SHUNT_BATT_Ohm = 0.005
# send UPS status. set to 1 to send. Otherwise set to 0.
SEND_STATUS_TO_UPSPLUS_IOT_PLATFORM = 1
UPSPLUS_IOT_PLATFORM_URL = https://api.52pi.com/feed
# loop frequency for battery status check. status will also be sent via MQTT with this frequency
BATTERY_CHECK_LOOP_TIME_s = 60
# ups will shut down RPi the power supply with this delay after OS shut down command was given
SHUTDOWN_TIMEOUT_s = 90
# supported values are between 100 and 500. Recommended value: 200
PROTECTION_VOLTAGE_MARGIN_mV = 200
# declare UPS unhealthy if battery temperature (in °C) is above this level
HIGH_BATT_TEMP = 60
[mqtt]
# leave BROKER blank to disable MQTT
BROKER=localhost
TCP_PORT = 1883
# leave USERNAME blank if no login is required
USERNAME = username
PASSWORD = password
TOPIC = home/rpi