Feature-Request: Play sound via api
See original GitHub issueWould be great to play custom wav files using the API. This is currently possible by using the following command
/opt/rockrobo/firmware/uart_test -e /mnt/data/rockrobo/sounds/error1.wav
(maybe you know another solution)
I would create a pull-request. But I have no idea where to search for. I’ve endet up in “sendMessage” with parameter “test_sound_volume” on a udp socket?! 😢
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Using the Web Audio API - Web APIs - MDN Web Docs
Let's take a look at getting started with the Web Audio API. We'll briefly look at some concepts, then study a simple boombox...
Read more >Getting started with Web Audio API
An AudioContext is for managing and playing all sounds. To produce a sound using the Web Audio API, create one or more sound...
Read more >Playing Sounds with the Web Audio API - Apple Developer
Explains how to use the HTML 5 audio and video tags to add media to web content.
Read more >Loading and Playing Sound Files
While playing a sound file with Web Audio API is a bit more cumbersome to set up, it ultimately gives you much more...
Read more >Playing a simple sound with web audio api - Stack Overflow
minimalistic approach to modern ES6. new AudioContext();; context.createBufferSource();; source.buffer = audioBuffer; audioBuffer requests ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A lot of people are searching for audio feedback in their smart homes. There are a lot of different solutions for that. e.g. SONOS.
For example: When you enter the room, you want to get a list of open tasks / whats happening today. Or someone rings on the front door, you could also play a sound over your vaccum without a seperate speaker in that room.
Obviously I want to play my own sound files. Maybe valetudo could offer an upload mechanism on the web UI to make that process easier. What I need for that task, is an API which can be used to trigger the playback.
At the moment I could use ssh to start the playback. But that’s not the nicest solution 😄
I was able to compile and run mpd 0.19.21 along with upmpdcli v1.1.4 - libupnpp v0.14.1, now I turned my vacuum Roborock S6 in a UPnP media renderer that can play music and radio while it cleans the house 😂