Coder Social home page Coder Social logo

Comments (6)

xbavnu avatar xbavnu commented on July 19, 2024 1

I see the following warning in the log:

Logger: homeassistant.components.media_player
Source: helpers/entity_platform.py:719
Integration: Media player (documentation, issues)
First occurred: 8:41:18 PM (1 occurrences)
Last logged: 8:41:18 PM

Updating linkplay media_player took longer than the scheduled update interval 0:00:10

edit:

okay I think I found it. I already added the speaker with the same name before I installed linkplay. I later changed the name for the linkplay speaker in the config again, but it still shows up under the previous name.

Even though I still don't really know what the problem was, thank you very much for the quick responses :D

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

What's the exact message?

You likely have an indentation problem:

media_player:
  - platform: linkplay
    host: 192.168.178.52
    name: pc speaker

from home-assistant-custom-components-linkplay.

xbavnu avatar xbavnu commented on July 19, 2024

Thank you for quick the response.
I don't get any error messages. After pressing "check configuration" I only the see a spnning symbol as if it is loading something. But afterwards nothing happens. I even waited for several minutes. As soon as I refresh the page everything is back to normal. I also can not find any errors in the config log.

About the indentations, I copied the lines directly from the example configuration as well as your example above. I still can not validate the configuration.

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

Check your home assistant logfile, there should be written what's the cause.

from home-assistant-custom-components-linkplay.

xbavnu avatar xbavnu commented on July 19, 2024

I could not find any errors or warnings in the log file. Meanwhile I installed the HA update and restarted HA a few times - now this problem seems to have disappeared. I can validate the configuration now.

But I have to do a lot more research on home assistant :D
I was expecting to see a new entity or device that I could add. But I can not see the speaker anywhere.

This is what my config looks like now:

# Linkplay configuration for Arylic Speakers
media_player:
    - platform: linkplay
      host: 192.168.178.52
      name: Overnight Sensations
      volume_step: 5
      multiroom_wifidirect: False
      sources: 
        {
          'wifi': 'WiFi',
          'line-in': 'PC Audio', 
          'bluetooth': 'Bluetooth',
          'udisk': 'USB stick',
        }

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

If for any reason adding the entity fails, the error is logged in the log.
If you don't see any error in the log, you likely either don't have the component properly installed, or the entity is there but you just don't find it.

from home-assistant-custom-components-linkplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.