Add Senville F-mode codebook (RG66A2/BGEFU1) - device_code 8861#1567
Open
jesse-projects wants to merge 1 commit into
Open
Add Senville F-mode codebook (RG66A2/BGEFU1) - device_code 8861#1567jesse-projects wants to merge 1 commit into
jesse-projects wants to merge 1 commit into
Conversation
Adds 8861.json for Senville Aura series (SENA/09HF/I, /12HF/I, /18HF/I, /24HF/I) using the RG66A2/BGEFU1 remote, captured in Fahrenheit display mode. Existing code 2860 only supports cool mode in Celsius and forces the indoor LCD to display in C. This 8861 codebook provides native Fahrenheit display (62-86F range, 1F precision) plus complete 5-mode coverage: - cool: 4 fan speeds × 25 temps - heat: 4 fan speeds × 25 temps - dry: locked-fan × 25 temps (remote ignores fan in dry mode) - auto: locked-fan × 25 temps (remote ignores fan in auto mode) - fan_only: 4 fan speeds (no temp setpoint) - off command Plus auxiliary IR codes for LED, Swing, Sleep, Turbo, Self Clean. Methodology: - 36 reference captures across all modes/fans/temps/aux - Midea protocol reverse-engineered: - Bit-reversed temp counter in byte 2 - 3-bit mode field at byte 1 positions 5-7 - Checksum formula: (sum(byte0..byte4) mod 256) XOR 0xFC - Synthesized 195 missing combos via formula - 13 cross-product diff captures verified synthesis 100% byte-perfect - 50+ total reference frames matched against derived formulas Total codes: 500 (33 direct captures + 221 synthesized + 246 fan/temp duplicates for lock-mode coverage)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new SmartIR device code 8861 for Senville Aura mini-split air conditioners using the RG66A2/BGEFU1 remote, captured in Fahrenheit display mode.
Why a second Senville code?
The existing code 2860 was captured in Celsius and bakes the °C display flag into every IR payload — when fired, the indoor LCD reverts to Celsius regardless of user preference. This is problematic for US/Canada users whose AC's physical remote defaults to °F. 8861 provides native Fahrenheit display + complete mode coverage.
Coverage
Methodology
0x06for 62-77°F,0x0Efor 78-86°F); constant0x7Ein fan_only mode(sum(byte0..byte4) mod 256) XOR 0xFC(additive checksum with fixed mask)Total codes
500 (33 direct captures + 221 synthesized + 246 deterministic duplicates for lock-mode coverage). DRY and AUTO modes have all 4 fan keys present (each pointing to the same auto-fan code per temp) so SmartIR never KeyErrors on fan changes in those modes.
About the code number
I chose 8861 because:
codes/climate/directoryHappy to renumber if you'd prefer a different value.
Testing
Tested against a 9000 BTU Senville Aura Indoor Unit (SENA/09HF/IZ), firmware 4.0.4 via Broadlink RM4 Pro. All 5 HVAC modes, all 4 fan speeds where applicable, all 25 temps, plus off command verified working end-to-end.
Related work
capture.py+synthesize.py+verify_synthesis.pyworkflow can derive new codebooks for any Midea-family remote with similar bit structureCompatibility
8861 does not replace 2860; both can coexist. Users with the older display preference can continue using 2860; users wanting native °F should switch to 8861.