ESP32 HomeKit Tutorial | HomeSpan

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • In this video learn how to use HomeKit with an ESP32.
    Github: github.com/gal...
    ESP32 JSON: dl.espressif.c...
    ESP32: www.amazon.com...
    #esp32 #homeKit #innovation #arduino #diy

Комментарии • 82

  • @taylor.galbraith
    @taylor.galbraith  Год назад +35

    Hey! I missed one important part of the video! - How to upload your wifi to the device.
    If you go to your Serial Monitor, you will see a way to type into the Serial. With your device connected to your computer , type “W” (capitol W) and press enter. It will then pop up a list of wifi connections nearby with numbers next to them. For example, “ (1) mywifi (2) yourWifi . “ Type the number associated with your wifi and press enter. Then add your password and you should be all set!! - Sorry about that 🚀

    • @starleefox
      @starleefox Год назад

      Thanks that helped!

    • @marvinterry8654
      @marvinterry8654 Год назад +3

      I was so confused about adding HomeKit without wifi, maybe Bluetooth, no idea... your comment really helps me out

    • @avnithardia147
      @avnithardia147 Год назад

      Can you please tell me how to add physical switch in this code

    • @Назар-х5с9е
      @Назар-х5с9е 10 месяцев назад

      можно видео инструкцию как добавить вайфай на свое устройство ?

    • @mutualgarden
      @mutualgarden 8 месяцев назад +1

      Hello, thank you very much for the great video! As an absolute beginner, it has helped me tremendously!! Is there another solution for the Wi-Fi? A solution without Arduino IDE?

  • @laplacedoge
    @laplacedoge Месяц назад +1

    Thank you for providing this helpful video, I did exactly the same steps, but the device icon wasn't shown in my Home app, then after reading the HomeSpan docs I realized that it's because I didn't configure the Wi-Fi SSID and password, LOL

  • @mrlt1151
    @mrlt1151 Год назад +1

    Nice video. I used one to bring my legacy home alarm system into HomeKit. It reads the state of all of my door and window switches, so now I get alerts and can set automations based off of door activity.

  • @aliozanerbektas
    @aliozanerbektas Год назад +3

    I think I'm gonna build my own DIY smart lock with that.
    Think about it, all it needs a stepper motor connected to a gear which connected to a shaft that turns the key knob.
    I know that there are a metric tonne of those smartlocks but most if not all of them are specifically designed for the US market which again most if not all uses deadbolts and have handles outside of the door.
    Anyway this system has great potentials and I think I can make a prototype then improve it along the way. 🙏

    • @hrebis2924
      @hrebis2924 11 месяцев назад +2

      good luck with that

    • @hrebis2924
      @hrebis2924 11 месяцев назад +2

      good luck with that

    • @RicbordEdits
      @RicbordEdits 8 месяцев назад

      im thinking of doing the same! how are you doing in the project so far?

    • @nickiesnook
      @nickiesnook 18 дней назад

      remember the "S" in "IOT" means security!

  • @wertertwertwet
    @wertertwertwet 4 месяца назад

    Thanks for the video, really well done. And also the library for that.. when you give people the chance to generate their own benefit they will be creative. And some of them share their knowledge with us. Just wholesome 💜💜

  • @TeoMaragakis
    @TeoMaragakis 10 месяцев назад +21

    Please censor talking to Siri in your videos, you’re messing with my HomePod and turning off my lights! 😂

    • @Ignotus.
      @Ignotus. 8 месяцев назад

      I keep seeing this, but really don't struggle with this stuff. Do people not calibrate their Siri to their voice?

  • @NoName-wy4hf
    @NoName-wy4hf Месяц назад

    Just found your channel and would like to request more videos like this please. Oh and I subbed

  • @michaelbluecastlestudio665
    @michaelbluecastlestudio665 Год назад +1

    Great Tutorial. Was looking for something like this. ill check it out...thanks for sharing

  • @atw1124
    @atw1124 7 месяцев назад +1

    Great video! Would a Ws2812b Strip be able to be used instead of the basic LED in in this setup?

  • @MrProvocer
    @MrProvocer 27 дней назад

    Hi @taylor.galbraith , amazing tutorial. Went through 3 of them, seemingly all similar - but yours was the only one that yielded results. I just managed to turn on/off the LED. Next step is the relay setup, however I don't want a light bulb, but I want to activate my garage door. In this case, a permanent current flow is not needed (I'm not connecting the relay to the garage door's motor power supply), but rather connecting into the COM board, so one click (closing the circuit through the relay) will be enough. Every instance of closing the relay loop will run a new cycle of the garage door (open/stop/close etc.). Could you please advise which setup/template to use for such a situation or how to amend your replay template for this?

  • @mcritz46vl
    @mcritz46vl Год назад

    This is great! Thanks for making this tutorial

  • @SquawkTradeFX
    @SquawkTradeFX 8 месяцев назад

    This is fantastic. Will you have remote access outside the WIFI network? Also can it provide historical trends and settings? I am surveying this for garden automation monitoring trending temperature ranges

  • @juliencrypto1794
    @juliencrypto1794 10 месяцев назад +1

    Hello, your first program with the led is working with bluetooth or wifi ? Thanks

  • @BigyanBhattachan
    @BigyanBhattachan Год назад +1

    Really Neat tutorial!

  • @mikekafei
    @mikekafei 3 месяца назад +1

    It is recognized by Homekit, but when I type in "1112-2333" it says "The setup code is incorrect". The Serial monitor outputs: *** ERROR: SRP Proof Verification Failed. Any Ideas?

  • @sergiodeoliveira5358
    @sergiodeoliveira5358 Год назад +3

    You completely glossed over configuring Wi-Fi via Serial Monitor once code is uploaded to ESP32 board. Took me watching a different HomeSpan tutorial on RUclips to realize what I was doing wrong.

    • @taylor.galbraith
      @taylor.galbraith  Год назад +3

      Woah! Thanks for pointing that out! Just added a quick walkthrough in the comments.

  • @robin2502
    @robin2502 6 месяцев назад +1

    Everything works fine for me, and the ESP32 shows up in my Home app. But after I type in the code, it tries to connect for about a minute and fails every time. Any Idea why?

    • @phuaouc6886
      @phuaouc6886 4 месяца назад

      I am like you, but when I change ESP32, everything is no longer like that, it has found accessories on HomeKit and is controlled. Perhaps the developer is not supported on ESP32 Wroom.

  • @adaptivehackerkhan
    @adaptivehackerkhan Месяц назад

    can this be available in the background, you can say "Hey Siri, turn on my led" regardless of where you are in your phone?

  • @Benjamin_Stroup
    @Benjamin_Stroup 3 месяца назад +1

    Its not showing up on my Accessory list on my iphone

  • @tunaykuru5618
    @tunaykuru5618 6 месяцев назад

    Hi. Thanks for this nice vid but can we have a another way to connect esp8266?

  • @Mat69MX
    @Mat69MX Год назад +1

    can i make this with the new board arduino uno r4 wifi? it has an esp32 module on it

  • @hidayetbaysal5772
    @hidayetbaysal5772 29 дней назад

    Hi, I used the exact same code on my esp32 and the device shows up on the home app, it gets saved there too. But after it does I cannot do anything, it says no response and in the serial monitor it says please connect using homekit or something like that. Can you help please?

  • @next4978
    @next4978 Год назад

    Cool and simple

  • @jaikrish50
    @jaikrish50 4 месяца назад

    This will works in Android or only iphone

  • @RND-USA
    @RND-USA 7 месяцев назад

    Hi, such a great video! Do you know if this HomeSpen could be used to create a PWM led strip dimmer? I have some mono / single color led stips that I’d like to be able to turn on and off. They don’t have the 3rd, green terminal for communication so would require the leds to dim via pulse wave modulations sent via the neg ground and 5v vin ports. So curious.

    • @phoenix4193
      @phoenix4193 4 месяца назад

      Use wled for esp 32 it has PWM

  • @HungryMAN-pp2ff
    @HungryMAN-pp2ff Месяц назад

    Helllo,
    I have a problem compiling a sketch using a libary HomeSpan can you help me

  • @AlbaVolt
    @AlbaVolt 19 дней назад

    Does this work with wifi or bluetooth?

  • @trangnguyenquangduy1190
    @trangnguyenquangduy1190 9 месяцев назад

    Is there any way to get the remote access for the homekit ? Thank you

  • @andrewkent4149
    @andrewkent4149 Год назад +1

    I don’t get how and where you start pasting from for the code.

    • @phamks6109
      @phamks6109 2 месяца назад

      I had the same situation, please let me know if you find a way to create that LED.h file.

  • @higorrezende59
    @higorrezende59 5 месяцев назад

    hi bro. Can I do this with my esp with 24ch of IO?

  • @SilviInsania-g5o4c
    @SilviInsania-g5o4c 7 месяцев назад

    Is the device automatically connected to my home wifi after setting up the device?

  • @gurjotbirdi8550
    @gurjotbirdi8550 9 месяцев назад

    Does this work as IOT accessory or just as a lan accessory

  • @jasonli8071
    @jasonli8071 10 месяцев назад

    How to respond to mechanical switches in real scenes

  • @novismarthome
    @novismarthome Год назад

    Does this work only if I connect it to the local wifi ?

  • @itsmeKim00
    @itsmeKim00 11 месяцев назад

    can i use esp8266? thanks

  • @vinhtra6082
    @vinhtra6082 11 месяцев назад

    tôi bị lỗi file LED.h tôi không tìm thấy được file này trên internet

  • @memester230
    @memester230 Год назад +5

    dude you set off my HomePod so many times during this video, please censor yourself next time lmao

    • @wyattb3138
      @wyattb3138 Год назад +1

      Mine didn’t go off at all. Voice recognition works I guess.

  • @P.A.T.
    @P.A.T. Год назад +1

    Hello everyone! First of all, thanks for the tutorial. I don't know how to code. in 90% of the cases, I am a code monkey. Fortunately, I know some electronics therefore I my own board with ESP32-Wroom and 4 relays. The installation, configuration went ok. The problem is that I can't send the "W" command in order to set the SSID and Password. Do you have any suggestions? I tried everything I know. Nothing worked.
    Thanks everyone!

    • @taylor.galbraith
      @taylor.galbraith  Год назад

      Hey! When your device is connected to your computer and you opened the serial monitor, can you run any of the command found in the HomeSpan docs? I’m interested in knowing if you are connected correctly

    • @P.A.T.
      @P.A.T. Год назад

      @@taylor.galbraithHi! No! I mean, i see details about the chip bit can’t send commands. The serial monitor is set on Newline, the baud rate is correct.

    • @P.A.T.
      @P.A.T. Год назад

      @captsk1109 abandoned the project for a while:(

    • @videoo24
      @videoo24 11 месяцев назад

      You do realize - that you have to scroll all the way up to the top line in order to type in and send your commands ? @@P.A.T.

    • @FPVNZ1
      @FPVNZ1 3 месяца назад

      Hey man did you find out how to fix this i have read all coments tryed every thing but still can not get any thing to happen when typed W ''W

  • @ameliabuns4058
    @ameliabuns4058 7 месяцев назад

    does this use wifi?

  • @mikekafei
    @mikekafei 3 месяца назад

    I got an error while uploading that I am missing "Sodium.h" Library. Any ideas as to what this library is?

    • @mikekafei
      @mikekafei 3 месяца назад

      Edit: So this doesn't work with the newest 3.0.2 version of Espressif's esp32 board library. I downgraded to 2.0.17 and it worked great!

  • @slightlyokvideos
    @slightlyokvideos Год назад

    What IDE are you using? Looks a little different than the arduino IDE

    • @thehibbi
      @thehibbi Год назад

      I heard that they released a new version somewhat recently. Maybe you still have the old one

    • @TymArsenii
      @TymArsenii Год назад

      It's Arduino IDE v2.1.1

  • @cringefds1366
    @cringefds1366 Месяц назад

    Compilation error: 'service' has not been declared

  • @rezamuhammad6618
    @rezamuhammad6618 Год назад

    What ios version installed? I’m using 16.5, failed at pairing stage

    • @taylor.galbraith
      @taylor.galbraith  Год назад

      I’m using 16.3.1. I’ll update and try it. When you click “add accessory”, are you also clicking “more options”? The device won’t be registered with Apple so we need to force it to add a connection. Also, make sure you’re connected to the same Wi-Fi network.

    • @rezamuhammad6618
      @rezamuhammad6618 Год назад

      @@taylor.galbraithyes, device already detected after key in pairing code , but can’t add accessories at the end

  • @CarlMoebis
    @CarlMoebis 7 месяцев назад

    Thanks for turning my devices off by not muting your hey siri commands. Who does that?

  • @MajorFusion
    @MajorFusion Год назад +1

    Does this also work on the esp8266 boards?

    • @lvcc11
      @lvcc11 11 месяцев назад

      I was about ot ask the same. From a Github repository, I think it also works but it is generally faster on esp32 module for some reason

    • @Noah-js5mc
      @Noah-js5mc 11 месяцев назад

      No it only works on esp32, but there are some other libraries that implement homekit for esp8266 but they are not stable at all

  • @mathewtomy3823
    @mathewtomy3823 Год назад

    Is this only for ios?

  • @ShawankumarParida
    @ShawankumarParida Год назад

    How to use it on android??

  • @H0t.5tuff
    @H0t.5tuff 8 месяцев назад

    how can I use manual on/off switch for the relay that changes the relay status in the app?