Skip to content

Add Matter support #743

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

Closed
guyluz11 opened this issue Dec 3, 2022 · 8 comments
Closed

Add Matter support #743

guyluz11 opened this issue Dec 3, 2022 · 8 comments
Assignees
Labels
feature request Request to add new feature help wanted Extra attention is needed

Comments

@guyluz11
Copy link
Member

guyluz11 commented Dec 3, 2022

Matter is a new IOT standard developed with corporation of big companies like Google Amazon Apple and more.

It just got support under Home Assistant using the python package python-matter-server (found repo of python package) and has 1095 active users.

Formerly Project named CHIP, was worked on by a group named Connectivity Standards Alliance.

GitHub link

Logo_of_Matter_connectivity_standard svg

Adding a standalone basic code of a Matter server that could turn a light on/off will be a good start, no need to connect it to the cbj_hub code.

This is the Matter documentation https://developers.home.google.com/codelabs/matter-sample-app#0
Another option is to reverse engineer the implementation of the python package I have mentioned

@guyluz11 guyluz11 added the feature request Request to add new feature label Dec 3, 2022
@guyluz11
Copy link
Member Author

guyluz11 commented Dec 3, 2022

Found a Dart package for Matter GitHub repo link.
Currently it is empty

@guyluz11 guyluz11 changed the title Add matter support Add Matter support Dec 3, 2022
@guyluz11
Copy link
Member Author

guyluz11 commented Jul 29, 2023

More packages
Android only
https://pub.dev/packages/google_matter_flutter

@guyluz11 guyluz11 transferred this issue from simple-hub-organization/cbj_hub Jan 2, 2024
@guyluz11
Copy link
Member Author

Tool to create virtual matter device for testing
https://developers.home.google.com/matter/tools/virtual-device

A snap to toggle matter devices
https://snapcraft.io/chip-tool

A instruction on creating matter device for raspberry pi and controlling it with the snap
https://canonical-matter.readthedocs-hosted.com/en/latest/tutorial/pi-gpio-commander/

Instructions on compiling matter
https://project-chip.github.io/connectedhomeip-doc/examples/chip-tool/README.html

@guyluz11
Copy link
Member Author

To run the code follow the instructions

git clone --recurse-submodules https://github.com/project-chip/connectedhomeip.git
cd connectedhomeip/examples/chip-tool
./scripts/examples/gn_build_example.sh examples/chip-tool out/chip-tool
sudo apt update
sudo apt install python3.12-venv

And then I follow this one here
./gn_build.sh

@guyluz11
Copy link
Member Author

@guyluz11
Copy link
Member Author

Response from matter developer on discord

The chip-tool is just an example application. To create a .so you'd need to write code against the header files for relevant API such as those in connectedhomeip/src/controller... Then the easiest path is probably to link against a static platform library, I think it's libCHIP.a for linux

If you haven't done much C/C++ you'll need to learn how to create a build system and work with the CHIP API

@guyluz11 guyluz11 assigned guyluz11 and unassigned guyluz11 Feb 13, 2025
@guyluz11 guyluz11 transferred this issue from simple-hub-organization/cbj_integrations_controller Mar 9, 2025
@guyluz11 guyluz11 self-assigned this Mar 9, 2025
@guyluz11
Copy link
Member Author

guyluz11 commented Mar 9, 2025

Completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request to add new feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant