Ziggo mediabox next

I need to know what the url for BE is.
Therefore i need info from your browser. I’ll use chrome as example:

  1. Go to https://www.telenettv.be/
  2. Press F12
  3. Open network tab
  4. look for url like: https://web-api-prod-obo.horizon.tv/oesp/v3/NL/nld/web/listings
    I guess it looks almost the same except the NL/nld part.
    Send me that URL :slight_smile:

Session : https://web-api-prod-obo.horizon.tv/oesp/v3/BE/nld/web/session
80002: https://web-api-prod-obo.horizon.tv/oesp/v3/BE/nld/web/time/80002
profile: https://web-api-prod-obo.horizon.tv/oesp/v3/BE/nld/web/settopboxes/profile
apps: https://web-api-prod-obo.horizon.tv/oesp/v3/BE/nld/web/settings/apps
mqtt: wss://obomsg.prod.be.horizon.tv/mqtt

if you need more info let me know :stuck_out_tongue:

Nice, Are you able to do the same for the BE-fr version? Or is that tied to your account?

Dont think telenet is in the french part of belgium.
I will check later

https://web-api-prod-obo.horizon.tv/oesp/v3/BE/fra/web/session this one was from the website in french just session one.
https://web-api-prod-obo.horizon.tv/oesp/v3/BE/fra/web/time/01280

I updated the version in HACS. Can you try it with country code ‘be-nl’ ?

Wed Feb 05 2020 12:53:44 GMT+0100 (Central European Standard Time)
Error during setup of component ziggonext
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/ziggonext/init.py”, line 30, in setup
api.initialize(_LOGGER)
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 122, in initialize
self.get_session_and_token()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 87, in get_session_and_token
self.get_session()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 69, in get_session
if status[0][‘code’] == ‘invalidCredentials’:
KeyError: 0

My configuration is like this :

ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password
country_code: ‘be-nl’

OK, it’s hard for me to find out what the response is, since i don’t have the credentials for a Belgium account. Can you find out what the response is by turning on debug logging?

In home assistant or the website ?

In home assistant

How can i turn this on ?

I’ve installed the ZeggoNEXT plugin using HACS on mij HASS.io and added this to config:
ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password

But when i go to configuration - entities it says that the ZiggoNext entitie is unavailable. What do i do wrong

Dit you change the standby mode? it needs to be on ‘Hoog’.

logger:
  default: info
  logs:
    custom_components.ziggonext: debug

Here is the debug i got from the log:

2020-02-11 15:25:25 DEBUG (SyncWorker_5) [custom_components.ziggonext] {‘system’: ‘peal’, ‘reason’: ‘Unexpected http response’}

this is the only debug i got on the custom component.

The error remains the same:
2020-02-11 15:25:29 ERROR (MainThread) [homeassistant.setup] Error during setup of component ziggonext
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/ziggonext/init.py”, line 30, in setup
api.initialize(_LOGGER)
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 122, in initialize
self.get_session_and_token()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 87, in get_session_and_token
self.get_session()
File “/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py”, line 69, in get_session
if status[0][‘code’] == ‘invalidCredentials’:
KeyError: 0

I guess you checked your credentials? See the last rule it says invalid credentials…

Jep credentials work on www.telenettv.be :slight_smile:

It seems that it does use a popup site to login. Not like the ziggo.tv app
login.prd.telenet.be/openid/login

Any idea here ?