Skip to content

A complete Crystal implementation of the Matter protocol specification (https://buildwithmatter.com). Includes full support for controller, device, commissioning, secure communications, device types, and cluster definitions.

License

Notifications You must be signed in to change notification settings

spider-gazelle/matter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matter

CI

Matter protocol implemented in pure Crystal Lang.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      matter:
        github: spider-gazelle/matter
  2. Run shards install

Example Device

An example OnOff device is provided in the ./examples directory.

  • Build using: crystal build examples/matter_switch_device.cr -o bin/matter_switch
  • Validate with chip-tool
    • Launch bin/matter_switch, grab the chip-tool command line in the output
    • Clear any previous sessions: chip-tool storage clear-all
    • Commission using chip-tool
    • Run: crystal run examples/device_validation.cr

Confirmed working with iOS.

Contributing

  1. Fork it (https://github.com/spider-gazelle/matter/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

A complete Crystal implementation of the Matter protocol specification (https://buildwithmatter.com). Includes full support for controller, device, commissioning, secure communications, device types, and cluster definitions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •