ESP32-Faikout icon indicating copy to clipboard operation
ESP32-Faikout copied to clipboard

HomeKit (matter) work

Open revk opened this issue 2 years ago • 14 comments

Try and get matter working with Faikin

Screenshot 2023-08-15 at 14 40 43

revk avatar Aug 15 '23 13:08 revk

I have managed to build a test matter app and load on a test board. This is progress. I have yet to get as far as any integration with Faikin, yet.

revk avatar Aug 15 '23 15:08 revk

This may be complicated, it looks like some specific flash partitions may be needed, and possibly even some per device "factory set up", which would be a bugger.

revk avatar Aug 15 '23 15:08 revk

This is a nightmare, it seems that the esp-matter IDF itself has a load of things like WS1812 drivers, and when trying to change the example LED driver it links in those drivers regardless rather than letting me use the later managed component. This makes no sense - why would such a driver be ing the matter IDF anyway?

I may have to wait for matter to be more mature, a simple idf.py add-dependency asp-matter would be lovely, but we do not seem close to that at the moment.

I'll carry on working on trying to integrate matter in to my build systems anyway.

revk avatar Aug 16 '23 15:08 revk

It does sound like a maturity problem. Are there any alternatives? Thanks for looking into it!

njh avatar Aug 17 '23 07:08 njh

Agreed, I have been looking for a while, so not really sure yet. Still working on it.

revk avatar Aug 17 '23 07:08 revk

Driving me mad, but getting closer every day.

revk avatar Aug 17 '23 14:08 revk

I am wondering how long it will be until you decide it would be easier to just write your own Matter library 😀

njh avatar Aug 20 '23 07:08 njh

I have made a lot of progress testing this.

Key issues remain

  • Ensuring that it can work without matter in the same way as now, with WiFI AP set up, and controls for WiFi via the web interface.
  • Ensuring MDNS works for simple name.local which currently clashes with Matter system.

If I can make it all work I can upgrade current code. For now I am going to be working on a different build for this, which will be available for people to test with soon.

revk avatar Aug 20 '23 14:08 revk

If I can make it all work I can upgrade current code. For now I am going to be working on a different build for this, which will be available for people to test with soon.

Good work! I am happy to give it a go, once you have a build ready for testing 👍

njh avatar Aug 20 '23 21:08 njh

Parking this for a while, maybe after my holiday - I am sure people can nag me if you need :-)

revk avatar Aug 31 '23 15:08 revk

OK coming back to this - I now have a nice reference for someone doing things the way I want to do them (i.e. I control wifi, etc, but allow matter as well). This should help a lot.

revk avatar Sep 04 '23 08:09 revk

hi, I just bought one of your boards from amazon and was wondering if there were any updates regarding matter support? (not trying to be annoying, just interested) Thanks for this entire project!!

Cptmeme avatar Nov 14 '23 20:11 Cptmeme

Slightly stalled for now, but still planned.

revk avatar Nov 15 '23 05:11 revk

Okay great, thank you!

Cptmeme avatar Nov 15 '23 06:11 Cptmeme

It is going on hold, sorry. One day, but to be honest, right now, HA seems a better choice for a lot of people.

revk avatar May 29 '24 12:05 revk