top | item 37993846

(no title)

jbuzbee | 2 years ago

If you can do Typescript, matter.js makes it trivial to at least create a virtual matter device. Five minutes to clone the repo, build, run and pair with Google, Apple, Alexa, SmartThings, etc. The one caveat is certification. With Google you need to register as a developer so it allows an uncertified device. The others just give a warning.

See: https://github.com/project-chip/matter.js

discuss

order

justinsaccount|2 years ago

oooh! that looks perfect. The main repo is a bit much, and much of the examples seem to assume you're running on bare metal embedded

I'd have preferred another language, but what I want to do is ultimately so simple that TS should be fine.

jbuzbee|2 years ago

Yeah - you can even pass your own python, go, bash, etc. "on/off" script as a parameter to the example matter-device so you can get away with no code changes at all. You can get help at the listed discord server.