Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature Request] Remote API #77

Open
Dischi opened this issue Jul 4, 2024 · 4 comments
Open

[Feature Request] Remote API #77

Dischi opened this issue Jul 4, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Dischi
Copy link

Dischi commented Jul 4, 2024

It would be nice to have an API to extend the matter bridge without having to write a plugin in javascript. Maybe because bindings to whatever you want to add only exist in other languages or (in my case) for people who do not know Javascript.

Similar to the home assistant matter server there could be a JSON websocket API to add/remove devices, change their state and receive notifications from a matter controller. Or an MQTT plugin independent of zigbee2mqtt to add external devices.

@Apollon77
Copy link

I'm not sure if it makes sense to enhance matterbridge for something like this. I would more see this (and already planned mid-term) as a feature of matter.js.

@Luligu
Copy link
Owner

Luligu commented Jul 4, 2024

It would be nice to have an API to extend the matter bridge without having to write a plugin in javascript. Maybe because bindings to whatever you want to add only exist in other languages or (in my case) for people who do not know Javascript.

Similar to the home assistant matter server there could be a JSON websocket API to add/remove devices, change their state and receive notifications from a matter controller. Or an MQTT plugin independent of zigbee2mqtt to add external devices.

Hi,
it would be interesting.
A friend already asked for a similar solution to expose to matter his DIY devices.
Right now is not planned but a pure MQTT plugin with simple API is certainly a manageable thing.
It would allow to connect from different systems and languages.
Now I'm really occupied to migrate Matterbridge to a new version of matter.js.
In the future is possible,

@Dischi
Copy link
Author

Dischi commented Jul 5, 2024

Sounds good. There could be a simple matterbridge/device/add and matterbridge/device/remove interface as well as one topic to report the current status and to set values (similar to zigbee2mqtt). The content could be a simple json with the same attribute names and values as the matter standard. If you find the time, I can be the beta tester :)

@Luligu
Copy link
Owner

Luligu commented Jul 5, 2024

You know what?
Is interesting cause you are asking me the same features as my friend.

@Luligu Luligu self-assigned this Aug 20, 2024
@Luligu Luligu added the enhancement New feature or request label Aug 20, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants