Hello, I would like to build a multiroom system in our new house with the Up2Stream and have now bought some to test. I am very excited about what these modules do and definitely want to use them in the new house (my wife already loves the test setup in the current apartment).
Since I’m using ioBroker, I wrote a script to control the Up2Stream devices via the API, which works very well. However, I would very much like to use text to speech, but am getting nowhere. It would be great if someone could help me with this.
Text to speech:
- How can I save the current webradio station?
- The text would be provided by the ioBroker as .mp3 on a webserver “http://192.168.7.2:8082/state/sayit.0.tts.mp3”. But how can I play this back on the Up2Stream?
(Would be open to any other approach as well).
- After the text output, start the previously running webradio stream again.
Thanks a lot
How can I save the current webradio station?
Save to where ?
The text would be provided by the ioBroker as .mp3 on a webserver
Have you tried this command ? Arylic Audio HTTP API
After the text output, start the previously running webradio stream again.
That will have to be handled at the ioBroker Level
The Arylic Devices will just play content. The ioBroker side of things will have to manage the process of how you interrupt and re initialise using the documented command set
Hope this helps,
P.S. I have absolutely no experience with ioBroker so I have to offer a complete disclaimer whether it will work
thanks for your help. Yes the Link to the HTTP API dokumentation helped me a lot.
I download a old dokumentation where a lot of API commands missed included this command .
Shame on me, I’m embarrassed now.
But I can´t find a command, where I can get the information, which webradio stream the Up2Stream plays at the moment.
No need for embaressment, the documentation is very very recent
There is some TCP/IP Documentation coming soon and we are testing the UPnP/DLNA and creating the documentation at the moment.
This DLNA Command will give you what you need AVTransport:GetMediaInfo.
@zpl1025 Is there an equivalent httpapi command ?
how can I use this AVTransport:GetMediaInfo Command? I have no experiance with DLNA.
This corresponding httpapi command would be very helpful, since the Multiroom is later not only operated via the KNX buttons and visualization but the app is also used.
To unite these two worlds, it would be necessary to read the current playback mode (webradio, Spotify, AmazonMusik,…) + stream from the master, so that I can restore this mode after the text output.
In case of need, I would start the favorite number 1 after the text output but of course it would be nicer if I could continue the previous audio playback.
Thank you very much for your very good help.
This looks interesting iobroker.upnp - npm
I haven’t looked into using it yet but I was assuming I could do it with tcp ip sockets and maybe comman line.