Ergebnis 1 bis 10 von 10
  1. #1
    Anfänger
    Registriert seit
    14.08.2013
    Ort
    Romania
    Beiträge
    16
    Thanks (gegeben)
    27
    Thanks (bekommen)
    7
    Total Downloaded
    737,6 KB
    Total Downloaded
    737,6 KB
    ReceiverDanke
    Box 1:
    GigaBlue Quad
     
     
    Box 2:
    VU+ Solo 4K
     
     

    script that can activate a specific TV channel when a receiver is put into standby

    Hi all

    script that can activate a specific TV channel when a receiver is put into standby mode
    Is it possible to do it?

    •   Alt Advertising

       

  2. #2
    Avatar von Gio60
    Registriert seit
    12.10.2020
    Beiträge
    3.360
    Thanks (gegeben)
    848
    Thanks (bekommen)
    2158
    Total Downloaded
    465,3 KB
    Total Downloaded
    465,3 KB
    ReceiverDanke
    Box 1:
    Axas HIS 4K Combo mit ATV 7.3
     
     
    Box 2:
    OSmio4K+ mit ATV 7.3
     
     
    Box 3:
    AX HD61 mit ATV 7.3
     
     
    Box 4:
    Mutant HD51 mit ATV 7.3
     
     
    Box 5:
    OS mini mit ATV 7.3
     
     
    Sorry if I have missunderstand you,but why with a script?Channellist/Menue/Set as startup service.
    Miniaturansichten angehängter Grafiken Miniaturansichten angehängter Grafiken script that can activate a specific TV channel when a receiver is put into standby-1_0_19_283d_3fb_1_c00000_0_0_0_20230419114444.jpg   script that can activate a specific TV channel when a receiver is put into standby-1_0_19_283d_3fb_1_c00000_0_0_0_20230419114536.jpg  

    script that can activate a specific TV channel when a receiver is put into standby-1_0_19_283d_3fb_1_c00000_0_0_0_20230419114554.jpg  
    Ab 2024 nur inaktiv,wenn die Gesundheit einem einen Strich durch die Rechnung macht.

  3. #3
    Anfänger
    Registriert seit
    14.08.2013
    Ort
    Romania
    Beiträge
    16
    Thanks (gegeben)
    27
    Thanks (bekommen)
    7
    Themenstarter
    Total Downloaded
    737,6 KB
    Total Downloaded
    737,6 KB
    ReceiverDanke
    Box 1:
    GigaBlue Quad
     
     
    Box 2:
    VU+ Solo 4K
     
     
    Thank you for the answer
    I want that specific channel to run in the "background", after I activate standby mode

  4. #4
    Avatar von Papi2000
    Registriert seit
    20.04.2013
    Beiträge
    24.824
    Thanks (gegeben)
    4679
    Thanks (bekommen)
    9077
    Total Downloaded
    596,61 MB
    Total Downloaded
    596,61 MB
    ReceiverDanke
    Box 1:
    GB Q4K-SC / UE4K-SC / UE4K-C
     
     
    Box 2:
    GigaBlue Q-SSC / Q+-SSC
     
     
    Box 3:
    DM900uhd-SS / Vu+Duo
     
     
    Box 4:
    ZGemma H7/H9 SF8008
     
     
    Box 5:
    diverse andere . . .
     
     
    In standby, there is no tuner activate, and no stream within the box active, too.
    You only can call a specific stream from an external device (other box or PC), to enforce an active stream running, when you sent the box itself to standby. In deep that is of course not possible.
    Grüßle
    Ralf
    ---------------------------------------------
    Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
    Astra 19.2E UniCable & KabelBW, oATV/teamBlue
    (u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
    ---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----



  5. #5
    Anfänger
    Registriert seit
    14.08.2013
    Ort
    Romania
    Beiträge
    16
    Thanks (gegeben)
    27
    Thanks (bekommen)
    7
    Themenstarter
    Total Downloaded
    737,6 KB
    Total Downloaded
    737,6 KB
    ReceiverDanke
    Box 1:
    GigaBlue Quad
     
     
    Box 2:
    VU+ Solo 4K
     
     
    Yes, this is how I do it at the moment. I activate the service from another device. I was curious if everything can be done automatically with a script.

  6. #6
    Avatar von Makumbo
    Registriert seit
    13.03.2016
    Beiträge
    1.300
    Thanks (gegeben)
    607
    Thanks (bekommen)
    532
    Total Downloaded
    191,95 MB
    Total Downloaded
    191,95 MB
    ReceiverDanke
    Box 1:
    Vu+ DUO 4K mit 7.3
     
     
    Zitat Zitat von Gio60 Beitrag anzeigen
    Sorry if I have missunderstand you,but why with a script?Channellist/Menue/Set as startup service.
    script that can activate a specific TV channel when a receiver is put into standby-01-frage.jpg

    Alles in englisch, aber dann "Frage"?

    Gruß - Makumbo

  7. #7
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    Hi.

    It is possible to do it !

    It is enough to call the tuner through the OpenWebif interface using the Linux Shell, and the TV display will not turn on (it will remain off). Namely, calling the OpenWebif interface, in order to switch the channel, does not affect whether the TV is in standby. Likewise, Enigma2 itself will remain in Standby mode. Only the DVB tuner is simply activated / started, using the OpenWebif interface:
    Code:
    wget -qO- "http://127.0.0.1/api/zap?sRef=1:0:19:3731:C8E:3:EB0000:0:0:0:"    # activating the tuner in the set-top box, with the help of OpenWebif call 
    
    wget -qO- "http://127.0.0.1/api/zap?sRef=0"                                  # if you want stop the tuner
    Find the Service Reference Code (SRC) yourself, the one you need. You can find it, for example, in the userbouquet files "/etc/enigma2/userbouquet.*.tv" or you can look through the OpenWebif interface (by entering the set-top-box IP address, into the web browser on your PC, if both the PC and the set-top box are located in the same computer network - LAN). The example uses SRC for the "Markiza" satellite channel (Slovak Republic, satellite 23.5E).

    If you wanted a fully automated script, then it would be possible to use two scripts:
    /usr/script/StandbyEnter.sh
    /usr/script/StandbyLeave.sh

    ...which are called every time you enter or leave the standby mode in the Enigma2 algorithm.

    If these scripts (and also directories) does not exists, you must create them. Then assign execution rights to the files (chmod a+x /usr/script/*.sh)

    One small example of the /usr/script/StandbyEnter.sh script:
    Code:
    #!/bin/bash
    
    ZAPCHANNEL="1:0:19:3731:C8E:3:EB0000:0:0:0:"    # Service-Reference-Code of the satellite channel - for invoke the ZAP function, via Enigma2 / Open-Webif
    ZAPDELAY=3                                      # some delay in seconds
    
    CMD="sleep ${ZAPDELAY}; /usr/bin/wget -qO- 'http://127.0.0.1/api/zap?sRef=${ZAPCHANNEL}' > /dev/null 2>&1;"
    
    eval "${CMD}" &>/dev/null & disown;             # run the $CMD at the background

  8. Thanks mitcd bedankten sich
  9. #8
    Avatar von Gio60
    Registriert seit
    12.10.2020
    Beiträge
    3.360
    Thanks (gegeben)
    848
    Thanks (bekommen)
    2158
    Total Downloaded
    465,3 KB
    Total Downloaded
    465,3 KB
    ReceiverDanke
    Box 1:
    Axas HIS 4K Combo mit ATV 7.3
     
     
    Box 2:
    OSmio4K+ mit ATV 7.3
     
     
    Box 3:
    AX HD61 mit ATV 7.3
     
     
    Box 4:
    Mutant HD51 mit ATV 7.3
     
     
    Box 5:
    OS mini mit ATV 7.3
     
     
    Zitat Zitat von Makumbo Beitrag anzeigen
    script that can activate a specific TV channel when a receiver is put into standby-01-frage.jpg

    Alles in englisch, aber dann "Frage"?

    Gruß - Makumbo
    Joo, das passiert, wenn man die Sprache ändert ohne einen Gui Neustart zu machen, macht man einen Gui Neustart, passt es dann wieder, wird dann "question" angezeigt.
    Ab 2024 nur inaktiv,wenn die Gesundheit einem einen Strich durch die Rechnung macht.

  10. Thanks Makumbo bedankten sich
  11. #9
    Avatar von Papi2000
    Registriert seit
    20.04.2013
    Beiträge
    24.824
    Thanks (gegeben)
    4679
    Thanks (bekommen)
    9077
    Total Downloaded
    596,61 MB
    Total Downloaded
    596,61 MB
    ReceiverDanke
    Box 1:
    GB Q4K-SC / UE4K-SC / UE4K-C
     
     
    Box 2:
    GigaBlue Q-SSC / Q+-SSC
     
     
    Box 3:
    DM900uhd-SS / Vu+Duo
     
     
    Box 4:
    ZGemma H7/H9 SF8008
     
     
    Box 5:
    diverse andere . . .
     
     
    Zitat Zitat von s3n0 Beitrag anzeigen
    Hi.

    It is possible to do it !

    It is enough to call the tuner through the OpenWebif interface using the Linux Shell, and the TV display will not turn on (it will remain off). Namely, calling the OpenWebif interface, in order to switch the channel, does not affect whether the TV is in standby. Likewise, Enigma2 itself will remain in Standby mode. Only the DVB tuner is simply activated / started, using the OpenWebif interface:
    Code:
    wget -qO- "http://127.0.0.1/api/zap?sRef=1:0:19:3731:C8E:3:EB0000:0:0:0:"    # activating the tuner in the set-top box, with the help of OpenWebif call 
    
    wget -qO- "http://127.0.0.1/api/zap?sRef=0"                                  # if you want stop the tuner
    Find the Service Reference Code (SRC) yourself, the one you need. You can find it, for example, in the userbouquet files "/etc/enigma2/userbouquet.*.tv" or you can look through the OpenWebif interface (by entering the set-top-box IP address, into the web browser on your PC, if both the PC and the set-top box are located in the same computer network - LAN). The example uses SRC for the "Markiza" satellite channel (Slovak Republic, satellite 23.5E).

    If you wanted a fully automated script, then it would be possible to use two scripts:
    /usr/script/StandbyEnter.sh
    /usr/script/StandbyLeave.sh

    ...which are called every time you enter or leave the standby mode in the Enigma2 algorithm.

    If these scripts and directories does not exists, you must create them and assign them execution rights (chmod a+x /usr/script/*.sh)

    One small example of the /usr/script/StandbyEnter.sh :
    Code:
    #!/bin/bash
    
    ZAPCHANNEL="1:0:19:3731:C8E:3:EB0000:0:0:0:"    # Service-Reference-Code of the satellite channel - for invoke the ZAP function, via Enigma2 / Open-Webif
    ZAPDELAY=3                                      # some delay in seconds
    
    CMD="sleep ${ZAPDELAY}; /usr/bin/wget -qO- 'http://127.0.0.1/api/zap?sRef=${ZAPCHANNEL}' > /dev/null 2>&1;"
    
    eval "${CMD}" &>/dev/null & disown;             # run the $CMD at the background
    You can do that. But in the WebIF you will see, that even with that ZAP (yes, it is done) NO tuner will be active, and therefore also NO internal stream..
    You could make a virtual stream-workflow to " -> NONE" (device zero as output), but you would need to pipe all neccesary commands yourself in the script.
    And in times of reducing power consumption, that may NOT be done, because it is pure waste.
    Grüßle
    Ralf
    ---------------------------------------------
    Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
    Astra 19.2E UniCable & KabelBW, oATV/teamBlue
    (u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
    ---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----



  12. #10
    Senior Mitglied Avatar von s3n0
    Registriert seit
    02.01.2017
    Ort
    Slovakia
    Beiträge
    1.460
    Thanks (gegeben)
    91
    Thanks (bekommen)
    418
    Total Downloaded
    323,0 KB
    Total Downloaded
    323,0 KB
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    He probably needs the tuner running for the reason (I'm just guessing) to write EMMs to the decoding card... or some other similar reason. It's definitely not just for fun . So it's not about whether the set-top box will eat electricity or not.


Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:33 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 4,76%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com