unreality / FujiHeatPump

Control Fujitsu AirConditioners with your Arduino board
MIT License
65 stars 12 forks source link

Single and group zone control #14

Open j-marz opened 1 year ago

j-marz commented 1 year ago

Firstly, thanks for this library @unreality , just set it up today and it's working great! :muscle:

I have the AR-WDD1E wall controller which has zone control (single and group) support, which I'd like to be able to control via ESP32.

The group feature allows grouping multiple zones and/or temperature sensors. For example, I have 2 zones (upstairs and downstairs) and have created 2 groups so the temperature sensor in the wall controller is linked to downstairs zone and the temperature sensor in the return duct is linked to upstairs zone.

Here's the bytes from debug mode for each zone and group setting:

I've not yet figured out how to add zone control into your library and was hoping you could help or provide some guidance? :pray:

One thing to note, whenever changing zone or group settings the following error is logged: AC ERROR RECV: 20 A1 50 2 90 9 0 41 mSrc: 32 mDst: 33 mType: 1 write: 0 login: 1 unknown: 1 onOff: 0 temp: 16, mode: 1 cP:0 uM:0 cTemp:0 acError:0

I assume this is because the library isn't aware of zone related settings?

unreality commented 1 year ago

I assume this is because the library isn't aware of zone related settings?

I havent looked at this library for a while, but to find out the group/zone commands you may want to change the debug output to print out the individual bytes in binary so you can see what bits are flipped more easily.

You may want to investigate readBuf[2] in decodeFrame() since there are a number of bits that are unknown. There may be a different 'message type' for group commands etc, and the bitmask used might need to be expanded to capture that etc

Unfortunately I dont have any group or zone capable units (or at least they are not set up for that at the moment) - so im unable to look at this directly :/

LukeScerri commented 11 months ago

Hi j-marz,

I'm a fellow Aussie, with the same remote as you, looking to control my zone based fujitsu AC. Did you have any luck? I've built the ESPhome project as per https://community.home-assistant.io/t/fujitsu-ac-heat-pump-integration-via-esphome-esp32/407610 but I get an error I think its because, like you, im running it through a zone controller. my wall controller: AR-WDD1E Outdoor unit: ARTG36LHTA zone controller: UTY-CDPXZC (I think)

Verpz commented 2 months ago

@LukeScerri @j-marz Did either of you ever figure out zone control? I'm also in the same situation.

LukeScerri commented 2 months ago

@LukeScerri @j-marz Did either of you ever figure out zone control? I'm also in the same situation.

Sorry mate no. I'm not sure how to sniff, read or decode the protocol in order to add those features to the library.

I'm happy to contribute to the project, but I need some guidance on how to start the process.

j-marz commented 2 months ago

Change of priorities on my side and didn't go any deeper into reverse engineering the zone control. Hopefully in a few months i'll try to pick up this project again :pray:

Verpz commented 2 months ago

Thanks both! Appreciate it