martedì 24 maggio 2022

Enigma2 OpenATV tv sat decoder does not remember motor last position

Found this problem on enigma2 tv decoder with motorized dish.

My main channel list is a mix of sat channels on different positions like 13E 19.2E and 39E.

Issue appears when:

  1. tune on 13E channel
  2. tune on 19.2E channel (dish moves)
  3. put decoder in standby (dish power off)
  4. wake up decoder
  5. tune on 13E channel
    dish doesn't move, still on 19.2E and clearly channel is not tuned.

You have to remember that dish last position was 19.2E, tune on a channel on that satellite and then move to the desired channel. That way dish will move.

Or you can do the following workaround:

  1. tune on your preferred channel on your preferred satellite, probably the 1st in list.
  2. note the ip address of your decoder, for example 192.168.0.123
  3. from your pc go to http://192.168.0.123/api/statusinfo
  4. note the value of  "currservice_serviceref" , for example
    1:0:19:4337:300C:13E:820000:0:0:0:

OpenATV ( and maybe other enigma2 graphical interfaces ) runs
https://github.com/openatv/enigma2/blob/7.0/lib/python/Screens/Standby.py
when you put your decoder in standby and back.
There you can see that when you put your box in standby it will run /usr/script/StandbyEnter.sh
and when you wake up the box will run /usr/script/StandbyLeave.sh

So, ssh or telnet your box and put the following lines on both files: StandbyEnter.sh and StandbyLeave.sh on /usr/script folder

#!/bin/bash
wget -qq -O - "http://127.0.0.1/web/zap?sRef=1:0:19:4337:300C:13E:820000:0:0:0:"
exit 0

Make them executables: chmod +x  /usr/script/Standby*.sh

Now when you put in standby your decoder and wake up, your preferred channel will be tuned and dish will move on that position.

 

Nessun commento:

Posta un commento