I am creating a alarm for my daughter and I want the volume to gradually increase say +5 in the loop every time it plays. What would be the best way too do this?
[
{
"id": "8120df2b4caac047",
"type": "tab",
"label": "Zoey 2.0",
"disabled": false,
"info": "",
"env": []
},
{
"id": "17e5cb02d08c1c24",
"type": "ha-time",
"z": "8120df2b4caac047",
"name": "Alarm time",
"server": "a6f4f710.062dd8",
"version": 2,
"exposeToHomeAssistant": false,
"haConfig": [
{
"property": "name",
"value": ""
},
{
"property": "icon",
"value": ""
}
],
"entityId": "input_datetime.zoey_alarm_time",
"property": "",
"offset": "0",
"offsetType": "num",
"offsetUnits": "minutes",
"randomOffset": false,
"repeatDaily": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
},
{
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
}
],
"sunday": false,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": false,
"debugenabled": false,
"x": 120,
"y": 220,
"wires": [
[
"44162d1a4df381cc"
]
]
},
{
"id": "44162d1a4df381cc",
"type": "api-current-state",
"z": "8120df2b4caac047",
"name": "Alarm on?",
"server": "a6f4f710.062dd8",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.zoey_alarm",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 310,
"y": 220,
"wires": [
[
"2a7fed2607069e4c"
],
[]
]
},
{
"id": "2a7fed2607069e4c",
"type": "api-current-state",
"z": "8120df2b4caac047",
"name": "still in bed?",
"server": "a6f4f710.062dd8",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "binary_sensor.zoey_bed_occupancy_sensor",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 510,
"y": 220,
"wires": [
[
"009b73069a43770f"
],
[]
]
},
{
"id": "009b73069a43770f",
"type": "looptimer",
"z": "8120df2b4caac047",
"duration": "2",
"units": "Minute",
"maxloops": "20",
"maxtimeout": "1",
"maxtimeoutunits": "Hour",
"name": "",
"x": 780,
"y": 200,
"wires": [
[
"726cc4bb742abcc0"
],
[]
]
},
{
"id": "84df987b42f77189",
"type": "alexa-remote-routine",
"z": "8120df2b4caac047",
"name": "Play Music",
"account": "247f7a30d23d339b",
"routineNode": {
"type": "music",
"payload": {
"device": {
"type": "str",
"value": "G0B0H508626400H0"
},
"provider": {
"type": "str",
"value": "APPLE_MUSIC"
},
"search": {
"type": "str",
"value": "Todays Hits"
},
"duration": {
"type": "num",
"value": ""
}
}
},
"x": 1210,
"y": 180,
"wires": [
[]
]
},
{
"id": "726cc4bb742abcc0",
"type": "alexa-remote-routine",
"z": "8120df2b4caac047",
"name": "Set Echo Volume",
"account": "247f7a30d23d339b",
"routineNode": {
"type": "volume",
"payload": {
"value": {
"type": "num",
"value": "40"
},
"mode": {
"type": "str",
"value": "set"
},
"devices": [
"G0B0H508626400H0"
]
}
},
"x": 1010,
"y": 180,
"wires": [
[
"84df987b42f77189"
]
]
},
{
"id": "a6f4f710.062dd8",
"type": "server",
"name": "Home Assistant - Thunder",
"version": 2,
"addon": false,
"rejectUnauthorizedCerts": false,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": "30"
},
{
"id": "247f7a30d23d339b",
"type": "alexa-remote-account",
"name": "",
"authMethod": "proxy",
"proxyOwnIp": "192.168.1.155",
"proxyPort": "3456",
"cookieFile": "",
"refreshInterval": "14",
"alexaServiceHost": "pitangui.amazon.com",
"amazonPage": "amazon.com",
"acceptLanguage": "en-US",
"onKeywordInLanguage": "on",
"userAgent": "",
"useWsMqtt": "on",
"autoInit": "off"
}
]