this post was submitted on 01 Feb 2025
12 points (100.0% liked)

homeassistant

12714 readers
14 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

I have a routine that plays an audio file on the top of every hour and it worked great for the first few days but lately the audio has been lagging or stuttering. At first i thought it was because i was using an old chromebook in kiosk mode but my home assistant voice is doing the same thing with voice replies. Any idea what could be causing this? Home assistant is being ran as a vm on my hypervisor and the audio file in question is an mp3 saved locally in the media folder on home assistant.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (1 children)

If it's audio, and it's all coming from the same source, then...the source is the problem.

Check your free memory, running proc usage, and general util of your instance. Sounds like you're taxing it too much.

Would also be helpful to know "how" you are hearing this audio. Directly connected speaker, Bluetooth, WiFi...etc.

[–] [email protected] 2 points 1 week ago (1 children)

Let's discuss the chromebook since that's where i want the issue addresses first. It's a chromebook with the fully kiosk app running and it displays my home assistant internal address in the web browser. Through the kiosk app it's a destination for media playback and the sound comes out of the chromebook speakers. The vm is assigned 24gb of ram and it's using 8 of that and it's using less than 1% of the 32 cpus i've assigned to it. If you're wondering, the hardware is an old dual cpu server with more resources than i could ever hope to use so i over fed most of the vms i'm running. I doubt it's a hardware issue on the server side but i'm willing to try anything.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

What method did you use to install on this Chromebook?

Also, it's a Chromebook, so it doesn't have 32 CPUs. Maybe you mean cores, which would even be weird for a Chromebook.

[–] [email protected] 2 points 1 week ago (1 children)

The home assistant vm has 32 cores, the chromebook i'm not sure. I installed the fully kiosk app using the google play store.

[–] [email protected] 2 points 1 week ago (1 children)

Report back with the model of your Chromebook and we might be able to say what's happening. Otherwise, restart it, and see if the problem disappears.

[–] [email protected] 1 points 1 week ago

The issue is either the chromebook or the fully kiosk app, and i'm thinking it's the app. Post reboot it won't let me play music from or to the chromebook now.