Hello
j’ai tout appliqué en long en large , nouveau token sur la nouvelle passerelle
résultat :
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
Add-on: Enedisgateway2mqtt Dev
use Enedis Gateway API to send data in your MQTT Broker (latest-dev channel)
-----------------------------------------------------------
Add-on version: 0.8.0-dev
You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye) (amd64 / qemux86-64)
Home Assistant Core: 2022.11.4
Home Assistant Supervisor: 2022.11.2
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION='/config/enedisgateway2mqtt_dev/config.yaml'
TZ='Europe/Paris'
/etc/cont-init.d/01-custom_script.sh: executing
[11:43:36] INFO: Execute /config/enedisgateway2mqtt-dev.sh if existing
[11:43:36] INFO: ... no script found
/etc/cont-init.d/99-run.sh: executing
[11:43:36] INFO: Using config file found in /config/enedisgateway2mqtt_dev/config.yaml
Config file is a valid yaml
creating symlink
[11:43:36] INFO: Using database file found in /config/enedisgateway2mqtt_dev/enedisgateway.db
[11:43:36] INFO: Starting the app
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
2022-11-24 11:44:15.736 - WARNING : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ▲ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:15.736 - WARNING : MIGRATION DE L'ANCIENNE BASE DE DONNÉES VERS LA NOUVELLE STRUCTURE.
2022-11-24 11:44:15.736 - WARNING : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ▲ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:15.737 - WARNING : Migration des "consumption_daily"
2022-11-24 11:44:15.767 - WARNING : - 2022 => 18.85kW
2022-11-24 11:44:15.795 - WARNING : Migration des "consumption_detail"
2022-11-24 11:44:15.833 - WARNING : - 2022-01 => 0.15kW
2022-11-24 11:44:15.889 - WARNING : - 2022-02 => 347.3kW
2022-11-24 11:44:15.977 - WARNING : - 2022-03 => 386.99kW
2022-11-24 11:44:16.126 - WARNING : - 2022-04 => 393.43kW
2022-11-24 11:44:16.243 - WARNING : - 2022-05 => 334.18kW
2022-11-24 11:44:16.340 - WARNING : - 2022-06 => 226.75kW
2022-11-24 11:44:16.461 - WARNING : - 2022-07 => 242.79kW
2022-11-24 11:44:16.557 - WARNING : - 2022-08 => 252.74kW
2022-11-24 11:44:16.650 - WARNING : - 2022-09 => 218.93kW
2022-11-24 11:44:16.767 - WARNING : - 2022-10 => 267.5kW
2022-11-24 11:44:16.889 - WARNING : - 2022-11 => 283.67kW
2022-11-24 11:44:17.253 - WARNING : Migration des "production_daily"
2022-11-24 11:44:17.254 - WARNING : Migration des "production_detail"
2022-11-24 11:44:17.257 - INFO : Configure Databases
2022-11-24 11:44:19.091 - INFO : => day
2022-11-24 11:44:19.094 - INFO : => call_number
2022-11-24 11:44:19.095 - INFO : => max_call
2022-11-24 11:44:19.097 - INFO : => version
2022-11-24 11:44:19.099 - INFO : => lock
2022-11-24 11:44:19.101 - INFO : => lastUpdate
2022-11-24 11:44:19.101 - INFO : Success
2022-11-24 11:44:19.393 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.393 - INFO : ▌│█║▌║▌║ __ __ _____ _ _ _ _ ____ _ ║▌║▌║█│▌
2022-11-24 11:44:19.393 - INFO : ▌│█║▌║▌║ | \/ | _ _ | ____|| | ___ ___ | |_ _ __ (_) ___ __ _ | || _ \ __ _ | |_ __ _ ║▌║▌║█│▌
2022-11-24 11:44:19.393 - INFO : ▌│█║▌║▌║ | |\/| || | | || _| | | / _ \ / __|| __|| '__|| | / __| / _` || || | | | / _` || __| / _` | ║▌║▌║█│▌
2022-11-24 11:44:19.393 - INFO : ▌│█║▌║▌║ | | | || |_| || |___ | || __/| (__ | |_ | | | || (__ | (_| || || |_| || (_| || |_ | (_| | ║▌║▌║█│▌
2022-11-24 11:44:19.394 - INFO : ▌│█║▌║▌║ |_| |_| \__, ||_____||_| \___| \___| \__||_| |_| \___| \__,_||_||____/ \__,_| \__| \__,_| ║▌║▌║█│▌
2022-11-24 11:44:19.394 - INFO : ▌│█║▌║▌║ |___/ ║▌║▌║█│▌
2022-11-24 11:44:19.394 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.394 - INFO : ▌│█║▌║▌║ VERSION : 0.8.0-dev ║▌║▌║█│▌
2022-11-24 11:44:19.394 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.394 - INFO : Display configuration :
2022-11-24 11:44:19.394 - INFO : cycle: 14400
2022-11-24 11:44:19.394 - INFO : debug: True
2022-11-24 11:44:19.394 - INFO : home_assistant:
2022-11-24 11:44:19.394 - INFO : card_myenedis: True
2022-11-24 11:44:19.394 - INFO : discovery_prefix: homeassistant
2022-11-24 11:44:19.394 - INFO : enable: True
2022-11-24 11:44:19.395 - INFO : mqtt:
2022-11-24 11:44:19.395 - INFO : client_id: myelectricaldata
2022-11-24 11:44:19.395 - INFO : enable: True
2022-11-24 11:44:19.395 - INFO : hostname: core-mosquitto
2022-11-24 11:44:19.395 - INFO : password: ** hidden **
2022-11-24 11:44:19.395 - INFO : port: 1883
2022-11-24 11:44:19.395 - INFO : prefix: myelectricaldata
2022-11-24 11:44:19.395 - INFO : qos: 0
2022-11-24 11:44:19.395 - INFO : retain: True
2022-11-24 11:44:19.395 - INFO : username: Hassio
2022-11-24 11:44:19.395 - INFO : myelectricaldata:
2022-11-24 11:44:19.395 - INFO : ** hidden **:
2022-11-24 11:44:19.396 - INFO : token: ** hidden **
2022-11-24 11:44:19.396 - INFO : name: Maison
2022-11-24 11:44:19.396 - INFO : cache: True
2022-11-24 11:44:19.396 - INFO : consumption: True
2022-11-24 11:44:19.396 - INFO : consumption_detail: True
2022-11-24 11:44:19.396 - INFO : consumption_price_base: 0.174
2022-11-24 11:44:19.396 - INFO : consumption_price_hc: 0
2022-11-24 11:44:19.396 - INFO : consumption_price_hp: 0
2022-11-24 11:44:19.396 - INFO : enable: False
2022-11-24 11:44:19.396 - INFO : offpeak_hours_0:
2022-11-24 11:44:19.396 - INFO : offpeak_hours_1:
2022-11-24 11:44:19.396 - INFO : offpeak_hours_2:
2022-11-24 11:44:19.397 - INFO : offpeak_hours_3:
2022-11-24 11:44:19.397 - INFO : offpeak_hours_4:
2022-11-24 11:44:19.397 - INFO : offpeak_hours_5:
2022-11-24 11:44:19.397 - INFO : offpeak_hours_6:
2022-11-24 11:44:19.397 - INFO : plan: BASE
2022-11-24 11:44:19.397 - INFO : production: False
2022-11-24 11:44:19.397 - INFO : production_detail: False
2022-11-24 11:44:19.397 - INFO : production_price: 0
2022-11-24 11:44:19.397 - INFO : refresh_addresse: True
2022-11-24 11:44:19.397 - INFO : refresh_contract: True
2022-11-24 11:44:19.397 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.397 - INFO : Check config.yaml :
2022-11-24 11:44:19.397 - INFO : => Config valid
2022-11-24 11:44:19.402 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.402 - INFO : LOADING CONFIGURATION...
2022-11-24 11:44:19.402 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.403 - INFO : ** hidden **
2022-11-24 11:44:19.407 - INFO : => Success
2022-11-24 11:44:19.407 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:19.407 - INFO : Connect to MQTT broker core-mosquitto:1883
2022-11-24 11:44:19.410 - INFO : => Connection success
* Serving Flask app 'main'
* Debug mode: off
2022-11-24 11:44:19.537 - INFO : WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.30.33.8:5000
2022-11-24 11:44:19.537 - INFO : Press CTRL+C to quit
2022-11-24 11:44:19.538 - INFO : * Restarting with stat
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
2022-11-24 11:44:20.674 - INFO : Configure Databases
2022-11-24 11:44:20.699 - INFO : => day
2022-11-24 11:44:20.702 - INFO : => call_number
2022-11-24 11:44:20.704 - INFO : => max_call
2022-11-24 11:44:20.705 - INFO : => version
2022-11-24 11:44:20.708 - INFO : => lock
2022-11-24 11:44:20.709 - INFO : => lastUpdate
2022-11-24 11:44:20.709 - INFO : Success
2022-11-24 11:44:20.966 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.966 - INFO : ▌│█║▌║▌║ __ __ _____ _ _ _ _ ____ _ ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ▌│█║▌║▌║ | \/ | _ _ | ____|| | ___ ___ | |_ _ __ (_) ___ __ _ | || _ \ __ _ | |_ __ _ ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ▌│█║▌║▌║ | |\/| || | | || _| | | / _ \ / __|| __|| '__|| | / __| / _` || || | | | / _` || __| / _` | ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ▌│█║▌║▌║ | | | || |_| || |___ | || __/| (__ | |_ | | | || (__ | (_| || || |_| || (_| || |_ | (_| | ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ▌│█║▌║▌║ |_| |_| \__, ||_____||_| \___| \___| \__||_| |_| \___| \__,_||_||____/ \__,_| \__| \__,_| ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ▌│█║▌║▌║ |___/ ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.967 - INFO : ▌│█║▌║▌║ VERSION : 0.8.0-dev ║▌║▌║█│▌
2022-11-24 11:44:20.967 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.967 - INFO : Display configuration :
2022-11-24 11:44:20.967 - INFO : cycle: 14400
2022-11-24 11:44:20.967 - INFO : debug: True
2022-11-24 11:44:20.968 - INFO : home_assistant:
2022-11-24 11:44:20.968 - INFO : card_myenedis: True
2022-11-24 11:44:20.968 - INFO : discovery_prefix: homeassistant
2022-11-24 11:44:20.968 - INFO : enable: True
2022-11-24 11:44:20.968 - INFO : mqtt:
2022-11-24 11:44:20.968 - INFO : client_id: myelectricaldata
2022-11-24 11:44:20.968 - INFO : enable: True
2022-11-24 11:44:20.968 - INFO : hostname: core-mosquitto
2022-11-24 11:44:20.968 - INFO : password: ** hidden **
2022-11-24 11:44:20.968 - INFO : port: 1883
2022-11-24 11:44:20.968 - INFO : prefix: myelectricaldata
2022-11-24 11:44:20.968 - INFO : qos: 0
2022-11-24 11:44:20.969 - INFO : retain: True
2022-11-24 11:44:20.969 - INFO : username: ** hidden **
2022-11-24 11:44:20.969 - INFO : myelectricaldata:
2022-11-24 11:44:20.969 - INFO : ** hidden **:
2022-11-24 11:44:20.969 - INFO : token: ** hidden **
2022-11-24 11:44:20.969 - INFO : name: Maison
2022-11-24 11:44:20.969 - INFO : cache: True
2022-11-24 11:44:20.969 - INFO : consumption: True
2022-11-24 11:44:20.969 - INFO : consumption_detail: True
2022-11-24 11:44:20.969 - INFO : consumption_price_base: 0.174
2022-11-24 11:44:20.969 - INFO : consumption_price_hc: 0
2022-11-24 11:44:20.969 - INFO : consumption_price_hp: 0
2022-11-24 11:44:20.970 - INFO : enable: False
2022-11-24 11:44:20.970 - INFO : offpeak_hours_0:
2022-11-24 11:44:20.970 - INFO : offpeak_hours_1:
2022-11-24 11:44:20.970 - INFO : offpeak_hours_2:
2022-11-24 11:44:20.970 - INFO : offpeak_hours_3:
2022-11-24 11:44:20.970 - INFO : offpeak_hours_4:
2022-11-24 11:44:20.970 - INFO : offpeak_hours_5:
2022-11-24 11:44:20.970 - INFO : offpeak_hours_6:
2022-11-24 11:44:20.970 - INFO : plan: BASE
2022-11-24 11:44:20.970 - INFO : production: False
2022-11-24 11:44:20.970 - INFO : production_detail: False
2022-11-24 11:44:20.970 - INFO : production_price: 0
2022-11-24 11:44:20.971 - INFO : refresh_addresse: True
2022-11-24 11:44:20.971 - INFO : refresh_contract: True
2022-11-24 11:44:20.971 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.971 - INFO : Check config.yaml :
2022-11-24 11:44:20.971 - INFO : => Config valid
2022-11-24 11:44:20.976 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.976 - INFO : LOADING CONFIGURATION...
2022-11-24 11:44:20.977 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.977 - INFO : ** hidden **
2022-11-24 11:44:20.981 - INFO : => Success
2022-11-24 11:44:20.982 - INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2022-11-24 11:44:20.982 - INFO : Connect to MQTT broker core-mosquitto:1883
2022-11-24 11:44:20.984 - INFO : => Connection success
Aucun sensor de crée !
et aucune info de Enedis ne remontent.
Alors que la fin du journal
2022-11-24 11:24:26.837 - INFO : Connect to MQTT broker core-mosquitto:1883
2022-11-24 11:24:26.839 - INFO : => Connection success