Hi,
were you able to get this working with your LG tv. I’ve have an LG CX and would really like to get this up and running
1.0.0 Update
The majority of Plex Assistant has been rewritten and as such has many breaking changes.
Follow the update guide for breaking changes, what needs to be removed, and how config has changed.
This update requires at least HA version 2021.2.0.
New Features
- Configuration through the UI
- Component listens for IFTTT and DialogFlow calls automatically (no more intents, scripts, or automations needed)
- HA’s
media_player
entities are now used for devices - The entity’s friendly name is now used for it’s device name
- Media automatically resumes where you left off
- Continuous play when playing a show, ondeck, latest, etc.
- New commands “next” and “previous” to go to next or previous media item
- New random command to play a random item or selected items in a random order
- New “Start Script” feature to start Plex Clients that aren’t currently open
- “Keyword Replace” feature. Replace any word or phrase in the command with a replacement of your preference
- Jump forward/back works for all devices and amount (in seconds) is configurable
- DialogFlow instructions improved with uploadable template action
- Roman numerals are now handled
- Remote server support
- Norwegian translation
Thank you…
For patiently answering my endless questions and putting up with my constant pestering/suggestions, I’d like to give a huge “Thank you!” to two individuals for their help in getting Plex Assistant to this point.
@jjlawren for their guidance and their work on Python-PlexAPI and HA’s Plex integration. The ability to use media player entities, continuous playing of media items, and more wouldn’t be possible without them.
@ludeeus for HACS, help with config flow, guidance on all things python, and always being willing to help.
Really great job here!!
For dialog flow and the “test” app in Google, is it still needed to reactivate the test app on google cloud? I thought the simulation always expires after 30 days?
Ask again in 30 days
Haven’t had the template action active that long yet and with testing and reuploading my current DialogFlow action isn’t even a day old.
Yeah, i used to have google assistant before, and that test app always expires after 30 days (simulator mode)
Now, no idea , since I use nabucasa
You should make an official component on google side , so we don’t have that “test” anymore
Don’t think I can, unfortunately, since the webhook URL is unique for each user.
Ahh, that’s too bad, can’t it programmed as a configurable option?
Not that I know of, but I have limited DialogFlow experience. I haven’t looked into how Flex/Phlex was doing it before, but I do know that DialogFlow/Google is where his main issue was and why that project is currently dead.
hmm, thought Phlex wasnt using dialog flow at all, only iftttt
yeah, thats not the same i think?
still strange that he suddenly dissapeared, never did an reply anymore on flex forum
you know what was going on? he spended a lot of time on that project and it was almost finished in some way
This issue was pretty much the last time I saw him comment on it. He was having troubles with Google and DialogFlow and said he just didn’t have the time to work on it.
I’m having trouble getting this new version working on my rokus. I can get the start script to launch the plex channels on my roku, but it doesn’t play anything. If I set a default device to on of the media_player.plex_plex_for_roku_ devices, and already have plex launched on the roku, then it works to play without requesting which device to play on. I have 2 different parts working but they aren’t working together.
I am trying to add the integration, but with 1.0.1 and HA 2021.2.3, the setup UI doesn’t appear at all.
I try to add integration and select plex-assistant, and where I suppose to get the UI,
it just goes back to the integration selection dialog.
I reinstalled plex assistant component, and also ensured to have all the old configs removed from
configuration.yaml as with the instruction, but same result.
I have plex media server integration running without any problem.
@dnikles and @rkjr Please post and issue on github with the requested information so that I can see what’s going on.
@dnikles Without knowing if there’s any errors in your logs or what the debug logs show, I assume that there may be a lag between the amount of time that the client becomes available and when it accepts commands. That may be something that I should make configurable. You can troubleshoot this a bit yourself by editing __init__.py
on line 158 You’ll see
if responding:
time.sleep(3)
Increase the number in time.sleep
from 3 seconds to something higher like 10 and restart. If that then plays the media after those 10 seconds, I should add a feature to make that delay configurable.
Thanks for the quick response! I increased the time.sleep to 30 but still had the same issue. My hunch is plex assistant doesn’t know what device to send the stream to. I will gather logs and submit on github this evening.
The cause was mopidy integration which generated a weird media_player like,
media_player.[about a 16 digit number].
After removing this integration, and that media_player,
I was able to get the setup UI for plex assistant.
Was it causing any errors in your logs? I’d like to add an exception or a check if that integration is causing issues.