Hi everybody!
It doesn’t work for me either with the SmartIR integration and UFO-R11.
My current setup:
Home Assistant OS 2025.7.1
Zigbee2MQTT 2.5.1 (Sonoff Dongle P)
IR device: MOES UFO-R11
SmartIR 1.18.1
If i learn codes and use this script all work good!
service: mqtt.publish
data:
qos: "0"
retain: false
topic: zigbee2mqtt/office-ac/set
payload: >-
{"ir_code_to_send":
"B1wjkRGSAhwCgAMBgwbgAQPAE8AHwBvAD+AzB0BLQD8TgwYcAhwCkgIcApICgwaSAhwCkgI="}
But when I try to configure it with SmartIR I don’t know what the correct configuration is for the UFO-R11’s configuration.yaml file.
According to SmartIR documentation (Climate), it’s this but not work:
smartir:
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 10000 #My device Fujitsu
controller_data: home-assistant/office-ac/command
temperature_sensor: sensor.temperature
humidity_sensor: sensor.humidity
power_sensor: binary_sensor.ac_power
power_sensor_restore_state: true
or this one that you have written here and that gives me a validation error:
climate:
- platform: smartir
name: Bedroom Room AC
unique_id: office-ac
device_code: 10000 #My device Fujitsu
controller_data:
controller_type: MQTT
mqtt_topic: zigbee2mqtt/office-ac/set/ir_code_to_send
power_sensor: binary_sensor.0x00158d000ae4f462_contact
power_sensor_restore_state: true
Neither of them work.
The *.json file with my codes is on the following route: config/custom_components/smartir/codes/climate/10000.json
{
"manufacturer": "Fujitsu",
"supportedModels": [
"FTV20AXV14"
],
"supportedController": "MQTT",
"commandsEncoding": "Raw",
"minTemperature": 18.0,
"maxTemperature": 30.0,
"precision": 1.0,
"operationModes": [
"cool"
],
"fanModes": [
"auto",
"quiet",
"low",
"medium",
"high",
"turbo"
],
"commands": {
"off": {"ir_code_to_send": "B0YN7gW0AYABgAMDsgS0AUALwAdAC0ADQA9AAwCAYAFABwG0AUAPQANAC+ANA0AB4A0b4BU34AcfQAHgBxMBtAHgAwPAT0AH4AgDAgS0AQ=="},
"swing": {"ir_code_to_send": "AYAmgAEN2BEWCigBzAH9AAcEKAFAA8ALQAcDDgL9AEAHQAPAG8ALgA8DKAHMAUATQAdAA0ALAf0AwDfgAyNAE0ADQB+AAwcoAQ4CKAHMAcAPAf0AwA+ANwf9AA4C/QDMAeAFIwPMAf0AwB9AC4AjAf0AQBNAAwPMASgBwAcDzAH9AEADgA/gAQcDDgIoAUATCwcEKAEHBCgBHVDYEQ=="},
"cool": {
"auto": {
"18": {"i
The last question, Can I paste the code that works with the script into the *.json file or should I convert it first?
Thanks everyone and I hope someone can help me.