Hi there and welcome to my Github repo containing my configuration and setup files/code for Home Assistant. I will en-devour to keep this up to date however please check out my other references and sources in the following links before
I found this through Reddit where you answered in your post last week. I wonder what theme you're using (for fonts/colors/styling). Or is it completely customised for and by you? There are some very nice touches in there.
First of all, hell of a job you did there. Amazing!
I really liked the radio/speaker part where u can select the radiostation u want and the speaker you want to play it on.
Unfortunately i've got a issue with is.
When I select a radiostation and speaker and press play, the volume changes to what i've set in the script, but nothing plays.
In the logging, it gives me this error: Play Radio on Google Home Audio: Error executing script. Invalid data for call_service at pos 3: not a valid value for dictionary value @ data['entity_id']
This is the script I got (in scripts.yaml):
radio:
alias: Play Radio on Google Home Audio
sequence:
- service: media_player.volume_set
data:
entity_id: media_player.nesthub
volume_level: '0.35'
- service: media_player.volume_set
data:
entity_id: media_player.shield
volume_level: '0.20'
- service: media_player.play_media
data_template:
entity_id: >
{% if is_state("input_select.radiostation", "Nesthub") %} media_player.nesthub
{% elif is_state("input_select.radiostation", "Shield") %} media_player.shield
{% endif %}
media_content_id: >
{% if is_state("input_select.radio_station", "BBC Radio 1") %} http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-mp3-a/vpid/bbc_radio_one/format/pls.pls
{% elif is_state("input_select.radio_station", "BBC Radio 1xtra") %} http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-mp3-a/vpid/bbc_1xtra/format/pls.pls
{% elif is_state("input_select.radio_station", "BBC Radio Nottingham") %} http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-mp3-a/vpid/bbc_radio_nottingham/format/pls.pls
{% elif is_state("input_select.radio_station", "KISSTORY") %} http://www.radiofeeds.co.uk/bauer.pls?station=kisstory.mp3.m3u
{% elif is_state("input_select.radio_station", "Kemet FM") %} http://109.169.26.139:8120/listen.pls?sid=1
{% elif is_state("input_select.radio_station", "Capital Xtra") %} http://icecast.thisisdax.com/CapitalXTRANationalMP3.m3u
{% endif %}
media_content_type: 'audio/mp4'
Thank you for posting your work. It looks great. As an HA newbie, I'm struggling to understand some things about your YAML. You use
cards:
- cards:
.
.
-cards:
My Yaml looks like this:
cards:
- type:
What does your layout accomplish? And do you somehow force content into the next column, or just let it flow automatically? What does this end up looking like on a phone screen?
How do you handle the conversion from the input_select.radio_station to the actual links in your script.radio?
Is your script hardcoded? E.g. if value = BBC then http://bbc.com
Or do you use mapper?
Or by any chance did you manage for the input select to provide both the friendly name of the radio plus the link?
I really love the lights dashboard, it was (and still is) a bit of a steep learning curve to understand the magic but I managed to get it running for my house. Whilst it works absolutely fine on PC/laptop it's very slow on my iPhone (both with HA app and with browser).
I'm using an iPhone 15 Pro which should have plenty of CPU power but loading the dash initial loading time is around 12 seconds, switching rooms is around 8 seconds. Actions like opening the HA main menu (the hamburger icon) also take 8 seconds.
Is this expected? Or perhaps something iPhone specific or other issue?
Hi First of all, great work. I am a fan of what you did.
I wanted to implement similar stuff from what I've saw oon imgur, especially on your "Welcome" page, the home page with the phone status and stuff. I came here looking for the yaml with no luck.
So you think it would be possible for you to add them to the dashboards folder ?
If you can't or do not want, it's also fine.
Thank you, and again congrats on what you've done :)