mdaskalov / homebridge-dreambox

Control your Dreambox as HomeKit TV-Appliance
MIT License
7 stars 0 forks source link

Bouquet is not a fuction #14

Closed JoMensdorf closed 4 years ago

JoMensdorf commented 4 years ago

Hi!

I try to use homebridge-dreambox v0.4.8 with my homebridge 1.1.1 and a ET9200 with an old openatv 4.2.1 on port 80 witout a password protection. I have only one Bouqet called "HD" and get that message: [7/21/2020, 21:33:23] [Dreambox] TypeError: res.e2servicelistrecursive.e2bouquet.find is not a function at /usr/local/lib/node_modules/homebridge-dreambox/dreambox-accessory.js:188:62 at processTicksAndRejections (internal/process/task_queues.js:97:5)

{ "devices": [ { "name": "Wohnzimmer", "hostname": "192.168.178.40", "port": 80, "bouquet": "HD" } ], "platform": "Dreambox" }

Can you tell me what´s wrong?

Thanks, Jo

mdaskalov commented 4 years ago

Seems that the call getallservices doesn't return an array with bouquets. I will include a check in the next release.

could you please check what is returned when you call following url (you can use curl or call it directly it in a browser)

http://192.168.178.40/web/getallservices

you should get get xml with all bouquets this.

JoMensdorf commented 4 years ago

That what I get here http://192.168.178.40/web/getallservices :

`

1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet HD 1:0:19:283D:3FB:1:C00000:0:0:0: Das Erste HD 1:0:19:2B66:3F3:1:C00000:0:0:0: ZDF HD 1:0:19:2856:401:1:C00000:0:0:0: BR Fernsehen Nord HD 1:0:19:EF10:421:1:C00000:0:0:0: RTL HD 1:0:19:EF74:3F9:1:C00000:0:0:0: SAT.1 HD 1:0:19:EF75:3F9:1:C00000:0:0:0: ProSieben HD 1:0:19:EF11:421:1:C00000:0:0:0: VOX HD 1:0:19:EF76:3F9:1:C00000:0:0:0: kabel eins HD 1:0:19:283E:3FB:1:C00000:0:0:0: arte HD 1:0:19:EF15:421:1:C00000:0:0:0: RTLII HD 1:0:19:2B8E:3F2:1:C00000:0:0:0: 3sat HD 1:0:19:EF77:3F9:1:C00000:0:0:0: SIXX HD 1:0:19:2B98:3F2:1:C00000:0:0:0: KiKA HD 1:0:19:EF78:3F9:1:C00000:0:0:0: Pro7 MAXX HD 1:0:19:157F:41F:1:C00000:0:0:0: Deluxe Music HD 1:0:19:2777:409:1:C00000:0:0:0: MTV HD 1:0:19:30D6:413:1:C00000:0:0:0: Eurosport 1 HD 1:0:19:30D7:413:1:C00000:0:0:0: Eurosport 2 HD Xtra 1:0:19:1581:41F:1:C00000:0:0:0: SPORT1 HD 1:0:19:6C:C:85:C00000:0:0:0: Sky Sport News HD 1:0:19:EF14:421:1:C00000:0:0:0: n-tv HD 1:0:19:5274:41D:1:C00000:0:0:0: WELT HD 1:0:1:30:5:85:C00000:0:0:0: N24 DOKU 1:0:19:2887:40F:1:C00000:0:0:0: tagesschau24 HD 1:0:1:6DCA:44D:1:C00000:0:0:0: Das Erste 1:0:1:6D66:437:1:C00000:0:0:0: ZDF 1:0:1:2EE6:441:1:C00000:0:0:0: RTL FS 1:0:1:4463:453:1:C00000:0:0:0: SAT.1 Bayern 1:0:1:445D:453:1:C00000:0:0:0: ProSieben 1:0:1:2F1C:441:1:C00000:0:0:0: VOX 1:0:1:445E:453:1:C00000:0:0:0: kabel eins 1:0:1:7034:41B:1:C00000:0:0:0: arte 1:0:1:4460:453:1:C00000:0:0:0: SAT.1 Gold

`

mdaskalov commented 4 years ago

Funny! It's not an array, because you have only one bouquet, right? Seems that I have to implement the case when only one bouquet is returned.

JoMensdorf commented 4 years ago

Yes, I only have one. My wife would get into the wrong one and won´t be able to switch back ;-) Would be great if that could be implemented. Thanks a lot! Jo

mdaskalov commented 4 years ago

I've just published new version in which the problem (hopefully) is solved. Could you please test and let me know.

JoMensdorf commented 4 years ago

That works. Great! Thanks a lot!!!!!!

Cheers, Jo