Le Dashboard energy c’est pour la visualisation ET le comptage… Du coup mettre une valeur que tu as déjà eu, ça me semble pas terrible avec le risque la compter 2 fois. D’autant plus que tu as déjà moyen de voir les valeurs au niveau de jours/semaines/mois/années
@g4seb
Regarde les posts au dessus , certain d’entre nous on mis leurs fichier comme modele
de plus te ne nous donne pas le message d’erreur que tu as.
On ne peux deviné les erreurs que tu as , poste ton journal d’erreur on y verra plus clair.
C’est vrai…oups j’ai oublié de copier le fichier.
Le voici :
verbose=‹ true ›
/etc/cont-init.d/01-custom_script.sh: executing
[17:08:56] INFO: Execute /config/enedisgateway2mqtt.sh if existing
[17:08:56] INFO: … no script found
/etc/cont-init.d/91-mqtt_autodiscover.sh: executing
[17:08:56] INFO: mqtt_autodiscover is defined in options, attempting autodiscovery…
[17:08:56] INFO: … MQTT service found, fetching server detail (you can enter those manually in your config file) …
/etc/cont-init.d/91-mqtt_autodiscover.sh: exiting 2
/etc/cont-init.d/99-run.sh: executing
[17:08:58] WARNING: Migration performed, enedisgateway.db.migrate copied in /config/enedisgateway2mqtt
creating symlink
[17:08:58] INFO: Using database file found in /config/enedisgateway2mqtt
[17:08:58] INFO: Using config file found in /config/enedisgateway2mqtt/config.yaml
Config file is a valid yaml
[17:08:58] INFO: Starting the app
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
2022-12-21 17:09:02.820 - INFO : Configure Databases
2022-12-21 17:09:02.909 - INFO : => day
2022-12-21 17:09:02.930 - INFO : => call_number
2022-12-21 17:09:02.948 - INFO : => max_call
2022-12-21 17:09:02.966 - INFO : => version
2022-12-21 17:09:02.983 - INFO : => lock
2022-12-21 17:09:03.000 - INFO : => lastUpdate
2022-12-21 17:09:03.001 - INFO : Success
2022-12-21 17:09:03.960 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:03.960 - INFO : RUN IN PRODUCTION MODE
2022-12-21 17:09:03.961 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:03.986 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:03.986 - INFO : ▌│█║▌║▌║ __ __ _____ _ _ _ _ ____ _ ║▌║▌║█│▌
2022-12-21 17:09:03.987 - INFO : ▌│█║▌║▌║ | / | _ _ | || | ___ ___ | | _ __ () ___ __ _ | || _ \ __ _ | | __ _ ║▌║▌║█│▌
2022-12-21 17:09:03.987 - INFO : ▌│█║▌║▌║ | |/| || | | || | | | / _ \ / _|| || '|| | / | / || || | | | / _ || | / ` | ║▌║▌║█│▌
2022-12-21 17:09:03.987 - INFO : ▌│█║▌║▌║ | | | || || || | | || /| ( | | | | | || ( | (| || || || || (| || | | (| | ║▌║▌║█│▌
2022-12-21 17:09:03.988 - INFO : ▌│█║▌║▌║ || || _, ||||_| _| _| _||| |_| _| _,||||/ _,| _| _,| ║▌║▌║█│▌
2022-12-21 17:09:03.988 - INFO : ▌│█║▌║▌║ |__/ ║▌║▌║█│▌
2022-12-21 17:09:03.988 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:03.989 - INFO : ▌│█║▌║▌║ VERSION : 0.8.10 ║▌║▌║█│▌
2022-12-21 17:09:03.989 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:03.989 - INFO : Display configuration :
2022-12-21 17:09:03.990 - INFO : cycle: 3600
2022-12-21 17:09:03.990 - INFO : debug: False
2022-12-21 17:09:03.990 - INFO : home_assistant:
2022-12-21 17:09:03.991 - INFO : card_myenedis: True
2022-12-21 17:09:03.991 - INFO : discovery: True
2022-12-21 17:09:03.991 - INFO : discovery_prefix: homeassistant
2022-12-21 17:09:03.991 - INFO : mqtt:
2022-12-21 17:09:03.992 - INFO : enable: True
2022-12-21 17:09:03.992 - INFO : client_id: myelectricaldata
2022-12-21 17:09:03.992 - INFO : host: 192.168.1.37
2022-12-21 17:09:03.993 - INFO : password: ** hidden **
2022-12-21 17:09:03.993 - INFO : port: 1883
2022-12-21 17:09:03.993 - INFO : prefix: myelectricaldata
2022-12-21 17:09:03.993 - INFO : qos: 0
2022-12-21 17:09:03.994 - INFO : retain: True
2022-12-21 17:09:03.994 - INFO : username: mqtt
2022-12-21 17:09:03.994 - INFO : wipe_cache: False
2022-12-21 17:09:03.995 - INFO : myelectricaldata:
2022-12-21 17:09:03.995 - INFO : 05572503537892:
2022-12-21 17:09:03.995 - INFO : enable: true
2022-12-21 17:09:03.996 - INFO : token: ** hidden **
2022-12-21 17:09:03.996 - INFO : name: Maison
2022-12-21 17:09:03.996 - INFO : addresses: true
2022-12-21 17:09:03.996 - INFO : cache: true
2022-12-21 17:09:03.997 - INFO : consumption: true
2022-12-21 17:09:03.997 - INFO : consumption_detail: true
2022-12-21 17:09:03.997 - INFO : consumption_price_base: 0.145907
2022-12-21 17:09:03.998 - INFO : consumption_price_hc: 0.15
2022-12-21 17:09:03.998 - INFO : consumption_price_hp: 0.17
2022-12-21 17:09:03.998 - INFO : consumption_max_date: 2021-06-01
2022-12-21 17:09:03.998 - INFO : consumption_detail_max_date: 2021-06-01
2022-12-21 17:09:03.999 - INFO : offpeak_hours_0: 22H22-6H22
2022-12-21 17:09:03.999 - INFO : offpeak_hours_1: 22H22-6H22
2022-12-21 17:09:03.999 - INFO : offpeak_hours_2: 22H22-6H22
2022-12-21 17:09:04.000 - INFO : offpeak_hours_3: 22H22-6H22
2022-12-21 17:09:04.000 - INFO : offpeak_hours_4: 22H22-6H22
2022-12-21 17:09:04.000 - INFO : offpeak_hours_5: 22H22-6H22
2022-12-21 17:09:04.001 - INFO : offpeak_hours_6: 22H22-6H22
2022-12-21 17:09:04.001 - INFO : plan: HC/HP
2022-12-21 17:09:04.001 - INFO : production: false
2022-12-21 17:09:04.002 - INFO : production_detail: false
2022-12-21 17:09:04.002 - INFO : production_price: 0.0
2022-12-21 17:09:04.002 - INFO : production_max_date: 2021-06-01
2022-12-21 17:09:04.003 - INFO : production_detail_max_date: 2021-06-01
2022-12-21 17:09:04.003 - INFO : refresh_addresse: false
2022-12-21 17:09:04.003 - INFO : refresh_contract: false
2022-12-21 17:09:04.004 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:04.004 - INFO : Check config.yaml :
2022-12-21 17:09:04.004 - INFO : => Config valid
2022-12-21 17:09:04.020 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:04.020 - INFO : LOADING CONFIGURATION…
2022-12-21 17:09:04.021 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-12-21 17:09:04.021 - INFO : 05572503537892
2022-12-21 17:09:04.044 - INFO : => Success
Traceback (most recent call last):
File « /app/main.py », line 55, in
hostname=MQTT_CONFIG[« hostname »],
KeyError: ‹ hostname ›
[17:09:04] FATAL: The app has crashed. Are you sure you entered the correct config options?
Bin j’ai plus le problème de hostname. J’ai un problème maintenant de configuration influxdb.
Traceback (most recent call last):
File "/app/main.py", line 70, in <module>
if "method" in INFLUXDB_CONFIG:
TypeError: argument of type 'bool' is not iterable
[18:42:39] FATAL: The app has crashed. Are you sure you entered the correct config options?
C’est quoi ? La configuration qui n’est pas bonne ?
J’ai ça en config. Avec l’ancienne version je n’avais pas de problème :