Skip to content

Commit 4a6751c

Browse files
committed
move apps
0 parents  commit 4a6751c

20 files changed

+4006
-0
lines changed

Distr/nrf24batch/CO2_mini.txt

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
Info: CO2 sensor mini
2+
Address: C8C8CF
3+
Rate: 1
4+
Ch: 122
5+
CRC: 2
6+
DPL: 0
7+
RETR: 0x0F
8+
Resend: 3
9+
Delay_ms: 30
10+
ReadCmd repeat: 3
11+
12+
Payload struct: 2,1,1
13+
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0
14+
15+
R default: ,,ROM
16+
W default: n,,WROM
17+
Write start: 0,0,0x2F
18+
19+
Listen: C8C8C1=CO2,Alarm,-
20+
21+
R: ID*=,0,0x65
22+
23+
R: _CO2*2=0x6C,,RAM2
24+
R: _PORTA=0x39,,RAM
25+
W: _PORTA=,0x3B,WRAM
26+
R: _PORTB=0x36,,RAM
27+
W: _PORTB=,0x38,WRAM
28+
R: _OSCCAL=0x51,,RAM
29+
W: _OSCCAL=,0x51,WRAM
30+
R: OSCCAL_EMEM=0
31+
32+
R: RxAddr=1#
33+
W: RxAddr=,1
34+
35+
R: Ch=2
36+
W: Ch=,2
37+
38+
R: nRF RETR=3#
39+
W: nRF RETR=,3
40+
41+
R: Send period=4
42+
W: Send period=,4
43+
44+
R: CO2 threshold*2=5,,ROM2
45+
W: CO2 threshold=,5,WROM2
46+
47+
R: CO2 correct*2=7,,ROM2
48+
W: CO2 correct*2=,7,WROM2
49+
50+
R: FanLSB[10]=i:9#
51+
W: FanLSB=,i:9
52+
53+
R: Transmit pause=19
54+
W: Transmit pause=,19
55+
56+
R: Flags=20#
57+
W: Flags=,20
58+
59+
W: Reset=0xEEEE,14,SET
60+
61+
R: _LED Warning=0x74,,RAM
62+
W: _LED Warning=,0x74,WRAM
63+
64+
S: LED=,0,SET
65+
66+
SBatch: LED On: LED=1
67+
SBatch: LED Off: LED=0
68+
69+
RBatch: Settings: ID;RxAddr;Ch;Send period;CO2 threshold;CO2 correct;FanLSB;nRF RETR;Transmit pause;Flags
70+
71+
WBatch: Default: RxAddr=0xCF;Ch=122;Send period=30;CO2 threshold=1000;CO2 correct=0;FanLSB={0xC1,0,0,0,0,0,0,0};nRF RETR=0x3;Transmit pause=1;Flags=0;Reset
72+
WBatch: CO2: Send period=60;CO2 threshold=1000;CO2 correct=0
73+
WBatch: Fan: FanLSB={0xC1,0,0,0,0,0,0,0,0,0};Reset
74+
WBatch: RETR: nRF RETR=0x2F;Reset
75+
WBatch: Transmit pause: Transmit pause=30
76+
WBatch: Flags: Flags=0x00
77+
78+
WBatch: LED Warning: _LED Warning=0x30
79+
WBatch: PORTA: _PORTA=0x0C
80+
WBatch: PORTB: _PORTB=0xC
81+
WBatch: OSCCAL: _OSCCAL=128
82+
83+
WBatch: Reset: Reset

Distr/nrf24batch/CO2_mini_old.txt

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
Info: CO2 sensor mini
2+
Address: C8C8CF
3+
Rate: 1
4+
Ch: 122
5+
CRC: 2
6+
DPL: 0
7+
RETR: 0x0F
8+
Resend: 3
9+
Delay_ms: 30
10+
ReadCmd repeat: 3
11+
12+
Payload struct: 2,1,1
13+
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4; WRAM=0x89
14+
15+
R default: ,EEPROM,0xC1
16+
W default: n,,0x81
17+
Write start: 0,0,0x8F
18+
19+
Listen: C8C8C1=CO2,Alarm,-
20+
21+
R: ID*=,ID
22+
23+
R: _CO2*2=0x6C,RAM,0xC2
24+
R: _PORTA=0x39,RAM
25+
W: _PORTA=,0x3B,WRAM
26+
R: _PORTB=0x36,RAM
27+
W: _PORTB=,0x38,WRAM
28+
R: _OSCCAL=0x51,RAM
29+
W: _OSCCAL=,0x51,WRAM
30+
R: OSCCAL_EMEM=0
31+
32+
R: RxAddr=1#
33+
W: RxAddr=,1
34+
35+
R: Ch=2
36+
W: Ch=,2
37+
38+
R: nRF RETR=3#
39+
W: nRF RETR=,3
40+
41+
R: Send period=4
42+
W: Send period=,4
43+
44+
R: CO2 threshold*2=5,,0xC2
45+
W: CO2 threshold=,5,0x82
46+
47+
R: CO2 correct*2=7,,0xC2
48+
W: CO2 correct*2=,7,0x82
49+
50+
R: FanLSB[10]=i:9#
51+
W: FanLSB=,i:9
52+
53+
R: Transmit pause=19
54+
W: Transmit pause=,19
55+
56+
R: Flags=20#
57+
W: Flags=,20
58+
59+
W: Reset=,RESET,0xC1
60+
61+
R: _LED Warning=0x74,RAM
62+
W: _LED Warning=,0x74,WRAM
63+
64+
S: LED=,0,0x40
65+
66+
SBatch: LED On: LED=1
67+
SBatch: LED Off: LED=0
68+
69+
RBatch: Settings: ID;RxAddr;Ch;Send period;CO2 threshold;CO2 correct;FanLSB;nRF RETR;Transmit pause;Flags
70+
71+
WBatch: Default: RxAddr=0xCF;Ch=122;Send period=30;CO2 threshold=1000;CO2 correct=0;FanLSB={0xC1,0,0,0,0,0,0,0};nRF RETR=0x3;Transmit pause=1;Flags=0;Reset
72+
WBatch: CO2: CO2 threshold=1000;CO2 correct=0
73+
WBatch: Fan: FanLSB={0xC1,0,0,0,0,0,0,0,0,0};Reset
74+
WBatch: RETR: nRF RETR=0x2F;Reset
75+
WBatch: Transmit pause: Transmit pause=30
76+
WBatch: Flags: Flags=0x00
77+
78+
WBatch: LED Warning: _LED Warning=0x30
79+
WBatch: PORTA: _PORTA=0x0C
80+
WBatch: PORTB: _PORTB=0xC
81+
WBatch: OSCCAL: _OSCCAL=128
82+
83+
WBatch: Reset: Reset
+164
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
Info: Kitchen Vent Dimmer
2+
Address: C8C8C1
3+
Rate: 1
4+
Ch: 122
5+
CRC: 2
6+
DPL: 0
7+
RETR: 0x0F
8+
Resend: 3
9+
Delay_ms: 30
10+
11+
Payload struct: 2,1,1
12+
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0
13+
14+
R default: ,,ROM
15+
W default: n,,WROM
16+
Write start: 0,0,0x2F
17+
18+
R: ID*=,0,0x65
19+
20+
R: CO2 level*2[3]=i:4,,ROM2
21+
W: CO2 level*2=,i:4,WROM2
22+
23+
R: Fan speeds=25
24+
W: Fan speeds=,25
25+
R: FanSpeed[3]=i:19
26+
W: FanSpeed=,i:19
27+
R: FanCook speeds=26
28+
W: FanCook speeds=,26
29+
R: FanCookSpeed[3]=i:22
30+
W: FanCookSpeed=,i:22
31+
32+
R: FanOnTime=10
33+
W: FanOnTime=,10
34+
35+
R: FanOffTime=11
36+
W: FanOffTime=,11
37+
38+
R: FanCookOnTime=12
39+
W: FanCookOnTime=,12
40+
41+
R: FanCookOffTime=13
42+
W: FanCookOffTime=,13
43+
44+
R: FanSleep=14
45+
W: FanSleep=,14
46+
47+
R: FanCookSleep=15
48+
W: FanCookSleep=,15
49+
50+
R: SpeedInitIdx=16
51+
W: SpeedInitIdx=,16
52+
53+
R: SpeedKeyIdx=17
54+
W: SpeedKeyIdx=,17
55+
56+
R: OutSpeedMax=18
57+
W: OutSpeedMax=,18
58+
59+
R: PauseSetByCO2,min=27
60+
W: PauseSetByCO2,min=,27
61+
62+
R: SSR_PulseWidth,us*2=28,,ROM2
63+
W: SSR_PulseWidth,us*2=,28,WROM2
64+
65+
R: SSR_PulseSafeTime,us*2=30,,ROM2
66+
W: SSR_PulseSafeTime,us*2=,30,WROM2
67+
68+
R: SSR2_PulseWidth,us*2=32,,ROM2
69+
W: SSR2_PulseWidth,us*2=,32,WROM2
70+
71+
R: DamperOpenTime=34
72+
W: DamperOpenTime=,34
73+
74+
!R: FanCookSpIdxDnKey=35
75+
!W: FanCookSpIdxDnKey=,35
76+
!R: FanCookSpIdxUpKey=36
77+
!W: FanCookSpIdxUpKey=,36
78+
79+
R: IRRemotes=35
80+
W: IRRemotes=,35
81+
82+
R: IRRemotesHash*2[70]=i:36,,ROM2#
83+
W: IRRemotesHash*2=,i:36,WROM2
84+
85+
R: Flags=1#
86+
W: Flags=,1
87+
88+
R: RxAddr=2#
89+
W: RxAddr=,2
90+
91+
R: Ch=3
92+
W: Ch=,3
93+
94+
R: OSCCAL_EMEM=0
95+
R: _OSCCAL=0x51,,RAM
96+
W: _OSCCAL=,0x51,,WRAM
97+
R: _PORTA=0x39,,RAM
98+
W: _PORTA=,0x3B,,WRAM
99+
R: _PORTB=0x36,,RAM
100+
W: _PORTB=,0x38,WRAM
101+
102+
R: _LED_Warning=0x71,,RAM
103+
W: _LED_Warning=,0x71,WRAM
104+
R: _IRHashLast*2=0x89,,RAM2#
105+
R: _IRCntLast=0x87,,RAM
106+
R: _IRHash*2=0x8B,,RAM2#
107+
R: _SleepTimer=0x8E,,RAM
108+
R: _FanOn=0x7F,,RAM
109+
R: _FanOnNext=0x7D,,RAM
110+
R: _FanOnNextCnt=0x7B,,RAM
111+
R: _FanOnLast=0x7C,,RAM
112+
113+
R: _OutSpeedMax=0x90,,RAM
114+
W: _OutSpeedMax=,0x90,WRAM
115+
116+
R: _Fanspeed=0x7E,,RAM
117+
R: _SSR_full_period*2=0x64,,RAM2
118+
119+
R: _PulseDelayAfterZero*2=0x9F,,RAM2
120+
W: _PulseDelayAfterZero*2=,0x9F,WRAM2
121+
R: _PulseWidth*2=0x92,,RAM2
122+
W: _PulseWidth*2=,0x92,WRAM2
123+
R: _PulseWidth2=0xA3,,RAM
124+
W: _PulseWidth2=,0xA3,WRAM
125+
126+
W: Reset=0xEEEE,14,SET
127+
128+
S: Lamp=,0,SET
129+
S: Fan=,1,SET
130+
S: FanAdd=,2,SET
131+
S: FanSpdUp=,3,SET
132+
S: FanSpdDn=,4,SET
133+
S: FanSpdSave=,5,SET
134+
S: SetupIR=,6,SET
135+
136+
SBatch: Fan Cooker Max: Fan=6
137+
SBatch: Fan Cooker Min: Fan=4
138+
SBatch: Fan Max: Fan=3
139+
SBatch: Fan Min: Fan=1
140+
SBatch: Fan Off: Fan=0
141+
SBatch: Fan +: FanAdd=1
142+
SBatch: Fan -: FanAdd=-1
143+
SBatch: Lamp On: Lamp=1
144+
SBatch: Lamp Off: Lamp=0
145+
SBatch: Fan Up: FanSpdUp=0
146+
SBatch: Fan Down: FanSpdDn=0
147+
SBatch: Fan SAVE: FanSpdSave=0;
148+
SBatch: Add new IR: SetupIR=1
149+
150+
RBatch: Work: ID;CO2 level;FanCookSpeed;FanCookOnTime;FanCookOffTime;FanCookSleep;FanSpeed;FanOnTime;FanOffTime;FanSleep;DamperOpenTime
151+
RBatch: Hardware: ID;RxAddr;Ch;SpeedInitIdx;Flags;OutSpeedMax;IRRemotes;SSR_PulseWidth,us;OSCCAL_EMEM
152+
RBatch: All: ID;CO2 level;FanCookSpeed;FanCookOnTime;FanCookOffTime;FanCookSleep;FanSpeed;FanOnTime;FanOffTime;FanSleep;DamperOpenTime;RxAddr;Ch;SpeedInitIdx;Flags;OutSpeedMax;IRRemotes;IRRemotesHash
153+
154+
WBatch: Init(Cook2spd,Lamp-F2.2): RxAddr=0xC1;Ch=122;CO2 level={870,930,1000};Fan speeds=3;FanSpeed={10,12,16};FanCook speeds=3;FanCookSpeed={12,16,32};FanSleep=20;FanCookSleep=6;FanOnTime=1;FanCookOnTime=3;FanOffTime=100;FanCookOffTime=0;DamperOpenTime=60;SpeedInitIdx=0;SpeedKeyIdx=6;Flags=0x0D;OutSpeedMax=16;SSR_PulseWidth,us=9990
155+
WBatch: IRRemotes clear: IRRemotes=0
156+
WBatch: IRRemotes 1 kitchen: IRRemotes=1;IRRemotesHash={0x6DA5,0xFCA5,0x7CA5,0xB425,0x3425,0x1625,0x8525}
157+
WBatch: Fans Speeds: Fan speeds=3;FanSpeed={10,12,16};FanCook speeds=3;FanCookSpeed={12,16,32}
158+
WBatch: FanCooker Down/Up key idx: FanCookSpIdxDnKey=2;FanCookSpIdxUpKey=3
159+
WBatch: LED Warning: _LED Warning=0x10
160+
WBatch: OSCCAL: _OSCCAL=146
161+
WBatch: CO2 Level: CO2 level={750,850,1000}
162+
WBatch: Zero cross EEPROM: SSR_PulseWidth,us=200;SSR2_PulseWidth,us=200;SSR_PulseSafeTime,us=100;Reset
163+
WBatch: Zero cross RAM: _PulseDelayAfterZero=0001;_PulseWidth=200;_PulseWidth2=200
164+
WBatch: Reset: Reset

0 commit comments

Comments
 (0)