bstascavage / plexhue Goto Github PK
View Code? Open in Web Editor NEWProgram to integrate Plex with the Philips Hue
Program to integrate Plex with the Philips Hue
Hello,
Very nice job ! i've just some question.
Thanks
If Plex Home (https://blog.plex.tv/2014/11/20/introducing-plex-home/) is enabled, plexHue is not able to authenticate to the server to pull session status.
small change to your code, makes hue color bulbs go from playing (dark red) to warm white ( pause / stopped)
def transition(state)
if state == 'playing'
self.class.put("groups/#{self.getPlexGroup}/action", :body => "{"on":true, "hue":0, "sat":254, "bri":5, "transitiontime":#{$config['hue']['starttransitiontime']}}")
elsif state == 'paused'
self.class.put("groups/#{self.getPlexGroup}/action", :body => "{"on":true, "ct":500, "bri":128, "transitiontime":#{$config['hue']['pausedtransitiontime']}}")
elsif state == 'stopped'
self.class.put("groups/#{self.getPlexGroup}/action", :body => "{"on":true, "ct":500, "bri":255, "transitiontime":#{$config['hue']['stoptransitiontime']}}")
end
end
end
Support for FreeBSD for Plex Media Servers running on this and FreeNAS. Currently will not run due to use of rc.d rather than init.d.
Hi,
I got an issue when I'm trying to start PlexHue,
service plexHue start
Starting PlexHue
service plexHue status
[FAIL] plexHue is not running ... failed!
When trying to start the plexHue service there is an error because the path is referring to:
DAEMON=/home/bstascav/plexHue/bin/plexHue.rb
The /home/bstascav bit should be relative
Suggested feature: Remember the state (brightness) of the lights so when turned on again they are at the same brightness level as when turned off.
I keep getting Unauthorized Plex Access in my .log file. any ideas as to what could bring that up?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.