Getting Started with Matter

Hello,

After a first unsuccessful trial of Gladys out of curiosity (probably due to a lack of patience), I continued to follow the developments. The news about Matter encouraged me to try a new installation.

I installed Gladys on a mini PC running Linux Mint. I also installed the Sonoff Zigbee dongle.

All my Zigbee components work,

  • Sonoff: temperature, presence sensor, opening
  • Lidl: LED bulb
  • Moes: BP

I created scenes linking BP and bulbs.

Encouraged by these successes, I bought a Matter bulb from Moes and a basic-1gs relay. And now, when I start the Matter integration, I enter the 11-digit code, and neither of the devices is detected.

I understood that there is no need for a hub or an intermediate dongle,

I have the following message

It is not possible to add this Matter device to Gladys. Check that:

  • The device is on the same network as Gladys
  • Gladys is launched with network=host
  • If you are using a Thread Border Router, you must use a pairing code provided by the router’s application (see warning above)

I don’t understand the first point

How do I check the second one

I am not concerned by the third (normally!)

I have two goals:

  • Control my Somfy RTS shutters and monitor my future Atlantic heat pump
  • Create a home automation group around Gladys in my fablab club

Thank you for your help

Georges

Hi Georges,

In the Matter settings, do you have the indicator that says an IPv6 interface is available on this machine? That’s the hassle I had when I started on my side.

Regarding network=host, if you installed Gladys with the exact command specified in the documentation, it’s fine.

sudo docker run -d \
–log-driver json-file \
–log-opt max-size=10m \
–cgroupns=host \
–restart=always \
–privileged \
–network=host \
–name gladys \
-e NODE_ENV=production \
-e SERVER_PORT=80 \
-e TZ=Europe/Paris \
-e SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/gladysassistant:/var/lib/gladysassistant \
-v /dev:/dev \
-v /run/udev:/run/udev:ro \
gladysassistant/gladys:v4

Are these 2 devices Matter over WiFi?
or Matter over Thread?
The first one will work with your WiFi network, not the second one where you will need a gateway.

Personally, for a Sonoff double switch, I had to pair it with my iPhone and the Home app, then share the switch, retrieved a new code that I put into Gladys.
I don’t know if it’s a bug on Gladys’s side or not for now but my method works.