ESP32 HomeKit Tutorial | HomeSpan

Sdílet
Vložit
  • čas přidán 21. 06. 2023
  • In this video learn how to use HomeKit with an ESP32.
    Github: github.com/galbraithmedia1/ES...
    ESP32 JSON: dl.espressif.com/dl/package_e...
    ESP32: www.amazon.com/dp/B08246MCL5?...
    #esp32 #homeKit #innovation #arduino #diy
  • Věda a technologie

Komentáře • 67

  • @taylor.galbraith
    @taylor.galbraith  Před 11 měsíci +26

    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 Před 11 měsíci

      Thanks that helped!

    • @marvinterry8654
      @marvinterry8654 Před 10 měsíci +2

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

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

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

    • @user-ye2sm1sd7g
      @user-ye2sm1sd7g Před 6 měsíci

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

    • @mutualgarden
      @mutualgarden Před 4 měsíci

      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?

  • @michaelbluecastlestudio665
    @michaelbluecastlestudio665 Před 11 měsíci +1

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

  • @mcritz46vl
    @mcritz46vl Před 11 měsíci

    This is great! Thanks for making this tutorial

  • @mrlt1151
    @mrlt1151 Před 8 měsíci +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.

  • @next4978
    @next4978 Před 9 měsíci

    Cool and simple

  • @user-xs1ej5mo1y
    @user-xs1ej5mo1y Před 11 měsíci +1

    Really Neat tutorial!

  • @wertertwertwet
    @wertertwertwet Před 13 dny

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

  • @atw1124
    @atw1124 Před 3 měsíci

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

  • @SquawkTradeFX
    @SquawkTradeFX Před 4 měsíci

    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 Před 6 měsíci +1

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

  • @aliozanerbektas
    @aliozanerbektas Před 8 měsíci +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 Před 7 měsíci +2

      good luck with that

    • @hrebis2924
      @hrebis2924 Před 7 měsíci +2

      good luck with that

    • @RicbordEdits
      @RicbordEdits Před 4 měsíci

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

  • @Mat69MX
    @Mat69MX Před 11 měsíci

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

  • @H0t.5tuff
    @H0t.5tuff Před 4 měsíci

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

  • @trangnguyenquangduy1190
    @trangnguyenquangduy1190 Před 5 měsíci

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

  • @RND-USA
    @RND-USA Před 3 měsíci

    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.

  • @gurjotbirdi8550
    @gurjotbirdi8550 Před 5 měsíci

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

  • @novismarthome
    @novismarthome Před 11 měsíci

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

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

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

  • @higorrezende59
    @higorrezende59 Před měsícem

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

  • @user-bj2cp2mt1e
    @user-bj2cp2mt1e Před 3 měsíci

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

  • @tunaykuru5618
    @tunaykuru5618 Před 2 měsíci

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

  • @jaikrish50
    @jaikrish50 Před 8 dny

    This will works in Android or only iphone

  • @pabloarmandomacbeathm6107

    Heyyy, I'm trying to upload it to my arduino and I get this error: sodium.h: No such file or directory. I installed the espressif package as he said in the video and also tried to search for this error but nothing, I keep getting the same message, can someone help me pleaseeeee!!!!

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

    can i use esp8266? thanks

  • @jasonli8071
    @jasonli8071 Před 6 měsíci

    How to respond to mechanical switches in real scenes

  • @robin2502
    @robin2502 Před 3 měsíci +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 Před 21 dnem

      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.

  • @ameliabuns4058
    @ameliabuns4058 Před 3 měsíci

    does this use wifi?

  • @slightlyokvideos
    @slightlyokvideos Před 11 měsíci

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

    • @thehibbi
      @thehibbi Před 11 měsíci

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

    • @TymArsenii
      @TymArsenii Před 10 měsíci

      It's Arduino IDE v2.1.1

  • @rezamuhammad6618
    @rezamuhammad6618 Před 11 měsíci

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

    • @taylor.galbraith
      @taylor.galbraith  Před 11 měsíci

      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 Před 11 měsíci

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

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

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

  • @P.A.T.
    @P.A.T. Před 11 měsíci +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  Před 11 měsíci

      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. Před 11 měsíci

      @@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. Před 9 měsíci

      @captsk1109 abandoned the project for a while:(

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

      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.

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

    Does this also work on the esp8266 boards?

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

      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 Před 7 měsíci

      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 Před 11 měsíci

    Is this only for ios?

  • @sergiodeoliveira5358
    @sergiodeoliveira5358 Před 11 měsíci +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 CZcams to realize what I was doing wrong.

    • @taylor.galbraith
      @taylor.galbraith  Před 11 měsíci +3

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

  • @TeoMaragakis
    @TeoMaragakis Před 7 měsíci +13

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

    • @Ignotus.
      @Ignotus. Před 4 měsíci

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

  • @ShawankumarParida
    @ShawankumarParida Před 11 měsíci

    How to use it on android??

  • @CarlMoebis
    @CarlMoebis Před 3 měsíci

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

  • @memester230
    @memester230 Před 11 měsíci +3

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

    • @wyattb3138
      @wyattb3138 Před 9 měsíci +1

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