Yacubane / esp32-arduino-matter

Matter IoT protocol library for ESP32 working on Arduino framework
Apache License 2.0
323 stars 34 forks source link

Not a Matter-certified device #34

Closed sshot999 closed 1 year ago

sshot999 commented 1 year ago

Anyone having a problem with Google failing to setup the device with the error "Not a Matter-certified device"

I have a fresh install of the library as of today and am using the latest ESP32 board as required in the readme.

sshot999 commented 1 year ago

It looks like Google won't set it up because of the precompiled developer VID and PID. You have to setup a Matter Integration through the developer console to get it to work. The only drawback is you have to specify the device type when you set it up (i.e. light). If you flash multiple chips for different uses (i.e. light and outlet) they will both show up in Google as a light. Here are the instructions for setting up the Matter Integration. https://developers.home.google.com/matter/integration/create

Yacubane commented 1 year ago

Yeah, it's true, you unfortunately have to make such "test" integration

alpha815 commented 1 year ago

Hi, I am having same issue, uploaded the example code to esp32 and from Google Home i can discover and attempt to connect to it. At the end Google Home gave me same error. Can you please describe more about setting up test device in developer console? From developer console i have added a new device with "test" vendor ID and unique Product ID. but can not find to relate it with esp32. do i have to add these vendor ID and Product ID to the library itself and recompile it? Thanks.

Yacubane commented 1 year ago

@alpha815 the default data is:

image
TrevorSchirmer commented 1 year ago

@Yacubane ,

How do you change the default VID/PID in your library? I know how to create the device in the Google Home Developer Console, just not sure how to apply it to the Arduino project.

Thanks!

Yacubane commented 1 year ago

@TrevorSchirmer This library is just a wrapper of Matter library. You can change it for example by creating custom provider, however I haven't tried it and I can't send code -> I will send link to documentation: https://github.com/espressif/esp-matter/blob/4707b88ceb5e6328f7b571b652487507429c1891/docs/en/developing.rst (chapter 2.5 Factory Data Providers section)

TrevorSchirmer commented 1 year ago

@Yacubane Ok.

Thank you for setting this up, it is the easiest into to Matter I found by far.

-Trevor