Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! 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 £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[ViX_Misc] startup to standby

Last edited:
.....you've not tried a power timer then?

w.webp
 
Last edited:
Maybe I should have read post #1 from 14 months ago.

How often do you get power cuts?
 
Last edited:
Maybe I should have read post #1 from 14 months ago.

How often do you get power cuts?

Living in the country side where power is cut when ever wind is moving leaves on trees ;) So very often. My other box ( UNO 4K SE) is also switching tv on through HDMI-CEC.
 
It's needs some minor changes for Python3.

In plugin.py:

  • The two print statements need () around the strings they are printing.
  • One import needs to be changed (a "." added to indicate a local import) on line 5
    Code:
    from [B][COLOR=#ff0000].[/COLOR][/B]StartupToStandbyConfiguration import StartupToStandbyConfiguration

Then it works.
 
It's needs some minor changes for Python3.

In plugin.py:

  • The two print statements need () around the strings they are printing.
  • One import needs to be changed (a "." added to indicate a local import) on line 5
    Code:
    from [B][COLOR=#ff0000].[/COLOR][/B]StartupToStandbyConfiguration import StartupToStandbyConfiguration

Then it works.

@birdman, thank you very much !!!

View attachment StartupToStandby.rar
 
Living in the country side where power is cut when ever wind is moving leaves on trees ;) So very often. My other box ( UNO 4K SE) is also switching tv on through HDMI-CEC.

Cheers, I'd be tempted to keep my boxes in deep standby when not in use, power cuts could easily damage them.
 
It's needs some minor changes for Python3.
....
Then it works.

Although there's a bug in the packaging for the plugin too.
The Py3 compilation produces *.pyc files, not *.pyo ones, but the ipk file has *.pyo files in it.
So, if you remove the package (as I did after testing it) opkg just removes the files it installed (all it knows about). So the *.py and *.pyo files get removed, but the *.pyc files remain in place. And hence you still have the plugin installed, even after you removed it!

It needs a post-rm file to delete the installation directory (and shouldn't supply *.pyo/*.pyc files at all).
 
so this is the plugin in enigma2-plugins and appears to be updated for python3, just not sure why it doesn't appear in the feeds.
https://github.com/oe-alliance/enigma2-plugins/tree/master/startuptostandby

Might have been removed 11 years ago...

https://github.com/oe-alliance/enigma2-plugins/commit/add93b8b787cf5299503f455cbcd1be4b1d10485

At about the same time....

On ViX again, I can add to the above non-working Systemplugins the following non-working Extensions:
Bitrateviewer,
Fancontrol2,
letterbox,
logomanager,
movielistpreview,
and startuptostandby (although that plugin does work: the functionality is already in ViX).

I hope all non-working plugins can be removed from the feeds; much better than making a list of those you'd better not install.....
 
Last edited:
and startuptostandby (although that plugin does work: the functionality is already in ViX).
Is that the case?
Or is this being confused with the box going into standby if waking up for a recording (which is not the same thing).
 
Is that the case?
Or is this being confused with the box going into standby if waking up for a recording (which is not the same thing).

I don't think it is, but 11 years ago things might have been (slightly) different.
 
"startuptostandby" is part of oe-alliance/enigma2-plugins but not in the makefile and not been built for years. So if someone updates the plugin and tests it is fully working we can reinstate it and it will appear in the feeds.
 
As an attachment on post #28 is a working and tested version (with help of @Birdman).
 
... it should be in the plugin feeds in the next ViX release.
 
I'm having difficulty with the StartupToStandby plugin which doesn't seem to have reappeared in the extensions list yet. And the previous version, which worked well, has an error when I've restored a back up:

Some plugins are not available:
Extensions/StartupToStandby (Missing parentheses in call to 'print'.
Did you mean print(...)? (plugin.py, line 12))


So trying the wakeup to standby power timer, as suggested above. But it isn't working. Settings are as in the posted jpg:

Wakeup to Standby
repeated
daily
20 December 2022 - I can't set the start date to today 19 Dec?
0700
No
do nothing

Back to 5.4.016 which all works.
 
Last edited:
Many things from the past that worked might be Python 2 and new images and plugins are using Python 3.

Developer needs to update their stuff for the new platforms python 3.
 

OpenViX Feeds Status

Back
Top