Jump to content


Photo

Plugin for controlling Hue light

hue hue lights phillips hue home automation ha

  • Please log in to reply
72 replies to this topic

#61 Biofects OFFLINE  

Biofects

    Newbie

  • Members
  • 2 posts
  • Local time: 12:59 AM
  • LocationAustin, Tx

Posted 09 January 2019 - 09:01 PM

Hello everyone, I am very vanilla (2 weeks new) to Emby and loving it! I was searching for a phillips hue plugin and found this article. I was bummed for about 30 min, that the original plugin was no longer working. Then I said I'll see if I can fix it. Well I have it working for Emby 3.6.0.84. I do have the fix for 3.5 also, ill need to compile it. I will fork the original and publish in the next day or so. Do I just link to my github here when I publish? I would love feedback.

Thanks

Edited by Biofects, 09 January 2019 - 09:02 PM.


#62 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113296 posts
  • Local time: 01:59 AM

Posted 09 January 2019 - 10:16 PM

Hi @Biofects, thanks and welcome !



#63 hstamas OFFLINE  

hstamas

    Advanced Member

  • Members
  • 424 posts
  • Local time: 01:59 AM

Posted 10 January 2019 - 09:34 AM

Hi @Biofects. The plugin is still working for me as is so Im curious what isnt working on your end? Is it just the need to be running the beta server that is the issue?

 

I'd be happy to test out anything you create that might make this an even better plugin. @Luke should be able to give you instructions on how to get a plugin submitted to the catalog once  you get to that stage.



#64 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113296 posts
  • Local time: 01:59 AM

Posted 10 January 2019 - 12:28 PM

Yes I can help with that, thanks.



#65 Biofects1 OFFLINE  

Biofects1

    Newbie

  • Members
  • 4 posts
  • Local time: 12:59 AM

Posted 10 January 2019 - 01:54 PM

Thanks @Luke and @hstamas.

 

I have published release here Biofects. The reason I went down this road was I could not get the original plugin to work with my new install of Emby Server not the beta version. I also tried to update the base code to be on later versions. Please let me know if you have issues on the install and I will try to fix them.

 

Thanks.



#66 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113296 posts
  • Local time: 01:59 AM

Posted 10 January 2019 - 01:55 PM

To work with the beta version you'll need to use the beta nuget package. the version of the nuget package corresponds to the version of emby server.



#67 Biofects1 OFFLINE  

Biofects1

    Newbie

  • Members
  • 4 posts
  • Local time: 12:59 AM

Posted 10 January 2019 - 01:57 PM

Oh Sorry,I miss spoke. I have the latest nuget package, and working the update is Working in Emby 3.6.0.78-beta. Also I messed up my account and I am @Biofects


Edited by Biofects1, 10 January 2019 - 02:02 PM.


#68 hstamas OFFLINE  

hstamas

    Advanced Member

  • Members
  • 424 posts
  • Local time: 01:59 AM

Posted 10 January 2019 - 04:11 PM

My bad guys. I though we were talking about the Webhooks plugin that this discussion thread turned into (which works well with the latest Emby server beta).

 

@Biofects1, I will definitely test out your updated Hue specific plugin this weekend and give you feedback here.


Edited by hstamas, 10 January 2019 - 04:12 PM.


#69 GreyBeard OFFLINE  

GreyBeard

    Member

  • Members
  • 23 posts
  • Local time: 12:59 AM

Posted 11 January 2019 - 12:05 AM

I so wish this could somehow be tied to the cinema mode plugin. I used to use the Cinema Experience plugin with Kodi. It made for a very cool "movie night" experience. Select play for the movie and before movie starts dim certain lights, start music and play trivia slides for 10 minutes. End trivia, turn off lights, turn on light behind tv and play two trailers. Play the movie. Movie gets paused, raise lights to dim level. Movie ends, raise lights to normal level. The only thing they didn't have figured out when I was using it was how to save a time credits start for each movie to raise the lights to dim level then full when it ends. Add in the ability to control the curtains I'll eventually have to change the screen size for 2.35:1 vs 1.85:1 and we're golden. Really wish I knew more about programming.....



#70 GreyBeard OFFLINE  

GreyBeard

    Member

  • Members
  • 23 posts
  • Local time: 12:59 AM

Posted 11 January 2019 - 12:26 AM

BTW, the plugin from @Biofects works fine in the latest beta. (Which for some reason my dashboard says I'm running 4.0.0.0 beta instead of what I think is 3.6.85?) Thanks for the fix. Looking forward to more options such as colors and controlling more than one group doing different things.



#71 Biofects1 OFFLINE  

Biofects1

    Newbie

  • Members
  • 4 posts
  • Local time: 12:59 AM

Posted 11 January 2019 - 12:41 AM

Thanks @GreyBeard, I want to add some more features soon. Starting simple

#72 hstamas OFFLINE  

hstamas

    Advanced Member

  • Members
  • 424 posts
  • Local time: 01:59 AM

Posted 11 January 2019 - 10:26 AM

Thanks @Luke and @hstamas.

 

I have published release here Biofects. The reason I went down this road was I could not get the original plugin to work with my new install of Emby Server not the beta version. I also tried to update the base code to be on later versions. Please let me know if you have issues on the install and I will try to fix them.

 

Thanks.

 

Had the chance to quickly test out the plugin last night and it work perfectly. In my use case I would need the ability to choose which specific lights to control or if thats not possible be able to trigger a scene instead? Also the ability to have different actions based on what playback is doing, IE: Play = Turn off  / Pause = Raise to 50% etc. Great work so far!



#73 Biofects OFFLINE  

Biofects

    Newbie

  • Members
  • 2 posts
  • Local time: 12:59 AM
  • LocationAustin, Tx

Posted 11 January 2019 - 11:05 AM

Had the chance to quickly test out the plugin last night and it work perfectly. In my use case I would need the ability to choose which specific lights to control or if thats not possible be able to trigger a scene instead? Also the ability to have different actions based on what playback is doing, IE: Play = Turn off  / Pause = Raise to 50% etc. Great work so far!

 

 

Thanks for testing, Im hoping to have some time this weekend to start adding features as you have described. Like I said I am still very vanilla to Emby, so it might take a bit. I have added a function to auto discover the bridge, just need to add a few more features before next release. 







Also tagged with one or more of these keywords: hue, hue lights, phillips hue, home automation, ha

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users