[mythtv-users] Events at the beginning of a recording
Hika van den Hoven
hikavdh at gmail.com
Wed Jan 25 19:31:25 UTC 2023
Hoi Jan,
Wednesday, January 25, 2023, 7:29:35 PM, you wrote:
> On 25/01/2023 18:29, Hika van den Hoven wrote:
>> Am I correct that you are working on conserving electricity by only
>> powering up devices when needed?
> Yes, that's what I'm trying to achieve. I have three HDMI video capture
> pipelines (STB, HDMI encoder and another device which shall remain
> unnamed), and I am powering all three with a single 12VDC power supply
> (and a 12V to 5V buck converter for the devices that require 5VDC),
> which is plugged into an old 4-socket Gembird USB-controlled power strip
> I had from an era long past.
> Ideally I would like the sockets to be controlled by scripts ultimately
> invoked from the MythTV backend, so that (among other things) they are
> also powered down when the backend service is stopped, e.g. as part of
> the whole server being shut down.
>> I am currently working on a network management tool to achieve just
>> that and am now implementing a eg-pms2-lan with switchable power
>> sockets to among others manage my hdhomrun.
>> I use the mythtv api to extract a recording schedule for those tuners
>> to determine when to switch on or off.
> I can see that working for scheduled recordings, but live TV (which I
> occasionally use for testing) wouldn't work as it's of course unscheduled.
> But I am indeed interested, since live TV is very much a corner case.
> I'd also still want to work on powering stuff down while MythTV is down,
> but that can probably be done independently of your scheme.
> Thanks, Jan
> _______________________________________________
If you wait a few months, I'll publish my management application. It
at present basically consists of a daemon running on my backend and on
a rPi that coordinates it all. All machines are interlinked in
dependencies. So if my workstation or frontend is waken, the backend
is waken too. If a frontend is still awake, sleep will be halted. You
can register the pid of a script and while it's running sleep is
halted. Etc...
Except for a small core around the rPi, this way everything can be
shut down and will wake at need.
Is tricky to get it all to work dependably.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list