jriker1 16 Posted November 13, 2019 Share Posted November 13, 2019 Know this isn't Emby specifically to answer but there is an add-on in Home Assistant for Emby. I've installed it but it just seems to show the Emby server exists, current logged in user, and that it's idle. Anyone know what this is used for? Thanks. JR Link to comment Share on other sites More sharing options...
seanbuff 840 Posted November 13, 2019 Share Posted November 13, 2019 It doesn't do a hell of a lot in its current form, but it's a handy way to view the status of all of your clients (local or remote) and be able to control them from your HA dashboard Link to comment Share on other sites More sharing options...
jriker1 16 Posted November 17, 2019 Author Share Posted November 17, 2019 Thanks. i assume because the only place I watch shows with Emby is on numerous XBox 360 devices I can't really use this? It does show the playing movie, and a stop button shows when I play movies in HA but it doesn't work and errors. Other than that, don't have any other buttons like you have above. Thanks. JR Link to comment Share on other sites More sharing options...
jachin99 82 Posted November 17, 2019 Share Posted November 17, 2019 If you can't get it to work with home assisnt and really want to control your Xboxes then there are tcpip controllers for wmc that can command extenders as well. Link to comment Share on other sites More sharing options...
adrianwi 237 Posted November 17, 2019 Share Posted November 17, 2019 Did anyone using this ever find a way just to show active clients rather than a big long list of everything that's ever connected? I think it would be quite useful if it only showed me 1-3 clients, but not 25-30 :-) Link to comment Share on other sites More sharing options...
seanbuff 840 Posted November 18, 2019 Share Posted November 18, 2019 Did anyone using this ever find a way just to show active clients rather than a big long list of everything that's ever connected? Give this a go - https://community.home-assistant.io/t/show-entities-conditionally-only-show-if-they-exist/130452 Link to comment Share on other sites More sharing options...
seanbuff 840 Posted November 18, 2019 Share Posted November 18, 2019 It does show the playing movie, and a stop button shows when I play movies in HA but it doesn't work and errors. Other than that, don't have any other buttons like you have above. @@jriker1 I am using a custom media player card, which probably gives me more controls (which actually work) -- you should give it a shot https://github.com/kalkih/mini-media-player Link to comment Share on other sites More sharing options...
skank 81 Posted May 1, 2020 Share Posted May 1, 2020 Hi, I got a couple of questions.. I see that current support limits to controlling the client which is playing media stuff. Is that correct? Doest this also means i (i use emby kodi addon) can make automations in home assistants, to turn off lights when client x is playing movie, turn on lights when its paused etc etc? So i dont need an extra addon inside kodi, but do it on HA side? Are there plans in the future to expand functionallity of this plugin/integration? I'm thinking about: - making a card in home assistant to display movie cover which is playing - showing cards in home assistant to display latest movies added to emby collection (for ex 10 covers) , would rock if that lasts on HA, even if emby server is down - showing cards of upcoming new releases to display in HA? Thx for the info Link to comment Share on other sites More sharing options...
skank 81 Posted May 1, 2020 Share Posted May 1, 2020 Mmm i see much mediaplyer.emby but not those i need I use emby for kodi... is that the reason? arent they included then as mediaplayer? Link to comment Share on other sites More sharing options...
Bambu Utila 7 Posted May 8, 2020 Share Posted May 8, 2020 Hi, I got a couple of questions.. I see that current support limits to controlling the client which is playing media stuff. Is that correct? Doest this also means i (i use emby kodi addon) can make automations in home assistants, to turn off lights when client x is playing movie, turn on lights when its paused etc etc? So i dont need an extra addon inside kodi, but do it on HA side? Are there plans in the future to expand functionallity of this plugin/integration? I'm thinking about: - making a card in home assistant to display movie cover which is playing - showing cards in home assistant to display latest movies added to emby collection (for ex 10 covers) , would rock if that lasts on HA, even if emby server is down - showing cards of upcoming new releases to display in HA? Thx for the info A lot of what you are thinking about is already possible. I started playing around with Home Assistant 2 days ago. When Emby plays a movie, or Kodi for that matter, it will show a pic of the movie on the card. I have managed to link my Hue lights and Kasa switches. With automation i have it set a hue scene and turn a kasa light switch off when a movie starts. When it stops all the hue lights turn off and the switch turns my spots back on. My setup is still very basic. Since i don't understand much from HA yet i have a combo of the Hue plugin in Emby working in combo with HA. I can't differentiate yet in HA if it's playing a movie/tv series/... (that seems to require pretty advanced coding?!?). So what i did is it set up what my hue lights have to do in Emby and then build automations around that in HA It is possible to do it all in HA, but i can't figure that one out yet Link to comment Share on other sites More sharing options...
skank 81 Posted January 24, 2021 Share Posted January 24, 2021 Hi , I got a question. I'm using a vero 4K running kodi, but i use emby for the database When i play a movie, and i add the kodi mediaplayer in home assistant, it says its idle while i'm actually playing a movie How can that be? When i add the emby integration in home assistant, i get another mediaplayer from emby If i play a movie , then the kodi mediaplayer still shows idle, but the emby mediaplayer is showing playing and the cover of the movie. In fact thats what i want, however, when i turn down my server (running emby server) emby is shut down, and i get errors in HA How do i solve this Link to comment Share on other sites More sharing options...
Luke 36999 Posted January 24, 2021 Share Posted January 24, 2021 1 hour ago, skank said: Hi , I got a question. I'm using a vero 4K running kodi, but i use emby for the database When i play a movie, and i add the kodi mediaplayer in home assistant, it says its idle while i'm actually playing a movie How can that be? When i add the emby integration in home assistant, i get another mediaplayer from emby If i play a movie , then the kodi mediaplayer still shows idle, but the emby mediaplayer is showing playing and the cover of the movie. In fact thats what i want, however, when i turn down my server (running emby server) emby is shut down, and i get errors in HA How do i solve this Hi, is that over Dlna? Link to comment Share on other sites More sharing options...
skank 81 Posted January 24, 2021 Share Posted January 24, 2021 No LAN Link to comment Share on other sites More sharing options...
seanbuff 840 Posted January 24, 2021 Share Posted January 24, 2021 4 hours ago, skank said: when i turn down my server (running emby server) emby is shut down, and i get errors in HA what sort of errors are you getting in HA? The HA / Emby integration doesn't care if the server is off, it's only really tracking the status of the media player 'clients' and those will show as Idle, Unavailable or Off if they aren't on and playing something Link to comment Share on other sites More sharing options...
WilhelmStroker 96 Posted January 25, 2021 Share Posted January 25, 2021 (edited) You could use a conditional card to hide the player when it's unavailable or idle so you won't get errors when your server is off. Edited January 25, 2021 by WilhelmStroker Link to comment Share on other sites More sharing options...
digitalmt 0 Posted May 31, 2021 Share Posted May 31, 2021 On 13/11/2019 at 17:55, seanbuff said: No hace mucho en su forma actual, pero es una forma práctica de ver el estado de todos sus clientes (locales o remotos) y poder controlarlos desde su panel de HA how you managed to do this, could you explain thank you. Link to comment Share on other sites More sharing options...
seanbuff 840 Posted May 31, 2021 Share Posted May 31, 2021 3 hours ago, digitalmt said: how you managed to do this, could you explain thank you. Not sure how familiar you are with HA, but to start you will need to configure your Emby Server details within HA Add to your Home Assistant configuration.yaml file: # Example configuration.yaml entry media_player: - platform: emby host: YOUR_IP_ADDRESS api_key: YOUR_API_KEY You will need to generate an API Key from the 'Advanced' section in Emby and use that in the above config Restart HA, and this will initiate the connection to your Emby Server. You should now be able to play something in Emby, and see the status of that in Home Assistant, try using the Developer Tools and filtering by 'Emby' and 'Playing' to see this If you successfully see a playing device, that indicates that the HA to Emby connection is valid and working. The next step is to add some visibility of those entities to your HA dashboard. I am currently using the auto-entities custom card to display only the active clients that are playing something in Emby. Below is a snippet of my config for that: ### EMBY PLAYERS TAB ### - type: custom:auto-entities title: Emby icon: 'mdi:emby' show_empty: false card: type: entities title: Active Emby Streams show_header_toggle: true filter: include: - entity_id: "media_player.emby_*" options: type: 'custom:mini-media-player' artwork: material icon: 'mdi:emby' hide: power: true power_state: true source: false volume: true runtime: false exclude: - state: "off" - state: "idle" - state: "unavailable" Link to Auto-Entities Custom Card Let us know how you go 4 Link to comment Share on other sites More sharing options...
Spaceboy 2492 Posted May 31, 2021 Share Posted May 31, 2021 1 hour ago, seanbuff said: Not sure how familiar you are with HA, but to start you will need to configure your Emby Server details within HA Add to your Home Assistant configuration.yaml file: # Example configuration.yaml entry media_player: - platform: emby host: YOUR_IP_ADDRESS api_key: YOUR_API_KEY You will need to generate an API Key from the 'Advanced' section in Emby and use that in the above config Restart HA, and this will initiate the connection to your Emby Server. You should now be able to play something in Emby, and see the status of that in Home Assistant, try using the Developer Tools and filtering by 'Emby' and 'Playing' to see this If you successfully see a playing device, that indicates that the HA to Emby connection is valid and working. The next step is to add some visibility of those entities to your HA dashboard. I am currently using the auto-entities custom card to display only the active clients that are playing something in Emby. Below is a snippet of my config for that: ### EMBY PLAYERS TAB ### - type: custom:auto-entities title: Emby icon: 'mdi:emby' show_empty: false card: type: entities title: Active Emby Streams show_header_toggle: true filter: include: - entity_id: "media_player.emby_*" options: type: 'custom:mini-media-player' artwork: material icon: 'mdi:emby' hide: power: true power_state: true source: false volume: true runtime: false exclude: - state: "off" - state: "idle" - state: "unavailable" Link to Auto-Entities Custom Card Let us know how you go Thanks for this Link to comment Share on other sites More sharing options...
EQUALITYCG 0 Posted July 11, 2021 Share Posted July 11, 2021 On 31/05/2021 at 14:24, digitalmt said: how you managed to do this, could you explain thank you. Hello seanbuff I would love some help with this please ps i'm a noob I'm struging with the 2 part I'm running HA via docker Clean install for testing untill i push it to a live build of my HA etc Link to comment Share on other sites More sharing options...
seanbuff 840 Posted July 12, 2021 Share Posted July 12, 2021 2 hours ago, EQUALITYCG said: I would love some help with this please Sure, which bit in particular do you need help with? Generate API Key from Emby Server Add 'Media Player' config to HA Display 'Now Playing' Emby entities in Lovelace UI Link to comment Share on other sites More sharing options...
EQUALITYCG 0 Posted July 12, 2021 Share Posted July 12, 2021 (edited) 2 hours ago, seanbuff said: Sure, which bit in particular do you need help with? Generate API Key from Emby Server Add 'Media Player' config to HA Display 'Now Playing' Emby entities in Lovelace UI Hi seanbuff Thank you very much for returning my message I never tought you would i feel so luck 1. Done that easy 2. Are you talking about the Below Because that done that easy 3. not sure I think that the part that should be easy yet strugging with No idea what to do Once again Thank you very very much for retuning my message # Example configuration.yaml entry media_player: - platform: emby host: YOUR_IP_ADDRESS api_key: YOUR_API_KEY Edited July 12, 2021 by EQUALITYCG Link to comment Share on other sites More sharing options...
seanbuff 840 Posted July 12, 2021 Share Posted July 12, 2021 Hi, I'm happy to help here so that others may benefit also. Have you verified that if you play something in Emby, you can see the status of playback in HA using the Developer Tools as described above? This will confirm that HA can see activity. If you have done this then you can move on to getting something loaded onto the HA interface. If not, then you need to focus on troubleshooting that bit first before moving on. Do you know if you are using the Dashboard Editor for HA, or you are using the now legacy YAML mode? If using the former (now the default) - see the short video on this page to easily add entities to your Dashboard For the most basic functionality, these are the minimum steps: On the top bar, hit the ... dots on the right, and go to 'Edit Dashboard' You will then see an 'Add Card' button You want to scroll down to the 'Media Control' card From there, you will get a Entity drop-down box with all your "media player" entities, select an Emby player that you know is playing something currently (it should have a different icon to indicate it is playing something) You'll know you have picked the right one when you can see a preview of what it is currently playing Hit 'Save' and your blank dashboard should now finally show a new Emby media player card Continue the above process to add as many players as you'd like to that tab. Once you have achieved that part, you have successfully completed the Emby / HA integration. Report back and we can get on with more advanced config like using 'Conditional Cards' to show only active Emby clients Link to comment Share on other sites More sharing options...
EQUALITYCG 0 Posted July 12, 2021 Share Posted July 12, 2021 10 minutes ago, seanbuff said: Hi, I'm happy to help here so that others may benefit also. Have you verified that if you play something in Emby, you can see the status of playback in HA using the Developer Tools as described above? This will confirm that HA can see activity. If you have done this then you can move on to getting something loaded onto the HA interface. If not, then you need to focus on troubleshooting that bit first before moving on. Do you know if you are using the Dashboard Editor for HA, or you are using the now legacy YAML mode? If using the former (now the default) - see the short video on this page to easily add entities to your Dashboard For the most basic functionality, these are the minimum steps: On the top bar, hit the ... dots on the right, and go to 'Edit Dashboard' You will then see an 'Add Card' button You want to scroll down to the 'Media Control' card From there, you will get a Entity drop-down box with all your "media player" entities, select an Emby player that you know is playing something currently (it should have a different icon to indicate it is playing something) You'll know you have picked the right one when you can see a preview of what it is currently playing Hit 'Save' and your blank dashboard should now finally show a new Emby media player card Continue the above process to add as many players as you'd like to that tab. Once you have achieved that part, you have successfully completed the Emby / HA integration. Report back and we can get on with more advanced config like using 'Conditional Cards' to show only active Emby clients Thank you That was easy i had that running but wasn't sure if its was right because i don't have the progress bar on my as well as volume etc etc My works I just want it like the above I'm missing how far its into the movie and skipping etc I would love volume + / - would be the best thing to add the EMBY tabs i guess is the part I'm missing BIG BIG BIG Thanks for your help ### EMBY PLAYERS TAB ### This one Link to comment Share on other sites More sharing options...
seanbuff 840 Posted July 12, 2021 Share Posted July 12, 2021 (edited) Okay no worries. Firstly your player is currently showing the Play button which means nothing is playing and therefore no progress bar, but it should definitely be there when its actually 'playing' something. As mentioned previously, that screenshot you posted is using a custom card to allow extra functionality (namely volume control) and a few more visual tweaks. The best and easiest way to install this custom card and many more is to install HACS, which can be found here (think of it as a 3rd Party Add-on store) The custom card you are looking for is called Mini Media Player You will be able to find it in the HACS "Frontend" library Once installed, it will become a new card you can choose from instead of the default Media Player Card And will offer you extra config to play with when setting up the card Also, when I refer "Emby Tab" - it is simply the same I gave to my Emby Players Tab (what you see is the code view of that config) ^ This is the tab name, you can call it whatever you want Hope this helps answer your questions Edited July 12, 2021 by seanbuff Link to comment Share on other sites More sharing options...
EQUALITYCG 0 Posted July 12, 2021 Share Posted July 12, 2021 (edited) Hello again So i found mini Media Player I wasn't looking at HACS "front end" ops my badstill trying to get the rest the lovelace do i need that and how or do i need to add the Asi I'm stuck at this time with Player Card EMBY PLAYERS TAB Edited July 12, 2021 by EQUALITYCG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now