DrecksTV
(Drecks Tv)
July 7, 2024, 4:51pm
1
I’m trying to build an alarm system using Home Assistant Alarmo. I have Bose soundbars in the house and speakers that are integrated into Home Assistant via Cast. That’s what I want to do. So now to the problem. I’ve created a script that has a repetition feature, but it’s not repeated, it’s only played once.
Does anyone know the error here?
Error: CastMediaPlayerEntity._quick_play Failed: Execution of quick play http://192.168.1.101:8123/local/alarm.mp3/? … timed out after 30.0 s.
Not sure what that is for but why are you telling us your password?
DrecksTV
(Drecks Tv)
July 7, 2024, 5:38pm
3
this is an Script how I have a replay for The Sound and the Sound will only play one time
Well the password is in the post history, so I would either make sure it was a 1 time thing or change it if it wasn’t a 1 time thing.
So for the actual question, you would need to share more of what you are trying to do, what you did so far and some code.
Reading this first will help you to get a better answer by helping us to understand the problem.
Before we begin…
This forum is not a helpdesk
The people here don’t work for Home Assistant, that’s an open source project. We are volunteering our free time to help others. Not all topics may get an answer, never mind one that helps you solve your problem.
[image]
This also isn’t a general home automation forum, this is a forum for Home Assistant and things related to it. Any question about Home Assistant, and about using things with Home Assistant, is welcome here. We can’t help you with eve…
DrecksTV
(Drecks Tv)
July 8, 2024, 6:10pm
5
I’m trying to build an alarm system using Home Assistant Alarmo. I have Bose soundbars in the house and speakers that are integrated into Home Assistant via Cast. That’s what I want to do. So now to the problem. I’ve created a script that has a repetition feature, but it’s not repeated, it’s only played once.
DrecksTV
(Drecks Tv)
July 8, 2024, 6:22pm
6
Here is my Coco from the Skript
alias: Alarmanlage ausgelöst
sequence:
service: media_player.volume_set
metadata: {}
data:
volume_level: 0.28
target:
entity_id: media_player.macbook_pro
device_id: 8af396b893efedffcb4b676c4433bdc8
repeat:
sequence:
- service: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 0
- 0
flash: long
target:
entity_id: light.kinderzimmer_1
- service: media_player.play_media
data:
media_content_id: http://192.168.1.101:8123/local/alarm.mp3/
media_content_type: Alarm
target:
entity_id: media_player.bose_smart_soundbar_900_2
device_id: a27a1dae12f74c37e276bab9cfbf9fa7
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
enabled: true
until:
- condition: state
entity_id: alarm_control_panel.alarmo
state: disarming
description: “”
icon: mdi:alarm-light
Troon
(Troon)
July 8, 2024, 6:24pm
7
We cannot work with that. Please format it properly:
```
CODE GOES HERE
```
Before we begin…
This forum is not a helpdesk
The people here don’t work for Home Assistant, that’s an open source project. We are volunteering our free time to help others. Not all topics may get an answer, never mind one that helps you solve your problem.
[image]
This also isn’t a general home automation forum, this is a forum for Home Assistant and things related to it. Any question about Home Assistant, and about using things with Home Assistant, is welcome here. We can’t help you with eve…
DrecksTV
(Drecks Tv)
July 8, 2024, 6:59pm
8
alias: Alarmanlage ausgelöst
sequence:
- service: media_player.volume_set
metadata: {}
data:
volume_level: 0.28
target:
entity_id: media_player.macbook_pro
device_id: 8af396b893efedffcb4b676c4433bdc8
- repeat:
sequence:
- service: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 0
- 0
flash: long
target:
entity_id: light.kinderzimmer_1
- service: media_player.play_media
data:
media_content_id: http://192.168.1.101:8123/local/alarm.mp3/
media_content_type: Alarm
target:
entity_id: media_player.bose_smart_soundbar_900_2
device_id: a27a1dae12f74c37e276bab9cfbf9fa7
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
enabled: true
until:
- condition: state
entity_id: alarm_control_panel.alarmo
state: disarming
description: ""
icon: mdi:alarm-light