Bij mij loopt hij ook op dezelfde plek fout.HoppyF schreef op dinsdag 5 april 2022 @ 22:14:
[...]
Dat was het!![]()
Beetje goed verstopt wel onder de drie puntjes rechtsboven.
Als je het weet is het niet moeilijk maar erg intuïtief is het niet.
Je verwacht eerder dat je met Search iets kunt vinden.
@robbinonline
Update:
De Mosquitto broker geïnstalleerd, mqtt user aangemaakt in HA.
De Mosquitto broker start goed op en geeft geen fouten.
De Gas addon start wel op maar geeft fouten.
Bij de Gas configuration heb ik uiteraard de aangemaakte user en wachtwoord opgegeven.
In de log staat dit.
Alleen wachtwoord even aangepast.
YAML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing... ----------------------------------------------------------- Add-on: Dutch gas prices Get gas prices from dutch gas stations ----------------------------------------------------------- Add-on version: 2022.3.25.1 You are running the latest version of this add-on. System: Home Assistant OS 7.6 (amd64 / generic-x86-64) Home Assistant Core: 2022.3.8 Home Assistant Supervisor: 2022.03.5 ----------------------------------------------------------- Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat. ----------------------------------------------------------- [cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... Log level is set to DEBUG [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [22:46:37] INFO: Log_level: debug [22:46:37] INFO: mqtt_host: homeassistant.local [22:46:37] INFO: mqtt_port: 1883 [22:46:37] DEBUG: mqtt_username: mqttuser [22:46:37] DEBUG: mqtt_password: kaxxxxxxxxxxxxxxxxx [22:46:37] INFO: Starting dutch gas prices... [2022-04-05 22:46:38] INFO : DGP initialized, launching client [2022-04-05 22:46:38] INFO : Connecting mqtt Traceback (most recent call last): File "/app/main.py", line 23, in <module> start(str(sys.argv[1]),str(sys.argv[2]),str(sys.argv[3]),str(sys.argv[4]),str(sys.argv[5])) File "/app/main.py", line 16, in start start_mqtt_client(mqtthost,mqttport,mqttusername,mqttpassword) File "/app/mqtt_client.py", line 378, in start_mqtt_client mqtt_client.connect(host=mqtthost, port=int(mqttport)) File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect return self.reconnect() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect sock = self._create_socket_connection() File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source) File "/usr/local/lib/python3.9/socket.py", line 822, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/local/lib/python3.9/socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name does not resolve [cmd] /run.sh exited 1 [cont-finish.d] executing container finish scripts... [cont-finish.d] 99-message.sh: executing... ----------------------------------------------------------- Oops! Something went wrong. We are so sorry, but something went terribly wrong when starting or running this add-on. Be sure to check the log above, line by line, for hints. ----------------------------------------------------------- [cont-finish.d] 99-message.sh: exited 0. [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.
-edit-
IP heeft het verholpen, nu aan het stoeien met de automatisatie
https://www.rouwette.com/