Yes I did. Saved the config again and restarted Hass but keeping the same error
# Ziggo Next box
- platform: ziggonext
username: !secret
password: !secret
Yes I did. Saved the config again and restarted Hass but keeping the same error
# Ziggo Next box
- platform: ziggonext
username: !secret
password: !secret
yeah thats not correct, needs to change to this:
ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password
OK, stupid from me. Changed it as you mentioned, saved and restarted and unfortunately still the same error.
# Ziggo Next box
- platform: ziggonext
username: !secret ziggo_username
password: !secret ziggo_password
Put this in your configurations.yaml and amend the yourusernamehere and yourpasswordhere.
ziggonext:
username: yourusernamehere
password: yourpasswordhere
Thank you for your patience.
I am using secret.yaml and that one is OK. I moved the
# Ziggo Next box
ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password
From sensor section in configuration.yaml to another part of the file and the previous error disappeared. But now it’s complaining about SSL and AFAIK I’m not using SSL and/or MQTT
2020-01-18 14:40:18 ERROR (MainThread) [homeassistant.setup] Error during setup of component ziggonext
Traceback (most recent call last):
File "/Users/username/homeassistant/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/username/.homeassistant/custom_components/ziggonext/__init__.py", line 26, in setup
api.initialize(_LOGGER)
File "/Users/username/homeassistant/homeassistant/lib/python3.7/site-packages/ziggonext/ziggonext.py", line 126, in initialize
self.mqttClient.connect(DEFAULT_HOST, DEFAULT_PORT)
File "/Users/username/homeassistant/homeassistant/lib/python3.7/site-packages/paho/mqtt/client.py", line 937, in connect
return self.reconnect()
File "/Users/username/homeassistant/homeassistant/lib/python3.7/site-packages/paho/mqtt/client.py", line 1100, in reconnect
sock.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)
Are you sure that the indentations are correct in your configurations.yaml? and can you use the credentials in the webapp - ziggogo.tv ?
My secret.yaml is ok. Checked
I can login with the Ziggo credentials on ziggogo.tv. Checked
Indentation is also fine. See below for part of my configuration.yaml.
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# System health
system_health:
#Local IP
local_ip:
# ZiggoNext box
ziggonext:
username: !secret ziggo_username
password: !secret ziggo_password
# Sensors
sensor:
Do I have to use brackets, like ‘password’ or “password”?
Updated to the latest version.
See that there is an channel sensor. But that’s not displaying the channel. It’s unknown.
Only when start changing channel at the web app it’s showing the information.
Yup @silver323 I can confiirm that issue. The scripts i’ve seen have the same issue. Hopefully someon is able to investigate the ziggogo.tv website to determine what the difference with my component…
@Jeroom_De_Muelenaere I added support for BE version. See: https://github.com/Sholofly/ZiggoNext
@ramawa The components uses MQTT over TLS to communicate about the box state. Unfortunately it looks like your connection isn’t able to pass the messages through. That type of error isn’t something i can fix. It’s a network thing. Maybe one of the fellow users here can help you with that…
I get the following… not sure where to fix this
2020-01-20 11:59:46 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 130, in initialize
self.get_session_and_token()
File "/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py", line 93, in get_session_and_token
session = self.get_session()
File "/usr/local/lib/python3.7/site-packages/ziggonext/ziggonext.py", line 89, in get_session
raise ZiggoNextConnectionError("Oops")
ziggonext.exceptions.ZiggoNextConnectionError: Oops
@sholofly Seems your component is getting quite mature. Will this component also be released as a hassio integration in the future?
That’s my goal. But I want to make sure it works properly. I’m going to do a fix this evening. If that works out as planned I’m going to make an integration that can be set up in the settings interface…
Let me know if you need some tests done
That’s a pity. Since I don’t have Belgian credentials I’m not able to determine where it’s going south exactly. Since it throws an exception in the connection. I will provide you a way of checking the urls soon.
I will. Thanks!
Thanks, I have made a typo in the password. Problem solved and everything is working!
Do you have a web interface where you can control your settop box? f.i. We have ziggogo.tv in the Netherlands