Custom Component / Card: Plex meets Home Assistant

Hello everyone,

Does someone use the plex meets HA Card with an input list for players and for libraries selection?

thx

Can someone please tell me how to use this with a Roku? Everything seems to come up, but when i hit Play nothing happens.

How do I write the entity part?

entity:

  • media_player.plex_plex_for_roku_roku_ultra

is what i currently have

Hi everyone,

looking for some help, i have intergrated the card into my HA and it works well on my laptop. However when i access the same HA on either my phone or tablet i get a connection error to Plex

This is such a good piece of work i want to progress it further but this is a block i have hit.

Would it be the card/HA blocking the system or would it be the Plex server.

It is strange that it works on the laptop but on on other deveices

Thanks for the help when it comes

HBi, I’ve asked several time here and Github with no reply, but do you know why with an iphone you can only type one letter at at time in the search field?

Every keystroke closes the keyboard. this does not happen with a normal text input box

Hi Juraj,

Being able to “see” the thumbnails from the plex server in the card is ok and also being able to click “play” in the card, the file opens and plays on the designated Plex player.

The issue i am finding is when i open the same card on a differnet machine (tablet) the card does not show any thumbnails and says that it is having issue connecting to the Plex server

When i use the url "http://192.168.x.x:32400/clients?X-Plex-Token=qweRTY123456 which works on the Laptop but not the tablet i get a diffenet machine Idenifier. would this be the issue?

thanks
Nigel

Hi. Read the link I sent you, that is the issue you are encountering.

It is known bug. The search field only allows me to type one letter at a time on my iPhone. As soon as I type a letter, it kicks me out, and I have to click on the search field again to type the next letter. Same thing happens with the backspace any thoughts? · Issue #104 · JurajNyiri/PlexMeetsHomeAssistant · GitHub

I know that’s my issue that I opened lol

Okay as long as it’s not just me, I’m assuming IOS 17 maybe? Hopefully a fix for it soon thanks

Hi Juraj
Thanks for the quick answer. I have looked through the doc you sent but cant seem to see what i need to do to sort it out.

my setup currently
Plex Server is located ona QNAP NAS - 192.168.31.99
Home Assistant is located on QNAP with Duckdns.org as the SSL interface
Plex Client App is on a Fire Stick (connected to TV)
Tablet is an Amazon Fire 10
Laptop is a MS Surface

Home assistant card yaml
type: custom:plex-meets-homeassistant
protocol: https
token: cmumxxxxxxxxxxx
ip: 192.168.31.99
port: 32400
libraryName: Deck
entity:
plexPlayer: Lounge Firestick

The HA “Plex meets Homeassistant” card and Yaml works well on the laptop to select a file and watch on the fire stick on the TV

Using the Tablet with the same HA “Plex meets Homeassistant” card and Yaml (as above) shown a issue

Dialogue box apprears and states
-Unable to Connect to Home Assistant
The Home assistant hostname certificate mismatch, please review the home assistant certificate or the connection settings and try again

Then in the card the following is shown
-Error: Plex server did not respond
Details of the error: timeout of 10000ms exceeded

Hope that makes sence

Thanks
Nigel

To add to my last message

Plex Server Version 1.32.8.7639

One more question. Why do my plex movies always resume from where they left off? I want them to always start at the beginning.

I feel like other people have the opposite problem by default. Is this some plex casting setting?

From the link I sent:

If you are using Home Assistant via HTTPS, you need to specify port https for Plex and have Plex available on https connection with a valid and working certificate.

There is no such thing as certificate for ip thus your configuration is invalid.

Juraj
the Plex is accessed via HTTPS and works - I have also created a standalone HA incident whcih was NOT HTTPS and i replicated the smae issues

the Card has HTTPS as the protocol (see my YAML text previously)

any other suggestions?
Nigel

Anyone know how to get the movie to play from the beginning?

Is this a setting in Plex for casting?

Anyone ? I am yet to get an answer on this thread to anything I’ve asked. I’ve slowly moved away from this and have built my own, can someone PLEASE tell me how to start the movie from the beginning instead of it alwasy picking up where it left off

please

It works because you have put in exception.

protocol: https
token: cmumxxxxxxxxxxx
ip: 192.168.31.99

This is invalid configuration. It will never work without exception in browser, fix your env or it will not work.

There is no such thing as certificate for ip thus your configuration is invalid.

Put in a proper hostname with proper certicate like the important notice in readme asks you to do so.

Read the above carefully and tell us more about your setup, there are many different ways how to use this card.

Wow, that was a shot int he dark. It nearly worked for me. Sadly the token is accepted but the integration gets stuck on “initialising”

image

This is a card. Not integration and not that integration.