Ultra+ as a wyoming satellite internal mic works perfectly but mic jack with external mic works for ~2 minutes

I haven’t seen anyone with this issue before.

Ultra+ is setup and works flawlessly as a wyoming satellite for Home Assistant using the internal microphone(s) and speaker.

I want to put Pi 2W inside a speaker case so I thought using the mic jack would be perfect and I would just put the mic pod on the top of the speaker enclosure and make a nice mobile satellite.

I’ve had this little guy running for over a year and the internal mic and speaker were solid. I followed a post to turn off INPUT1 and turn on INPUT2 and it works perfectly…for about 2 minutes.

Nothing in the logs, nothing crashes, it just stops listening the arecord process is still alive. A restart of wyoming service has it up and running again for about 2 minutes.

I have tried all sorts of settings for gain, volume_multiplier and noise suppression etc. I tried hw, plughw, plugarray configs in asound.conf but nothing has it last more than a few minutes.

I have turned off wifi and hdmi and have a script that is monitoring load, heat, the network, and wyoming connections and nothing is jumping out at me as the cause. I have run through a voltage monitor and there are not spikes or dips.

Does it lose signal, go to sleep? Is there anything I can do to keep it alive?

Thanks - Yoda

Hi, most likely for some reason your app is after 2 minutes rewriting the codec I2C configuration reseting the input.

to prove this theory you can always try to read the full i2c registery of the WM8960 when it is working then read it again after 2mn when it is not working and compare the 2 files check if different. Any LML will be able to write you the script.

if proven you can write a script that rewrite the I2C config every 2mn, or find what proces is overwriting the config.

Thanks