Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


CamillaDSP websocket?
#1
Hi.
I would like to make Home Assistant be able to turn on and off my amplifiers when there is nothing playing in Moode Audio.
I have found a addon https://github.com/kwerner72/homeassistant-camilladsp/ that looks like it can do what i want, but i try to figure out how this works. I have tried to add my ip-adess to my raspberry pi running Moode with the 5005 port mentioned in the github page.
I guess that CamillaDSP should be started with a websocket switch? 




Code:
-a, --address <ADDRESS>              IP address to bind websocket server to
 -p, --port <PORT>                    Port for websocket server

I have no idea what i'm doing, but this would be so good for me to get working.
Does anyone know where in Moode Audio i can change how CamillaDSP is loaded and i can add the adress to my home assistant server?
Reply
#2
I don't have any experience with home assistant but rather that check camilla you could instead check the ALSA output

Code:
# MPD Playing
pi@moode9:~ $ moodeutl --hwparams
card 0: Allo Boss DAC
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (705600/16)
period_size: 2048
buffer_size: 16384

# Paused
pi@moode9:~ $ moodeutl --hwparams
card 0: Allo Boss DAC
closed
pi@moode9:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: