unreality / FujiHeatPump

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

Primary login mode transaction is incorrect #9

Open dgrnbrg opened 1 year ago

dgrnbrg commented 1 year ago

On these lines: https://github.com/unreality/FujiHeatPump/blob/master/src/FujiHeatPump.cpp#L174-L177, loginBit should be true and unknownBit should be false. See the fuji-iot installation: https://github.com/jaroslawprzybylowicz/fuji-iot/blob/master/protocol/fuji_ac_protocol_handler.cc#L78-L83

I tested this on my own A/C, and this library doesn't successfully log in as the master unless you make this change.