Matter Protocol on ESP32 with Arduino | Apple HomeKit Integration: A Step-by-Step Guide | SYNC BYTE

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2023
  • Welcome to SYNC BYTE! In this video, we'll walk you through the process of implementing the #Matter protocol on an #ESP32 development board and seamlessly connecting it to Apple #HomeKit using #Arduino IDE. Basically how to make matter smart switch at home.
    The Matter protocol, formerly known as Project CHIP, is a game-changer in the world of smart home devices, enabling seamless interoperability and communication between different brands and ecosystems. By integrating Matter into your ESP32 board, you can create a smart home solution that can be controlled and monitored through Apple's Home app and other supported echo systems such as Google #nest, #smartthings , #alexa etc...
    We'll start by guiding you through the setup of the Arduino IDE, ensuring that you have the necessary board definitions and libraries for programming the ESP32. Once that's done, we'll dive into writing the code using the Arduino programming language. We'll cover essential elements such as establishing Wi-Fi connectivity and initializing the HomeKit accessory.
    Next, we'll demonstrate how to connect the ESP32 board to #AppleHomeKit. You'll be able to seamlessly integrate your ESP32 into your existing #smarthome, #smartgadgets setup by going through this guide.
    By the end of this video, you'll have a clear understanding of how to implement the Matter protocol on an ESP32 board, connect it to Apple HomeKit, and create your own smart home solution. Whether you're a beginner or an experienced enthusiast, this step-by-step guide will provide you with the knowledge and confidence to embark on your own smart home projects.
    Don't miss out on this opportunity to unlock the full potential of your ESP32 board with Matter and Apple HomeKit. Join us in SYNC BYTE and take your smart home to the next level! Cheers!!
    Matter Library: github.com/Yacubane/esp32-ard...
    Source: github.com/Yacubane/esp32-ard...
    Music credits: • [1 Hour] Fredji - Happ...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 78

  • @yacubane
    @yacubane 10 หลายเดือนก่อน +17

    Nice to see somebody that uses my library ;)

    • @syncbytetube
      @syncbytetube  10 หลายเดือนก่อน +2

      Hi buddy, so nice to talk to you!! Let’s do some cool stuff together!
      BTW don’t delete the repo ;)

    • @Jakob127
      @Jakob127 10 หลายเดือนก่อน +1

      I think its nice, ill be using it too!

  • @venkateshgovindaiah5826
    @venkateshgovindaiah5826 10 หลายเดือนก่อน +18

    Love the instructions, but can you please mute the music, Its totally unnecessary

    • @syncbytetube
      @syncbytetube  10 หลายเดือนก่อน +4

      Thanks for the comment, yes I agree with you. there’s no way to mute the music only, in coming videos will do

    • @eric_io
      @eric_io 4 หลายเดือนก่อน

      Yes, great content but the music makes it hard to hear

  • @hechien
    @hechien 10 หลายเดือนก่อน +1

    Thanks for your sharing, I'm trying to do one also!

    • @syncbytetube
      @syncbytetube  10 หลายเดือนก่อน +1

      Good luck!

  • @m.j.r.technologyreveiws1075
    @m.j.r.technologyreveiws1075 4 หลายเดือนก่อน +1

    Works Perfectly! I need it to be a switch in Apple Home instead of a light. When the switch is turned ON, ESP32 will move a servo to 90 degrees using ESP32Servo for 1.5 seconds then back to 0 degrees and turn the switch OFF ready for the next ON request. Any help is appreciated!

  • @oschmid
    @oschmid 9 หลายเดือนก่อน +4

    It works perfectly! Thank you. I have it running with a Lolin D32 Board and Google Home. For Google Home i registered the device for testing in Matter Console (because it is not certified)

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน +1

      Thanks for sharing

    • @faisalamin1602
      @faisalamin1602 5 หลายเดือนก่อน

      @oschmid I am also using google home for my custom matter device, can you guide me or provide any suitable link for google registration process?

  • @psykjavier
    @psykjavier 8 หลายเดือนก่อน +1

    amazing video, i have one question, i really want to know what specific ESP32 module you are using, are you using the ESP32-WROOM-32, ESP32-WROOM-32E, ESP32-WROOM-32D or another model? because in the minute 4:01 doesn't show clearly. regards.

    • @syncbytetube
      @syncbytetube  8 หลายเดือนก่อน +1

      It’s WROOM-32

  • @user-ki1bo8ge2o
    @user-ki1bo8ge2o 7 หลายเดือนก่อน

    Thank you for your video. Is there any version requirement such as 2nd gen or 3rd gen if I want to use apple TV as a matter hub ?

    • @syncbytetube
      @syncbytetube  7 หลายเดือนก่อน

      require a Thread-enabled home hub, such as HomePod mini or Apple TV 4K (3rd generation) Wi-Fi + Ethernet,

  • @drokstar8892
    @drokstar8892 10 หลายเดือนก่อน +1

    Great video, I have linked my esp32 with alexa and it works perfectly, how do I put the esp32 back in search to link it with siri and thus control it with siri and alexa at the same time.

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน

      That’s a good question. Need to add a way to reset and enable pairing mode. Were you able to find a way?

  • @AlejandroMontiel
    @AlejandroMontiel 6 หลายเดือนก่อน

    Thanks for the video. I tried this on an ESP WROOM-32 that I have connected to an LED strip thinking that I could convert it to a Matter-enabled device to use it in Homekit for my scenes and automations. I was able to register the Matter device with my iPhone, but the LED strip will not turn on. Any suggestions on what to modify to make it turn on an LED strip? Thank you

    • @syncbytetube
      @syncbytetube  6 หลายเดือนก่อน

      Is this a RGB LED strip?

  • @Javito379
    @Javito379 5 หลายเดือนก่อน

    Hi i am trying it with a demos d1 mini esp32 but I got this error:
    Brownout detector was triggered
    ets Jul 29 2019 12:21:46
    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff0030,len:1344
    load:0x40078000,len:13964
    load:0x40080400,len:3600
    entry 0x400805f0
    D (15) esp_matter_core: Set val called with string with size 0
    D (15) esp_matter_core: Set val called with string with size 0
    D (15) esp_matter_core: Set val called with string with size 0
    D (20) esp_matter_core: Set val called with string with size 0
    D (26) esp_matter_core: Set val called with string with size 0
    D (32) esp_matter_core: read attribute from nvs: endpoint_id-0x0, cluster_id-0x28, attribute_id-0x6
    D (40) esp_matter_core: Set val called with string with size 0

  • @msbanda2123
    @msbanda2123 หลายเดือนก่อน

    Are you testing with Android? with Google Home?

  • @marcusjd6752
    @marcusjd6752 10 หลายเดือนก่อน +1

    I want to implement matter in an esp32 h2 mini 1 that you would recommend, do you think I can implement your code in my esp32 h2?

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน

      h2 doesn’t support wifi right, so need to do a bit of research on it. I would like to listen to any findings you have..

  • @sigmapenguin8
    @sigmapenguin8 5 หลายเดือนก่อน

    Any advice on reducing electromagnetic interference? The switch triggers sometimes when I turn on my electric fireplace. Thanks.

    • @AB-pb8oo
      @AB-pb8oo 4 หลายเดือนก่อน

      The author didn't use a pullup resistor with the button. In this case the pin is "floating" and accidental sparks in nearby equipment can cause ESP32 to think that the button was pressed.

    • @sigmapenguin8
      @sigmapenguin8 4 หลายเดือนก่อน

      @@AB-pb8oo but the input mode is INPUT_PULLUP which uses the built-in pull up resistor. No? I’m wondering if I used the wrong pins. I have an ESP-WROOM-32 and I’m using pins 22 and 23.

  • @divyajain90
    @divyajain90 9 หลายเดือนก่อน +1

    Can we add matter device without actually having homepod or Apple tv in Apple home app and add google nest wifi pro as thread border router?

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน

      Yes, it is possible to add Matter devices without having a HomePod or Apple TV in the Apple Home app and add Google Nest Wifi Pro as a Thread border router. Google devices can act as a Thread border router with Google Home: Nest Hub (2nd gen), Nest Hub Max, and Nest Wifi Pro (Wi-Fi 6E). Apple's HomePod Mini, Google's Nest Hub, and Amazon's Echo smart speaker can become Thread border routers in the new Matter ecosystem. Once upgraded by the manufacturer, they can become a Thread 1.3.0 border router, allowing you to add any Thread device to your home without buying any additional hardware. Therefore, if you have any of these devices in your home, you can use them as a Thread border router to add Matter devices to your home.

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน

      Yes, it is possible to add Matter devices without having a HomePod or Apple TV in the Apple Home app and add Google Nest Wifi Pro as a Thread border router. Google devices can act as a Thread border router with Google Home: Nest Hub (2nd gen), Nest Hub Max, and Nest Wifi Pro (Wi-Fi 6E). Apple's HomePod Mini, Google's Nest Hub, and Amazon's Echo smart speaker can become Thread border routers in the new Matter ecosystem. Once upgraded by the manufacturer, they can become a Thread 1.3.0 border router, allowing you to add any Thread device to your home without buying any additional hardware. Therefore, if you have any of these devices in your home, you can use them as a Thread border router to add Matter devices to your home.

  • @sigmapenguin8
    @sigmapenguin8 9 หลายเดือนก่อน

    Might be a stupid question but at what point do you configure the wifi for the device to work without being plugged to the computer?

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน +1

      Wifi configuration happens automatically when you pair with the matter hub

    • @sigmapenguin8
      @sigmapenguin8 8 หลายเดือนก่อน

      @@syncbytetube I'm running into an error in the last step when adding the Matter accessory. Can I connect with you for help?

  • @ParthKharia
    @ParthKharia 9 หลายเดือนก่อน

    Will it work with just the app or do we require a hub device like apple homepod or google home mini?

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน +2

      you need a hub

    • @divyajain90
      @divyajain90 9 หลายเดือนก่อน

      Will it work with Google nest wifi pro instead?

  • @meetzankhariya976
    @meetzankhariya976 5 หลายเดือนก่อน

    How to dimmable matter

  • @gogugigi85
    @gogugigi85 6 หลายเดือนก่อน

    Nice

  • @zltn_brkl
    @zltn_brkl 7 หลายเดือนก่อน

    thanks is there an ESP8266 version too?

    • @syncbytetube
      @syncbytetube  7 หลายเดือนก่อน +1

      So far no, since esp8266 has hardware limitations

  • @rakzsoaa
    @rakzsoaa 6 หลายเดือนก่อน

    Can i use it from different network? For example: from mobile data

    • @syncbytetube
      @syncbytetube  6 หลายเดือนก่อน

      matter device and matter hub should be in the same network

  • @davideghedini515
    @davideghedini515 8 หลายเดือนก่อน

    HI! I followed your instructions and tried to load this example onto an ESP32. The program loads, I can start the matter procedure but Alexa is unable to configure it. After I tell him the wifi network (the same as Alexa) he tells me that an error occurs. Can you help me?

    • @syncbytetube
      @syncbytetube  8 หลายเดือนก่อน

      what is the error you see in the console?

    • @davideghedini515
      @davideghedini515 8 หลายเดือนก่อน

      @@syncbytetube I solved it, everything works. It was Alexa throwing a tantrum... I didn't have to touch anything on the code or the Arduino at all. When more sample codes?

  • @madhukeshnp
    @madhukeshnp 10 หลายเดือนก่อน

    Will it work only on LAN or also on WAN ?

    • @syncbytetube
      @syncbytetube  9 หลายเดือนก่อน

      It will work on both depending on your hub

  • @ljj84
    @ljj84 11 หลายเดือนก่อน

    is that support google home and amazon alexa?

    • @syncbytetube
      @syncbytetube  11 หลายเดือนก่อน

      yes it should support matter enabled devices

    • @ljj84
      @ljj84 11 หลายเดือนก่อน

      @@syncbytetube can you take a video demo for alexa and google home, thanks

    • @syncbytetube
      @syncbytetube  10 หลายเดือนก่อน

      sure!

    • @oschmid
      @oschmid 9 หลายเดือนก่อน

      Yes - i have it running on Google Home. I registered the Device as in the Google Matter Console for testing (because it is not a certified device).

  • @XODXHD
    @XODXHD 7 หลายเดือนก่อน

    Make it 4 switch and dht22 sensor .. That will be great .

    • @syncbytetube
      @syncbytetube  7 หลายเดือนก่อน

      Thank You for the suggestion! will create one soon ❤️

  • @firdoshdiakus4841
    @firdoshdiakus4841 11 หลายเดือนก่อน

    Please do one with Google home

    • @syncbytetube
      @syncbytetube  11 หลายเดือนก่อน +1

      Yes planning to do coming videos with other platforms. Stay tuned 🙂

  • @suvamlivegaming7164
    @suvamlivegaming7164 หลายเดือนก่อน

    Nice tutorial bro, but The Google Home app says "You need a hub for matter to set up and control with Google Home". Please help
    !!!

    • @syncbytetube
      @syncbytetube  หลายเดือนก่อน

      what is the Hub you use?

    • @suvamlivegaming7164
      @suvamlivegaming7164 หลายเดือนก่อน

      @@syncbytetube Nothing, can I use it without any hub?

    • @syncbytetube
      @syncbytetube  หลายเดือนก่อน +1

      you need a hub bro, without a hub you can’t

    • @suvamlivegaming7164
      @suvamlivegaming7164 หลายเดือนก่อน

      @@syncbytetube OK thank you for the clarification
      LOVED YOUR VIDEO

    • @suvamlivegaming7164
      @suvamlivegaming7164 หลายเดือนก่อน

      @@syncbytetube Hi sir, can you make one more video on this topic with more customization options like how we can create our own device and functions?

  • @inhtruong9586
    @inhtruong9586 หลายเดือนก่อน

    Can I do it without Homehub sir

    • @syncbytetube
      @syncbytetube  หลายเดือนก่อน

      No you have to have a matter hub

  • @AryanSharma_UE
    @AryanSharma_UE 11 วันที่ผ่านมา

    Bhai you make good videos, But please do not add music, you can add very very gentle piano or something inbetween your lines.

    • @syncbytetube
      @syncbytetube  11 วันที่ผ่านมา

      Thank you 😊

  • @user-vk1tt7gh7h
    @user-vk1tt7gh7h 5 หลายเดือนก่อน

    Music. Stop please...

  • @jeffreyrood8755
    @jeffreyrood8755 11 หลายเดือนก่อน

    You seem real knowledgeable about this but I couldn't watch the video because the music was louder than your voice and super annoying. Maybe just do it without the music or turn it down low enough that it's just ambient. Thank you

    • @syncbytetube
      @syncbytetube  11 หลายเดือนก่อน +1

      Thanks for informing me. will try to remove the background music

    • @jdm542
      @jdm542 11 หลายเดือนก่อน

      i did not find the music to be affecting my ability to hear you. great video

    • @syncbytetube
      @syncbytetube  11 หลายเดือนก่อน

      @@jdm542 Thank You

    • @jeffreyrood8755
      @jeffreyrood8755 11 หลายเดือนก่อน

      @@syncbytetube or maybe just lower the volume some first? Sometimes that sounds fine on videos. I really hope it helps you.

  • @marcelh731
    @marcelh731 2 หลายเดือนก่อน +1

    Dude. I barely can understand what u are saying 🤣 please reduce or better - remove the music

    • @syncbytetube
      @syncbytetube  2 หลายเดือนก่อน

      Yes I get it, now can’t remove the music. Sorry for that. In my future videos I will fix it. Thank you for letting me know 😊