Trying to create a stopwatch to trace hours listened to vinyl records

Trying to create a stopwatch to trace hours listened to vinyl records

I simply changed the stylus on my turntable. Recommendation is to interchange the stylus each 500-1000 hours of listening; it occurred to me that I ought to have the ability to observe cumulative listening time utilizing Home Assistant.

Here’s a bit extra about my setup, and my desired consequence – keen to listen to if anybody has options for find out how to accomplish this!

My turntable is linked to a Sonos Port, which is configured (by way of the Sonos app) to auto-play on my Sonos Arc soundbar. Whenever I drop the needle on a brand new album, the Port sends its audio feed to the Arc, and some seconds later I hear the file on the encompass setup within the household room.

Sonos is linked to my Home Assistant server. In the logbook, I don’t see any occasions from the Port that I’d count on to see (nothing associated to a sign being detected on the line-in port, or that it’s began / stopped sending a sign to the Arc). The Arc does report within the logbook when it’s “enjoying”, however that may be true for audio from a TV sign, so it’s not granular sufficient to set off when listening to vinyl however not TV.

What I would like is a stopwatch that counts up when audio is coming from the turntable; it could let me observe cumulative listening time on the turntable. Seems like this needs to be ~doable, however I haven’t found out what data is obtainable from the Sonos API that will let me set off a helper and increment the stopwatch or pause the stopwatch accordingly.

Anyone have ideas about how I’d obtain this? I’d simply put the turntable’s energy provide on a wise plug, and use the good plug’s on/off standing as a proxy for when the turntable is on (and presumably sending audio). But if I can get a bit extra exact w/data from Sonos, that looks like it’d be preferable.

Thanks prematurely.

2 posts – 2 individuals

Read full matter

Vinyl

by way of Home Assistant Community – Latest subjects https://ift.tt/PFjDXWI

April 4, 2024 at 07:45AM