[OBSOLETE] PlexPlus - Control Lighting with Plex Play Status

I am sorry, I am stuck here. I have the App ID and Access token (using the SmartApp Method) however I am not seeing Additional Requirements or where to enter the IDs to complete this step.

It’s the very next step in the guide after the bit you quoted?

But arent you using Plex Manager for polling? Or are you now using the exe? You only need to configure this if configuring the exe (a seperate application that needs to run on a computer)

That was what i wasn’t following. So if I am only using the app via ST I do not need the OAuth step?

Correct as I said in my earlier post you just need to add the media player device below the IP address box :slight_smile:

Thanks!

I set up a room so that when I pause it turns the light in that room back on. I used this as a monetary option. However the input is slow to run the command and turns the light on and off within a sec I stead of leaving it on when paused and off when play.

The delay is likely to be caused because you are using the Plex Manager, this polls every 10 seconds for a change of state, so it could be up to 10 seconds before anything happens… the only way to avoid this is to adjust the polling in Plex Manager (not advised) or if you are running Plex server on a computer then move to the EXE approach above…

For the momentary option, I think you are using it incorrectly? This is meant for instances where scenes are triggered via a switch, momentary switches by their very design only go on briefly then back off, as they a momentary… if you just want to turn lights on then move the lights to either “Switches off when playing” which by default turn on when paused… or “adjust level of these bulbs”/“Adjust level and color of these bulbs” and specify the “Level On Pause”

However sounds like you may already have the pause value set, which is why you are seeting them come on then shortly after go off :slight_smile:

Hope that helps!

Pulling this in via the github integration.

Lower case was created successfully but the upper case failed (no given error):

smartapps/jebbett/PlexPlus.src/PlexPlus.groovy

Is the lower case one (plexplus.src/plexplus.groovy) the right one to use here?

Yeah use the lowercase only, when I saved initially it was in uppercase which was incorrect as ST pushes updates in lowercase and the whole thing gets confused :slight_smile:

:slight_smile: Thanks!

Yes this is very helpful thank you for explaining momentary states. One question I have a WeMo switch that turns on the sub so essentially onice Plex starts I want to turn on The WeMo switch but I do not want to turn off when it’s paused. I know you don’t have a stop command but essentially I want to leave the sub i.e. the WeMo switch on unless Plex is stopped. Is this possible?

Assuming you are controlling your bulbs state using the bulb % settings and not switch settings, then just put it in as a switch and turn on “Switches use Play config when Paused”.

That should do the job :slight_smile:

If for whatever reason you need to keep that setting then the other option is to create another room with the same trigger, but different settings… the apps designed to be fairly flexible :smile:

Oh no, i cant because the bulbs i am using is a switch not a bulb (it is a fan). So i have to use the switch option.

That’s fine so just create another “room” as per my second suggestion :slight_smile:

Just another hint as well, I’d put a long stop delay on the sub to stop it turning off then on between TV episodes or queued films

Updated Plex Plus to support Plex Webhooks (Plex Pass Only)

This allows Plex to directly send status updates to SmartThings, this bypasses the need for the Plex2SmartThings program.

Update your Plex server first!

App now at V3.1

https://support.plex.tv/hc/en-us/articles/115002267687-Webhooks

Hello,

I went through your instructs on how to setup Plex Plus to work with Plex. I’m also using the Plex2SmartThings app as well. With Plex adding Webhooks support, how do I utilize that in your app since you’ve added the support? Does Plex2SmartThings still need to be used if using Webhooks?

Thank you for any advice you can provide.

Thanks,
Tom

Hi Tom,

WebHooks is an alternative to the Plex2SmartThings program, basically the program did pretty much what webhooks does, and because you don’t require a seperate program it is a better way of doing it!

The only thing to note is that you can’t use IP address as webhooks doesn’t provide an internal IP address unfortunately…

If you are not using IP address then setup should be as simple as pasting the webhooks URL in to Plex and closing Plex2SmartThings! Please ensure your server is also up to date…

New version live:

v3.2 - Updated Live Logging to be able to get Plex2SmartThings setup details easier, Cosmetics for WebHook and addition of matching 2 criteria, which I am now using where I have two of the same Samsung model TVs, but they have a different user on each…

Enjoy…

This is awesome. I set it all up last night using Webhooks and it works great.

One question: Is it possible to add more details to the virtual devices (i.e. track name, artist, etc…)? I can’t think of any practical reason to do it but I think it would be cool :slight_smile:

It’s definitely possible especially if you are using webhooks, this makes it really easy!

But like you say I’m not sure of the value it would provide… in most cases you don’t even need the virtual device if you are doing the lighting in Plex Plus… personally I try to keep out of the smart things app where possible because it’s so slow doing anything…

However if I have time on Sunday or while I’m at work next week see if I can add it as an optionally enabled function :slight_smile: