TVHeadend with NewCS (Windows/Newcamd)?
Added by Hans X over 4 years ago
edit: solved. Sometimes the solution looks you right in the eye and you can't see it..... I had to change the ip adress in NewCS from 127.0.0.1 to 192.168.1.56 because now NewCS and tvheadend are not on the same systems.....
I'm having a lot of trouble to get TVHeadend working with Oscam. It won't work with Newcamd and DVBAPI for some reason I can't figure out. I had a working TV Mosaic setup, but regrettable this software is end of life and stopped working. But what I still have is a working NewCS install on my Windows server. So I was thinking, it should be easy to link that to TVheadend on my Synology. But as easy as it sounds..... I cannot get it to work.
What do I have:
Windows 10 server with NewCS on 192.168.1.56. The port is 15050, and NeCS states that 'Newcamd thread server started on port 15050'. As I have said, this works with TV Mosaic. The config file says:
<newCSconfig> <globals> <listening-ip>127.0.0.1</listening-ip> </globals> <readers name="Card Readers"> <device> <name>reader1</name> <enabled>yes</enabled> <type>Phoenix</type> <node>COM3</node> <mhz>600</mhz> <parity>even</parity> <export>yes</export> <irdetomode>0</irdetomode> <irdeto-camkey>removed for online purposes</irdeto-camkey> <irdeto-camkey-data>removed for online purposes</irdeto-camkey-data> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <blockc0>yes</blockc0> <Seca-PPV>no</Seca-PPV> <PTShandshake>no</PTShandshake> <crypto-special>no</crypto-special> <carddetect>no</carddetect> <priority>round</priority> <autosid>yes</autosid> <newcamd_port>15050</newcamd_port> </device> </readers> <cache> <emm>20</emm> <ecm>-1</ecm> </cache> <debug> <level>normal</level> <type>init</type> <output>console</output> <console_options>normal, init</console_options> <tcp_port>1001</tcp_port> <password>DebugPass</password> <tcp_options>normal, init</tcp_options> </debug> <newcamdserver> <enabled>yes</enabled> <deskey>01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E</deskey> <name>newcs</name> <user> <name>gebruiker1</name> <password>wachtwoord1</password> <au>on</au> <allow>reader1</allow> <spider>no</spider> </user> <user> <name>gebruiker2</name> <password>wachtwoord2</password> <au>on</au> <allow>reader1</allow> <spider>no</spider> </user> <user> <name>gebruiker3</name> <password>wachtwoord3</password> <au>on</au> <allow>reader1</allow> <spider>no</spider> </user> <user> <name>gebruiker4</name> <password>wachtwoord4</password> <au>on</au> <allow>reader1</allow> <spider>no</spider> </user> </newcamdserver> <httpd> <server> <enabled>no</enabled> </server> </httpd> <radegastserver> <enabled>no</enabled> </radegastserver> </newCSconfig>
Then I create a new CAs in TVHeadend on my Synology (192.168.1.17). I use:
enabled yes
client name newcs
username gebruiker1
password wachtwoord1
port 15050
des key 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e
update card EMM enabled
updates from one mux (EMM) enabled
keepalive interval 30
pretty straightforward. Or so I thought. The log keeps repeating:
2020-06-28 14:22:04.499 cwc: 192.168.1.56:15050: Connection failed: Connection refused
2020-06-28 14:22:04.499 cwc: 192.168.1.56:15050: Automatic connection attempt in 2 seconds
2020-06-28 14:22:07.458 cwc: 192.168.1.56:15050: Attemping to connect to server
2020-06-28 14:22:07.459 cwc: 192.168.1.56:15050: Connection failed: Connection refused
2020-06-28 14:22:07.459 cwc: 192.168.1.56:15050: Automatic connection attempt in 2 seconds
I hope someone sees the mistake I make. To be sure I disabled my firewall completely, but nothing changes.