Video není dostupné.
Omlouváme se.

Smart IR remote control

Sdílet
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

Komentáře • 72

  • @Kanakopoustas
    @Kanakopoustas Před 17 dny

    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.

  • @Kanakopoustas
    @Kanakopoustas Před 17 dny +1

    ok i found something.. i added a binary sensor to do that so.. its just need some improvements i think

  • @Kanakopoustas
    @Kanakopoustas Před 17 dny +1

    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?

    • @kian.smarthome
      @kian.smarthome  Před 15 dny

      You did it yourself, please elaborate what you wanted to do and how you did it, please.

    • @Kanakopoustas
      @Kanakopoustas Před 15 dny

      @@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

    • @Kanakopoustas
      @Kanakopoustas Před 12 dny

      @@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..

    • @Kanakopoustas
      @Kanakopoustas Před 12 dny

      @@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

  • @kherhitesh
    @kherhitesh Před rokem +1

    grate

  • @matteomaravita4060
    @matteomaravita4060 Před 2 lety +2

    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?

    • @skylinrg
      @skylinrg Před rokem

      Have you tried to push this as Pronto data nonetheless?

  • @Cinemaaereo
    @Cinemaaereo Před 2 lety +1

    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.

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      Hi, by learning the related IR signal you can do it

  • @paweek5540
    @paweek5540 Před rokem +1

    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?

    • @kian.smarthome
      @kian.smarthome  Před rokem +1

      Hi, in the video I have mentioned it. connect VCC pin to 3.3V

    • @paweek5540
      @paweek5540 Před rokem

      @@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.

  • @johnreese7986
    @johnreese7986 Před rokem +2

    Is it possible to receive the IR command into mqtt to trigger scripts in home assistant?

    • @kian.smarthome
      @kian.smarthome  Před rokem

      Wowww. That 's a good question. I will work on it.

    • @johnreese7986
      @johnreese7986 Před rokem

      @@kian.smarthome :) let me know if you are able to do it.

    • @kian.smarthome
      @kian.smarthome  Před rokem

      @@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

    • @johnreese7986
      @johnreese7986 Před rokem +1

      @@kian.smarthome I'll check it out, thanks. I am still waiting for my IR receiver to arrive though so I got time.

    • @jamesbuhagiar3220
      @jamesbuhagiar3220 Před rokem

      @@johnreese7986 did you manage to run automations/scripts based on the IR signals received? Really keen to do this!

  • @DonParlor
    @DonParlor Před rokem +1

    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!

    • @kian.smarthome
      @kian.smarthome  Před rokem +1

      Hi, I am glad your are interested in my videos. Yes, You are right.
      I will find a better way.

  • @enricolazzerini9993
    @enricolazzerini9993 Před 7 měsíci

    What exactly is the name of the devkit you used, so that I can't get something wrong?

    • @kian.smarthome
      @kian.smarthome  Před 7 měsíci

      You can use any ESP32 devkit but mine is exactly Nodemcu-32 V1.2

  • @iMxXxMi
    @iMxXxMi Před rokem +1

    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?

    • @kian.smarthome
      @kian.smarthome  Před rokem +1

      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

    • @iMxXxMi
      @iMxXxMi Před rokem +1

      @kian.smarthome Thanks a lot.

  • @SuperKnightwind
    @SuperKnightwind Před 8 měsíci +1

    Can you do this also for LG AC remote unit?

    • @kian.smarthome
      @kian.smarthome  Před 8 měsíci

      That is a YES.

    • @kian.smarthome
      @kian.smarthome  Před 8 měsíci

      This video is for you:
      czcams.com/video/hU3o9eRRjLI/video.htmlsi=3qh4MS6z9XuLgroU

  • @Danixx1989
    @Danixx1989 Před rokem

    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

    • @kian.smarthome
      @kian.smarthome  Před rokem

      Paste your code here to check them.

    • @Danixx1989
      @Danixx1989 Před rokem +1

      @@kian.smarthome thank you for your answer. Now it works. I had an error in the code.👋🏻

    • @kian.smarthome
      @kian.smarthome  Před rokem

      @@Danixx1989 🤩🤩

  • @enricolazzerini9993
    @enricolazzerini9993 Před 7 měsíci

    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

    • @kian.smarthome
      @kian.smarthome  Před 3 měsíci

      with use of IR blasters you can experience more distance.

  • @enricolazzerini9993
    @enricolazzerini9993 Před 8 měsíci

    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?

    • @kian.smarthome
      @kian.smarthome  Před 8 měsíci +1

      Thanks.
      This video answers your question:
      czcams.com/video/wl2PEqnkIqw/video.htmlsi=E5YhcM5I0J5_2n4F

    • @enricolazzerini9993
      @enricolazzerini9993 Před 8 měsíci

      @@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

    • @kian.smarthome
      @kian.smarthome  Před 8 měsíci

      @@enricolazzerini9993 If you watch video carefully, in it all components are described.

    • @kian.smarthome
      @kian.smarthome  Před 8 měsíci

      @@enricolazzerini9993 Also below video helps you:
      czcams.com/video/hU3o9eRRjLI/video.html

    • @enricolazzerini9993
      @enricolazzerini9993 Před 8 měsíci

      @@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

  • @bobdurk5180
    @bobdurk5180 Před 2 lety

    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.

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      you should add buttons, pay attention to video more, you will find out

  • @fdkgenie7
    @fdkgenie7 Před 2 lety

    nice video. I wonder how we can sync state of IR device to home assistant whenever someone use the physical remote, any idea?

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      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

    • @davideyres955
      @davideyres955 Před rokem

      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.

  • @muslimkafa
    @muslimkafa Před 2 lety +1

    thanx contenu pls

  • @pocat00
    @pocat00 Před 2 lety

    Nice video did you ever do an RF 433 controller

    • @pocat00
      @pocat00 Před 2 lety

      Thanks for the answer

    • @kian.smarthome
      @kian.smarthome  Před 2 lety

      Thanks a lot. I will make a video about it soon.

  • @gokulajith2537
    @gokulajith2537 Před rokem

    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?

    • @kian.smarthome
      @kian.smarthome  Před rokem +1

      have you tried another ir remote to test if you can get the code?

    • @gokulajith2537
      @gokulajith2537 Před rokem

      @@kian.smarthome no i have only one tv remote but on operation ir signal is received and perfectly works without any error

    • @gokulajith2537
      @gokulajith2537 Před rokem

      @@kian.smarthome any other option to receive ir signal to turn off the one plus model tv

    • @gokulajith2537
      @gokulajith2537 Před rokem

      @@kian.smarthome but im tried ac remote its working and only TV turn off ir code not received .what should i do?

    • @kian.smarthome
      @kian.smarthome  Před rokem

      @@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?

  • @meetadityanihlani
    @meetadityanihlani Před rokem +1

    Why not just integrate SmartIR into this

  • @JNET_Reloaded
    @JNET_Reloaded Před rokem +1

    where can i find the code please?

  • @JNET_Reloaded
    @JNET_Reloaded Před rokem

    where can i find the code please? can you put on github?

    • @kian.smarthome
      @kian.smarthome  Před měsícem

      In description.
      For the github question sorry, I can't do that.