Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor not showing? #95

Open
Apok1 opened this issue Feb 23, 2025 · 3 comments
Open

Sensor not showing? #95

Apok1 opened this issue Feb 23, 2025 · 3 comments

Comments

@Apok1
Copy link

Apok1 commented Feb 23, 2025

I have:

Installed the Upcoming Media Card (inc files)
Restarted
Added Card, shows - but blank no error
Added the HACS integration for 'sensor.plex_recently_added'
Added the resource "/local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.1" as JS
Added to my configuration.yaml (in HA Folder):

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes
  javascript_version: latest

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

notify:
  - platform: ntfy
    name: Ntfy
    topic: homeassistant
    url: http://192.168.1.123:5050
    token: mytoken

input_boolean:
  toggle_state_livingroom:
    name: Toggle State Living Room
    initial: off

sensor:
  - platform: plex_recently_added
    token: mytoken
    host: http://192.168.1.123
    port: 32400

I also tried

sensor:
  - platform: plex_recently_added
    token: mytoken
    host: 192.168.1.123
    port: 32400

This is the card code:

entity: sensor.plex_upcoming_media
type: custom:upcoming-media-card

Plex upcoming media is showing in HACS, but not in integrations or States.

I also copied all the files into the same folders under homeassistant\custom_components\plex_recently_added.

I then restarted a couple of times, i redownloaded the HACS, though it didn't replace the files i added manually

Can anyone suggest what I need to do next? I cannot point to the plex upcoming sensor in the upcoming media card as it doesn;t exist?

@mkanet
Copy link
Collaborator

mkanet commented Feb 23, 2025

Hi @Apok1 It doesn't look like you're installing this integration correctly. Please click on the blue "Add integration to MY" icon in the documentation and follow the prompts to add the integration to your Home Assistant.

@Apok1
Copy link
Author

Apok1 commented Feb 26, 2025

I tired that, I get:

"Error
This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant."

I have the latest version of Home Assistant running btw.

It's on HACs which is how I installed in instead, if the blue button doesn't work what should I do?

@mkanet
Copy link
Collaborator

mkanet commented Feb 26, 2025

I tired that, I get:

"Error This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant."

I have the latest version of Home Assistant running btw.

It's on HACs which is how I installed in instead, if the blue button doesn't work what should I do?

Now it makes sense that you're not using the correct Integration. It looks kie you installed an outdated three-year-old forked version of Plex Recently Added that is broken and doesn't support adding the integration via UI, with many missing new features by NemesisRE:
https://github.com/NemesisRE/sensor.plex_recently_added

Please install the original/official integration below which is updated regularly. It should be added to HACS any day. It is in the process of being added back to HACS. Until it is added to HACS, you have to install it manually adding this repo to HACS using the following steps:

  1. Go to the HACS dashboard
  2. Click the three dots in the top right corner
  3. Select Custom repositories
  4. Add the URL of the repository you want to add:
    https://github.com/custom-components/sensor.plex_recently_added.git
  5. Choose the correct category. Integration
  6. Click ADD

After you do this, you will be able search for it Plex Recently Added on HACS. You should see 2 of them. Download the correct/updated Integration and install it via Home Assistant UI.
https://github.com/custom-components/sensor.plex_recently_added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants