[mythtv-users] HDPVR, Sonoff and find-zero-byte.pl

Rajil Saraswat rajil.s at gmail.com
Fri Sep 7 01:43:45 UTC 2018


On 09/05/2018 11:19 PM, Rajil Saraswat wrote:
> Hi,
>
> My HDPVR frequently locks up with a message "config call request for
> value 0x800 returned -110". The MythTV wiki points that a device called
> HDPVR-Killer used to exists which could power cycle the devices. I
> intend to use ESP8266 chip Sonoff device [1] to powercycle the HDPVR.
> However, I would like to use the find-zero-byte.pl [2] script from the
> hdpvr-killer repo. Does anybody know whether that script works with
> v0.29 (assuming hdpvr-power on lines 125/141 is my sonoff external script)?
>
>
> Thanks
>
>
> [1] http://sonoff.itead.cc/en/products/sonoff/sonoff-basic
>
> [2] https://github.com/Beirdo/hdpvr-killer/blob/master/src/find-zero-byte.pl
>
I have setup the find-zero-byte.pl script and can see the following in
the log,

SystemEvent mythsystemevent.cpp:55 (run) - MythSystemEventHandler:
Finished '/usr/local/bin/find-zero-byte.pl 1 1110 2018-09-06T20:35:58'
result 140

Anybody knows what that return of '140' means?


The script is supposed to create the file,

my $runningfile = "/tmp/$cardid-$chanid-$starttime.running";

but i dont any such file being created in /tmp.



More information about the mythtv-users mailing list