🚀 Matter & Gladys Assistant: Here we go!

Thanks for asking the question! Be careful, you used the link to the French Gladys Assistant site :slight_smile: Use the English site instead (without the /fr)

So, I just realized something: in the Gladys integration, the code that fetches new Matter devices only runs when the integration starts :grimacing: That might actually be it!

I’ll add a refresh of the list when the user arrives on the discovery page.

I added a refresh!

For the interface, I’m working on improving all of that.

No more buttons when Matter is disabled on the main page; however there is a link to the « Settings Â» page in the yellow message:

On that page, I don’t know how you managed to use the « Add to Gladys Â» button, because the button is indeed disabled (like the text field) ^^

I tested on the 3 browsers we officially support: Chrome, Firefox, and Safari, and all 3 correctly block use of the button.

On the « Settings Â» page, I updated the warning to clarify that we’re indeed talking about the button below.

I’ll let you know as soon as I have a Docker image to test!

Thanks again for all your testing @mutmut!

2 Likes

I just removed the /fr.

Ok, I have good news @mutmut!!

I tested with the matterbridge-webhook plugin to add a new Matter device « on the fly Â»; this plugin is actually very handy for creating Matter test devices.

I created a first webhook:

Then I add a second one in Matterbridge:

I refresh in Gladys (new button!):

It appears correctly! :partying_face:

1 Like

@mutmut Docker build pushed, good for testing :white_check_mark:

2 Likes

The refresh works like a charm on page reload or button click @pierre-gilles, no need to decommission and recommission anymore, it’s really awesome and super smooth, bravo!

One last UI remark before the first release :wink: : I think we can remove the Retour button from the Ajouter un appareil page — I don’t use it on desktop or mobile, so it’s not really necessary since the integration menu is very accessible.
Alternatively

1 Like

Great, thanks for testing!!

Yes that’s true!

That’s another thing, we’ll look at that at the Gladys global level in another thread :slight_smile:

I’ll make the last fix and then it can go

1 Like

I was on Firefox137.0.2/macOS13.7.5

I just retested with a fresh Gladys.
When I go to the Matter integration:




After refreshing the page, I still see the same thing.

I enable Matter:


I refresh the page:

I disable Matter and no more error messages like at the beginning:




Well done on the pairing code that you can’t enter if Matter isn’t enabled :slight_smile:

Are you sure Gladys is running?

I’m also on Firefox 137 on macOS, and I don’t have the issue

Can you check the browser logs when you do that?

here’s an example of what I have in mind when you enable Matter and don’t have any commissioned nodes:

I was just hoping to connect my blinds and maybe my gate and use what you just tested with Matter to control them via Gladys. As for the local API, I still don’t understand what an API could be useful for me, and I haven’t looked into it either :grin:. The other boxes are too expensive for such limited usefulness.

yes it’s started properly

The local API is mainly useful if you don’t want to put anything in the cloud (difficult, but it’s worth a try) or if you lose internet for a while and want to keep controlling your blinds via Gladys.

Are you sure you’re on the latest version of the Docker image?

If you try on another browser, what happens?

I can’t reproduce it on my side, I’ve tested lots of configurations, everything works fine!

Edit: I can reproduce it!! :smiley:

@mutmut I just pushed an image that fixes the issue! It should be fine now :slight_smile:

@mutmut I’ve removed the « back Â» button on the « Add a device Â» page, and changed the message when no node is found. It’s built into the latest image!

2 Likes

It’s going to be difficult for me to retest before tonight, and I was using Firefox and Brave for the tests.

1 Like

Don’t worry, I found the source of the bug, it’s all good :slight_smile:

I was able to test quickly with a fresh Gladys and it’s perfect! Well done :wink:

2 Likes