grzegorz914 / homebridge-openwebif-tv

Homebridge plugin for Sat Receivers with openWebIf interface, publish as independent external platform accessory.
MIT License
6 stars 1 forks source link

Need help with channel reference #33

Closed birnbam closed 4 years ago

birnbam commented 4 years ago

My home app always displays my fist reference (goTV) when watching this IPTV stream:

log file:

[5/2/2020, 5:21:33 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Channel successful: Radio Regenbogen - Kinderlieder 4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder

config:

{ "name": "Radio Regenbogen", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder" } 

Any Idea how to fix this?

Best regards

QDUNI commented 4 years ago

Just an idea... delete :Radio Regenbogen - Kinderlieder

From:

{ "name": "Radio Regenbogen", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder" }

Result

{"name": "Radio Regenbogen", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3"}

birnbam commented 4 years ago

Unfortunately still shows GoTV instead of... (using 2.6.28) Any other idea? Did you try my reference in your tuner? Best regards

config:

{ "name": "Radio Regenbogen", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3" }

log:

[5/3/2020, 9:35:03 AM] [OpenWebIfTv] Device: 10.10.0.223, get current Mute state: OFF
[5/3/2020, 9:35:03 AM] [OpenWebIfTv] Device: 10.10.0.223, get current Volume level: 100
[5/3/2020, 9:35:06 AM] [OpenWebIfTv] Device: 10.10.0.223, get current Power state successful: ON
[5/3/2020, 9:35:06 AM] [OpenWebIfTv] Device: 10.10.0.223, get current Channel successful: Radio Regenbogen - Kinderlieder 4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder
grzegorz914 commented 4 years ago

As U see Your log show different reference as Your config contain.

birnbam commented 4 years ago

The first thing I tried was to copy from log to config, so it fully matched. Since the Home App showed GoTV I decided to ask you, since I‘m running out of ideas...

Please have a look at the first post in this issue...

Is this working when you add the reference to your config?

QDUNI commented 4 years ago

Did you include this channel stream in your config bouqets? HomeKit only allows 97 inputs at the moment. Maybe if you didn’t configure this in you bouqets config the channel cannot be shown in HomeKit and shows the first option which is GoTV

birnbam commented 4 years ago

Please find attached my full config. PULS is the last reference, and this one is also shown correct in Home App. Homebridge is reporting - Accessories: 56

config:

   {
      "platform": "OpenWebIfTv",
      "checkStateInterval": 5,
      "devices": [{
        "name": "Fernseher",
        "host": "10.10.0.223",
        "port": "80",
        "auth": false,
        "user": "root",
        "pass": "",
        "switchInfoMenu": true,
          "bouquets": [
            { "name": "gotv neu", "reference": "1:0:16:3404:3ED:1:C00000:0:0:0:" },
            { "name": "ORF1 HD", "reference": "1:0:19:132F:3EF:1:C00000:0:0:0:" },
            { "name": "ORF2N HD", "reference": "1:0:19:1334:3EF:1:C00000:0:0:0:" },
            { "name": "ORF III HD", "reference": "1:0:19:33FC:3ED:1:C00000:0:0:0:" },
            { "name": "ServusTV HD Oesterreich", "reference": "1:0:19:1331:3EF:1:C00000:0:0:0:" },
            { "name": "ATV HD", "reference": "1:0:19:33AC:3EB:1:C00000:0:0:0::ATV HD" },
            { "name": "ATV2", "reference": "1:0:1:33A7:3EB:1:C00000:0:0:0:" },
            { "name": "ProSieben", "reference": "1:0:1:445D:453:1:C00000:0:0:0:" },
            { "name": "Pro7 MAXX", "reference": "1:0:1:4461:453:1:C00000:0:0:0:" },
            { "name": "SAT.1", "reference": "1:0:1:445C:453:1:C00000:0:0:0:" },
            { "name": "VOX", "reference": "1:0:1:2F1C:441:1:C00000:0:0:0:" },
            { "name": "RTL Television", "reference": "1:0:1:2EE3:441:1:C00000:0:0:0:" },
            { "name": "NITRO", "reference": "1:0:1:2F1D:441:1:C00000:0:0:0:" },
            { "name": "RTLplus", "reference": "1:0:1:2F30:441:1:C00000:0:0:0:" },
            { "name": "RTL2", "reference": "1:0:1:2EF4:441:1:C00000:0:0:0:" },
            { "name": "SUPER RTL", "reference": "1:0:1:2F08:441:1:C00000:0:0:0:" },
            { "name": "PULS 4 Austria", "reference": "1:0:1:4E27:43A:1:C00000:0:0:0:" },
            { "name": "kabel eins", "reference": "1:0:1:445E:453:1:C00000:0:0:0:" },
            { "name": "kabel eins Doku", "reference": "1:0:1:4465:453:1:C00000:0:0:0:" },
            { "name": "WELT", "reference": "1:0:1:445F:453:1:C00000:0:0:0:" },
            { "name": "N24 DOKU", "reference": "1:0:1:30:5:85:C00000:0:0:0:" },
            { "name": "n-tv", "reference": "1:0:1:2F3A:441:1:C00000:0:0:0:" },
            { "name": "3sat HD", "reference": "1:0:19:2B8E:3F2:1:C00000:0:0:0:" },
            { "name": "arte HD", "reference": "1:0:19:283E:3FB:1:C00000:0:0:0:" },
            { "name": "KiKA HD", "reference": "1:0:19:2B98:3F2:1:C00000:0:0:0:" },
            { "name": "ZDF HD", "reference": "1:0:19:2B66:3F3:1:C00000:0:0:0:" },
            { "name": "zdf_neo HD", "reference": "1:0:19:2B7A:3F3:1:C00000:0:0:0:" },
            { "name": "ZDFinfo HD", "reference": "1:0:19:2BA2:3F2:1:C00000:0:0:0:" },
            { "name": "ANIXE HD", "reference": "1:0:19:526C:41D:1:C00000:0:0:0:" },
            { "name": "DMAX", "reference": "1:0:1:3F:21:85:C00000:0:0:0:" },
            { "name": "BR Fernsehen Süd HD", "reference": "1:0:19:2855:401:1:C00000:0:0:0:" },
            { "name": "ARD-alpha", "reference": "1:0:1:6F47:445:1:C00000:0:0:0:" },
            { "name": "Das Erste HD", "reference": "1:0:19:283D:3FB:1:C00000:0:0:0:" },
            { "name": "Disney Channel", "reference": "1:0:1:701:5:85:C00000:0:0:0:" },
            { "name": "tagesschau24", "reference": "1:0:1:7031:41B:1:C00000:0:0:0:" },
            { "name": "ONE HD", "reference": "1:0:19:2888:40F:1:C00000:0:0:0:" },
            { "name": "hr-fernsehen HD", "reference": "1:0:19:2873:425:1:C00000:0:0:0:" },
            { "name": "MDR S-Anhalt HD", "reference": "1:0:19:2871:425:1:C00000:0:0:0:" },
            { "name": "NDR FS SH HD", "reference": "1:0:19:285A:401:1:C00000:0:0:0:" },
            { "name": "SWR BW HD", "reference": "1:0:19:283F:3FB:1:C00000:0:0:0:" },
            { "name": "SIXX", "reference": "1:0:1:308:5:85:C00000:0:0:0:" },
            { "name": "phoenix HD", "reference": "1:0:19:285B:401:1:C00000:0:0:0:" },
            { "name": "rbb Berlin HD", "reference": "1:0:19:286F:425:1:C00000:0:0:0:" },
            { "name": "SR Fernsehen", "reference": "1:0:1:6F46:445:1:C00000:0:0:0:" },
            { "name": "WDR HD Bonn", "reference": "1:0:19:6F82:457:1:C00000:0:0:0:" },
            { "name": "SAT.1 Gold", "reference": "1:0:1:4460:453:1:C00000:0:0:0:" },
            { "name": "Comedy Central Austria", "reference": "1:0:1:3C:7:85:C00000:0:0:0:" },
            { "name": "NICKELODEON AT", "reference": "1:0:1:3D:7:85:C00000:0:0:0:" },
            { "name": "Eurosport 1 Deutschland", "reference": "1:0:1:79E0:443:1:C00000:0:0:0:" },
            { "name": "NICK/MTV+", "reference": "1:0:1:7008:436:1:C00000:0:0:0:" },
            { "name": "DELUXE MUSIC", "reference": "1:0:1:41:7:85:C00000:0:0:0:" },
            { "name": "TELE 5", "reference": "1:0:1:33:21:85:C00000:0:0:0:" },
            { "name": "ORF SPORT+ HD", "reference": "1:0:19:33FD:3ED:1:C00000:0:0:0:" },
            { "name": "Welt der Wunder", "reference": "1:0:1:332F:45B:1:C00000:0:0:0:" },
            { "name": "TOGGO plus", "reference": "1:0:1:2EFE:441:1:C00000:0:0:0:" },
            { "name": "Radio OE3", "reference": "1:0:2:334D:45B:1:C00000:0:0:0::OE3" },
            { "name": "Radio FM4", "reference": "1:0:2:334E:45B:1:C00000:0:0:0::FM4" },
            { "name": "Radio Antenne Bayern", "reference": "1:0:2:AA:7:85:C00000:0:0:0:" },
            { "name": "Radio Austria", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3A//streamplus14.leonex.de%3A24954:Radio Austria" },            
            { "name": "Radio Regenbogen", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder" },            
            { "name": "PULS", "reference": "1:0:2:6EF6:445:1:C00000:0:0:0:" }
          ]
        }
      ]
    }

log:

[5/3/2020, 9:01:30 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Mute state: OFF
[5/3/2020, 9:01:30 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Volume level: 100
[5/3/2020, 9:01:33 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Power state successful: ON
[5/3/2020, 9:01:33 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Channel successful: Radio Regenbogen - Kinderlieder 4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder
[5/3/2020, 9:01:33 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Mute state: OFF
[5/3/2020, 9:01:33 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Volume level: 100
[5/3/2020, 9:01:36 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Power state successful: ON
[5/3/2020, 9:01:36 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Channel successful: PULS 1:0:2:6EF6:445:1:C00000:0:0:0:
[5/3/2020, 9:01:36 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Mute state: OFF
[5/3/2020, 9:01:36 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Volume level: 100
[5/3/2020, 9:01:39 PM] [OpenWebIfTv] Device: 10.10.0.223, get current Power state successful: ON
QDUNI commented 4 years ago

It’s impossible for me to test this because I don’t have these ip channels. Is the regenbogen reference working if you set your tv to that input in HomeKit? Is your tv switching to the right channel?

QDUNI commented 4 years ago

Looking at your config I noticed the following

{ "name": "Radio Austria", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3A//streamplus14.leonex.de%3A24954:Radio Austria" }, { "name": "Radio Regenbogen", "reference": "4097:0:1:0:0:0:0:0:0:0:http%3a//streams.regenbogen.de/rr-kinderlieder-128-mp3:Radio Regenbogen - Kinderlieder" },

The name the first line here is Radio Austria this stream reference ends with ;Radio Austria.

The second item here has name Radio Regenbogen. But the stream ends with :Radio Regenbogen - Kinderlieder.

Maybe you have to change this and delete - Kinderlieder.

I also noticed the A not being a Captial letter. Http%3A

Try changing this in your config, delete and add the tv to HomeKit and try again

grzegorz914 commented 4 years ago

Check latest version.

birnbam commented 4 years ago

updated to 2.7.0 --> problem solved! input is displayed in Home App as selected

THX and close