SmartIR icon indicating copy to clipboard operation
SmartIR copied to clipboard

Daikin split behaving erratically + Daikin Codes Generation

Open unlucio opened this issue 3 years ago • 1 comments

https://github.com/smartHomeHub/SmartIR/blob/master/codes/climate/1101.json

Home Assistant version Home Assistant Core 2022.6.6 Home Assistant Supervisor 2022.05.3

SmartIR version 1.17.6

SmartIR configuration


- platform: smartir
  name: Livingroom
  unique_id: livingroom
  device_code: 1101
  controller_data: remote.livingroom_ir_remote
  temperature_sensor: sensor.heater_current_temperature

- platform: smartir
  name: Bedroom
  unique_id: bedroom
  device_code: 1101
  controller_data: remote.bedroom_ir_remote
  temperature_sensor: sensor.bedroom_temp
  humidity_sensor: sensor.bedroom_humidity


Describe the bug I'm using SmartIR to control a set of 2 Daikin units throught "Broadlink RM mini 3" controllers: Daikin split model: FTXM35M2V1B Daikin heat pump model: 3MXM68M2V1B

in order to find possible best match I started looking for my splt model in the definition files:

➜  SmartIR git:(master) find . -exec grep -l "FTXM35M2V1B" {} \; 2> /dev/null
➜  SmartIR git:(master) find . -exec grep -l "FTXM35M2V1" {} \; 2> /dev/null
➜  SmartIR git:(master) find . -exec grep -l "FTXM35M2V" {} \; 2> /dev/null
➜  SmartIR git:(master) find . -exec grep -l "FTXM35M2" {} \; 2> /dev/null
➜  SmartIR git:(master) find . -exec grep -l "FTXM35M" {} \; 2> /dev/null
./docs/CLIMATE.md

Finding climate.md suggesting me to use code 1101, which I dully did.

Now while the units seem to generally work (they turn on and off on command, correctly throttle their fan), they seem to have some glitches in the "cooling my house" department:

  • the splits seems to stop at abut 1degree from their target: 28º in the room, set the target temp to 24º and the split stops around 25º
  • the split works for a while and than it suddenly stops its fan even if it's nowhere near the target temp: 28º in the room, set the target temp to 24º and the fan stops around 26º

both scenario do not happen when using the included remote.

I've been tinkering with automations for these devices for some years now: before finding SmartIR (thank you for the awesome idea. I'd love to give a hand but significant white spaces crash my dyslexic brain) I just captured the IR from the controller for "18º max fan" and "stop" and have Node-RED take care of the whole temperature target thing. I also stumbled upon `https://github.com/blafois/Daikin-IR-Reverse and started to implement the protocol in a simple Node-RED function:

const header = {
    normal: ['11', 'da', '27', '00', 'c5', '00', '00', 'd7'],
    confort: ['11', 'da', '27', '00', 'c5', '00', '10', 'e7']
}
const frame2 = ['11', 'da', '27', '00', '42', '00', '00', '54' ];



const data = Buffer.from([0x20, 0x0, 0xB, 0x0, 0x0, 0x0, 0x0, 0x0]);
msg.data = data;
msg.data64 = data.toString('base64');

return msg;

tho summer ended before I could actually finish to implement it and ADHD said "alas, ohhhh loookkkk, red leafs" and my brain forgot about the AC until it was hot again 😆

Anyway, while experimenting with the Daikin protocol I noticed the splits are VERY temperamental with what they receive. For instance I had to pull the power for 5 to 10 mins form the whole system (splits and heat pump) for 5 to 10 minutes after a handful of tests because the split would just go nuts and do nothing any more, just stand there with the flap open, like a tongue sticking out, and no sign of any reaction to anything.

So, in light of my past experience, I now wonder if the weird behaviours I'm experiencing are due to the IR commands been sent to be generally fine for my splits, but not quite perfect enough. For instance the only thing matching my model number is: https://github.com/smartHomeHub/SmartIR/blob/master/codes/climate/1101.json#L16 -> "FTXM35UVMA" which matches up to FTXM35 then mine is a M instead of an A. I'm not sure how these model numbers work, but perhaps that A is enough to cause troubles. I then realised some incredible hero with immense patience actually recorded every possible command combination in order to produce the code files, which I'd love to try to do for my specific model but the question is:

How did the hero do it? I mean it's north of 400 combinations, 800+ pushes of buttons on the remote. I know my brain would go berserker pretty quickly If I tried something like that.

How did those who did automate this process?

unlucio avatar Jun 19 '22 16:06 unlucio

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 10:08 stale[bot]