Skip to content
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

Support/Contributors wanted: Matter.js Library to add Matter support #17167

Open
Apollon77 opened this issue Mar 28, 2023 · 10 comments
Open

Support/Contributors wanted: Matter.js Library to add Matter support #17167

Apollon77 opened this issue Mar 28, 2023 · 10 comments
Labels

Comments

@Apollon77
Copy link

Apollon77 commented Mar 28, 2023

Is your feature request related to a problem? Please describe

Hello,

I'm one of the developers that currently work on a JavaScript/Typescript implementation of the Matter protocol with the goal to have this as basis to offer to expose devices and also controller functionality. The project is also located under the roof of the official Matter organization: https://github.com/project-chip/matter.js
As I hear this is highly interesting for this project to to expose the zigbee devices maybe as a bridge too or such :-)

We are in the process to finalize anything and are also searching for contributors. There are several things, as easiest implementing the "Clusters" (Matter calls "device features" like onoff/color(level-control that way) or even other topics and functionality.

So if you like to support there to also support zigbee2mqtt I would be happy to see you over there :-)

Ingo

@Apollon77 Apollon77 added the feature request Feature request label Mar 28, 2023
@sjorge
Copy link
Sponsor Contributor

sjorge commented Mar 28, 2023

I think at some point Koen at least briefly looked at this https://github.com/Koenkk/zigbee2mqtt/tree/matter

Something like this would probably be something that can be approached similarly to the homeassistent integration currently.

@Apollon77
Copy link
Author

:-) Yes and we want to "prepare the future " to do it better and more easy.

@Koenkk Koenkk pinned this issue Mar 29, 2023
@Koenkk
Copy link
Owner

Koenkk commented Mar 29, 2023

I've pinned this issue for more exposure. It would be great if Matter.js allowed Zigbee2MQTT to acts as a bridge between Matters <-> Zigbee! 😄

@epower53
Copy link

What I'd love is a Matter <-> MQTT bridge. I don't have the coding chops to help with something like this, but it sure would integrate nicely with many setups. Choose your automation engine from there (HA, Node-Red, etc)... all would still use MQTT for device communication, allowing mixed z-wave/zigbee/Matter environments with little effort from the perspective of the casual user (like me).

@Apollon77
Copy link
Author

The challenge there might be that Matter works very much with "commands" and not with directly changing properties. there are easy command like on/off/toggle where you can directly tmap the outcome to properties, but also commands like "dim the ligth within X seconds and Effect Y to level Z" ... so yes you could simply send this command to MQTT ... also fine ... Other commands might need to return data ... then it could become more interesting.

So yes, can all be possible ... the devil is in the details (like always) ;-)

@epower53
Copy link

epower53 commented Apr 17, 2023

Other commands might need to return data ... then it could become more interesting.

Interesting - I was unaware of this difference. So, devices are not required to send an update with their final state after they complete command execution? This would be surprising...

@Apollon77
Copy link
Author

These are separated things. You can subscribe to attribute changes and there are also events that could be sent out by the device. So yes ideally a command end in 1-n "attribute changes" and potentially events

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label May 19, 2023
@Apollon77
Copy link
Author

no stale

@github-actions github-actions bot removed the stale Stale issues label May 20, 2023
@sjorge
Copy link
Sponsor Contributor

sjorge commented May 23, 2023

The newly created https://github.com/Koenkk/zigbee2mqtt-user-extensions is probably a good home to house a WIP matter extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants