-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.def
69 lines (69 loc) · 2.57 KB
/
settings.def
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
u8 webcontrol 2 // Web control
u32 reporting 60 // Reporting interval (s)
s aircon // Faikin hostname
u8 lag 5 // Lag
gpio sda // I2C SDA
gpio scl // I2C SCL
u8 co2.address 62 .hex=1 // CO2 I2C address
u8 als.address 00 .hex=1 // ALS I2C address
u8 sht.address 00 .hex=1 // SHT I2C address
s8 sht.offset 0 .decimal=1 // SHT offset %
u16 als.dark 200 // ALS Dark level
s8 als.places 0 // ALS reporting places
s8 co2.places -1 // CO2 reporting places
u32 co2.damp 100 // CO2 damping level
u32 co2.startup 240 // CO2 startup time (s)
u16 co2.high 2000 .live=1 // CO2 too high above this
u16 co2.ok 1000 .live=1 // CO2 just about OK below this
u16 co2.good 700 .live=1 // CO2 good below this
s8 temp.places 1 // Temp reporting places
s8 rh.places 0 // RH reporting places
u32 rh.damp 10 // RH damping level
gpio ds18b20 // DS18B20 GPIO
s32 ds18b20offset 0 .decimal=3 // DS18B20 Offset
#ifndef CONFIG_GFX_BUILD_SUFFIX_GFXNONE
gpio gfx.mosi // GFX MOSI GPIO
gpio gfx.sck // GFX SCK GPIO
gpio gfx.cs // GFX CS GPIO
gpio gfx.dc // GFX DC GPIO
gpio gfx.rst // GFX RST GPIO
u8 gfx.flip 0 // GFX Flip
u8 gfx.light 0 // GFX Light contrast
u8 gfx.dark 0 // GFX Dark contrast
o512 logo .base64=1 // Logo (32x32 4 bit grey)
#endif
u32 msgtime 30 // Message time (s)
bit fahrenheit // Use Fahrenheit
s fan.on // Fan MQTT on
s fan.off // Fan MQTT off
u32 fan.resend 600 // Fan MQTT resend time (s)
gpio fan.co2gpio // Fan GPIO
u32 fan.co2on 0 // Fan CO2 level for on (ppm)
u32 fan.co2off 0 // Fan CO2 level for off (ppm)
u32 fan.rhon 0 // Fan RH level on (%)
u32 fan.rhoff 0 // Fan RH level off (%)
s heat.on // Heat MQTT on
s heat.off // Heat MQTT off
u32 heat.resend 600 // Heat MQTT resend (s)
bit heat.monitor // Heat monitor mode
u8 heat.ahead 30 // Heat ahead time
u8 heat.fadem 10 // Heat fade (mins)
u32 heat.fade 1 .decimal=3 // Heat fade C
gpio heat.gpio // Heat GPIO
u16 hhmm.night 0 .digits=4 // Night HHMM
u16 hhmm.day 0 .digits=4 // Day HHMM
bit no.logo // No logo shown
bit no.time // No time shown
s32 heat.day 0 .decimal=3 // Heat day temp C
s32 heat.night 0 .decimal=3 // Heat night temp C
u16 temp.hhmm .digits=4 .array=10 // Temp control (HHMM)
s32 temp.max .decimal=3 .array=10 // Temp control (min) C
s32 temp.min .decimal=3 .array=10 // Temp control (max) C
gpio button .array=3 // Button GPIO
s ble // BLE device ID
bit ha // Home Assistant
#ifdef CONFIG_REVK_LED_STRIP
gpio led.rgb // LED chain GPIO
u8 led.num // Number of LEDs
bit led.co2 // Show CO2 on LEDs
#endif