How to increase the Echo volume gradually?

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"
    }
]

you have so many custom nodes I can't load your flow but why couldn't you use a simple count up/dn counter?

I'm using Home Assistant and the applestreudal for the Amazon echo. I'm not familiar with count up/down and how to pass that too that too the echo. Do you have a example maybe I could look at?

I don't use HA and have never even heard of applestreudal but here is a simple count up/dn for Node-red.

[
    {
        "id": "1e2b0bb868ceeb0c",
        "type": "function",
        "z": "8e794a1481733cd4",
        "name": "count up / down",
        "func": "var dir = context.get(\"dir\") || 0;\nvar count = context.get(\"counter\") || 0;\nif(dir === 0){\n    count = (count+1);\n    context.set(\"counter\", count);\n    if(count > 9){\n    context.set(\"dir\", 1);\n    dir = 1;\n    } \n    msg.payload = count;\n    node.status({fill:\"blue\",shape:\"dot\",text: \"up \" + msg.payload});\n    return msg;\n}\nif(dir === 1){\n    count = (count-1);\n    context.set(\"counter\", count);\n    if(count === 0){\n    context.set(\"dir\", 0);\n    dir = 0;\n    }     \n    msg.payload = count;\n    node.status({fill:\"blue\",shape:\"dot\",text: \"dn \" + msg.payload});\n    return msg;\n}\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 400,
        "y": 100,
        "wires": [
            []
        ]
    },
    {
        "id": "d32be6bddd9b1a29",
        "type": "inject",
        "z": "8e794a1481733cd4",
        "name": "1 second",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "1",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "test",
        "payload": "1",
        "payloadType": "str",
        "x": 170,
        "y": 100,
        "wires": [
            [
                "1e2b0bb868ceeb0c"
            ]
        ]
    }
]

hope this helps

you can feed a message into the volume, so just splitting an array of volumes with a rate limit should work.
and to cancel alarm and reset volume you just send msg.reset and a payload volume.
e.g

[{"id":"8c387c76.ba93b","type":"inject","z":"8120df2b4caac047","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":350,"y":140,"wires":[["c8413e64.256c7","ccc2dc55.cb7af8"]]},{"id":"c8413e64.256c7","type":"change","z":"8120df2b4caac047","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"[20,30,40,50,60,70,80,90,100]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":140,"wires":[["dfe01c4b.bc95d8"]]},{"id":"ccc2dc55.cb7af8","type":"delay","z":"8120df2b4caac047","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":830,"y":220,"wires":[["6f4bde71.463068","84df987b42f77189"]]},{"id":"dfe01c4b.bc95d8","type":"split","z":"8120df2b4caac047","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":710,"y":140,"wires":[["3a8be9fa.1b407e"]]},{"id":"6f4bde71.463068","type":"debug","z":"8120df2b4caac047","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1110,"y":180,"wires":[]},{"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":1120,"y":220,"wires":[[]]},{"id":"3a8be9fa.1b407e","type":"delay","z":"8120df2b4caac047","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"15","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":880,"y":140,"wires":[["6f4bde71.463068","726cc4bb742abcc0"]]},{"id":"532273f.815b40c","type":"inject","z":"8120df2b4caac047","name":"rest ","props":[{"p":"reset","v":"true","vt":"bool"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"40","payloadType":"num","x":500,"y":80,"wires":[["3a8be9fa.1b407e","726cc4bb742abcc0"]]},{"id":"726cc4bb742abcc0","type":"alexa-remote-routine","z":"8120df2b4caac047","name":"Set Echo Volume","account":"247f7a30d23d339b","routineNode":{"type":"volume","payload":{"value":{"type":"msg","value":"payload"},"mode":{"type":"str","value":"set"},"devices":["G0B0H508626400H0"]}},"x":1160,"y":120,"wires":[[]]},{"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"}]
1 Like

Thank you I was able to integrate this into my flow and seems like it should work. Hopefully test it out tomorrow!

@E1cid The flow you gave me does gradually increase the volume, but I moved the node to play the music after the rate limit increases the volume and I get a no JSON error. I put a debug at the end, but it doesn't give me any details. Any ideas what this may be?

image

[
    {
        "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": true,
        "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": 60,
        "y": 140,
        "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": 270,
        "y": 200,
        "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": 470,
        "y": 200,
        "wires": [
            [
                "8c637adb7ac0e6c3"
            ],
            [
                "2c35cb2510c469cc",
                "6d2cf0db90e78dde",
                "428472c7bafd9192"
            ]
        ]
    },
    {
        "id": "dabf8a9d6a500f2c",
        "type": "alexa-remote-routine",
        "z": "8120df2b4caac047",
        "name": "Play Music",
        "account": "247f7a30d23d339b",
        "routineNode": {
            "type": "music",
            "payload": {
                "device": {
                    "type": "str",
                    "value": "G0B0H508626400H0"
                },
                "provider": {
                    "type": "str",
                    "value": "PANDORA"
                },
                "search": {
                    "type": "str",
                    "value": "ChainSmokers"
                },
                "duration": {
                    "type": "num",
                    "value": ""
                }
            }
        },
        "x": 1470,
        "y": 260,
        "wires": [
            [
                "a79ef72d57ce4fab"
            ]
        ]
    },
    {
        "id": "8c637adb7ac0e6c3",
        "type": "change",
        "z": "8120df2b4caac047",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "[40,50,60,70,80,90,100]",
                "tot": "json"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 680,
        "y": 160,
        "wires": [
            [
                "e2c8ab8e098490e9"
            ]
        ]
    },
    {
        "id": "e2c8ab8e098490e9",
        "type": "split",
        "z": "8120df2b4caac047",
        "name": "",
        "splt": "\\n",
        "spltType": "str",
        "arraySplt": 1,
        "arraySpltType": "len",
        "stream": false,
        "addname": "",
        "x": 850,
        "y": 160,
        "wires": [
            [
                "014d0ef9597650f5"
            ]
        ]
    },
    {
        "id": "014d0ef9597650f5",
        "type": "delay",
        "z": "8120df2b4caac047",
        "name": "",
        "pauseType": "rate",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "2",
        "rateUnits": "minute",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 1100,
        "y": 160,
        "wires": [
            [
                "449615fdea6650cc"
            ]
        ]
    },
    {
        "id": "f7b6a27f77799ce9",
        "type": "alexa-remote-routine",
        "z": "8120df2b4caac047",
        "name": "Reset Echo Volume",
        "account": "247f7a30d23d339b",
        "routineNode": {
            "type": "volume",
            "payload": {
                "value": {
                    "type": "msg",
                    "value": "payload"
                },
                "mode": {
                    "type": "str",
                    "value": "set"
                },
                "devices": [
                    "G0B0H508626400H0"
                ]
            }
        },
        "x": 970,
        "y": 260,
        "wires": [
            []
        ]
    },
    {
        "id": "2c35cb2510c469cc",
        "type": "change",
        "z": "8120df2b4caac047",
        "name": "Reset",
        "rules": [
            {
                "t": "set",
                "p": "reset",
                "pt": "msg",
                "to": "\"true\"",
                "tot": "json"
            },
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "40",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 710,
        "y": 260,
        "wires": [
            [
                "014d0ef9597650f5",
                "f7b6a27f77799ce9"
            ]
        ]
    },
    {
        "id": "6d2cf0db90e78dde",
        "type": "api-call-service",
        "z": "8120df2b4caac047",
        "name": "Notify: Zoey just got out of bed",
        "server": "a6f4f710.062dd8",
        "version": 5,
        "debugenabled": false,
        "domain": "notify",
        "service": "mobile_app_pineapple37",
        "areaId": [],
        "deviceId": [],
        "entityId": [],
        "data": "{\"title\":\"Home Assistant\",\"message\":\"Zoey just got out of bed.\",\"data\":{\"sticky\":\"false\",\"priority\":\"Normal\",\"ttl\":0,\"actions\":[{\"action\":\"Set_Goodbye\",\"title\":\"Away mode\"},{\"action\":\"Kids_Home\",\"title\":\"Kids Home\"},{\"action\":\"Ignore\",\"title\":\"Ignore\"}],\"tag\":\"tagname\"}}",
        "dataType": "json",
        "mergeContext": "",
        "mustacheAltTags": false,
        "outputProperties": [],
        "queue": "none",
        "x": 790,
        "y": 320,
        "wires": [
            []
        ]
    },
    {
        "id": "196966edd4ead3a6",
        "type": "server-state-changed",
        "z": "8120df2b4caac047",
        "name": "Wake up Zoey",
        "server": "a6f4f710.062dd8",
        "version": 4,
        "exposeToHomeAssistant": false,
        "haConfig": [
            {
                "property": "name",
                "value": ""
            },
            {
                "property": "icon",
                "value": ""
            }
        ],
        "entityidfilter": "input_boolean.wake_up_zoey",
        "entityidfiltertype": "exact",
        "outputinitially": false,
        "state_type": "str",
        "haltifstate": "on",
        "halt_if_type": "str",
        "halt_if_compare": "is",
        "outputs": 2,
        "output_only_on_state_change": true,
        "for": "0",
        "forType": "num",
        "forUnits": "minutes",
        "ignorePrevStateNull": false,
        "ignorePrevStateUnknown": false,
        "ignorePrevStateUnavailable": false,
        "ignoreCurrentStateUnknown": false,
        "ignoreCurrentStateUnavailable": false,
        "outputProperties": [
            {
                "property": "payload",
                "propertyType": "msg",
                "value": "",
                "valueType": "entityState"
            },
            {
                "property": "data",
                "propertyType": "msg",
                "value": "",
                "valueType": "eventData"
            },
            {
                "property": "topic",
                "propertyType": "msg",
                "value": "",
                "valueType": "triggerId"
            }
        ],
        "x": 380,
        "y": 100,
        "wires": [
            [
                "8c637adb7ac0e6c3"
            ],
            []
        ]
    },
    {
        "id": "428472c7bafd9192",
        "type": "api-call-service",
        "z": "8120df2b4caac047",
        "name": "Turn off wake up Zoey",
        "server": "a6f4f710.062dd8",
        "version": 5,
        "debugenabled": false,
        "domain": "input_boolean",
        "service": "turn_off",
        "areaId": [],
        "deviceId": [],
        "entityId": [
            "input_boolean.wake_up_zoey"
        ],
        "data": "",
        "dataType": "jsonata",
        "mergeContext": "",
        "mustacheAltTags": false,
        "outputProperties": [],
        "queue": "none",
        "x": 750,
        "y": 380,
        "wires": [
            []
        ]
    },
    {
        "id": "a087cb9896be77c0",
        "type": "inject",
        "z": "8120df2b4caac047",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 1170,
        "y": 340,
        "wires": [
            [
                "dabf8a9d6a500f2c"
            ]
        ]
    },
    {
        "id": "25f26a90d22db500",
        "type": "delay",
        "z": "8120df2b4caac047",
        "name": "",
        "pauseType": "delay",
        "timeout": "1",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 1500,
        "y": 180,
        "wires": [
            [
                "dabf8a9d6a500f2c"
            ]
        ]
    },
    {
        "id": "7a3cc4fd4796d95a",
        "type": "inject",
        "z": "8120df2b4caac047",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 680,
        "y": 40,
        "wires": [
            [
                "8c637adb7ac0e6c3"
            ]
        ]
    },
    {
        "id": "0f369cf654f9a225",
        "type": "debug",
        "z": "8120df2b4caac047",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1350,
        "y": 100,
        "wires": []
    },
    {
        "id": "b6759eee64b2db02",
        "type": "inject",
        "z": "8120df2b4caac047",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 420,
        "y": 300,
        "wires": [
            [
                "2c35cb2510c469cc"
            ]
        ]
    },
    {
        "id": "449615fdea6650cc",
        "type": "alexa-remote-routine",
        "z": "8120df2b4caac047",
        "name": "Set Echo Volume",
        "account": "247f7a30d23d339b",
        "routineNode": {
            "type": "volume",
            "payload": {
                "value": {
                    "type": "msg",
                    "value": "payload"
                },
                "mode": {
                    "type": "str",
                    "value": "set"
                },
                "devices": [
                    "G0B0H508626400H0"
                ]
            }
        },
        "x": 1310,
        "y": 180,
        "wires": [
            [
                "25f26a90d22db500"
            ]
        ]
    },
    {
        "id": "a79ef72d57ce4fab",
        "type": "debug",
        "z": "8120df2b4caac047",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 1660,
        "y": 260,
        "wires": []
    },
    {
        "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"
    }
]

Do not know for sure, but the play node in your configuration receives the response json from the volume node, I separated them off in my orginal example as i thought they may conflict.

Or the playnode does not like receiving multiple play commands, but i'm not sure on that.

Try this layout, if this doesnt work i'm out of ideas.

[{"id":"449615fdea6650cc","type":"alexa-remote-routine","z":"8120df2b4caac047","name":"Set Echo Volume","account":"247f7a30d23d339b","routineNode":{"type":"volume","payload":{"value":{"type":"msg","value":"payload"},"mode":{"type":"str","value":"set"},"devices":["G0B0H508626400H0"]}},"x":1320,"y":140,"wires":[["0f369cf654f9a225"]]},{"id":"014d0ef9597650f5","type":"delay","z":"8120df2b4caac047","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"2","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1080,"y":160,"wires":[["449615fdea6650cc","25f26a90d22db500"]]},{"id":"2c35cb2510c469cc","type":"change","z":"8120df2b4caac047","name":"Reset","rules":[{"t":"set","p":"reset","pt":"msg","to":"\"true\"","tot":"json"},{"t":"set","p":"payload","pt":"msg","to":"40","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":260,"wires":[["014d0ef9597650f5","449615fdea6650cc"]]},{"id":"0f369cf654f9a225","type":"debug","z":"8120df2b4caac047","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1550,"y":140,"wires":[]},{"id":"e2c8ab8e098490e9","type":"split","z":"8120df2b4caac047","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":850,"y":160,"wires":[["014d0ef9597650f5"]]},{"id":"25f26a90d22db500","type":"delay","z":"8120df2b4caac047","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1310,"y":220,"wires":[["dabf8a9d6a500f2c"]]},{"id":"b6759eee64b2db02","type":"inject","z":"8120df2b4caac047","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":420,"y":300,"wires":[["2c35cb2510c469cc"]]},{"id":"8c637adb7ac0e6c3","type":"change","z":"8120df2b4caac047","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"[40,50,60,70,80,90,100]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":160,"wires":[["e2c8ab8e098490e9"]]},{"id":"dabf8a9d6a500f2c","type":"alexa-remote-routine","z":"8120df2b4caac047","name":"Play Music","account":"247f7a30d23d339b","routineNode":{"type":"music","payload":{"device":{"type":"str","value":"G0B0H508626400H0"},"provider":{"type":"str","value":"PANDORA"},"search":{"type":"str","value":"ChainSmokers"},"duration":{"type":"num","value":""}}},"x":1470,"y":260,"wires":[["a79ef72d57ce4fab"]]},{"id":"7a3cc4fd4796d95a","type":"inject","z":"8120df2b4caac047","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":490,"y":100,"wires":[["8c637adb7ac0e6c3"]]},{"id":"a087cb9896be77c0","type":"inject","z":"8120df2b4caac047","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1170,"y":340,"wires":[["dabf8a9d6a500f2c"]]},{"id":"a79ef72d57ce4fab","type":"debug","z":"8120df2b4caac047","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1660,"y":260,"wires":[]},{"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"}]

I did see that, I need to trigger it to play again in case she turns off the music (snooze) so it plays again with a louder volume settings. I'll test this out in the next day or so.. Thanks!