NSPanel_HA_Blueprint
NSPanel_HA_Blueprint copied to clipboard
Media player page
Enhancement Summary
This feature will enable users to control, select radio stations, and manage speakers directly from the NSPanel interface
Detailed Description
Control Functions: Users will have the ability to control media playback functions such as play, pause, stop, and skip directly from the NSPanel.
Radio Station Selection: The Media Player Card will allow users to browse and select from available radio stations conveniently within the NSPanel interface.
Speaker Management: Users will be able to manage speaker output settings, including volume control and speaker selection, directly from the NSPanel.
Additional Context
No response
Control Functions: Users will have the ability to control media playback functions such as play, pause, stop, and skip directly from the NSPanel.
This is already available.
Speaker Management: Users will be able to manage speaker output settings, including volume control and speaker selection, directly from the NSPanel.
Volume control is currently available.
Great! Any idea how to add this : Radio Station Selection ? Now i make script that play a radio, and add this as button. But if can here make a list from Radio Browser or something else will be great. And any idea how to add info about what is plaing when i use this script : "wlacz_radio_3_kuchnia: alias: Włącz Radio 3 Kuchnia sequence:
- service: media_player.play_media data: media_content_id: http://mp3.polskieradio.pl:8904/ media_content_type: music target: entity_id: media_player.kuchnia mode: single icon: mdi:music"
On the media player page, it will show the info based on the attributes of your media player entity (media_player.kuchnia
in your example). It should show what is playing (title and artist) if provided by the integrations.
Unfortunately a radio selector is not yet available and we haven't started any work on this direction. We most likely would need a dropdown selector, which is not available on the Nextion display used by Sonoff on the NSPanels. I have some ideas to develop this component, but have to find some time. With that, it would probably be feasible to add a radio or media selector to that page.
On the media player page, it will show the info based on the attributes of your media player entity (
media_player.kuchnia
in your example). It should show what is playing (title and artist) if provided by the integrations.Unfortunately a radio selector is not yet available and we haven't started any work on this direction. We most likely would need a dropdown selector, which is not available on the Nextion display used by Sonoff on the NSPanels. I have some ideas to develop this component, but have to find some time. With that, it would probably be feasible to add a radio or media selector to that page.
That would be great. One step forward would also be - as described and with some changes to layout as shown in thread https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1082 grid of icons to active scripts or similar to change playlists, radios etc on ha side.
If you could add a few custom buttons that run some automation, I could set it up to e.g. play a specific radio channel, or a random playlist? Honestly, that just about sums up our audio requirements at my home.