forked from electro/esp-irblaster
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ondřej Hruška
01b94ff604
|
2 years ago | |
---|---|---|
components | 2 years ago | |
main | 2 years ago | |
.gitignore | 3 years ago | |
CMakeLists.txt | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
sdkconfig | 2 years ago | |
sdkconfig.old | 2 years ago |
README.md
Registry
Vse je 0-based
Holding
(read-only)
H_IDENT = 0, // 3333
(read-write)
// Control
H_MODE = 1,
/*
VENT_MODE_OFF = 0,
VENT_MODE_FREE = 1,
VENT_MODE_OUT = 3,
VENT_MODE_IN = 5,
VENT_MODE_RECUP = 7,
*/
H_POWER = 2, // %
H_SUMMER_MODE = 3, // invertuje logiku rekuperace na teplotu, aby drzela uvnitr chlad
// Settings
H_INITIAL_MODE = 10, // mode po zapnuti napajeni
H_INITIAL_POWER = 11, // vykon po zapnuti napajeni
H_RECUP_MODE = 12, // 0=na cas, 1=na teplotu (experimentalni)
H_RECUP_TIME = 13, // pokud na cas, pak toho je cas rekuperace
H_RECUP_TIME_MIN = 14, // na teplotu - spodni limit
H_RECUP_TIME_MAX = 15, // na teplotu - horni limit
H_RECUP_FACTOR = 16, // na teplotu - faktor, 80% = foukej dokud delta teplot neklesne o 80%
H_MIN_POWER = 17, // min povoleny vykon motoru
// Hardware settings (don't need to change once set correctly)
H_RAMP_TIME = 30, // doba rozbehu nebo zastaveni motoru
H_BLIND_TIME = 31, // doba otevreni roletky
H_SWAP_TEMPS = 32, // prohodit cidla teploty (projevi se po restartu)
H_SWAP_PWMDIR = 33, // prohodit PWM a DIR vystup (projevi se po restartu)
(write-only)
H_REBOOT = 70, // zapis 0xB007 pro okamzity reboot (po odeslani odpovedi)
Input
Je take zrcadleno v holding mape s ofsetem 1000 (read-only)
// za kazdy bit od nejnizsiho - odpovidajici z nasladujicich teplot je platna
// napr. 3 = jsou platne jen T_{IN,OUT}_INST
I_T_VALIDITY = 1,
I_T_IN_INST = 2,
I_T_OUT_INST = 3,
I_T_INDOOR = 4,
I_T_OUTDOOR = 5,
I_T_INFLOW = 6,
I_T_EXHAUST = 7,
// skutecny cas rekuperace pri sani/odtahu v rezimu "na teplotu"
I_RECUP_TIME_IN = 8,
I_RECUP_TIME_OUT = 9,
// okamzity rezim, stejny vyznam jako H_MODE, ale nemuze byt 7 (rekuperace), jen 1 smer vzdy.
I_MODE_INST = 20,
// stav interniho pocitadla nabehu motoru
I_MOTOR_RAMP = 21,
// stav interniho pocitadla otevreni roletky
I_BLIND_RAMP = 22,
// pocitadlo chodu motoru (sekundy 0-3599)
I_MOTOR_SECS = 23,
// pocitadlo chodu motoru (hodiny), inkrementuje se po preteceni I_MOTOR_SECS
I_MOTOR_HOURS = 24,
// uptime (sekundy 0-3599)
I_UPTIME_SECS = 25,
// uptime (hodiny), inkrementuje se po preteceni I_UPTIME_SECS
I_UPTIME_HOURS = 26,
// velikost volne pameti v poctu kB (mozna chybna hodnota?)
I_FREE_HEAP_KB = 27,