petematheson wrote:Hi All,
I've been keeping an eye on this thread however I'm now around 8 pages out of date.
I had Homebridge installed already, so I've run npm update to get the latest version. I've also downloaded the legacy plugins.
Edited my config.json to just have the Indigo platform, however it tells me it can't find Indigo.js.
There's one in the Legacy Plugins folder, under a folder called IndigoJS but I don't think this is the same Indigo.js that Webdeck has created?
Where do I get this from and how do I point it to use it? (Or do I copy the files out of the IndigoJS folder into the root of the platform folder?)
smurfless1 wrote:Running automatically at user login:
1. save this to ~/Library/LaunchAgents/com.github.nfarina.homebridge.plist - remembering of course to change to your username and paths
2. run in Terminal 'launchctl load ~/Library/LaunchAgents/com.github.nfarina.homebridge.plist'
3. to run now, run in Terminal 'launchctl start com.github.nfarina.homebridge'. Use 'stop' to make it stop later if you want.
Next time you log in your user, it will automatically launch this (once). Once you're comfortable with it working properly, then you can delete the lines about stdout and stderr.
<?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>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:$PATH</string>
<key>NODE_PATH</key>
<string>/Users/dbrown/homebridge/node_modules</string>
</dict>
<key>Label</key>
<string>com.github.nfarina.homebridge</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/node</string>
<string>app.js</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/Users/dbrown/homebridge</string>
<key>StandardErrorPath</key>
<string>/Users/dbrown/homebridge/stderr.txt</string>
<key>StandardOutPath</key>
<string>/Users/dbrown/homebridge/stdout.txt</string>
</dict>
</plist>
Also note that I compiled mine with NPM_CONFIG_PREFIX set so that maybe the whole thing might be in the same directory (I'm new at the node.js thing), so I included this in my EnvironmentVariables as well:
<key>NPM_CONFIG_PREFIX</key>
<string>/Users/dbrown/homebridge</string>
DVDDave wrote:Have you been able to adjust this plist for the new version/file locations. I'm having trouble starting Homebridge with launchctl. Thanks.
--Dave
rehafer wrote:I must confess to a "derp" moment; in hopes of saving others. I sat down to begin removing random devices, and while scrolling through an X10 address caught my eye. I still have some 10 year old modules still in the system. Removing them solved my pairing problem.
Be forewarned by my tale of derp.
What's wrong with their being X10 devices their? I'd assumed/hoped that home bridge would handle any devices in Indigo not just more modern ones, sorry if i've missed it but is there any reason why X10 modules don't show up? It's an appliance module i've got that's not showing.
Me thinks a vesternent shopping trip is coming up!!
Sent from my iPhone using Tapatalk
Users browsing this forum: No registered users and 1 guest