Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[Mut@nt] HD51 Auto deepstandby

Here's a debug version of [FONT=courier\ new]PowerTimer.py[/FONT]

View attachment 56317

This needs to go into /usr/lib/enigma2/python (take a copy of the PowerTimer.pyo which is already there, so you can put that back in place when you delete the [FONT=courier\ new]PowerTimer.py[/FONT] after testing).

You also need to enable debug logs (if you don't have them on) and restart the GUI (to bring the new code into use). Then wait until you think the box should have shutdown and look at the debug log.
It should contain entries that say why it has backed-off the shutdown, like this:
Code:
< 10628.704> [GML] ADS backoff - Clients streams active
< 11386.693> [GML] ADS backoff - Recording
< 12096.837> [GML] ADS backoff - Not in standby for auto

Ok thanks, I will look at this later on after work.

Thanks
 
Birdman I have sent you the debug logs.

thanks
 
I now know what the problem is (at least I think I do....).

It appears that if you change a repeating timer to an autorepeat one the repeating part is left in place (just confirmed that now). But part of the [FONT=courier\ new]PowerTimer.py[/FONT] code assumed it would be 0 (my fault from a change some time ago).

I'll get that fixed (done, but need to test it)- and also:
  • ensure that the back-off time for autorepeat timers is never set to more than the autorepeat (currently it can be, up to 30mins)
  • look at why Deleteing a running timer just disables it - you have to Delete them twice
 
I'll get that fixed (done, but need to test it)- and also:
  • ensure that the back-off time for autorepeat timers is never set to more than the autorepeat (currently it can be, up to 30mins)
  • look at why Deleteing a running timer just disables it - you have to Delete them twice
The first item is actually incorrect - an auto-repeat timer actually never needs to back-off, as it will get resubmitted anyway (I think - still need to test this).
I've got a fix for the second item.
 
It appears that if you change a repeating timer to an autorepeat one the repeating part is left in place (just confirmed that now). But part of the [FONT=courier\ new]PowerTimer.py[/FONT] code assumed it would be 0 (my fault from a change some time ago).
Actually the problem lies elsewhere (so not my fault). However, the bit I wrote can be improved....
I just need the time with the TV available to test things....hopefully tomorrow evening.
 
Actually the problem lies elsewhere (so not my fault). However, the bit I wrote can be improved....
I just need the time with the TV available to test things....hopefully tomorrow evening.
I managed to do it without needing the TV and it all seems to work. So I have three sets of fixes, which I'll submit today (this evening).
 
Well, here's one. This fixes that actual problem reported by the OP.
Code:
https://github.com/OpenViX/enigma2/pull/240
More to follow. Some more tidying up ideas have appeared....
 
  • ensure that the back-off time for autorepeat timers is never set to more than the autorepeat (currently it can be, up to 30mins)
This fix sets the back-off time for autorepeat timers to the autorepeat time (which is what it should be).
It also simplifies the actual resetting of the time by moving it into the [FONT=courier\ new]do_backoff()[/FONT] function.
Code:
https://github.com/OpenViX/enigma2/pull/242
 
More to follow. Some more tidying up ideas have appeared....
This one ensures that all auto* repeating timers start repeating from the time enigfma2 starts up (well, 30s later) rather than first wating for anything left over from the last enigma2 run.
Code:
https://github.com/OpenViX/enigma2/pull/243
This, and pull 242 mentioned above, should mean that auto[deep]standby timers will now be activated in at most the repeat time (after inactivity/standby setting as appropriate).
 
This one ensures that all auto* repeating timers start repeating from the time enigfma2 starts up (well, 30s later) rather than first wating for anything left over from the last enigma2 run.
Code:
https://github.com/OpenViX/enigma2/pull/243
This, and pull 242 mentioned above, should mean that auto[deep]standby timers will now be activated in at most the repeat time (after inactivity/standby setting as appropriate).

Thanks Birdman
 

OpenViX Feeds Status

Back
Top