Video není dostupné.
Omlouváme se.
Smart IR remote control
Vložit
- čas přidán 1. 12. 2021
- @home_assistant #esphome #ir_remote
Learn how to build a smart IR remote control with ESP developmentboards integrated with Home Assistant.
BUY ME A COFFEE:
www.buymeacoff...
0:10 Introduction
1:00 IR Receiver
1:45 Receive General IR Signals
4:09 Transmit General IR Signals
5:20 IR Transmitter
8:40 Receiving defined IR Signals
11:14 Transmit Specific IR Signals
Remote Receiver:
t.ly/Fvrn
Setting up Infrared Devices:
t.ly/2b8R
Remote Transmitter:
t.ly/3w43
Infrared Receiving + Infrared Transmitting 38kHz:
t.ly/wt7u
#esp32 #esp8266 #smart_ir_remote_control #iot #bms #smart_remote #smart_home #home_automation #integration #wifi #zigbee #tuya #zwave #ir_transmitter #ir_receiver #fibaro #philio #heltun #ezlo #mcohome #comfort #peace #energy_saving #automation
can you receive a signal from an ir controller button to activate a light switch for example with this setup? I didnt understand it well.. I need to use an old ir remote to control wifi devices through home assistant.
ok i found something.. i added a binary sensor to do that so.. its just need some improvements i think
great. please share your code with us.
Yes ok i receive this data and i see them in logs from my samnsung ir remote.. but how i can use these received data in logs to control something connected to home assistant?
You did it yourself, please elaborate what you wanted to do and how you did it, please.
@@kian.smarthome I wanted to bind some of ir remote keys to trigger some devices in home assistant.. So i used this code:
binary_sensor:
- platform: remote_receiver
name: "PC Shutdown"
samsung:
data: 0xE0E040BF
nbits: 32
- platform: remote_receiver
name: "light"
samsung:
data: 0xE0E020DF
nbits: 32
under remote_receiver: i put this code while for data i use the logs to capture the data signal code and put it back to the code above
@@kian.smarthome
remote_receiver:
pin:
number: 32
inverted: True
dump: samsung
binary_sensor:
- platform: remote_receiver
name: "power on button"
samsung:
data: 0xE0E040BF
nbits: 32
- platform: remote_receiver
name: "source button"
samsung:
data: 0xE0E020DF
nbits: 32
- platform: remote_receiver
name: "volume + button "
samsung:
data: 0xE0E0A05F
nbits: 32
here is the code.. i captured data of button presses in logs
for each button you want to add you follow the same process..
@@kian.smarthome as project i wanted to press a button on ir remote contoller to control some devices binded to home assistant so if i want to turn on a light by using ir controller i can do it from now on
grate
Very nice video! I tried same but I got one issue: with a Mitsubishi aircon remocon I am not receiving in the log alternate positive and negative signals but only positive integer in HEX format:
[15:19:54][D][remote.pronto:229]: Received Pronto: data=0000 006D 008A 0000 007B 003F 0010 002E 000F 002F 0011 000F ....
Any idea how to solve the situation?
Have you tried to push this as Pronto data nonetheless?
Hi, could you tell me how to make ESPHome send three numbers (channels) to the TV?
I've been looking for days on this and haven't found anything.
Thanks.
Hi, by learning the related IR signal you can do it
Hi, this video is exactly what I was looking for!
One queston - the transmitter and receiver that you use are rated for 3,3V or 5V? I have trouble finding any 3,3V modules. Would 5V modules work? Or the on-board resistors would be too resistive for it to work?
Hi, in the video I have mentioned it. connect VCC pin to 3.3V
@@kian.smarthome FInally, my parts came in. Works like a charm! I've created an automation to turn my TV on or off when my MiBox turns on or off, so now I can hide that TV remote somewhere out of sight!
Note to others who would want to create a similiar automation - you need to trigger on state changes, from "on" to "off", "off" to "on" and "unavailable" to "on".
That last one gave me a headache before I figured it out.
Is it possible to receive the IR command into mqtt to trigger scripts in home assistant?
Wowww. That 's a good question. I will work on it.
@@kian.smarthome :) let me know if you are able to do it.
@@johnreese7986 Sure. But if you are in rush it's good to say that it may be done by using log or events. Below video can help you:
czcams.com/video/aIIvfVRIIH0/video.html
@@kian.smarthome I'll check it out, thanks. I am still waiting for my IR receiver to arrive though so I got time.
@@johnreese7986 did you manage to run automations/scripts based on the IR signals received? Really keen to do this!
Hello Alireza, I keep falling on your videos! So if I want to send IR signals to a device which brand is not in the ESPHome list page for Remote Transmitter, I must use Raw data? So I first need to copy each raw code for each button using an ESPHome Remote Receiver, then create code to send data after naming each command. I guess I understand the drill, it's interesting but will require a lot of time. Using a Broadlink RM4 Mini is helping to save a lot of time but it's not the same kind of DIY project and you would need to 3D print a case if you want to end up with a decent RX/TX IR device that can sit in your home without looking odd. I love your videos, thanks for posting so interesting content!
Hi, I am glad your are interested in my videos. Yes, You are right.
I will find a better way.
What exactly is the name of the devkit you used, so that I can't get something wrong?
You can use any ESP32 devkit but mine is exactly Nodemcu-32 V1.2
Nice video. im really in need for a locally controlled solution like this, instead of the tuya ir i have as it has very bad latency. So does this has noticeable latency? and if i for example click the volume button many times quickly in home assistant, will the clicks be transmitted as i click them. How reliable is this in general. And can i use esp8266?
Hi, there is no latency in this way but you must be assured there is no issue with you Home Assistant.
Yes, you can use ESP8266
@kian.smarthome Thanks a lot.
Can you do this also for LG AC remote unit?
That is a YES.
This video is for you:
czcams.com/video/hU3o9eRRjLI/video.htmlsi=3qh4MS6z9XuLgroU
Hi, thank you first for the video. 🙏🏻
I want to add some feature to my climate. When I clic the button on the remote control, the led on the receiver is blinking, but in the logs, no code is written. Do you have an idea, what’s the problem?
To test, I have set dump to „all“.
Thank you, regards Daniel
Paste your code here to check them.
@@kian.smarthome thank you for your answer. Now it works. I had an error in the code.👋🏻
@@Danixx1989 🤩🤩
the kit's IR transmitter has a range of just 2 meters. How can I bring the range to at least 4 or 5 meters? Thanks
with use of IR blasters you can experience more distance.
Great video but I've never played with these items. Before being able to interface them via USB to a Raspberry on which the Home Assistant is present, how should the board be prepared on the breadboard? Should any firmware be installed on the card?
Thanks.
This video answers your question:
czcams.com/video/wl2PEqnkIqw/video.htmlsi=E5YhcM5I0J5_2n4F
@@kian.smarthome GREAT!!!!! I'm following from Italy. I need to know what all the components you used... What I would like to make is a small box for the house assistant to use to turn off my guests' air conditioning when they leave the room, so I purchased: a Shelly 1PM which has to check if the air conditioning is on and a human presence sensor which sends HA the information that the guests have left the room but I have not found any device so small and cheap that I can be sure that it is can be integrated into HA. I have a little familiarity with electronics to be able to do what you explained well on a breadboard but then I will have to assemble everything in a small junction box. Thanks for any advice
@@enricolazzerini9993 If you watch video carefully, in it all components are described.
@@enricolazzerini9993 Also below video helps you:
czcams.com/video/hU3o9eRRjLI/video.html
@@kian.smarthome Hi, thank you for all the videos. My need was to turn off some air conditioners but first I needed to know if they had been turned on. This information is given to HA by a 1PM shelly as soon as it detects consumption above 100W. Subsequently, using a microwave presence sensor I can know whether the room is occupied or not. Finally, an ESP32 can then turn off the air conditioner via an IR command. At this stage it is sufficient to discover and memorize only the shutdown code that I hope to obtain from the original remote control as you explained it in this video of yours. I ordered an ESP32 ESP-32S and a 38 kHz IR infrared tx+rx kit. It would be nice to even be able to set and control the temperature remotely but I haven't found any specifications for HISENSE air conditioners
Very nice video, I am happy to see thart the ESP32 can now send IR codes! Do you know of a way to show a page in Lovelace with labelled buttons? I am looking to take just specific buttons from 3 remotes, and make a single page in Home Assistant.
you should add buttons, pay attention to video more, you will find out
nice video. I wonder how we can sync state of IR device to home assistant whenever someone use the physical remote, any idea?
Thank you. it is not possible as IR remotes only send signals. If your device can connect to network, there would be a chance of get what you want
The only way would be if there was something that reported it state or had some other feedback you could pick up on.
For example I am looking at lighting controllers from lutron so when a scene is activated it will feed in to an opto isolator board that will pick up on the mains voltage going to the lighting circuit in question. A bit of a faff but it’s easier than trying to get home assistant to connect to the telnet and read the state from there.
thanx contenu pls
😍😍😍😍
Nice video did you ever do an RF 433 controller
Thanks for the answer
Thanks a lot. I will make a video about it soon.
In my case long press the remote button to turn off the one plus tv so i cant receive ir codes to turn off the tv. what should i do?
have you tried another ir remote to test if you can get the code?
@@kian.smarthome no i have only one tv remote but on operation ir signal is received and perfectly works without any error
@@kian.smarthome any other option to receive ir signal to turn off the one plus model tv
@@kian.smarthome but im tried ac remote its working and only TV turn off ir code not received .what should i do?
@@gokulajith2537 I am a bit confused. Do you receive the IR code by ESP32? Do have the code but you have problem with sending it? right?
Why not just integrate SmartIR into this
May I know what you mean by Smart IR?
where can i find the code please?
pay more attention to the video
where can i find the code please? can you put on github?
In description.
For the github question sorry, I can't do that.