Skip to content

Commit

Permalink
move apps
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Jul 6, 2023
0 parents commit 4a6751c
Show file tree
Hide file tree
Showing 20 changed files with 4,006 additions and 0 deletions.
83 changes: 83 additions & 0 deletions Distr/nrf24batch/CO2_mini.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
Info: CO2 sensor mini
Address: C8C8CF
Rate: 1
Ch: 122
CRC: 2
DPL: 0
RETR: 0x0F
Resend: 3
Delay_ms: 30
ReadCmd repeat: 3

Payload struct: 2,1,1
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0

R default: ,,ROM
W default: n,,WROM
Write start: 0,0,0x2F

Listen: C8C8C1=CO2,Alarm,-

R: ID*=,0,0x65

R: _CO2*2=0x6C,,RAM2
R: _PORTA=0x39,,RAM
W: _PORTA=,0x3B,WRAM
R: _PORTB=0x36,,RAM
W: _PORTB=,0x38,WRAM
R: _OSCCAL=0x51,,RAM
W: _OSCCAL=,0x51,WRAM
R: OSCCAL_EMEM=0

R: RxAddr=1#
W: RxAddr=,1

R: Ch=2
W: Ch=,2

R: nRF RETR=3#
W: nRF RETR=,3

R: Send period=4
W: Send period=,4

R: CO2 threshold*2=5,,ROM2
W: CO2 threshold=,5,WROM2

R: CO2 correct*2=7,,ROM2
W: CO2 correct*2=,7,WROM2

R: FanLSB[10]=i:9#
W: FanLSB=,i:9

R: Transmit pause=19
W: Transmit pause=,19

R: Flags=20#
W: Flags=,20

W: Reset=0xEEEE,14,SET

R: _LED Warning=0x74,,RAM
W: _LED Warning=,0x74,WRAM

S: LED=,0,SET

SBatch: LED On: LED=1
SBatch: LED Off: LED=0

RBatch: Settings: ID;RxAddr;Ch;Send period;CO2 threshold;CO2 correct;FanLSB;nRF RETR;Transmit pause;Flags

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
WBatch: CO2: Send period=60;CO2 threshold=1000;CO2 correct=0
WBatch: Fan: FanLSB={0xC1,0,0,0,0,0,0,0,0,0};Reset
WBatch: RETR: nRF RETR=0x2F;Reset
WBatch: Transmit pause: Transmit pause=30
WBatch: Flags: Flags=0x00

WBatch: LED Warning: _LED Warning=0x30
WBatch: PORTA: _PORTA=0x0C
WBatch: PORTB: _PORTB=0xC
WBatch: OSCCAL: _OSCCAL=128

WBatch: Reset: Reset
83 changes: 83 additions & 0 deletions Distr/nrf24batch/CO2_mini_old.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
Info: CO2 sensor mini
Address: C8C8CF
Rate: 1
Ch: 122
CRC: 2
DPL: 0
RETR: 0x0F
Resend: 3
Delay_ms: 30
ReadCmd repeat: 3

Payload struct: 2,1,1
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4; WRAM=0x89

R default: ,EEPROM,0xC1
W default: n,,0x81
Write start: 0,0,0x8F

Listen: C8C8C1=CO2,Alarm,-

R: ID*=,ID

R: _CO2*2=0x6C,RAM,0xC2
R: _PORTA=0x39,RAM
W: _PORTA=,0x3B,WRAM
R: _PORTB=0x36,RAM
W: _PORTB=,0x38,WRAM
R: _OSCCAL=0x51,RAM
W: _OSCCAL=,0x51,WRAM
R: OSCCAL_EMEM=0

R: RxAddr=1#
W: RxAddr=,1

R: Ch=2
W: Ch=,2

R: nRF RETR=3#
W: nRF RETR=,3

R: Send period=4
W: Send period=,4

R: CO2 threshold*2=5,,0xC2
W: CO2 threshold=,5,0x82

R: CO2 correct*2=7,,0xC2
W: CO2 correct*2=,7,0x82

R: FanLSB[10]=i:9#
W: FanLSB=,i:9

R: Transmit pause=19
W: Transmit pause=,19

R: Flags=20#
W: Flags=,20

W: Reset=,RESET,0xC1

R: _LED Warning=0x74,RAM
W: _LED Warning=,0x74,WRAM

S: LED=,0,0x40

SBatch: LED On: LED=1
SBatch: LED Off: LED=0

RBatch: Settings: ID;RxAddr;Ch;Send period;CO2 threshold;CO2 correct;FanLSB;nRF RETR;Transmit pause;Flags

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
WBatch: CO2: CO2 threshold=1000;CO2 correct=0
WBatch: Fan: FanLSB={0xC1,0,0,0,0,0,0,0,0,0};Reset
WBatch: RETR: nRF RETR=0x2F;Reset
WBatch: Transmit pause: Transmit pause=30
WBatch: Flags: Flags=0x00

WBatch: LED Warning: _LED Warning=0x30
WBatch: PORTA: _PORTA=0x0C
WBatch: PORTB: _PORTB=0xC
WBatch: OSCCAL: _OSCCAL=128

WBatch: Reset: Reset
164 changes: 164 additions & 0 deletions Distr/nrf24batch/Kitchen Vent Dimmer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
Info: Kitchen Vent Dimmer
Address: C8C8C1
Rate: 1
Ch: 122
CRC: 2
DPL: 0
RETR: 0x0F
Resend: 3
Delay_ms: 30

Payload struct: 2,1,1
ROM=0x41;ROM2=0x42;WROM=0x81;WROM2=0x82;RAM=0x51;RAM2=0x52;WRAM=0x91;WRAM2=0x92;PGM=0x61;SET=0xC0

R default: ,,ROM
W default: n,,WROM
Write start: 0,0,0x2F

R: ID*=,0,0x65

R: CO2 level*2[3]=i:4,,ROM2
W: CO2 level*2=,i:4,WROM2

R: Fan speeds=25
W: Fan speeds=,25
R: FanSpeed[3]=i:19
W: FanSpeed=,i:19
R: FanCook speeds=26
W: FanCook speeds=,26
R: FanCookSpeed[3]=i:22
W: FanCookSpeed=,i:22

R: FanOnTime=10
W: FanOnTime=,10

R: FanOffTime=11
W: FanOffTime=,11

R: FanCookOnTime=12
W: FanCookOnTime=,12

R: FanCookOffTime=13
W: FanCookOffTime=,13

R: FanSleep=14
W: FanSleep=,14

R: FanCookSleep=15
W: FanCookSleep=,15

R: SpeedInitIdx=16
W: SpeedInitIdx=,16

R: SpeedKeyIdx=17
W: SpeedKeyIdx=,17

R: OutSpeedMax=18
W: OutSpeedMax=,18

R: PauseSetByCO2,min=27
W: PauseSetByCO2,min=,27

R: SSR_PulseWidth,us*2=28,,ROM2
W: SSR_PulseWidth,us*2=,28,WROM2

R: SSR_PulseSafeTime,us*2=30,,ROM2
W: SSR_PulseSafeTime,us*2=,30,WROM2

R: SSR2_PulseWidth,us*2=32,,ROM2
W: SSR2_PulseWidth,us*2=,32,WROM2

R: DamperOpenTime=34
W: DamperOpenTime=,34

!R: FanCookSpIdxDnKey=35
!W: FanCookSpIdxDnKey=,35
!R: FanCookSpIdxUpKey=36
!W: FanCookSpIdxUpKey=,36

R: IRRemotes=35
W: IRRemotes=,35

R: IRRemotesHash*2[70]=i:36,,ROM2#
W: IRRemotesHash*2=,i:36,WROM2

R: Flags=1#
W: Flags=,1

R: RxAddr=2#
W: RxAddr=,2

R: Ch=3
W: Ch=,3

R: OSCCAL_EMEM=0
R: _OSCCAL=0x51,,RAM
W: _OSCCAL=,0x51,,WRAM
R: _PORTA=0x39,,RAM
W: _PORTA=,0x3B,,WRAM
R: _PORTB=0x36,,RAM
W: _PORTB=,0x38,WRAM

R: _LED_Warning=0x71,,RAM
W: _LED_Warning=,0x71,WRAM
R: _IRHashLast*2=0x89,,RAM2#
R: _IRCntLast=0x87,,RAM
R: _IRHash*2=0x8B,,RAM2#
R: _SleepTimer=0x8E,,RAM
R: _FanOn=0x7F,,RAM
R: _FanOnNext=0x7D,,RAM
R: _FanOnNextCnt=0x7B,,RAM
R: _FanOnLast=0x7C,,RAM

R: _OutSpeedMax=0x90,,RAM
W: _OutSpeedMax=,0x90,WRAM

R: _Fanspeed=0x7E,,RAM
R: _SSR_full_period*2=0x64,,RAM2

R: _PulseDelayAfterZero*2=0x9F,,RAM2
W: _PulseDelayAfterZero*2=,0x9F,WRAM2
R: _PulseWidth*2=0x92,,RAM2
W: _PulseWidth*2=,0x92,WRAM2
R: _PulseWidth2=0xA3,,RAM
W: _PulseWidth2=,0xA3,WRAM

W: Reset=0xEEEE,14,SET

S: Lamp=,0,SET
S: Fan=,1,SET
S: FanAdd=,2,SET
S: FanSpdUp=,3,SET
S: FanSpdDn=,4,SET
S: FanSpdSave=,5,SET
S: SetupIR=,6,SET

SBatch: Fan Cooker Max: Fan=6
SBatch: Fan Cooker Min: Fan=4
SBatch: Fan Max: Fan=3
SBatch: Fan Min: Fan=1
SBatch: Fan Off: Fan=0
SBatch: Fan +: FanAdd=1
SBatch: Fan -: FanAdd=-1
SBatch: Lamp On: Lamp=1
SBatch: Lamp Off: Lamp=0
SBatch: Fan Up: FanSpdUp=0
SBatch: Fan Down: FanSpdDn=0
SBatch: Fan SAVE: FanSpdSave=0;
SBatch: Add new IR: SetupIR=1

RBatch: Work: ID;CO2 level;FanCookSpeed;FanCookOnTime;FanCookOffTime;FanCookSleep;FanSpeed;FanOnTime;FanOffTime;FanSleep;DamperOpenTime
RBatch: Hardware: ID;RxAddr;Ch;SpeedInitIdx;Flags;OutSpeedMax;IRRemotes;SSR_PulseWidth,us;OSCCAL_EMEM
RBatch: All: ID;CO2 level;FanCookSpeed;FanCookOnTime;FanCookOffTime;FanCookSleep;FanSpeed;FanOnTime;FanOffTime;FanSleep;DamperOpenTime;RxAddr;Ch;SpeedInitIdx;Flags;OutSpeedMax;IRRemotes;IRRemotesHash

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
WBatch: IRRemotes clear: IRRemotes=0
WBatch: IRRemotes 1 kitchen: IRRemotes=1;IRRemotesHash={0x6DA5,0xFCA5,0x7CA5,0xB425,0x3425,0x1625,0x8525}
WBatch: Fans Speeds: Fan speeds=3;FanSpeed={10,12,16};FanCook speeds=3;FanCookSpeed={12,16,32}
WBatch: FanCooker Down/Up key idx: FanCookSpIdxDnKey=2;FanCookSpIdxUpKey=3
WBatch: LED Warning: _LED Warning=0x10
WBatch: OSCCAL: _OSCCAL=146
WBatch: CO2 Level: CO2 level={750,850,1000}
WBatch: Zero cross EEPROM: SSR_PulseWidth,us=200;SSR2_PulseWidth,us=200;SSR_PulseSafeTime,us=100;Reset
WBatch: Zero cross RAM: _PulseDelayAfterZero=0001;_PulseWidth=200;_PulseWidth2=200
WBatch: Reset: Reset
Loading

0 comments on commit 4a6751c

Please sign in to comment.