Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

digitaldan/matter.js-java

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java / GraalVM Engine For Matter.JS

This project implements the native runtime dependencies in Java needed to run a matter.js service, similar to the matter-node.js implementation. This includes

  • Crypto
  • Network
  • Storage
  • Time (background tasks)
  • Utils (command line and signed/unsigned byte operations)

Objectives

To Provide a working service which acts as:

  • A Matter Controller: to pair and control matter devices (lights, thermostats, etc...)
  • A Matter Server: to expose local objects as matter devices (for Alexa, Google Home, Apple Homekit, etc....)

Eventually this may become a openHAB addon for Matter.

Running

For demonstration purposes, this project implements the matter.js example shell application mostly unmodified except for the readline/console shim in Java.

The following command will compile all classes (TS and Java), webpack the JS files and run the shell application

npm install && npm run webpack-dev && mvn clean compile exec:java -Dexec.mainClass="com.matterjs.Main"

Note: this probably won't work on windows yet due to lazy path programming on my part

About

Java runtime for matter.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.