Hi @crankyoldgit,
It's been a while since we worked on AKB74955603 and AKB73757604, rock solid with IRMQTTServer and Home Assistant.
I have a bedroom where along with HA, I started using the original remote (you know, wife). The IR device properly decodes the IR code sent by the remote and things such as modes, on/off, temp, etc, are all OK. But when I press Light Toggle, it shows as "off" on Home Assistant (although it's still on).
This is the output from IRrecvDumpV2 (it's OK):
Protocol : LG2
Code : 0x88C00A6 (28 Bits)
Mesg Desc.: Model: 3 (AKB74955603), Light Toggle: On
uint16_t rawData[59] = {3424, 9810, 588, 1494, 588, 492, 538, 502, 538, 494, 538, 1524, 544, 502, 538, 494, 538, 496, 536, 1538, 540, 1526, 540, 474, 564, 494, 538, 494, 538, 496, 538, 494, 538, 504, 538, 476, 564, 494, 538, 496, 538, 484, 564, 1516, 566, 474, 564, 1534, 542, 494, 538, 496, 538, 1518, 566, 1532, 564, 476, 564}; // LG2 88C00A6
uint32_t address = 0x88;
uint32_t command = 0xC00A;
uint64_t data = 0x88C00A6;
But these are the MQTT messages sent (latest first):
1-) When I turn the A/C on:
Message 11 received on ir_server/ac/stat/fanspeed at 4:20 PM:
Min
QoS: 0 - Retain: false
Message 10 received on ir_server/ac/stat/temp at 4:20 PM:
18
QoS: 0 - Retain: false
Message 9 received on ir_server/ac/stat/mode at 4:20 PM:
fan_only
QoS: 0 - Retain: false
Message 8 received on ir_server/ac/stat/power at 4:20 PM:
on
QoS: 0 - Retain: false
2-) When I press the Light button:
Message 16 received on ir_server/ac/stat/light at 4:20 PM:
off
QoS: 0 - Retain: false
Message 15 received on ir_server/ac/stat/fanspeed at 4:20 PM:
High
QoS: 0 - Retain: false
Message 14 received on ir_server/ac/stat/temp at 4:20 PM:
15
QoS: 0 - Retain: false
Message 13 received on ir_server/ac/stat/mode at 4:20 PM:
off
QoS: 0 - Retain: false
Message 12 received on ir_server/ac/stat/power at 4:20 PM:
off
QoS: 0 - Retain: false
Please, is it possible to adjust the code to not update the power mode when the Light Toggle is pressed?
Not sure if you'd need this too, but following you'll find my HA configuration (as stated on IRMQTTServer's guide):
climate:
- platform: mqtt
name: AC MQTT
modes:
- "off"
- "cool"
- "heat"
- "fan_only"
fan_modes:
- "Auto"
- "Min"
- "Low"
- "Medium"
- "High"
- "Max"
swing_modes:
- "Off"
- "Auto"
- "Highest"
- "High"
- "Middle"
- "Low"
- "Lowest"
#power_command_topic: "ir_server/ac/cmnd/power"
mode_command_topic: "ir_server/ac/cmnd/mode"
mode_state_topic: "ir_server/ac/stat/mode"
temperature_command_topic: "ir_server/ac/cmnd/temp"
temperature_state_topic: "ir_server/ac/stat/temp"
current_temperature_topic: "tele/tasmota_94A3B6/SENSOR"
current_temperature_template: "{{ value_json['DHT11'].Temperature }}"
fan_mode_command_topic: "ir_server/ac/cmnd/fanspeed"
fan_mode_state_topic: "ir_server/ac/stat/fanspeed"
swing_mode_command_topic: "ir_server/ac/cmnd/swingv"
swing_mode_state_topic: "ir_server/ac/stat/swingv"
min_temp: 18
max_temp: 30
temp_step: 1
retain: false
Thank you
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4