ESP32 HomeKit Tutorial | HomeSpan

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

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

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

    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е 11 месяцев назад

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

    • @mutualgarden
      @mutualgarden 9 месяцев назад +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?

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

    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 Год назад +2

      good luck with that

    • @hrebis2924
      @hrebis2924 Год назад +2

      good luck with that

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

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

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

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

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

    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 8 месяцев назад +1

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

  • @laplacedoge
    @laplacedoge 2 месяца назад +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

  • @SquawkTradeFX
    @SquawkTradeFX 9 месяцев назад +1

    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

  • @TeoMaragakis
    @TeoMaragakis Год назад +23

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

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

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

    • @bunnatang2081
      @bunnatang2081 10 дней назад

      stupid siri doesn't recognize owner's voice

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

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

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

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

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

    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?

  • @JeremyPierre-hy6lb
    @JeremyPierre-hy6lb 17 дней назад

    would it be possible to generate a QR code on a lcd attached to the esp 32 for easy apple home setup ?

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

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

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

    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 5 месяцев назад

      Use wled for esp 32 it has PWM

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

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

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

    This is great! Thanks for making this tutorial

  • @mikekafei
    @mikekafei 4 месяца назад +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?

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

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

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

    Really Neat tutorial!

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

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

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

    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?

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

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

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

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

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

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

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

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

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

    Cool and simple

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

    This will works in Android or only iphone

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

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

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

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

  • @robin2502
    @robin2502 8 месяцев назад +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 5 месяцев назад

      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.

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

    Does this work with wifi or bluetooth?

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

    does this use wifi?

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

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

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

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

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

    Its not showing up on my Accessory list on my iphone

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

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

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

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

      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!

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

    How to respond to mechanical switches in real scenes

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

    can i use esp8266? thanks

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

    Does this also work on the esp8266 boards?

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

      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 Год назад

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

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

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

  • @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 Год назад

      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 4 месяца назад

      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

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

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

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

    Is this only for ios?

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

    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.

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

    Compilation error: 'service' has not been declared

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

    How to use it on android??

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

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

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

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