It turns out my second monitor is a LG 29MT45D so I can fault test with dev tools but I don’t have a remote for it! It appears that the second code you need to run after HDMI 1 is the ‘OK’ or ‘select’ button on your remote.
If you could learn the extra buttons that are not included in the 1040.json and paste them here for me, that would save me having the same problem.
Thanks
That would be expected behavior as your codes for HDMI 1 and HDMI 2 are the same…
How about sending the codes like this:
input (opens the menu)
R arrow, R arrow (to your desired input)
select (or OK)
That did the trick!
It’s working very well now.
This TV is old and only has 2 HDMI inputs and they are all I use (in the office) so the hardcoded arrow up or down will not matter seeing as I’ll always be switching from HDMI1 to HDMI2 and vice versa.
Thanks a lot @mattc222 !
Can someone inform me, can I just use the regular Broadlink device or do I first need to do a custom firmware update on the broadlink device?
I’ve bought recently the Broadlink RM mini 3 on Ali-express.
No you do not need to flash the RM Mini. Have a read of the instructions located here. SmartIR uses the native broadlink device to send codes.
I seriously don’t get it how to install.
Install instructions here
Mention to only put the ‘smartir’ directory into ‘custom_components’ directory. But where do I have to put all the other code that is listed in the root of this github? I mean the folders like
.\codes
.\hacs.json
.\tools
Where do I’ve to put all those folders inside HASSIO ?
Nowhere. Only the custom_components directory.
Just stumbled across this post, can’t believe Ive never seen it before.
Can I ask, what is the benefit of using this with my broadlink to control my TV, rather than just the broadlink components?
Thanks
You don’t need to worry about that stuff, just follow the instructions to the letter. They explain what the folders should look like and they are not referenced as being needed.
I tried this.
But now, when controlling the climate, the Broadcom RM Mini doesn’t send anything out. I checked with a camera, to see if the IR blaster sends data, but it does not send IR data. It does send IR data when using the broadcom app.
Can someone confirm, that I enter the Broadcom RM mini IP address TWICE inside the configuration.yaml? So one for the “switch” tag and one for the “climate” tag (see code below).
This is what I see in the logging of HASSIO:
File "/config/custom_components/smartir/controller.py", line 82, in send
'broadlink', 'send', service_data)
File "/usr/src/homeassistant/homeassistant/core.py", line 1209, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service broadlink/send
This is in my configuration.yaml file of hassio
smartir:
switch:
- platform: broadlink
host: 192.168.178.19
mac: 'C8:F7:42:83:3E:30'
climate:
- platform: smartir
name: Office AC
unique_id: office_ac
device_code: 1122
controller_data: 192.168.178.19
temperature_sensor: sensor.temperature_20
It seems that your broadlink switch is misconfigured. Please check if Developer tools → services → broadlink.send service exists.
** You need to configure the broadlink switch once.
Fixed it, apparently the IP address was changed by the router exactly the moment I integrated this. Now fixed IP. I see the IR working know. Awesome!
log into you router look for the DHCP there should be a option add a static ip address and it mac address
Hi all
After latest update smart ir media player are no more available.
I didn’t change nothing on setup so I don’t know what to do.
I tried to install integration using HACS but nothing changed.
Moreover I checked logs and there’s no error in it.
When the set_fan_mode service is called, which temperature setting will smartir send out? Will it pick up the existing temperature and send the appropriate IR code?
Hello,
I’m doing something wrong I don’t know what. I copied the smartir folder on hassio custom folder.
On config file I have this (no real data):
smartir:
media_player:
- platform: smartir
name: Living room TV
unique_id: living_room_tv
device_code: 1000
controller_data: 192.168.10.10
And the switchs.yalm file:
switch:
- platform: broadlink
host: 192.168.10.10
mac: '00:00:00:00:00:00'
And I get this error:
“Platform error media_player.smartir - Integration smartir not found.
Component error: smartir - Integration smartir not found.”
If I put all together, the error is that there are 2 switch: con figuration.yalm because I have switchs on a diferent file
I got this error, please help me fix it!
Component error: smartir - No module named 'custom_components.smartir.bak'
Platform error climate.smartir - No module named 'custom_components.smartir.bak'
Hi, I’m new here.
I’ve been looking for information about the swing functionality and I counldn’t find anything.
Is it possible to add another level to the codes file to control also the vertical and horizontal swing modes in my air conditioning?
Thanks
Hi, I am using the climate, turning on and off temp etc working great, I want to get the temp, humidity and power sensors to work but I can’t seem to figure out how to do this, can someone comment on how this works? Are the values coming from the RM Mini 3? I am confused how to get these values. Thanks!
No. You need to have other devices /sensors in your system to get this data