Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Panasonic AC RKR model & Example #649

Merged
merged 4 commits into from
Mar 17, 2019
Merged

Add Panasonic AC RKR model & Example #649

merged 4 commits into from
Mar 17, 2019

Conversation

ajaypala
Copy link
Contributor

@ajaypala ajaypala commented Mar 17, 2019

Added support for my Panasonic AC Model CS-Z9RKR. Following functions are tested and working:

  • Mode
  • Temperature
  • Swing H
  • Swing V
  • Fan Speed
  • Powerful/Quiet

Functions not tested:

  • Clock & Timer functions

Functions not working or implemented:

  • iAuto-X
  • Econavi (Not part of state)
  • Nanoe-g (Not part of state)
  • Mild Dry

@crankyoldgit crankyoldgit self-requested a review March 17, 2019 11:42
@crankyoldgit crankyoldgit self-assigned this Mar 17, 2019
Copy link
Owner

@crankyoldgit crankyoldgit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@crankyoldgit
Copy link
Owner

@ajaypala Thanks for the PR!

@crankyoldgit crankyoldgit merged commit 9febd04 into crankyoldgit:master Mar 17, 2019
@ajaypala
Copy link
Contributor Author

I may as well document my notes somewhere useful so if anyone wants to continue development on the unimplemented functions, the required details is as per below:

Mild Dry
Can only be used during cooling mode. Mild Dry is activated by remote_state[15] = 0x7F; and deactivated by remote_state[15] = 0x80;

iAuto-X
Can only be used during auto mode. It is activated by remote_state[25] |= 0x80; and deactivated by remote_state[25] &= ~0x80;

Timer Functions
When any timer function is enabled, I noticed the following additional changes to the remote_state

  • Bit 19.3 is set
  • Bit 20.7 is set
  • Byte 23 changes from 0x89 to 0x80

@ajaypala ajaypala deleted the PanasonicAC-RKR branch March 17, 2019 12:30
crankyoldgit added a commit that referenced this pull request Apr 30, 2019
_v2.6.0 (20190430)_

**[Bug Fixes]**
- Fixed problem where LG protocol used wrong duty cycle for repeat. (#687)
- Fix checksum calculation for Daikin protocols. (#678)
- Fix the byte array version of sendGree() (#684, #685)
- Fix artificial vs. real state creation on HaierAC. (#668, #671)
- Fix issues caused by having `MQTT_ENABLE` set to false. (#677)
- Fix compile problem when DEBUG is defined. (#673, #674)
- Fix Minor bug with MQTT_ENABLE False condition (#654)

**[Features]**
- Experimental support for DAIKIN216 (ARC433B69) (#690)
- Experimental support for Mitsubishi Heavy Industries A/Cs. (#660, #665, #667)
- Support more features of TCL A/C (#656)
- Add LEGO(TM) Power Functions IR protocol. (#655)
- Add Panasonic AC RKR model & Example (#649)
- DAIKIN/IRDaikinESP overhaul and add Comfort mode support. (#678)
  **WARNING**: Previous `sendDaikin()` calls may not work.
               Please recapture codes or use `kDaikinStateLengthShort` for
               `nbytes` in those calls.
- IRMQTTServer: Move MQTT server and other parameters to WifiManager. (#680)
  **WARNING**: Previous users may need to fully wipe/reset the
               SPIFFS/WifiManager settings by visiting
               `http://<your_esp8266's_ip_address>/reset` prior to or
               after update.
- Add Wifi filtering options to IRMQTTServer. (#679)
- Add advanced aircon/climate functionality to IRMQTTServer (#677)
- Initial prototype of a common interface for all A/Cs. (#664)
- Improve MQTT topic usage for feedback messages. (#663)
- Add multiple independent GPIO sending support via MQTT. (#661)

**[Misc]**
- Adjust kGreeHdrSpace to 4500 (#684, #686)
- Add Home Assistant mqtt climate instructions. (#682)
- Implement htmlEscape() to prevent XSS etc. (#681)
- Add F() Macros (#670)
- Update Daikin2's Cool mode min temp to 18C (#658)
- Change per byte bit-order in Electra protocol. (#648)
- Improve Daikin2 power on/off. (#647)
@crankyoldgit crankyoldgit mentioned this pull request Apr 30, 2019
crankyoldgit added a commit that referenced this pull request Apr 30, 2019
_v2.6.0 (20190430)_

**[Bug Fixes]**
- Fixed problem where LG protocol used wrong duty cycle for repeat. (#687)
- Fix checksum calculation for Daikin protocols. (#678)
- Fix the byte array version of sendGree() (#684, #685)
- Fix artificial vs. real state creation on HaierAC. (#668, #671)
- Fix issues caused by having `MQTT_ENABLE` set to false. (#677)
- Fix compile problem when DEBUG is defined. (#673, #674)
- Fix Minor bug with MQTT_ENABLE False condition (#654)

**[Features]**
- Experimental support for DAIKIN216 (ARC433B69) (#690)
- Experimental support for Mitsubishi Heavy Industries A/Cs. (#660, #665, #667)
- Support more features of TCL A/C (#656)
- Add LEGO(TM) Power Functions IR protocol. (#655)
- Add Panasonic AC RKR model & Example (#649)
- DAIKIN/IRDaikinESP overhaul and add Comfort mode support. (#678)
  **WARNING**: Previous `sendDaikin()` calls may not work.
               Please recapture codes or use `kDaikinStateLengthShort` for
               `nbytes` in those calls.
- IRMQTTServer: Move MQTT server and other parameters to WifiManager. (#680)
  **WARNING**: Previous users may need to fully wipe/reset the
               SPIFFS/WifiManager settings by visiting
               `http://<your_esp8266's_ip_address>/reset` prior to or
               after update.
- Add Wifi filtering options to IRMQTTServer. (#679)
- Add advanced aircon/climate functionality to IRMQTTServer (#677)
- Initial prototype of a common interface for all A/Cs. (#664)
- Improve MQTT topic usage for feedback messages. (#663)
- Add multiple independent GPIO sending support via MQTT. (#661)

**[Misc]**
- Adjust kGreeHdrSpace to 4500 (#684, #686)
- Add Home Assistant mqtt climate instructions. (#682)
- Implement htmlEscape() to prevent XSS etc. (#681)
- Add F() Macros (#670)
- Update Daikin2's Cool mode min temp to 18C (#658)
- Change per byte bit-order in Electra protocol. (#648)
- Improve Daikin2 power on/off. (#647)
@crankyoldgit
Copy link
Owner

FYI, this has been included in the newly released v2.6.0 of the library.

@Duckle29
Copy link

Hey there. If I wanted to try and add support for the nanoe-g function, where would I start? I have 10 captures of me pressing that button, however as @ajaypala noted, it's not a part of state.

@crankyoldgit
Copy link
Owner

@Duckle29 Follow the suggestions/instructions in the wiki on this topic, when you've worked it out, create a new issue or a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants