PlexHue

Status
Not open for further replies.

tonyp1983

Dabbler
Joined
Feb 17, 2015
Messages
31
Had my FreeNAS system up and running for some time, serving up media to my RasPlex setup that powers my projector and surround sound in my cinema room. I've just put an order in for a Philips Hue starter pack and have been reading up online on automation between Plex and the Hue system. There is a great sounding/looking program on git (here) that dims the lights when you begin playing something, raises them slightly when you pause and restores the lights when you stop.

The programme is Ruby based but the setup/config is based on a Linux (Debian specifically) setup and uses init.d scripts to start everything up rather than rc.d and the scripts refer to other aspects of init (libs, vars.sh script, etc) that cause the daemon startup to bork.

I've searched all over for the last few days to try and figure out a way around this buy I'm not the most skilled with this sort of thing. I've even raised a request on git for FreeBSD based scripts but the developer has responded saying he has no access to FreeBSD to test so has left it open in case someone else chooses to try.

So now I find myself here wondering if someone would be kind enough to help/guide me on what to do? Any assistance would be gratefully received.
 

tonyp1983

Dabbler
Joined
Feb 17, 2015
Messages
31
Do you get any errors if you run ruby plexHue.rb ?
Just got my Hue hub today, enter the config information and ran ruby plexHue.rb with no errors showing.
 
D

dlavigne

Guest
That's the command that the startup script runs so I think you're good to go. You may find it easiest to either remember to run that command as you need it or to add a crontab within the jail that uses @Reboot as the time (which will run that command when the jail starts).
 

tonyp1983

Dabbler
Joined
Feb 17, 2015
Messages
31
That's the command that the startup script runs so I think you're good to go. You may find it easiest to either remember to run that command as you need it or to add a crontab within the jail that uses @Reboot as the time (which will run that command when the jail starts).
Okay, cool... as long as it does the job, that's all I care about! :)

Thanks for your help.
 
Status
Not open for further replies.
Top