You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a node red flow, to play some radiostreams from the radio browser to my sonos boxes. Now i want to do this to my pc.
When i use the media player card in my dashboard, i can choose the music-stream and it works. I can play/pause the stream and toggle volume.
My next step was to switch den media_player entitiy in my node red flow from sonos to browser_mod. But that doesnt work. i can use tts and use play/pause with node red, thats okay.
But i cant send the radio-browser-stream witrh its media content id like this
I have a node red flow, to play some radiostreams from the radio browser to my sonos boxes. Now i want to do this to my pc.
When i use the media player card in my dashboard, i can choose the music-stream and it works. I can play/pause the stream and toggle volume.
My next step was to switch den media_player entitiy in my node red flow from sonos to browser_mod. But that doesnt work. i can use tts and use play/pause with node red, thats okay.
But i cant send the radio-browser-stream witrh its media content id like this
{
"media_content_id": "https://www.ndr.de/resources/metadaten/audio/m3u/ndr1radiomv_hgw.m3u",
"media_content_type": "music"
}
and this is my test flow:
[
{
"id": "36708217dfa73b12",
"type": "tab",
"label": "Flow 2",
"disabled": false,
"info": "",
"env": []
},
{
"id": "d07114a41bdb5127",
"type": "api-call-service",
"z": "36708217dfa73b12",
"name": "",
"server": "3017df28.51603",
"version": 5,
"debugenabled": false,
"domain": "media_player",
"service": "media_play_pause",
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.browser_mod_buero_pc"
],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 620,
"y": 240,
"wires": [
[]
]
},
{
"id": "ff3461c3958817a7",
"type": "inject",
"z": "36708217dfa73b12",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 300,
"y": 240,
"wires": [
[
"d07114a41bdb5127"
]
]
},
{
"id": "6fcbe4e3815d0b72",
"type": "api-call-service",
"z": "36708217dfa73b12",
"name": ""Playing 80s80s"",
"server": "3017df28.51603",
"version": 5,
"debugenabled": false,
"domain": "tts",
"service": "google_translate_say",
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.browser_mod_buero_pc"
],
"data": "{"message":"80s80s","language":"en"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [
{
"property": "meta",
"propertyType": "msg",
"value": "",
"valueType": "data"
}
],
"queue": "none",
"output_location": "",
"output_location_type": "none",
"x": 570,
"y": 320,
"wires": [
[
"8a501ff04c082d3d"
]
]
},
{
"id": "8a501ff04c082d3d",
"type": "delay",
"z": "36708217dfa73b12",
"name": "",
"pauseType": "delay",
"timeout": "2",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 800,
"y": 320,
"wires": [
[
"b2dc45b6742e6c0b"
]
]
},
{
"id": "b2dc45b6742e6c0b",
"type": "api-call-service",
"z": "36708217dfa73b12",
"name": "Radio 80s80s",
"server": "3017df28.51603",
"version": 5,
"debugenabled": false,
"domain": "media_player",
"service": "play_media",
"areaId": [],
"deviceId": [],
"entityId": [
"media_player.browser_mod_buero_pc"
],
"data": "{"media_content_id":"x-rincon-mp3radio://http://regiocast.streamabc.net/regc-80s80smweb2517500-mp3-192-1672667?sABC=65sq9728%230%23r63s7q4pnqnrq426s1qs6sq2598667or%23&aw_0_1st.playerid=&amsparams=playerid:;skey:1711118120","media_content_type":"music"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 1020,
"y": 320,
"wires": [
[]
]
},
{
"id": "d9527d22e47c87e0",
"type": "inject",
"z": "36708217dfa73b12",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 300,
"y": 320,
"wires": [
[
"6fcbe4e3815d0b72"
]
]
},
{
"id": "3017df28.51603",
"type": "server",
"name": "Home Assistant Hue Tap Dial",
"addon": true,
"rejectUnauthorizedCerts": true,
"ha_boolean": "",
"connectionDelay": false,
"cacheJson": false,
"heartbeat": false,
"heartbeatInterval": "",
"statusSeparator": "",
"enableGlobalContextStore": false
}
]
The text was updated successfully, but these errors were encountered: