Repository navigation
Webhook automation (remote thumbs to HTTP/UDP/WoL): your setups and ideas #827
Replies: 5 comments 4 replies
|
I've used webhooks on the preset buttons to start specific playlists in Music Assistant, which works really well. I also tried using the thumb buttons on the remote, but ran into some issues with those. It would also be great if the Forward and Rewind buttons could be used as triggers, so they could control next/previous track in Music Assistant. |
|
Forward and Rewind as webhook triggers is a good idea. They come across the same bus the other keys do, so wiring them in is doable, and I have put it on the wishlist. Preset buttons into Music Assistant playlists is a nice setup. On the thumb buttons, what went wrong there? They should fire the webhook the same way the preset keys do, so if they did not for you, that is worth a look, tell me what you saw. Thanks for sharing this. |
|
The remote thumbs keys take a different path than the app command, they come in over the Bose button bus, and your pattern of prev/next eventually firing the thumbs action looks like STR not telling the lower keys apart cleanly yet. A listen/capture mode is a good idea and it is on my list. For now the button events are already in the agent log, so if you press the thumbs keys and then prev/next a few times and attach a diagnostic bundle here, I can read off which key arrives as what. Die Fernbedienungs-Tasten nehmen einen anderen Weg als der Befehl aus der App, sie kommen über den Bose-Button-Bus rein, und dein Muster (mehrfach Vor/Zurück löst irgendwann die Daumen-Aktion aus) sieht danach aus, dass STR die unteren Tasten gerade nicht sauber auseinanderhält. Ein Mitschnitt-Modus ist eine gute Idee und steht auf meiner Liste. Bis dahin stehen die Tastenevents schon im Agent-Log, drück also ein paar Mal die Daumen-Tasten und dann Vor/Zurück und häng ein Diagnose-Bundle an, dann sehe ich, welche Taste als was ankommt. |
|
Hallo Jens, |
|
@Christian1985l v0.9.75 is out: https://github.com/JRpersonal/streborn/releases/tag/v0.9.75 (build: https://github.com/JRpersonal/streborn/actions/runs/34060053504) Your test log lined up by count: 42 presses, 40 webhooks, 2 dropped because they came less than 2 s after the previous one; that rule stays. What changed: STR now reads the speaker's own key trace, so Back, Forward, Thumbs up and Thumbs down are separate triggers, in standby as well, and the settings show the remote as a clickable key map. Update the speaker, then set the triggers on the keys you want. Tell me whether it does what you need for Music Assistant. @Christian1985l v0.9.75 ist da (Link oben). Dein Testlog passte nach Anzahl: 42 Tastendrücke, 40 Webhooks, 2 verworfen, weil sie weniger als 2 s nach dem vorherigen kamen; die Regel bleibt. Was sich geändert hat: STR liest jetzt die Tastenspur des Lautsprechers selbst, deshalb sind Zurück, Vor, Daumen hoch und Daumen runter jetzt eigene Trigger, auch im Standby, und die Einstellungen zeigen die Fernbedienung als anklickbare Tastenkarte. Lautsprecher aktualisieren, dann die Trigger auf die gewünschten Tasten legen. Sag mir bitte, ob es das für Music Assistant ist. |
Uh oh!
There was an error while loading. Please reload this page.
The remote thumb buttons (and the preset, AUX and power keys) can fire an outgoing trigger when you press them: an HTTP webhook, a UDP packet, or Wake-on-LAN. So a SoundTouch button can control anything on your network.
Share what you wired up: Home Assistant scenes, waking a PC, toggling lights, a smart-home switch, whatever you built. Ideas you would like to see are welcome too.
Post in English or German, both are fine.
All reactions