Philips Hue and Empty Epsilon (need help)
Hello alltogether.
Anyone managed to use Philips Hue light with a Philips Hue Bridge in combination with the hardware.ini ??
Any Help or even a instruction would be nice.
(Handle me as someone who has no clue about DMX and just "somehow" managed to use the Artemis DMX Editior to handle the light correctly at Artemis,...)
Anyone managed to use Philips Hue light with a Philips Hue Bridge in combination with the hardware.ini ??
Any Help or even a instruction would be nice.
(Handle me as someone who has no clue about DMX and just "somehow" managed to use the Artemis DMX Editior to handle the light correctly at Artemis,...)
Comments
Most likely: EE supports the "sACN" protocol. At which point you need some piece of software to connect the sACN protocol to the philips hue bridge protocol.
(Note that it would be possible to directly support the philips hue bridge from EE, but it's a bit too expensive for me right now)
One thing we could do: I have hue lights at my house, I could create a Hamachi private network, and you could develop official support.
All I know is I want Hue support! And I will go through much effort to get it.
Btw. Admins, could you approve my real account "k9lego" and delete this account? Or delete the other k9lego and change my name to k9lego?
Thanks for the answer and I`m happy to hear someone is willing to put his skill on that task and is trying to make Hue Lights beeing supported by the Game.
Hope to hear soon from you k9lego
This could potentially work. But most likely won't in 1 try. So I added quite some logging in case things don't work.
hardware.ini configuration: You need to manual enter the IP address of the bridge. The hue APP should be able to show this. (There are auto detect methods, but that makes everything more complex)
If it can find the philips hue bridge then EE might appear to hang during startup for 2 minutes. During these 2 minutes it tries to get access to the bridge. You need to press the button on the bridge to allow access. EE will start as soon as it notices access. Or if it times out. It will save the access token, so you only need to do this once.
The "channels" configuration maps internal channels to names. The EE PhilipsHueDevice exposes 3 channels per light, for brightness, saturation and hue. So this is pretty much a straight mapping 123->light1, 345->light2, 678->light3, etc... you can use any name for the lights you want. Main reason you have to do this is because how the EE hardware system is working.
Finally you bind states and events to channel names, as you would for any hardware mapping. The 3 values respond to brightness/saturation and hue.
I hard coded up to 16 lights right now.
It works!!!
There was no delay starting up after I pressed the button.
I would say it's ready to public.
I really appreciate this daid! I spent hours trying to figure out how to bridge DMX to Hue. This just works right out of the box!!!
In short again: You are a genius daid. Thanks!
For some reason the channels are messed up.
The other thing I am looking into is the DMX lights fade time.
I do have a request though. Could you see if you can get transitiontime working for Hue? It only updates one light at a time, so there is a delay between each light changing. It would work better with transition time.
The issue I am having right now is with 5 lights, the transitions are quite choppy since only one light can be updated at a time...
Here's what I would like to be able to do:
Something like this:
Player is hit event
Flash lights 1-5 on with transition time 4
wait 1000
flash lights 1-5 off with transition time 3
wait 2000
Flash lights 1-5 on with transition time 4
wait 1000
flash lights 1-5 off with transition time 5
I have managed to get the hue lights working, which is great!
I just have one question?
I am trying to have a 'main cabin light' that is currently using the condition = HasShip switch, but I was wondering if there is a way that I can do the following:
During normal operation, the cabin lights are set to normal (I have this working)
When we enter a nebula the cabin lights turn to purple
When we dock, cabin lights turn to blue
When we are normal, cabin lights return to normal
I have managed to get the lights working for each of the conditions individually but can't get it to transition from normal to each status then back to normal.
Is there a state that is a base state that the lights always return to, rather than off?
Something along the lines of:
With this example, it first turns on the light, but not if the ship has been destroyed, as the 2nd part overrules this. Then if we are docking the light is put to 70%, and finally, if we are in a nebula, it goes to 50%.
Lowest "true" state takes priority. So if we are docking inside a nebula, we get the nebula result.
How many lights are you using? etc.
Could you DM me?
http://discord.gg/buRcFfm
If that link doesn't work:
http://dscord.io/EmptyEpsilon
http://dscord.me/EmptyEpsilon
Still a work in progress.
It took a bit of fiddling around to figure out the colour codes (values) but they seem to work.
I have added the colour codes I found to my file so I can reference them easily.
Hue support is in release 2017.12.22 or newer.
Note that the philips hue sets some limits on how fast you can update lights, if you want to make a complex setup with a lot of lights that react quickly to game changes, DMX512 is a better route. If you are making a dedicated bridge, I would go for this.
If you want a single light, that is part-time part of your bridge, and the rest of the time part of your home, you are better of with the hue.
Hello,
Sorry to dig up this thread but I have a question concerning Hue and DMX.
Is it possible to mix both of the system in the hardware.ini and make them working together in EE ?
Thank you !