Bonjour, j’ai installé l’ADDON mais je ne réussi pas a me connecter a mon BROKER MQTT.
je ne sais pas si ma configuration MQTT est correcte
Voici mon fichier de config
GRDF_USERNAME=fxxxxxx@xxxx.fr
GRDF_PASSWORD=yyyyyyyyyyyyyyy
MQTT_HOST=mqtt://192.168.1.134:1883
MQTT_USERNAME=xxxxxxx
MQTT_PASSWORD=yyyyyyy
DEBUG_MODE=True
Voici les logs
2024-05-05 15:03:50,657 INFO -----------------------------------------------------------
2024-05-05 15:03:50,657 INFO # Welcome to gazpar2mqtt #
2024-05-05 15:03:50,657 INFO -----------------------------------------------------------
2024-05-05 15:03:50,657 INFO Program version : 0.4.0
2024-05-05 15:03:50,657 INFO Database version : 0.2.0
2024-05-05 15:03:50,657 INFO Influxdb version : 0.1.0
2024-05-05 15:03:50,657 INFO Please note that the the tool is under development, various functions may disappear or be modified.
2024-05-05 15:03:50,657 DEBUG If you can read this line, you are in DEBUG mode.
2024-05-05 15:03:50,657 INFO -----------------------------------------------------------
2024-05-05 15:03:50,657 INFO # Program parameters #
2024-05-05 15:03:50,657 INFO -----------------------------------------------------------
2024-05-05 15:03:50,657 INFO GRDF config : username = ******@****.**, password = ******
2024-05-05 15:03:50,657 INFO GRDF config : username = xxxxxxxxxxxxxxxxx, password = yyyyyyyyyyyyyy
2024-05-05 15:03:50,657 INFO MQTT broker config : host = mqtt://192.168.1.134:1883, port = 1883, clientId = gazpar2mqtt, qos = 1, topic = gazpar, retain = True, ssl = False
2024-05-05 15:03:50,658 INFO Browser Logs folder: ./, download_folder: ./, chomedriver: /usr/bin/chromedriver, screenshots: False
2024-05-05 15:03:50,658 INFO Standlone mode : Enable = False
2024-05-05 15:03:50,658 INFO Home Assistant discovery : Enable = False, Topic prefix = homeassistant, Device name = gazpar
2024-05-05 15:03:50,658 INFO Threshold options : Warning percentage = 80
2024-05-05 15:03:50,659 INFO Database options : Force reinitialization = False, Path = /data
2024-05-05 15:03:50,659 INFO Debug mode : Enable = True
2024-05-05 15:03:50,659 INFO Check parameters...
2024-05-05 15:03:50,659 WARNING Both Standalone mode and Home assistant discovery are disable. No value will be published to MQTT ! Please check your parameters.
2024-05-05 15:03:50,659 INFO Parameters are ok !
2024-05-05 15:03:50,659 INFO -----------------------------------------------------------
2024-05-05 15:03:50,659 INFO # Connexion to SQLite database #
2024-05-05 15:03:50,659 INFO -----------------------------------------------------------
2024-05-05 15:03:50,659 INFO Connexion to SQLite database...
2024-05-05 15:03:50,659 DEBUG Connexion to database
2024-05-05 15:03:50,660 INFO SQLite database connected !
2024-05-05 15:03:50,660 INFO Last execution date 2024-05-05 10:38:29.680070, program was in version 0.4.0.
2024-05-05 15:03:50,660 INFO Checking database version...
2024-05-05 15:03:50,660 INFO Your database is already up to date : version 0.2.0.
2024-05-05 15:03:50,660 INFO Retrieve database statistics...
2024-05-05 15:03:50,661 INFO 1069 informatives measures stored
2024-05-05 15:03:50,661 INFO 1 PCE(s)
2024-05-05 15:03:50,661 INFO First measure : 2021-05-04
2024-05-05 15:03:50,661 INFO Last measure : 2024-04-24
2024-05-05 15:03:50,661 INFO -----------------------------------------------------------
2024-05-05 15:03:50,661 INFO # Connexion to Mqtt broker #
2024-05-05 15:03:50,661 INFO -----------------------------------------------------------
2024-05-05 15:03:50,661 INFO Connect to Mqtt broker...
2024-05-05 15:03:50,662 DEBUG Mqtt connect : activation of callbacks
2024-05-05 15:03:50,662 DEBUG Mqtt connect : connection to broker mqtt://192.168.1.134:1883:1883...
2024-05-05 15:03:50,662 ERROR Unable to connect to Mqtt broker. Please check that broker is running, or check broker configuration.
2024-05-05 15:03:50,663 INFO -----------------------------------------------------------
2024-05-05 15:03:50,663 INFO # Load prices #
2024-05-05 15:03:50,663 INFO -----------------------------------------------------------
2024-05-05 15:03:50,663 INFO Loading prices from file prices.csv of directory /data
2024-05-05 15:03:50,663 DEBUG Retrieve list of prices...
2024-05-05 15:03:50,663 WARNING Unable to find price file prices.csv in directory /data
2024-05-05 15:03:50,663 INFO -----------------------------------------------------------
2024-05-05 15:03:50,663 INFO # Disconnexion from SQLite database #
2024-05-05 15:03:50,663 INFO -----------------------------------------------------------
2024-05-05 15:03:50,663 DEBUG Disconnexion of the database
2024-05-05 15:03:50,663 INFO SQLite database disconnected
2024-05-05 15:03:50,663 INFO -----------------------------------------------------------
2024-05-05 15:03:50,663 INFO # Next run #
2024-05-05 15:03:50,664 INFO -----------------------------------------------------------
2024-05-05 15:03:50,664 INFO No schedule defined.
2024-05-05 15:03:50,664 INFO -----------------------------------------------------------
2024-05-05 15:03:50,664 INFO # End of program #
2024-05-05 15:03:50,664 INFO -----------------------------------------------------------
2024-05-05 15:03:50,664 INFO End of gazpar2mqtt. See u...