Edit: I removed my comment due to a total misunderstanding of context and since the above comment has been edited for clarification. @trueppp was merely replying to a comment about Plex’s Alexa skill and not commenting on this project. Mods, please ignore my flagging of the above post.
I think you may of misunderstood me, I commented on why we would use Plex Assistant on Alexa instead of the included skill.
Plex Assistant is great! It work wonders with Google Assistant!
My sincerest apologies, I did not see that you were replying to that certain comment. I will pay more attention in the future, but I’m sure you could excuse my snap judgment since looking at your comment without context makes it seem quite insulting.
Thank you for the clarification and sorry again, today is most definitely one of those days.
I will consider adding support for Alexa
Also, let me formally welcome you to the community since this is your first post after all. Please excuse my poor first impression.
@mayker, do you want me to create a ticket for the samsung issue on github? since its more releated to Plex server integration instead of plex assistant
Yeah, Plex Assistant is just using the HA services to play the item. Since the HA service itself fails for you without PA calling it then the problem lies elsewhere.
ok, i turn on debug too, i hope i can see an error in the log, with normal logging i dont see any error at all, only an error on the samsung tv
No problem, I’m looking into it, as all that would be needed is forwarding the request to the webhook (Probably). And as far as the misunderstanding, don’t worry about it we all have these days…I was also in a kinda mood, My google assistant has been going downhill for the last two years, so I decided to try Echo. It works better for my use case, except the plex integration.
I will look into what is needed to create a custom Alexa skill
ok, i enabled debug, but there is nothing more then this line:
2021-03-08 20:22:39 DEBUG (SyncWorker_20) [homeassistant.components.plex.media_player] Attempting to play <Movie:4063:Cars> on Plex (Plex for Samsung - TV Samsung)
anything else you need before i create a ticket? really strange that it doesn work anymore on my 2 samsungs tv’s (older model) (pre-tizen) it worked before, no plex update since
Quick question that i cannot seem to find the answer for…how do we define the default player? Lets say I always want it to play on Media-PC except if I state otherwise?
Thanks
You can define the default player when you setup the integration, only then
I have got startup script to run the first time. Still testing it if it works at anytime, but resetting all the things I have tried and starting up again from scratch, it worked.
At the time I setup plex assistant for the first time,
- Selected the correct PMS server
- Selected the correct plex client as default cast device.
My Chromecast with Google TV device is automatically assigned a friendly name by
Plex integration as, “Plex (Plex for Android (TV) - Chromecast)”.
I will select this as default device. - Then I setup startup script as
“Plex (Plex for Android (TV) - Chromecast)”:“script.start_googletv_plex”
script.start_googletv_plex I used is,
start_googletv_plex:
sequence:
- data:
entity_id: media_player.tv_livingroom
service: media_player.turn_on
- wait_template: "{{ is_state('media_player.tv_livingroom', 'On') }}"
timeout: "00:00:10"
- data:
entity_id: media_player.google_tv_livingroom
service: media_player.turn_on
- wait_template: "{{ is_state('media_player.google_tv_livingroom', 'On') }}"
timeout: "00:00:10"
- service: media_player.select_source
entity_id: media_player.google_tv_livingroom
data:
source: "Plex"
- service: plex.scan_for_clients
- wait_template: "{{ not is_state('media_player.plex_plex_for_android_tv_chromecast', 'unavailable') }}"
timeout: "00:00:10"
The entity for “Plex (Plex for Android (TV) - Chromecast)” is
media_player.plex_plex_for_android_tv_chromecast.
I am commanding plex with google assistant via IFTTT.
Thanks.
@mayker When using IFTTT, the url provided point to plexassistant? I’m testing a custom Alexa skill right now, it seems to work but I have to run the request through node to get it in the right format. If this could be done directly through Plex Assistant it would be great.
For IFTTT Plex Assistant listens for the event generated by the IFTTT integration and then handles the data it receives, DialogFlow calls Plex Assistant’s built in intent. I see on Github that you are using NodeRed to handle the call. I don’t have an Alexa device to test this with, but couldn’t you just make an Alexa Skill that would call the plex_assistant.command
service or the built in intent script called “Plex”?
done : Plex on samsung tv, request could not be completed · Issue #47712 · home-assistant/core · GitHub
Yes, but I would have to create a Lambda function to interpret the JSON received from the Alexa skill, and i’m not familiar with python or nodeJS. Doing it in node-red was the fastest way for me to get it operational.
Cool, glad you got it working. I’ll look into what I can do to create an Alexa skill, I’m sure there’s an Alexa app I can use for testing.
Yup android and iOS
Hi,
I’ve just discover this, but I’m not able to get the first setup correctly. In the logs I can see that there is a timeout when trying to reach my plex server (logs https://pastebin.com/nMXVJvL0)
I have installed plex assinstant manually, and my home assistant is in a docker (Home Assistant Container 2021.3.3)
I’ve also checked if I could reach my plex server from dhte container, and I was able to ping it.
is there a way that I can increase the timeout ot more than 30sec?
Any ideas?
Thanks
Can’t seem to be able to remove plex assistant from integrations - someone had this before?
from the log:
ERROR (MainThread) [homeassistant.setup] Setup failed for plex_assistant: Integration not found.
from the integrations GUI:
I have weeded out everything from the config.yaml, HACS and GUI, yet there’s something left that keeps it in the bootstrap :
INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'frigate', 'system_health', 'broadlink', 'default_config', 'mobile_app', '**plex_assistant**', 'sonarr', 'group', 'blitzortung',
Any pointers will be much appreciated!