I have a unit that doesn’t seem to work with available codes. It’s a Samsung AR13MRFTGWKN. So I understand I will have to capture commands and make a new file. The question I have is how do I go from captured commands to the json file? Is there a step by step process describing it somewhere that I’ve not yet found, it seems reasonably complex as the buttons no doubt send different commands depending on the state of the ‘digital twin’.
It’s a long process, not a hard one.
Once you do the above, point the remote at the IR blaster (in my case a Broadlink RM3 mini) and press a button.
You will then get a ‘persistent notification’ in HA with the Raw IR code. Copy and paste this elsewhere with a note to which button / setting it was for.
Repeat this process for all buttons / modes etc.
Create the JSON from the copied codes.
Like I said initially, not hard, but painfully long.
Is any one having problems when configuring a new Broadlink media player?
I think I follow all the steps correctly. A new media_player entity is created but is in uknown state:
Here is my YAML code:
media_player:
- platform: smartir
name: Samsung TV Broadlink
unique_id: samsung_tv_broadlink
device_code: 1060
controller_data:
controller_type: Broadlink
remote_entity: remote.rm3_pro_remote
delay_secs: 1
num_repeats: 1
power_sensor: binary_sensor.samsungtv_broadlink_state_helper
I see no errors in the logs and if I check it in the developer tools:
I also got an AC configured with the same broadlink device and its working fine
My code:
- platform: smartir
name: TV Suite
unique_id: tv_suite
device_code: 1060
controller_data:
controller_type: Broadlink
remote_entity: remote.broadlink_suite
delay_secs: 0.5
num_repeats: 1
power_sensor: binary_sensor.tv_suite
binary_sensor.tv_suite is a ping integration
that is very strange we got same configuration. ( I also tryed to put the delay_secs same as you)
I use a rm3 pro but as I said in the climate integration it works fine.
After some more tests I think there is something wrong happening in the media player creation.
Old media players instances created with this component works fine, problem comes when trying to create new ones.
The media player seems to be created correctly, no error in the debugger the only diference besides the media_player entity created with “unknown” status the new media player has a new attribute called: media_content_type (dont know if this is the cause of the error but the difference is there)
Here is the example of a old media_player instace vs new, created with smartir:
As you can see the code is exactly the same for both devices:
OLD:
- platform: smartir
name: Decodificador Movistar
unique_id: decodificador_movistar
device_code: 9998
controller_data:
controller_type: MQTT
mqtt_topic: zigbee2mqtt/URC Moes/set
power_sensor: binary_sensor.movistar_satus_switch_local
power_sensor_delay: 50
power_sensor_restore_state: true
source_names:
HDMI: Guía
HDMI 1: Menú
HDMI 2: Atras
NEW:
- platform: smartir
name: Decodificador Movistar Dormitorio
unique_id: decodificador_movistar_dormitorio
device_code: 9998
controller_data:
controller_type: MQTT
mqtt_topic: zigbee2mqtt/URC Moes/set
power_sensor: binary_sensor.movistar_satus_switch_local
power_sensor_delay: 50
power_sensor_restore_state: true
source_names:
HDMI: Guía
HDMI 1: Menú
HDMI 2: Atras
Can someone try to create a new media_player controller to check if this is scenario is reproducible?
Regards
Hi All
I am struggling to setup the fan platform.
My specific fan has only a single button for both ON and OFF, however i noticed that all the device code only has “off”
Is there a power command i can use instead which can toggle on/off? or do i need to setup as
“ON”: “JgBgAAABKo8SExITEhITEhI2EjcRExMSEjYTNRM1EjcRExMSEzUTNRM1EzYSNhISEzUTEhMSEzUTEhMRExITNhMREzUTNRMSEwAE9wABLEgTAAv8AAEqSBMADAYAASlIEwANBQ==”,
“OFF”: “JgBgAAABKpATExISExISEhM2EzUTEhMREzUUNRM1EzUTEhMSEjYSNhI2EzUTNRMSEjYSEhMSEzUTERMSExETNRMSEzUTNRMSEgAE/QABJkgTAAwGAAElSBMADAYAASZIEgANBQ==”,
Something similar happened to me too… did this and now its working… dont know if its the best way or what is happening but you could try this :
in Homeassistant try going to “Developer Tools” >> STATES >> Set State…
there search for the Media_player entity…
the state shows as “unknown”, change it to “off” then “Set State”… then go quickly to the dashboard and turn On/ open that media player (before the X seconds of the power sensor delay)…
after that the media_player seems to be is working…
(smartir 1.18, zigbee2mqtt, zs06 controller)
WOW! this trick solve my issues with all my newest media player controllers. (Persistent after restarting)
Working for Broadlink and MQTT configurations
Thank you very much
thank you for testing it… dont know how i did it tried to reproduce the error several times and that solution worked…
Hello.
I just purchased a new Hunter Ceiling Fan with remote and a Broadlink RM4 Pro. I wanted to use SmartIR so that I could use it as an entity, but I am having trouble setting it up.
I used the broadlink integration and learned the 4 button remote codes using developer tools (Fan, Light, Up, Down).
I added the following to my configuration.yaml (but receive this message when I view it in File Editor “duplicated mapping key (98:1)”). The YAML check in developer tools allows it to still restart.
# SmartIR Configuration
smartir:
fan:
- platform: smartir
name: Master Bedroom Fan
unique_id: master_bedroom_ceiling_fan
device_code: 9000
controller_data: remote.rm4_pro_master_bedroom
I created a Fan code file “9000.json” and placed it in /custom_components/smartir/codes/fan
{
"manufacturer": "Hunter",
"supportedModels": [
"Unknown"
],
"supportedController": "Broadlink",
"commandsEncoding": "Base64",
"speed": [
"up",
"down",
],
"commands": {
"Fan": "sMDeAWibBgAMDQ0NDQwNDQwODA0NDQwNDQ0NDA0NDaYaDRkNGg0MGhoNDBoZDhkMDRoaDRgODRkNGQ0aGQ0MGxkNGQ4MGhkNDRoMGhoNDBoMGg0aDBsMGRoMDRoZDQ0aDRkaDRkNDBsZDQwaDRoZDRoNDBoMGwwZDRoNGQ0ZGg4MGQ4ZDBoaDRkNGQ4ZDRkOGQ0ZDRoNDBoaDBoNGA8MGQ0aDQADNA0ODA0MDQ0NDQ0MDQ0MDQ4MDQwNDQ0NpxkNGQ0aDQwaGgwNGRsMGQ4MGhkNGQ4MGg0ZDRoZDQwbGQ0ZDgwaGQ4MGgwaGg0MGgwaDRoMGg0aGA4NGRkNDRoMGhoNGQ0MGxkNDBsMGhkNGg0MGgwbDBkNGwwZDRoZDQwaDhkNGRoNGQ0aDRkNGQ4ZDRkNGg0MGhoMGg0ZDgwZDRoNAAM0DQ0NDQ0MDQ0NDQwNDQwODQwNDA0NDQ2nGQwaDhkNDBkaDQ0ZGg0ZDQ0aGQ0ZDgwaDBsMGhkNDRoZDRoNDBoZDgwaDBsYDgwZDhkNGQ0aDRkaDQwaGQ4MGgwaGg0ZDQwbGQ0MGwwaGQ4ZDA0aDRoMGgwaDRkNGhkNDRoMGgwaGg0ZDRoNGQ0aDRkNGQ4ZDQwbGQwZDhkODBkNGg0ABdw=",
"Light": "scDQAc6eBgDRCQ4LDwwNDA2mGwwaDRgPDBoYDg0ZGQ0aDQ0ZGg0ZDQwbD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
what can we do about these logs?
Logger: homeassistant.components.climate
Source: components/climate/__init__.py:370
integration: Climate (documentation, issues)
First occurred: 11:26:16 (9 occurrences)
Last logged: 11:26:16
Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'smartir' custom integration
Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the 'smartir' custom integration
Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) implements HVACMode(s): off, heat, cool, heat_cool, dry, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'smartir' custom integration
Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) implements HVACMode(s): off, cool, heat, dry, heat_cool and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'smartir' custom integration
Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:197
integration: Climate (documentation, issues)
First occurred: 11:26:13 (9 occurrences)
Last logged: 11:26:13
HVAC_MODE_FAN_ONLY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'smartir' custom integration
HVAC_MODE_AUTO was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'smartir' custom integration
SUPPORT_TARGET_TEMPERATURE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'smartir' custom integration
SUPPORT_FAN_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'smartir' custom integration
SUPPORT_SWING_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'smartir' custom integration
Hi all. Just purchased a couple of Broadcom RM3 minis and none of my devices seem to be supported out of the box. Is there no way of learning via the Broadcom and then converting to the JSON? Or any tools to support doing it more quickly? I saw some posts about broad link manager for learning commands and another website that seemed to suggest it would convert, but unclear to me if they do what I think they do in helping create the JSON?
Thanks
Hello Borat! Do you mean Broadlink RM3? If so you can follow this guide to setup and learn commands on broadlink devices https://www.youtube.com/watch?v=jEOyTGaKwaQ&ab_channel=EverythingSmartHome
Your mantained repo has been a lifesaver, i was having constant crashing due to deprecated async calls in smartir original repo, now its working fine! thank you!
Hi, yes i do, but it’s the conversion to SmartIR config that I was struggling with, as format seems to be different to what is captured by the learning process? I think copying an existing file and changing the codes is probably the best option but if there is a quicker way to convert the existing file, please let me know.
Thanks
So I’ve been trying to make this work and I managed to get the Off working, but I am a little confused by the smartir JSON structure and how to learn the commands and place them, based on the Broadcom JSON. I have a Samsung AC and it has heat, cool, dry and fan. When I look at the other files, they seem to have a different remote code for each termperature per mode. I’ve tried leaning by setting the temp in that mode clicking up on the remote, or setting the temp and then changing the mode on the remote. It learns something, and I can send the command via developer tools, but I cant via the climate device I created (eg if I set auto with temp 18 mapped as per the captured command, nothing happens). Can anyone give me some advice on how you went through the process of learning and mapping to the modes in the file pls? For info here is the top of my file. I used another as the basis to ensure structure is right and the Off command works fine, so something is wrong with the way I am mapping the other learned commands I think?
{
“manufacturer”: “Samsung”,
“supportedModels”: [
“Unknown”
],
“supportedController”: “Broadlink”,
“commandsEncoding”: “Base64”,
“minTemperature”: 17.0,
“maxTemperature”: 30.0,
“precision”: 1.0,
“operationModes”: [
“heat”,
“cool”,
“dry”,
“fan_only”
],
“fanModes”: [
“low”,
“med”,
“high”,
“auto”
],
“commands”: {
“off”: “JgDKAIyOFDITEBM0EzMTEBMQEzMTERIREzMTEBMQEzMTNBMQEzMTEBMzEzQTMxMzExATNBMzEzMUDxMQExESERI0FA8TEBMzFDMTMxQPExETEBIREhETEBMQExAUMhQzEzMUMhQyFKiSjRQzExAUMhQyFA8UEBMzFA4VDxQyFBATEBQyFDIUDxQzFA4VMhQyFDMUMhQPFDIUMxMzFA8UDxQPFA8UMxMQFA8UMhQzEzMUDxQPFA8TERMQEw8VDxQPFDITNBMzFDITMxMADQU=”,
“heat”: {
“low”: {
“17”: “JgDKAIyNFDMTEBMzEzMUDxQQEzMTEBMQEzMTEBQPFDMTMxMQEzMTMxQQEzMTMxMzEzMUMxMzExATMxQPFBATEBMQExATEBMQExATEBQPFDMTMxMQExATMxQyFDMTMxMQExATMxQzE6iRjhMzFBATMxMzExATEBMzFBATEBMzExATEBMzFDIUEBMzEzMTEBMzFDMTMxMzEzMUMxMQEzMTEBMQExAUDxQQExATEBMQExATEBMzEzMUEBMQEzMTMxMzFDMTEBMQEzMTMxQADQU=”,
“18”: “JgDCABMzExATEBMzExAUEBMzExATEBMzEzMUEBMzEzMTEBMzEzMUMxMzEzMTMxQQEzMTEBMQExATEBMQFA8UEBQPExATMxMzEzMUEBMQEzMTMxMzFA8UEBMQEzMTMxOpkY0UMxMQEzMTMxQQExATMxMQExATMxMQFBATMxMzExATMxQyFBATMxMzEzMUMxMzEzMTEBMzFA8UEBMQExATEBMQExATEBMQFDMTMxMzExATEBMzFDMTMxMQExATEBMzFDMTAA0F”,
“19”: “JgDKAIuOFDIUEBMzEzMTEBMQFDIUEBMQEzMTEBMQEzMUMxMQEzMTNBIQFDMTMxMzEzMUMxMzExATMxMQFA8UEBMQExATEBMQExATMxMzFDMTMxMQExATMxQzExATEBMQExATMxQyFKiRjhMzExAUMxMzExATEBMzFA8UDxQzExATEBMzEzMUEBMzEzMTEBMzFDIUMxMzEzMTMxQQEzMTEBMQExATEBMQFA8UEBMQEzMTMxMzFDMTEBMQEzMTMxQPFBATEBMQEzMTMxMADQU=”,
“20”: “JgDyABMAAk1jAAEmERAQMRAREBEQEBAREBEQEBAREDIQEQ8SDzIOExAQEDIQMRAxETEQMRAREBEQEBASDxEQEQ8SEBAQERAREBAREBAREBEQEBAREBEQEBEQEBEQEBEREBEPERAREBEPERAREBEQEBEQEBEQMRAxETEQMRFiYgABJhExEBEQERAQEBEQERAQERAQERAxEBEQERAxEBEQMg8yEBEQMRAxETEQMRExEDEQMRIwEBAREQ8REDIQMRAyEBAREBAREBAREBEQEBEQMRARETEPEg8yEBEPERAREDEQERAREBAREBAREDEQMRExEDERAA0FAAAAAAAA”,
“21”: “JgDyABQAAkxjAAEmEg8RMBIPERAQERAQERARERAPETEQERAREDEQEREQETARMBIwETARMBIQDxEREBEQEBEQEBAREBERDxIPEBERDxIPERAQEREPERAREBAREBEQERAQEBEQERAQEBEREBEPERAREBEPEg8RMBIwETAQMhFhYwABJhAyEBAREBAREQ8SDxEQEQ8SDxExEBAREBEREBAQMRAyEBEQMRAxETEQMREwEjARMBAyERAPEhAQDzMQMRAxERAQERAQEg8QERAxERAQMREQEDIQERAxEBEQERAQETEQEBEQERARDxEQETASMBAyEDESAA0FAAAAAAAA”,
“22”: “JgDyABQAAkxkAAElEg8RMBIPERAREBEPEg8REBEPEjAREBEQDjMQERAREDERMBIwETARMBIPERAREBEQEBEQEBAREBEQERAQERAREBEPERAREBEPEg8REBEPEg8REBEQERAQERAQEBEQERAQERAREBEPEg8RMBIwETARMRBiYgABJxExEBAQERAREBAREBEQERARDxExEQ8REBEQEQ8SMRAxEBEQMRAxEDIRMBEwEjARMBEwEg8RERAQETEQMRAxERAREBEQEQ8REBEQETARMBIPETASEBAxEBEQERAQEDIRDxIPERARDxIPETASMBEwETERAA0FAAAAAAAA”,
“23”: “JgDyABMAAk5iAAEmEREPMhARDxEQERAREBAREBAREDEQERAREDEQERAQETEQMhAxEDERMREQEBAREBAREBAREBAREQ8REBAREBEQEQ8SEBAQERAREBAREBEQEBAREBAREBAREBAREBEQEBEQEBIPERAREBEPMhAxEDIRMBBjYQABJxEwERAQERAQEREPEg8REBEQEQ8yEBEQEBExEDEQERAxEBEQMRAzDzIPMhAxEDIQMRAyEBAREBARETAQMRExEBEQEQ8SEBAQERAxETEQMREQEDEQERAxEBEQERAREDEQERAREBEPERAREDERMRAxEDERAA0FAAAAAAAA”,
“24”: “JgDyABMAAk5iAAEnEBAQMhAQEBEQERAQERAQERAREDEQERAQETEQEBERDzIQMg8yEDERMRAQERAQERAQERAQERAQERAQEg8REBEPEhAQDxIQERAQERAQERAREBAQERAREBAREBAREBAREBASDxEQERARDxEQMhAxETARMRBiYgABJxEwEBEQEBERDxIPERAREBEQEBAyEBAREBAxERAQMRExEBEQMRAxETIPMhAxEDIQMRAxERAREBAQETEQMRAyEBEPEhAQEBEQERAQERAQERAxEDEREBAyEBAREBASDzIPEg8REBEQERAQEDIQMRAxETEQAA0FAAAAAAAA”,
“25”: “JgDyABMAAk1iAAEnEBEQMRAREBEQEBEQERAQEBIPEDESDxARETAQERARETEPMhAxETERMBAREBAREBAREBERDxEQEBIPERARDhIQERAREBEQEBEQERAQEBEQEBERDxEQEBEQEBEQEBIPERARDhMPERAREBEQMREwEjARMBBjYgABJhEwEREPEhAQERAOExAQEBEQERAxERAREBEPERAQMRExEBARMRAyEDEQMhAxETASMBEwERAQEBIPETASMQ8yEBEQEBAREBEQERAxERARDxExETAREBEwEBEQEREQDzIQERAREBAREBEQEDERMBIwETARAA0FAAAAAAAA”,
“26”: “JgDyABUAAkxiAAEnEQ8RMRAQERAQERAQERAQERASDzIPERARDzIQERAREDEQMhAxEDERMREPEREPEg8REBEQEQ8REBEQERAQERAQERAQERAQERAQERAQEREQEBAQEg8REBEQERAQEBEQERAREBAQERAREQ8RMRAxEDERMRFhYwABJhAyEBEQEBAREBEQEBEQEBEQEBExEBAREBEQEBEQMg8yEBEPMhAxETEQMRAxETEQMRExEBEQEQ8SDzIQMRAyEQ8REBAREBAREBEQEDEQERAxEDIREA8yEBEQERAQETEQERAQEBEQERAQETEQMRAxETIQAA0FAAAAAAAA”,
“27”: “JgDyABQAAkxiAAEmEg8RMRAQEREQEBEQDhMQEQ8REDIRDxEQEDESDxEQEDEQMRIwETARMRAREBEQEBEQEBERDxEQERAREBEPERAQEREPERAREQ8REBEPEg8REBEQERAQERAREBAQERAREBAQEg8REBEPEg8QMhAyEDEQMRJgZAABJRIwEQ8SDxEQEQ8SDxEQERARDxExEBEQERAxEDEREBExEQ8RMREwETASMBEwETERMRAxEBEQEBIPEDESMBEwERAREBEPERARERAxDzIQERAxEDIRDxIwEQ8SDxARETAREBEPEhAQEBEQETEQMRAxEjARAA0FAAAAAAAA”,
“28”: “JgDyABQAAk1iAAEmERARMBEQERAREBARDhIQERAREDEREBEPETERDxIPETASMBEwETERMRAQEBEQERAQEg8REBAREQ8QERAREBAREBAREBAREQ8REBEQERARDxEQERAREBAREBEQEQ8REBEQEQ8SDxARERARMRAxEDEQMhFhYwABJhEwERAQERAQEBEREBEPERAQERAyDxIPERAREBEPMhAxERAQMRExEDEQMRIwETAQMhAyEBAQERAREDEQMRExEBEQEBEQEBEQERARDxIPMhAxEDIQEBExEBAREBAREDEQERAQERAQEg8REDIQMRAxETEQAA0FAAAAAAAA”,
“29”: “JgDyABQAAk1iAAEnEBEPMhAREBEQEBEQERARDxEQETAREBARETAREBEQETEQMRAxEDIQMREQEQ8SDxEQEQ8SDxEQERAREBAREBAREBAREBEPERAREBERDxEQERARDxEQERAQEBEQEBERDxIQEBEPERAREBEQMRAxEjAQMRFiYgABJhEwEg8REBEQERAPEg8REBEQERAxEBEREBEwEDEREBEwERARMBEyEDEQMRAyEDERMBIwEQ8REBEQETARMREwEBEQERAREBAQERAyEQ8RMREwEDESDxEwEg8REQ8RETEOEhAREBEQEBEQETASMBEwETARAA0FAAAAAAAA”,
“30”: “JgDyABQAAk1jAAElERAQMREQEBIPERARDxIQEBAREDEREBAREDEQERAQETEQMRAyEDEQMhAREBAQERAREBERDxEQERAQEBEQEBEQEBEQEBERDxERDxIPERAREBEQEBAREBERDxEQEBEQEBEQEBEQERAQERAQMRExEDIQMRBiYwABJhEwERAQERAREBAREBAREBAREBAxEREPEg8yEDEQERAxERAQMRExEDEQMRExEDIQMQ8zEBAREBAREDEQMhAxEBEQEBEQEBEQERAQEDIQMg8yEDEREBAxERAQERAQETEQERAQEBIPEg8RDzIQMhAxEDIQAA0FAAAAAAAA”
},
How can I set a target temperature? I want to keep the temperature between 20-22°C. I want the AC unit to turn off when the temperature exceeds 22°C and turn on when it drops below 20°C.
That’s done by the thermostat entity that you create.