arduino-heatpumpir
arduino-heatpumpir copied to clipboard
Quiet and powerfull modes on Panasonic aircons
Could you please implement the quiet and powerfull modes of Panasonic Aircons? They should be on byte 13 or 14 depending on where you start counting : http://www.instructables.com/id/Reverse-engineering-of-an-Air-Conditioning-control/?ALLSTEPS http://www.analysir.com/blog/2014/12/27/reverse-engineering-panasonic-ac-infrared-protocol/
Sure, it should be pretty simple to implement, for example Fujitsu already has a special argument 'ecomode':
void send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingModeCmd, uint8_t fanSpeedCmd, uint8_t temperatureCmd, uint8_t swingVCmd, uint8_t swingHCmd);
void send(IRSender& IR, uint8_t powerModeCmd, uint8_t operatingModeCmd, uint8_t fanSpeedCmd, uint8_t temperatureCmd, uint8_t swingVCmd, uint8_t swingHCmd, bool ecoModeCmd);
... so Panasonic could very well have two boolean arguments, 'powerful' and 'quiet'. I'll take a look at this next week.
Or another int argument with three acceptable values for "normal, quiet, powerfull".
One way or another thanks a bunch!
Hi, would you try out the 'dev' branch and see if this works? Thanks!
At least in DKE-model heatpump the 'powerful' and 'quiet' seem to be toggles, sent as special 'short messages'.
Sorry I've been up to my neck and didn't check in for a while. I'll check it as soon as possible. Just FYI all I have available are basic split units that seem to work with JKE/NKE profile so far.
ok so finally I got around to test it.. ~~It seems to work PERFECTLY !!~~ Kudos !!
here's my mysensors sketch on a domoticz controller for reference :
https://github.com/ptoump/MyHomeSketches/blob/master/Basement_Room_01/AC_n_TEMP_1.6/AC_n_TEMP_1.6.ino
Sorry , in the end it didn't work properly, I was too happy to notice the difference... anyways, after loosing a few (5-6) hours of sleep I made the following changes (I'm too sleepy to make any pulls / commits so i'm putting them here) : Keep in mind these work for MKE/MKR models (A75C3755 remote) and maybe others..
- the powerful , quiet codes are reversed.. they should be:
#define PANASONIC_AIRCON2_QUIET 0x20 // Quiet setting #define PANASONIC_AIRCON2_POWERFUL 0x01 // Powerful setting
- the template in PanasonicHeatpumpIR.cpp for the MKE is
{ 0x02, 0x20, 0xE0, 0x04, 0x00, 0x00, 0x00, 0x06, 0x02, 0x20, 0xE0, 0x04, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x06, 0x60, 0x00, 0x00, 0x80, 0x00, 0x06, 0x00 },
I just altered the DKE template and removed the hswing check...
ir codes taken from here : http://www.instructables.com/id/Reverse-engineering-of-an-Air-Conditioning-control/?ALLSTEPS
If you make any updates, please reply here, in case I miss it... again...
Hello guys !
Post edited multiple time ;) sorry for that
I also agree both quiet and powerful instruction are reversed.
01: power 20: quiet 00: normal
All the best !
Hello @advfr
Coincidentally I forked this project on Friday morning and made some changes to make it work with MKE . Haven't tried it yet, but everything should work EXCEPT the inverted quiet / powerfull modes. Since these are definitions they cannot be changed on the fly, and they either need to be made into variables or insert multiple checks in the code which is bad programming. Perhaps @ToniA could take a look if I missed anything. I also tried to edit the espeasy plugin to accommodate for the changes..
Either way it's easier to just label your home automation software buttons the other way around than make more changes to the code.
My nodemcus will be shipped next week so it will take some time before I'll be able to check for errors myself.
Sorry it took so long to answer!