NEEO's Mac Volume Controller
Controls the volume of an Apple Mac via the NEEO remote controller.
Setup
-
Follow the instruction of the @neeo/cli module: https://github.com/NEEOInc/neeo-sdk-toolkit/tree/master/cli
-
Open Terminal and then:
npm install neeo-driver-osx-volume
This installs the NodeJS module on your Mac.
- To run the application, type:
npx neeo-cli start
Installation
- Create a file in the root of the neeo-server with execution rights (chmod +x filename) with the following:
#!/bin/bash
cd /usr/local/lib
npx neeo-cli start
- Usage of the Mac's LaunchAgent is recommended to keep the NodeJS server running. Create the following file in a text editor of choice and place it in
~/Library/LaunchAgents
and name it:com.neeo.server.plist
.
Label com.neeo.server ProgramArguments /usr/local/lib/neeo-server/neeo-server-startup RunAtLoad
With every reboot or new login the NodeJS server will start the drivers in the neeo-server directory.