on Thursday 17 August I will give a talk/workshop about Matter, the open Smart Home standard. This topic is for people who want to arrive a bit more prepared.
Reactions: pink_heart ×1 (DoomHammer)
on Thursday 17 August I will give a talk/workshop about Matter, the open Smart Home standard. This topic is for people who want to arrive a bit more prepared.
Reactions: pink_heart ×1 (DoomHammer)
@cb1t @Ninufar (Marta) @wiczi @DoomHammer (tagged because you expressed interest in the meeting): Please note that I changed to meeting start time to 18:00 (since this is when most HS3 meetings start). I also removed the “previous registration required” and “expert network and C knowledge” requirements; first hour will be on a level that should be understandable to anyone with an interest in tech. Second hour we’ll go more in-depth and (hopefully) be able to build some things.
I will probably post a link to a Dockerfile in here in a couple of days; it allows you to create a build-environment (it’s unfortunately a bit more work than pip install matter).
Reactions:
×3 (cb1t, Ninufar (Marta), DoomHammer)
I wont be in Gdańsk for two weeks since 14.08. But thank you for remembering about me, if there will be a follow up, then im still interested ![]()
Reactions:
×2 (DoomHammer, Claude)
It’s probably only for those who stay longer than two hours, but I will take some SoC’s that we can try to program with Matter + Thread. For compiling, the attached docker will work (at least on M1/M2, shouldn’t be too hard to adjust for AMD64), for programming you’ll need: https://www.nordicsemi.com/Products/Development-tools/nrf-util , then (copy it into a $PATH and make executable) run nrfutil install nrf5sdk-tools && nrfutil install device. If you don’t want that, and can convince your system to expose the usb port in docker, even better :).
For the normal workshop, I don’t think it makes sense for anyone to install anything specific.
Link to the presentation: Matter for makers - Prezentacje Google
Reactions:
×1 (Ninufar (Marta))
thanks
@Claude is your Blinkenlights code Open Source? I’d love to see if I can prepare a Nix env that could compile it
Sooooo… happy to share but maybe yesterday’s discussions muddled up things a bit…
As for my nrf52840 matter device, there is no downside for me to use Docker to compile it all. When I tried this back in January, I had problems with Docker slowing down compilation a lot (as is: 2.5 minutes vs 30+ minutes: BYOC | Docker on M1/M2 macbook performance).
However now sure what changed (as in: got a new laptop, now using Lima with Docker (and will be containerd soon), rather than Docker Desktop bloatware. But also now all code is within Docker container, not going through a shared file system… So not sure what changed), but right now compiling within docker is < 2 minutes (which I’m pretty sure is almost as fast as native).
The problem with Docker discussed yesterday is getting a virtual matter device running on your computer (since it needs to be on the external network if you want to connect to it from outside). This could be useful to get working, however seems to be separate (I don’t even think you use Zephyr for this). I’m also happy to share that python code, but it was written for the state of the ConnectedHomeIP repo back in January, so probably will need rework…).
If you want the native compile, just try to compile the lighting-app example (in the connectedhomeip repo) for the nrf52840 dongle (west build -b nrf52840dongle_nrf52840 -- -DCONF_FILE=prj_no_dfu.conf). I don’t have anything extra in my own repo. See the shared Dockerfile above for the steps to get all the dependencies installed (I might be able to make it slightly easier since there is a pre-built zap-cli now for arm64).
In you want the python thing… I was hoping to get some example to work for the talk yesterday… and didn’t manage… So these are the instructions: connectedhomeip/examples/lighting-app/python/README.md at master · project-chip/connectedhomeip · GitHub – but I got errors somewhere along the way…
BTW @DoomHammer related to something else you said yesterday. So Matter has support for something like a “speaking” allowing volume controls and on/off. There is also a MediaPlayback Cluster that has PLAY/PAUSE/NEXT/PREV. I think you’re allowed to combine it all to a custom device type (if we cannot find one that already has exactly what we need). I wonder what kind of interface Apple Home would show you hey it turns out my Sonos Roam has this interface ![]()
(obviously this is homekit, not Matter)
Maybe we find some time next week and see what we can come up with?
sounds like a nice idea ![]()
on nrf, RPi, or ESP32-C6?
Well… I guess we need something that can make sound…
the audio player that we already have that can be controlled via UPnP?
or an ESP32 with a buzzer? :trollface: