neeo-driver-osx-remotebuddy

1.1.0 • Public • Published

NEEO's Mac Remote Buddy Controller

Controls the Remote Buddy menu of an Apple Mac via the NEEO remote controller. Since some of the Apple Mac's lacks IR support, RemoteBuddy is controlled via the internal AppleScript commands.

Setup

  1. Follow the instruction of the @neeo/cli module: https://github.com/NEEOInc/neeo-sdk-toolkit/tree/master/cli

  2. Open Terminal and then:

npm install neeo-driver-osx-remotebuddy

This installs the NodeJS module on your Mac.

  1. To run the application, type:

npx neeo-cli start

Installation

  1. 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
  1. 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.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.neeo.server</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/lib/neeo-server/neeo-server-startup</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

With every reboot or new login the NodeJS server will start the drivers in the neeo-server directory.

/neeo-driver-osx-remotebuddy/

    Package Sidebar

    Install

    npm i neeo-driver-osx-remotebuddy

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    5.71 kB

    Total Files

    4

    Last publish

    Collaborators

    • meijerpeter