Spanish Abertis DTT Sat @ Hispasat 30W - Chat & How to guides

EnoSat

Well Known Member
Messages
2,371
root@zgemmah9combo:~# astra --analyze http://localhost:8001/1:0:1:70A:EA7E:1:CE4AAAA:0:0:0: Nov 24 11:40:55: INFO: Starting Astra SM 0.2 Nov 24 11:40:56: INFO: Bitrate: 0 Kbit/s
If you have ZERO, check your Service reference in the menu box
 

EnoSat

Well Known Member
Messages
2,371
I also agree I would like to lean what each of the Hex numbers mean so I can troubleshoot this myself plus help others.
-this ?
001a0000:07d2:0002
s 12303000:30000000:1:4:282:2:0:1:1:0:2:30:0:1:0:4096
----------------------------------------------------------
namespace - XXXXxxxx /XXXX-position , xxxx-frequency
transponder_stream_id - TID
original_network_id - NID
mode - s-Satellite , t-Terestrial , c-Cable
frequency - kHz
symbol_rate -
polarization - 0-Horizontal, 1-Vertical, 2-Left, 3-Right
fec_inner - FEC - 0-Auto, 1-1/2, 2-2/3, 3-3/4, 4-5/6, 5-7/8, 6-, 7-, 8-, 9-9/10
orbital_position - + = East , - = West
inversion - 0-Off, 1-On, 2-Auto
flags
system - 0-DVB-S, 1-DVB-S2, 2-None(crash e2)
modulation - 0-Auto, 1-QPSK, 2-8PSK, 3-QAM16, 4-16APSK, 5-32APSK, 6-None(crash e2)
roll_off - 0-0.35, 1-0.25, 2-0,20, 3-Auto, 4-None
pilot - 0-Off, 1-On, 2-Auto, 3-None
is_id - Multistream number (max.255)
pls_code - Psychical Layer Stream number (max.262141)
pls_mode - 0-Gold, 1-Gold, 2-Combo, 3-unknown
t2mi_plp_id - T2-MI number
t2mi_pid - T2-MI pid

0fa1:011a0000:07d2:0002:25:0
Sky Sports 1 HD
p:BSkyB,c:050001
-------------------
service_id - SID
namespace - XXXXxxxx /XXXX - position , xxxx - frequency/
transport_stream_id - TID
original_network_id - NID
service_type -
flags/ATSC_source_id // source_id 0 = not use
name
 

EnoSat

Well Known Member
Messages
2,371
i' Want to build for AArch64 in enigma
but astra-sm support only ARM & MIPS
 

Adam792

Senior Member
Messages
104
Yes, I had all that since yesterday. The v. of tvh is 4.3-2000~g462c76ec1 and is configured as both plain and digest, although I tested the two separately. The user also put it as admin.
with 127.0.0.1/32
Traceback (most recent call last):
File "./tvh-json.py", line 187, in <module>
main(sys.argv)
File "./tvh-json.py", line 182, in main
globals()[cmd](*argv[2:])
File "./tvh-json.py", line 126, in do_export
body = do_get0('raw/export', {'uuid':args[0]})
File "./tvh-json.py", line 112, in do_get0
resp = TVHeadend(path).post(query)
File "./tvh-json.py", line 97, in post
return self._push(data, method='POST')
File "./tvh-json.py", line 88, in _push
r = Response(opener.open(request))
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1235, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1205, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>

Hmm how do you have the user set-up in TVHeadend? This is mine, everything is default below this. Everything is ticked in 'change parameters':



I find the user access in TVH to be the hardest to get my head around, it never quite works like I'm expecting. :D

I'm on 4.3-2027 so not too much different.
 

Oskar3

Registered
Messages
102
Hmm how do you have the user set-up in TVHeadend? This is mine, everything is default below this. Everything is ticked in 'change parameters':



I find the user access in TVH to be the hardest to get my head around, it never quite works like I'm expecting. :D

I'm on 4.3-2027 so not too much different.
Don’t let it, it’s narrow. :p
Traceback (most recent call last):
File "./tvh-json.py", line 187, in <module>
main(sys.argv)
File "./tvh-json.py", line 182, in main
globals()[cmd](*argv[2:])
File "./tvh-json.py", line 126, in do_export
body = do_get0('raw/export', {'uuid':args[0]})
File "./tvh-json.py", line 112, in do_get0
resp = TVHeadend(path).post(query)
File "./tvh-json.py", line 97, in post
return self._push(data, method='POST')
File "./tvh-json.py", line 88, in _push
r = Response(opener.open(request))
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1235, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1205, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
 

chelo71

Super VIP
Messages
1,698
Works on Octagon SF 4008 and Edition OS mio 4K. I was finally able to set the channel correctly in lamedb and have it not disappear. I had everything fine except the channels in userbouquet, I put them as always before. I copied the channels from the clief list, then I saw the difference. I was not able to see that these should be written differently.
I can't, the channels always disappear, can I have a backup octagon sf4008?
 

EnoSat

Well Known Member
Messages
2,371
You can't try mine if you have completely different references
root@zgemmah9combo:~# astra --analyze http://localhost:8001/1:0:1:70A:EA7E:1:CE4AAAA:0:0:0: Nov 24 11:40:55: INFO: Starting Astra SM 0.2 Nov 24 11:40:56: INFO: Bitrate: 0 Kbit/s
 

Adam792

Senior Member
Messages
104
Don’t let it, it’s narrow. :p
Traceback (most recent call last):
File "./tvh-json.py", line 187, in <module>
main(sys.argv)
File "./tvh-json.py", line 182, in main
globals()[cmd](*argv[2:])
File "./tvh-json.py", line 126, in do_export
body = do_get0('raw/export', {'uuid':args[0]})
File "./tvh-json.py", line 112, in do_get0
resp = TVHeadend(path).post(query)
File "./tvh-json.py", line 97, in post
return self._push(data, method='POST')
File "./tvh-json.py", line 88, in _push
r = Response(opener.open(request))
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1235, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1205, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>

Still seems like TVHeadend is blocking it in some way if the connection is refused (the error comes from the Python code inside the script trying to do the API request to TVHeadend).

You might need to adjust the 'allowed networks' setting for the user you're using, and adjust line 26 in tvh-json.py until it lets you do it -

Code:
TVH_API=env('TVH_API_URL', 'http://localhost:9981/api')

(Maybe try "http://127.0.0.1:9981/api"?)

For me it works with allowed networks as 127.0.0.1/32, and the default line above in tvh-json.py, running on the same machine of course.
 

Oskar3

Registered
Messages
102
Still seems like TVHeadend is blocking it in some way if the connection is refused (the error comes from the Python code inside the script trying to do the API request to TVHeadend).

You might need to adjust the 'allowed networks' setting for the user you're using, and adjust line 26 in tvh-json.py until it lets you do it -

Code:
TVH_API=env('TVH_API_URL', 'http://localhost:9981/api')

(Maybe try "http://127.0.0.1:9981/api"?)

For me it works with allowed networks as 127.0.0.1/32, and the default line above in tvh-json.py, running on the same machine of course.
This is what initially gave me this mistake.
I’m testing all kinds of possibilities.
Thank you Adán792


HTTP ERROR "http://127.0.0.1:9981/api/raw/export" 403 Forbidden
 

Ramboide

Senior Member
Messages
201
All what is necessary for PID 802 in a Enigma2 receiver compiled here. Thanks to all the people who have made this great work.

- lamedb:
Code:
transponders
0ce4aaaa:ea7e:0001
    s 10922000:16400000:1:3:-300:2:0:1:2:0:2

If in lamedb is created transponder without services like this, then edit as seen above:
0ce40000:ea7e:0001
                  s 10922000:16400000:1:3:-300:2:0:1:2:0:2
Remeber deactivate Enigma 2 with "init 4" and reactivate with "init 3"

services
070a:0ce4aaaa:ea7e:0001:1:0:0
Abertis PID 802
p:ABERTIS:c:031fff,c:150322,C:2600,f:4

- userbouquet:
Code:
#SERVICE 1:64:4E6:0:0:0:0:0:0:0::(TV) 10922 V 16400 3/4 802
#DESCRIPTION (TV) 10922 V 16400 3/4 802
#SERVICE 1:0:1:30D5:A:22D4:0:0:0:0:http%3a//0.0.0.0%3a9999/abertis/pid802plp0:TVE UHD [802]
#DESCRIPTION TVE UHD [802]
#SERVICE 1:0:1:30D6:A:22D4:0:0:0:0:http%3a//0.0.0.0%3a9999/abertis/pid802plp0:UHD-2 [802]
#DESCRIPTION UHD-2 [802]

- astra.conf:
Code:
make_channel({
  name = "Abertis PID 802",
  input = {
    "http://localhost:8001/1:0:1:70A:EA7E:1:CE4AAAA:0:0:0:",
  },
  transform = {{
    format = "pipe",
      command = "/etc/astra/scripts/abertis 802",
  }},
  output = {
    "http://0.0.0.0:9999/abertis/pid802",
  },
})

f10992abertis0 = make_t2mi_decap({
        name = "Abertis PID 802",
        input = "http://0.0.0.0:9999/abertis/pid802",
        plp = 0,
        pnr = 0,
        pid = 4096,
})

make_channel({                                               
  name = "10992plp0",
  input = {
    "t2mi://f10992abertis0",
  },
  output = {
    "http://0.0.0.0:9999/abertis/pid802plp0",
  },   
})

Keys:
Code:
F 070A1FFF 00 xxxxxxxxxxxxxxxx ;ABERTIS HS200.1 0322_802 (30W/10922V) TVE 4K
F 070A1FFF 01 xxxxxxxxxxxxxxxx ;ABERTIS HS200.1 0322_802

Adding these lines makes it work well on receivers where it doesn't work well:
Code:
net.core.rmem_default = 16777216
net.core.rmem_max = 16777216
net.core.wmem_default = 16777216
net.core.wmem_max = 16777216
net.ipv4.udp_mem = 8388608 12582912 16777216
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 65536 8388608
net.ipv4.tcp_tw_recycle = 0
 
Last edited:

lordgothic

Senior Member
Messages
145
i have octagon sf8008 works fine
also i have edision os mio 4k and not work any help? i put into edision the same files that octagon
 

markjose

Senior Member
Messages
174
Ok So this is what I done step by step

1. scanned 10922 freq to populate the lamdb extract below

Rich (BB code):
0ce40000:ea7e:0001
        s 10922000:16400000:1:7:-300:2:0:1:2:0:2
/



2. ran init 4

3. inserted the service using the text below

Rich (BB code):
070a:0ce40000:ea7e:0001:1:0:0
Abertis PID 802
p:ABERTIS:c:031fff,c:150322,C:2600,f:1

4. ran init 3

Checked lamdb and the service was still present

5.

Rich (BB code):
root@zgemmah9combo:~# astra --analyze http://localhost:8001/1:0:1:70A:EA7E:1:CE40000:0:0:0:
Nov 25 06:19:00: INFO: Starting Astra SM 0.2
Nov 25 06:19:00: INFO: PAT: tsid: 60030
Nov 25 06:19:00: INFO: PAT: pid: 16 NIT
Nov 25 06:19:00: INFO: PAT: pid: 802 PMT pnr: 1802
Nov 25 06:19:00: INFO: PAT: crc32: 0x6782915C
Nov 25 06:19:01: INFO: Bitrate: 33162 Kbit/s
Nov 25 06:19:01: ERROR: Scrambled: 802=20888
Nov 25 06:19:02: INFO: Bitrate: 34741 Kbit/s
Nov 25 06:19:02: ERROR: Scrambled: 802=23097
Nov 25 06:19:03: INFO: Bitrate: 34742 Kbit/s
Nov 25 06:19:03: ERROR: Scrambled: 802=23098
Nov 25 06:19:04: INFO: Bitrate: 34742 Kbit/s
Nov 25 06:19:04: ERROR: Scrambled: 802=23098
^CNov 25 06:19:05: INFO: [main] shutting down
root@zgemmah9combo:~#

Great so now I need to understand these pipe commands, and pull into VLC after descrambled.
 
Top