-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing discussion #1
Comments
Hey! I'm happy that somebody actually used this lib and is working. I wasn't able to test HomeKit because I don't have such hub. Google does not support Matter at 1.0 (it supports some old Matter branch which is not compatible), so I'm not able to test end to end this lib with these ecosystems right now. According to https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/darwin.md switch should work. You are right, S2 is not supported, my fault ;) I hope to get esp32-c3 in future, but firstly I would like to focus on support for esp32. It looks like Matter is far from being mature, even like you said upgrading to latest CHIP does helped... but the old version was also based on v1.0 branch which is supposed to be compliant with Matter v1.0 specification. It seems like there are still some bugs that cause problems and incompatibilities between versions based on same specification. I also noticed that old CHIPTool wasn't working with newer version of CHIP from the same v1.0 branch. |
Thanks for this library, it's so much easier than messing around with the idf. I was able to test out the esp32c3-test branch and can confirm it is working perfectly on an M5Stamp C3U. I also have a few TinyS3's and a ProS3 that I can test out an esp32s3 if you're able to add support for that as well. Anyway here is all the apps I've tested so far. Android ChipToolSuccessfully commissioned the device over "ble" and I'm able to read and write to the device as well. Android Google Home App v2.60.60.4Successfully commissioned the device over "ble" and "onnetwork", however I am not able to control the device through the google home app (I just get a message saying "Something went wrong") but I think that has to do with the google home app not fully supporting matter 1.0 yet as I have the same issue with all matter devices I have tried so far even built directly from esp-matter with idf. Home Assistant 2022.11.1 - Matter Server v0.3.0Does not support matter 1.0 yet. Unable to commission a device, device console reports "matter chip[SVR]: Failsafe timer expired". |
Yeah, I can also confirm that the library works with my M5Stamp C3 in Arduino IDE, but this time has some issues with PlatformIO. Seems like some configuration needs to be adjusted. Indeed Matter still needs some time to get more stable. I only tested it with my HomeKit setup and it kind of works mostly fine. The only thing I noticed is that quick consecutive requests may be ignored by the device and UI elements will jump back to the latest device state. Also, it gets way more time to go online and reestablish the HomeKit connection than native HomeKit implementation. |
Thanks for your feedback! I will try to find some time at the end of week to prepare version for S3 and check what is happening with C3 on PlatformIO. |
It seems to be an issue with linking esp_matter
|
I have created new new_variants_and_cleanup branch. Added support for ESP32S3 and cleaned up lib files (library will now be smaller). I have tested compilation process on PlatformIO with |
@jakubdybczak now it builds without any issues from this new branch |
I have got this email tonight, looks like we will be able to test Google Home in next few days ;)
|
Just a note to say I used the main branch & Arduino to get this working with the ESP32-C3-DevKitM-1U dev board and Smartthings. It worked right away. Thanks! |
I tested it with HomeKit E (61577) chip[DL]: Long dispatch time: 2792 ms, for event type 7 |
I tested in Homekit debug.ino |
I can also confirm that all accessories except the generic_switch from Debug.ino worked in Apple Home, however rgb light requires additional clusters (there's an example in esp-matter). The switch should also work somehow, as it already does for the Hue hub. |
I made a ESP device with your lib at it works. I further developed it to support color-light. Is a bit confused about color-temperature ligt and color-light, but it is not a big issue right now. |
Hi there! Thanks for the library and the example code. I tried to use it with an ESP32-C3 on a Seeed Studio Xiao. I can't get it working. When compiling with PIO I get the error (after a lot of warning about redefined #define).
As shown above, I also have errors on
I hope getting it working with your help! |
@mamarguerat |
@jakubdybczak I found the error ! |
You have made a greate job with this library. Thank you! I try to pair with several apps. Some works. Some works sometime and some does not work (most of the time). Thanks again for the good work. |
Happy to hear it @palsbo! I found some logic that disables BLE (and so pairing as well) when WiFi is already provisioned here: https://github.com/project-chip/connectedhomeip/blob/master/src/platform/ESP32/nimble/BLEManagerImpl.cpp#L150 Maybe it will be enough for your case? Keep in mind that "WiFi being provisioned" does not necessary mean that accessory works correctly with Matter controller, but at least it gives an information if WiFi credentials were correctly sent in pairing process. Unfortunately, I could not find better solution for your problem. You can try it:
Regarding Google Home I can see and experience various problems with it. Sometimes it works and sometimes it's not. I think the only thing that we can do right now is to send logs to Google or wait until it's more stable. Many people have problem with Google services (espressif/esp-matter#145, espressif/esp-matter#156) |
Can you post your SourceCode of the colorlight? |
I use this to reset into factory-reset. |
How do you Implement the ColorLight / LightTemperture? |
I implemented my example on a ESP32 with a small color TFT and 2 buttons. Here The code is a bit messy, but I will give you my files. Hope you can get some ideas from it.: |
Thank you. Here is what I made out of it. Works Fine with AppleHome. But I wasnt able to connect to GoogleHome. |
Google Home does not yet pair on iPhone (IOS), but you can pair on Androit and then it will work on IOS too. |
I tried to pair it on android, but GoogleHome drops a Message, that the device isnt Certified. |
About Google Certification. This is a bit stupid about google. I think you need to register a test-device. Look at this: https://developers.home.google.com/matter/test#create |
Oh, thats a little mess, cause i build this device for a Good Friend. so now i have to create a matter test project on his Account? Yeah….. are There Any other possibilities? |
Short Update: Cause I’m an Apple user I don’t want to buy one. I’m happy with my HomePod mini. :D do you know any third partie android app to control matter devices without any hub? EDIT: thanks for your help. |
Google changed something, because I didn't have to add it two months ago. Now it's impossible to add not-certified or not-test device to Google account. Adding product with ID 0x8000 was enough for me. |
Here is my simple ColorLight Example based on palsbo's suggestion. |
tried to compile for m5stickc plus (esp32-pico), lib version v1.0.0-beta.3 (because m5 libraries uses esp 2.0.7). light example compiled successfully, but
I won't try to reduce it (i guess it's better to purchase board), just reporting. |
So will it be a problem to create devices with other pairing-code/QR-code and use them with Google? It looks like something has to be done with the following two lines: (from the examples) |
I am using the following code, which is mostly the code @AintLarry uploaded, to control my 'ambient light' with the Alexa App. Unfortunately the code is not responding to any white color requests. I can only chose colors, no neutral white or warm white other dedicated white values that are available in the app. Is that a known issue or am I missing something in my code? Second issue which is very weird and maybe has something to do with my 2.4G Wifi is that yesterday I was able to connect using the Apple Home App instead of the Alexa App. Today, the Apple App is not working anymore, no matter which code I upload to the ESP32. If anybody has an idea to fix that, that would be amazing as well. |
Hey, thanks for this project! I could successfully build the firmware also with PlatformIO.
Updating to the latest CHIP seems to have fixed the interaction with HomeKit, now I may try to create some other examples (however, it's strange for now. E.g. switch device doesn't seem to be supported by HomeKit yet or I am doing something wrong).
I have ESP32-C3 and S2 boards and could test with them. I guess S2 isn't officially supported, but I wanted to let you know.
The text was updated successfully, but these errors were encountered: