keefo / NeewerLite

NeewerLite is an un-official Neewer LED light control app for macOS.
MIT License
113 stars 9 forks source link

Matter support #52

Open Xample opened 10 months ago

Xample commented 10 months ago

Hi, I just wanted to share that your app works quite well with this matter npm package. In short, you can turn your leds in a matter controllable (Apple Homekit, Alexa, Google Home) in 2 lines:

npm i -g @project-chip/matter-node.js-examples
matter-device -type socket -on "open \"neewerlite://turnOnLight\"" -off "open \"neewerlite://turnOffLight\""

I can now control my Neewer leds with Siri thanks to your NeewerLite and that npm package (and from anywhere as long of course as the computer running NeewerLite and the matter bridge is running)

maxexcloo commented 6 days ago

Some questions:

  1. Do you run at startup? How does this look?
  2. Does the window pop up on action for you too?
Xample commented 6 days ago

I tried it as a poc for fun. The script is not run at startup but technically you could create a service with systemd or similar. And as everything is command line, no window is involved.