Hmm tried that, didn’t have an error anymore. But also doens’t do anything strange enough. It looks like it executed without logging anything, and the volume didn’t change:
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 52429 [80%] [on]
Front Right: Playback 52429 [80%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]
It stays at 100%, when playing an mp3 via playsound or say action. Including the error:
That’s even more interesting that you still have this error message because you already have a master volume control.
I did a fresh install of openHABian and “Master” is missing.
Seems that something is wrong with openHABian’s sound configuration
but the log doesn’t show anything and the volume doesnt change:
[14:16:24] openhabian@openHABianDevice:~$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 52429 [80%] [on]
Front Right: Playback 52429 [80%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]
Not sure why, but i don’t hear anything now. I rebooted a couple of times. Lots of troubles in my rules in upgrading from OH2.5 to OH3. I use a lot of datetime items and there has been a lot of changes… In the meanwhile trying to get openhab to speak/make sound.
[15:11:46] openhabian@openHABianDevice:~$ amixer -c 0 cset numid=3 100%
amixer: Cannot find the given element from control hw:0
[15:12:18] openhabian@openHABianDevice:~$ amixer sset Master 100%
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
probably the ID is wrong. You can get it by amixer controls. please post the results.
Anyway, you do’t need that command as amixer sset Master 100% works for you
I did a clean install. On a new raspberry pi4b. I’m not sure if I did a restore or not. Having a lot of problems upgrading. But I think the last (this) time i did complete clean install because of some problems with reverse proxy and sitemaps which were unreachable.
Everything is/was working without any problem on my pi3b with openhab 2.5.10 (it’s still my main openhab server, but i shut it down to migrate the new pi4 to openhab 3.0)
I just did a clean install and it just won’t work. The last time i tried a couple of things but the situation is now complete clean install and for some reason the 3.5mm device isn’t recognised on the Rpi4b.
And it says that the device is mono, and that’s not correct. it’s a stereo output. I connected a stereo speaker but i got no sound. Anyone has an idea what to do?
(I just saw i used the image: openhabian-pi-raspios32-v1.6.2.img.xz in stead of openhabian-pi-raspios32-v1.6.2b.img.xz, does that matter?)
Ok, really strange. Due to some problems with Telegram binding (My old 2.5 is still running and Telegram conflicts when you connect more then one instance to a botToken) A bug in the binding kept spitting errors in the log, know issue, and i had to stop openhab and clean cache.
Just out of curiosity I checked again if i had sound, and i got speech working. I can change volume with amixer sset Headphone 100%. I’m testing it via karaf at the moment, because of the migration. The log keeps getting this error:
To be honest, it isn’t verry stable in my opinion. but maybe i’m doing some things wrong.
Im struggling a lot since upgrade at least.
Bash is working for me by the way. I use it as : executeCommand(“bash”,“somefile.sh”) > and added it to the whitelist without bash.
But as now I experience:
Logtail is gone after restart openhab > have to reinstall it every time via openhabian-config
Google Cloud TTS doesn’t work after reboot (just hear noise or nothing), this was a part of the problem above, i thought it was the sound config, but it was both…