MyElectricalData - Vos données Linky chez vous :)

Tu as des espaces en fin de lignes ou des tabulations je pense.

C’est résolu ! Aucun espace détecté incompréhension total la seul chose a retenir… mieux vaut utiliser son pc que son smartphone « file-editor »

1 « J'aime »

Hello,

J’ai commencé à faire la migration enedis vers electric data mais j’ai un problème, en effet même si tout se passe bien dans le log de myelectricdata, je n’ai aucun sensor.myelectricdata_xxx qui n’a été crée. Est ce que quelqu’un a eu le même problème et si oui comment le résoudre ?

Merci de votre aide !

Le log

2023-02-22 22:37:45.437 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ 
2023-02-22 22:37:45.438 -     INFO :  EXPORT TERMINÉ

Hello

deja evoque lire les post precedent. :grinning:

Ensuite , c’est pas en mettant deux lignes du journal que cela est ok !
met le journal complet , et ton fichier configuration yaml de MED , supprime tes infos perso dedans avant de le posté

Bonjour,

merci pour ta réponse, j’ai relu les autres post mais je n’ai pas vu de solution explicite pour ce problème (même si il semble que cela tourne autour du fichier cache.db).

Ma config :

cycle: 14400  # 4H
debug: true
wipe_influxdb: false
home_assistant:
  enable: true
  discovery: true
  discovery_prefix: homeassistant
  card_myenedis: true
influxdb:
  enable: false
  hostname: influxdb
  port: 8086
  token: myelectricaldata
  org: myelectricaldata
  bucket: myelectricaldata
  # ATTENTION, L'activation de l'importation asynchrone va réduire fortement le temps d'importation dans InfluxDB
  # mais va augmenter la consommation mémoire & CPU et donc à activer uniquement sur un hardware robuste.
  method: synchronous    # Mode disponible : synchronous / asynchronous / batching
  # batching_options permet uniquement de configurer la methode `batching`.
  # Pour plus d'information : https://github.com/influxdata/influxdb-client-python#batching
  batching_options:
    batch_size: 1000
    flush_interval: 1000
    jitter_interval: 0
    retry_interval: 5000
    max_retry_time: 180_000
    max_retries: 5
    max_retry_delay: 125_000
    exponential_base: 2
mqtt:
  enable: true
  hostname: core-mosquitto
  port: 1883
  username: xxxx
  password: xxxx
  prefix: myelectricaldata
  client_id: myelectricaldata    # DOIT ETRE UNIQUE SUR LA TOTALITE DES CLIENTS CONNECTE AU SERVEUR MQTT
  retain: true
  qos: 0
myelectricaldata:
  "2245108xxxxxx":
    enable: 'true'
    token: xxxxx
    name: "xxxxxx"
    addresses: 'false'
    cache: 'true'
    consumption: 'true'
    consumption_detail: 'true'
    consumption_price_base: '0.1740'
    consumption_price_hc: '0.1740'
    consumption_price_hp: '0.1740'
    consumption_max_date: "2023-01-01"
    consumption_detail_max_date: "2023-01-01"
    offpeak_hours_0: 22H00-6H00               # LUNDI
    offpeak_hours_1: 22H00-6H00               # MARDI
    offpeak_hours_2: 22H00-6H00               # MERCREDI
    offpeak_hours_3: 22H00-6H00               # JEUDI
    offpeak_hours_4: 22H00-6H00               # VENDREDI
    offpeak_hours_5: 22H00-6H00;12H00-14H00   # SAMEDI
    offpeak_hours_6: 22H00-6H00;12H00-14H00   # DIMANCHE
    plan: BASE
    production: 'false'
    production_detail: 'false'
    production_price: '0.0'
    production_max_date: ""
    production_detail_max_date: ""
    refresh_addresse: 'true'
    refresh_contract: 'true'
  "2245xxxxxxxxx":
    enable: 'true'
    token: xxxxxxx
    name: "xxxxxx"
    addresses: 'false'
    cache: 'true'
    consumption: 'true'
    consumption_detail: 'true'
    consumption_price_base: '0.1740'
    consumption_price_hc: '0.1740'
    consumption_price_hp: '0.1740'
    consumption_max_date: "2023-01-01"
    consumption_detail_max_date: "2023-01-01"
    offpeak_hours_0: ''
    offpeak_hours_1: ''
    offpeak_hours_2: ''
    offpeak_hours_3: ''
    offpeak_hours_4: ''
    offpeak_hours_5: ''
    offpeak_hours_6: ''
    plan: BASE
    production: 'false'
    production_detail: 'false'
    production_price: '0.10'
    production_max_date: ""
    production_detail_max_date: ""
    refresh_addresse: 'true'
    refresh_contract: 'true'

et le log :

Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: MyElectricalData
 Use Enedis Gateway API to send data in your MQTT Broker (latest channel)
-----------------------------------------------------------
 Add-on version: 0.8.13-11
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (armv7 / raspberrypi4)
 Home Assistant Core: 2023.2.5
 Home Assistant Supervisor: 2023.01.1
-----------------------------------------------------------
 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=******
TZ=******
mqtt_autodiscover=******
verbose=******
/etc/cont-init.d/01-custom_script.sh: executing
[12:46:55] INFO: Execute /config/addons_autoscripts/enedisgateway2mqtt.sh if existing
[12:46:55] INFO: ... no script found
/etc/cont-init.d/32-nginx_ingress.sh: executing
/etc/cont-init.d/91-mqtt_autodiscover.sh: executing
[12:46:56] INFO: mqtt_autodiscover is defined in options, attempting autodiscovery...
[12:46:57] INFO: ... MQTT service found, fetching server detail (you can enter those manually in your config file) ...
MQTT_HOST=core-mosquitto
MQTT_PORT=1883
MQTT_SSL=false
MQTT_USERNAME=addons
MQTT_PASSWORD=xxxxxxxx
/etc/cont-init.d/99-run.sh: executing
creating symlink
[12:47:56] INFO: Using database file found in /config/myelectricaldata
[12:47:56] INFO: Using config file found in /config/myelectricaldata/config.yaml
Config file is a valid yaml
 
[12:47:56] INFO: Starting nginx
 
[12:47:56] INFO: Starting the app
 



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:13.961 -     INFO :  Check config.yaml :
2023-02-23 12:43:13.962 -     INFO :   => Config valid
2023-02-23 12:43:13.965 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:13.966 -     INFO :  LOADING CONFIGURATION...
2023-02-23 12:43:13.966 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:13.966 -     INFO :  xxxxxx
2023-02-23 12:43:13.991 -     INFO :    => Success
2023-02-23 12:43:13.992 -     INFO :  xxxxxx
2023-02-23 12:43:14.032 -     INFO :    => Success
2023-02-23 12:43:14.032 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:14.032 -     INFO :  Connect to MQTT broker core-mosquitto:1883
2023-02-23 12:43:14.039 -     INFO :   => Connection success
2023-02-23 12:43:14.593 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:14.599 -     INFO :  DÉMARRAGE DU JOB D'IMPORTATION DANS 10S
2023-02-23 12:43:14.604 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:14.610 -     INFO :   => 10s
2023-02-23 12:43:15.616 -     INFO :   => 9s
2023-02-23 12:43:16.618 -     INFO :   => 8s
2023-02-23 12:43:17.619 -     INFO :   => 7s
2023-02-23 12:43:18.621 -     INFO :   => 6s
2023-02-23 12:43:19.622 -     INFO :   => 5s
2023-02-23 12:43:20.624 -     INFO :   => 4s
2023-02-23 12:43:21.625 -     INFO :   => 3s
2023-02-23 12:43:22.627 -     INFO :   => 2s
2023-02-23 12:43:23.629 -     INFO :   => 1s
2023-02-23 12:43:24.655 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:24.655 -     INFO : ▌│█║▌║▌║                              Point de livraison : xxxx                              ║▌║▌║█│▌
2023-02-23 12:43:24.656 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:24.656 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:24.656 -     INFO :  [xxxxxxx] STATUT DE LA PASSERELLE :
2023-02-23 12:43:24.657 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:24.853 -     INFO :  status: True
2023-02-23 12:43:24.853 -     INFO :  information: None
2023-02-23 12:43:24.853 -     INFO :  nb_client: xxxx
2023-02-23 12:43:24.853 -     INFO :  waiting_estimation: 0.0s
2023-02-23 12:43:24.854 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:24.855 -     INFO :  [xxxxxxxx] CHECK ACCOUNT STATUS :
2023-02-23 12:43:24.855 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:29.851 -     INFO :  valid: True
2023-02-23 12:43:29.851 -     INFO :  information: 
2023-02-23 12:43:29.852 -     INFO :  consent_expiration_date: 2026-02-23T10:36:02
2023-02-23 12:43:29.852 -     INFO :  call_number: 14
2023-02-23 12:43:29.853 -     INFO :  quota_reached: False
2023-02-23 12:43:29.853 -     INFO :  quota_limit: 500
2023-02-23 12:43:29.853 -     INFO :  quota_reset_at: 2023-02-23T23:59:59.999999
2023-02-23 12:43:29.854 -     INFO :  last_call: 2023-02-21T20:51:42.503210
2023-02-23 12:43:29.854 -     INFO :  ban: False
2023-02-23 12:43:29.873 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:29.873 -     INFO :  [xxxxxxxx] RÉCUPÉRATION DU CONTRAT :
2023-02-23 12:43:29.874 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:29.904 -     INFO :   => Refresh Cache
2023-02-23 12:43:30.040 -     INFO :  segment: C5
2023-02-23 12:43:30.040 -     INFO :  subscribed_power: 6 kVA
2023-02-23 12:43:30.041 -     INFO :  last_activation_date: 2022-05-10+02:00
2023-02-23 12:43:30.041 -     INFO :  distribution_tariff: BTINFMU4
2023-02-23 12:43:30.041 -     INFO :  offpeak_hours: HC (1H40-7H40;15H10-17H10)
2023-02-23 12:43:30.042 -     INFO :  contract_status: SERVC
2023-02-23 12:43:30.042 -     INFO :  last_distribution_tariff_change_date: 2022-05-10+02:00
2023-02-23 12:43:30.042 -     INFO :  usage_point_id: xxxxxxx
2023-02-23 12:43:30.042 -     INFO :  usage_point_status: com
2023-02-23 12:43:30.043 -     INFO :  meter_type: AMM
2023-02-23 12:43:30.043 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:30.043 -     INFO :  [22451085308101] RÉCUPÉRATION DES COORDONNÉES :
2023-02-23 12:43:30.044 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:30.103 -     INFO :   => Refresh Cache
2023-02-23 12:43:30.551 -     INFO :  street: xxxx
2023-02-23 12:43:30.552 -     INFO :  locality: None
2023-02-23 12:43:30.552 -     INFO :  postal_code: xxxx
2023-02-23 12:43:30.552 -     INFO :  insee_code: 94080
2023-02-23 12:43:30.553 -     INFO :  city: xxxx
2023-02-23 12:43:30.553 -     INFO :  country: France
2023-02-23 12:43:30.553 -     INFO :  geo_points: {}
2023-02-23 12:43:30.553 -     INFO :  usage_point_id: xxxx
2023-02-23 12:43:30.554 -     INFO :  usage_point_status: com
2023-02-23 12:43:30.554 -     INFO :  meter_type: AMM
2023-02-23 12:43:30.555 -     INFO :  usage_point_addresses: {'street': 'xxx', 'locality': None, 'postal_code': 'xxxx', 'insee_code': 'xxxx', 'city': 'xxxx', 'country': 'France', 'geo_points': {}, 'usage_point_id': 'xxxxxx', 'usage_point_status': 'com', 'meter_type': 'AMM', 'usage_point_addresses': {...}}
2023-02-23 12:43:30.555 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:30.555 -     INFO :  [xxxx] RÉCUPÉRATION DE LA CONSOMMATION JOURNALIÈRE :
2023-02-23 12:43:30.556 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 12:43:30.598 -     INFO :  Récupération des données : 2020-02-25 => 2023-02-25



......



━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:52.701 -     INFO :  [22450795872560] EXPORTATION DES DONNÉES DANS HOME ASSISTANT (VIA MQTT)
2023-02-23 10:36:52.702 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:52.752 -     INFO :  current_week
2023-02-23 10:36:52.764 -     INFO :   => 66393
2023-02-23 10:36:52.764 -     INFO :  last_week
2023-02-23 10:36:52.775 -     INFO :   => 77286
2023-02-23 10:36:52.776 -     INFO :  current_week_last_year
2023-02-23 10:36:52.786 -     INFO :   => 0
2023-02-23 10:36:52.787 -     INFO :  last_month
2023-02-23 10:36:52.798 -     INFO :   => 353659
2023-02-23 10:36:52.799 -     INFO :  current_month
2023-02-23 10:36:52.810 -     INFO :   => 234470
2023-02-23 10:36:52.811 -     INFO :  current_month_last_year
2023-02-23 10:36:52.822 -     INFO :   => 0
2023-02-23 10:36:52.823 -     INFO :  last_month_last_year
2023-02-23 10:36:52.835 -     INFO :   => 0
2023-02-23 10:36:52.836 -     INFO :  current_year
2023-02-23 10:36:52.850 -     INFO :   => 588129
2023-02-23 10:36:52.851 -     INFO :  current_year_last_year
2023-02-23 10:36:52.865 -     INFO :   => 0
2023-02-23 10:36:52.865 -     INFO :  last_year
2023-02-23 10:36:52.894 -     INFO :   => 1886275
2023-02-23 10:36:52.895 -     INFO :  yesterday_hp / yesterday_hc
2023-02-23 10:36:52.908 -     INFO :   => HC : 0
2023-02-23 10:36:52.908 -     INFO :   => HP : 0
2023-02-23 10:36:52.909 -     INFO :  peak_offpeak_percent_hp VS peak_offpeak_percent_hc
2023-02-23 10:36:53.077 -     INFO :   => 0
2023-02-23 10:36:53.078 -     INFO :  current_week_evolution
2023-02-23 10:36:53.078 -     INFO :   => -14.094402608493127
2023-02-23 10:36:53.079 -     INFO :  current_month_evolution
2023-02-23 10:36:53.079 -     INFO :   => 0
2023-02-23 10:36:53.079 -     INFO :  yesterday_evolution
2023-02-23 10:36:53.080 -     INFO :  yesterday
2023-02-23 10:36:53.090 -     INFO :   => 6175
2023-02-23 10:36:53.091 -     INFO :  yesterday_1
2023-02-23 10:36:53.102 -     INFO :   => 10128
2023-02-23 10:36:53.102 -     INFO :   => -39.03041074249605
2023-02-23 10:36:53.103 -     INFO :  monthly_evolution
2023-02-23 10:36:53.103 -     INFO :  last_month
2023-02-23 10:36:53.116 -     INFO :   => 707318
2023-02-23 10:36:53.116 -     INFO :  last_month_last_year
2023-02-23 10:36:53.129 -     INFO :   => 0
2023-02-23 10:36:53.129 -     INFO :   => 0
2023-02-23 10:36:54.377 -     INFO :  current_week
2023-02-23 10:36:54.387 -     INFO :   => 0
2023-02-23 10:36:54.388 -     INFO :  last_week
2023-02-23 10:36:54.397 -     INFO :   => 0
2023-02-23 10:36:54.398 -     INFO :  current_week_last_year
2023-02-23 10:36:54.408 -     INFO :   => 0
2023-02-23 10:36:54.409 -     INFO :  last_month
2023-02-23 10:36:54.418 -     INFO :   => 0
2023-02-23 10:36:54.419 -     INFO :  current_month
2023-02-23 10:36:54.429 -     INFO :   => 0
2023-02-23 10:36:54.430 -     INFO :  current_month_last_year
2023-02-23 10:36:54.440 -     INFO :   => 0
2023-02-23 10:36:54.441 -     INFO :  last_month_last_year
2023-02-23 10:36:54.451 -     INFO :   => 0
2023-02-23 10:36:54.451 -     INFO :  current_year
2023-02-23 10:36:54.461 -     INFO :   => 0
2023-02-23 10:36:54.462 -     INFO :  current_year_last_year
2023-02-23 10:36:54.471 -     INFO :   => 0
2023-02-23 10:36:54.472 -     INFO :  last_year
2023-02-23 10:36:54.482 -     INFO :   => 0
2023-02-23 10:36:54.482 -     INFO :  yesterday_hp / yesterday_hc
2023-02-23 10:36:54.492 -     INFO :   => HC : 0
2023-02-23 10:36:54.492 -     INFO :   => HP : 0
2023-02-23 10:36:54.493 -     INFO :  peak_offpeak_percent_hp VS peak_offpeak_percent_hc
2023-02-23 10:36:54.503 -     INFO :   => 0
2023-02-23 10:36:54.503 -     INFO :  current_week_evolution
2023-02-23 10:36:54.503 -     INFO :   => 0
2023-02-23 10:36:54.503 -     INFO :  current_month_evolution
2023-02-23 10:36:54.504 -     INFO :   => 0
2023-02-23 10:36:54.504 -     INFO :  yesterday_evolution
2023-02-23 10:36:54.504 -     INFO :  yesterday
2023-02-23 10:36:54.514 -     INFO :   => 0
2023-02-23 10:36:54.514 -     INFO :  yesterday_1
2023-02-23 10:36:54.523 -     INFO :   => 0
2023-02-23 10:36:54.524 -     INFO :   => 0
2023-02-23 10:36:54.524 -     INFO :  monthly_evolution
2023-02-23 10:36:54.524 -     INFO :  last_month
2023-02-23 10:36:54.533 -     INFO :   => 0
2023-02-23 10:36:54.533 -     INFO :  last_month_last_year
2023-02-23 10:36:54.543 -     INFO :   => 0
2023-02-23 10:36:54.543 -     INFO :   => 0
2023-02-23 10:36:55.524 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:55.524 -     INFO :  EXPORT TERMINÉ
2023-02-23 10:36:55.524 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:55.524 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:55.525 -     INFO :  EXPORTATION INFLUXDB
2023-02-23 10:36:55.525 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:55.525 -     INFO :   => Désactivé dans la configuration (Exemple: https://tinyurl.com/2kbd62s9)
2023-02-23 10:36:55.526 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-02-23 10:36:55.526 -     INFO : ▌│█║▌║▌║       ___                                 _     _____  _         _       _      _  _  _       ║▌║▌║█│▌
2023-02-23 10:36:55.526 -     INFO : ▌│█║▌║▌║      |_ _| _ __ ___   _ __    ___   _ __ | |_  |  ___|(_) _ __  (_) ___ | |__  | || || |      ║▌║▌║█│▌
2023-02-23 10:36:55.527 -     INFO : ▌│█║▌║▌║       | | | '_ ` _ \ | '_ \  / _ \ | '__|| __| | |_   | || '_ \ | |/ __|| '_ \ | || || |      ║▌║▌║█│▌
2023-02-23 10:36:55.527 -     INFO : ▌│█║▌║▌║       | | | | | | | || |_) || (_) || |   | |_  |  _|  | || | | || |\__ \| | | ||_||_||_|      ║▌║▌║█│▌
2023-02-23 10:36:55.527 -     INFO : ▌│█║▌║▌║      |___||_| |_| |_|| .__/  \___/ |_|    \__| |_|    |_||_| |_||_||___/|_| |_|(_)(_)(_)      ║▌║▌║█│▌
2023-02-23 10:36:55.527 -     INFO : ▌│█║▌║▌║                      |_|                                                                      ║▌║▌║█│▌
2023-02-23 10:36:55.527 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

C bizarre: ton fichier config.yaml a deux entrées

myelectricaldata:
  "2245108xxxxxx":
    enable: 'true'
    token: xxxxx
    name: "xxxxxx"

tu n’as besoin que d’une seule section qui commence avec ton PDL. De plus si ton contrat est BASE, tu peux enlever les lignes qui ont heures pleines (HP) et heures creuses (HC).
si tu veux comparer avec une config qui fonctionne regarde ici

oui c’est normal j’ai 2 PDL différents. Je ne pense pas que le problème vienne de la conf qui semble bonne (j’ai tester en enlevant les data liées au HC & HP mais aucun changement).

Bonjour à tous,

Je récupère bien les données et l’exportation vers Influx DB fonctionne selon le log.

Une fois dans InfluxDB (en addon), sous « InfluxDB Admin », j’avais bien créé une database
« myelectricaldata » avec un user/password.

Je vais ensuite sous « Explore ». Je vois bien « myelectricaldata.autogen » et pour ceci « consumption » et « consumption_detail ».

Je sélectionne 6 mois puis clique sur kWh. Mais la Query dit « Your query or command is syntactically correct but returned no response ».

Pas de graphe ni rien, ais-je manqué qqchose svp?
Merci bcp.

@thib
l’ensemble ma l’air d’etre correct …

Si tu lance mqtt explorer les sensors remontent ?

@hautfr
Ton souci à plus l’air d’etre au niveau de influx que de MED…
Tu devrais ouvrir un sujet a part pour cela

@ClassicRed
yes ça remonte nickel

image

ok

as tu essayé de faire un reboot complet de ton HA ?
voir de le debranche du courant et de le remettre

Faut chercher ailleurs…topic est:

 homeassistant/sensor/myelectricaldata_consumption/

Petite question,sur la journée de mercredi, ma conso a été doublé (et le coût également) sur une partie de la carte par rapport à ma consommation réelle (qui est correcte dans le dashboard Énergie), vous avez déjà eu le cas ?


Qu est ce que tu voix dans le sensor.myelectricaldat_… ?
La carte ne fait pas (!) parti de MED, c’est juste une répresentaton de ces données

Et le dashboard Energie utilise ton Lixee, pas MED…il ne faut pas mélanger des trucs pour arriver a des fauces conclusions

Oui je sais que la carte est à part de MED et que le dashboard Energie remonte directement mon Lixee, pour autant j’ai bien la bonne donnée sur le site Enedis pour le suivi de la conso : 24.9kWh le mercredi 22.02

Les données des autres jours collent parfaitement à ma conso, mais je vais creuser de mon coté, la demande étant un peu hors sujet.

encore…montre ton sensor stp…

Je viens de remarquer que je suis bien passé sur MED pour autant je tourne toujours avec les sensors myenedis (je n’ai qu’un seul sensor MED)…
Le mélange des deux ne doit pas aider.

Donc, si t’es 100% sur MED il ne faut pas utiliser le sensor myEnedis car c’est pas la même.
Mois je voix que t’es sur l’intégration myEnedis et t’as fait le choix pour myelectricaldata dans son paramètres d’integration.
Si t’a pas le sensor.myelectricaldata_… c’est la preuve.
Neanmoins, la calcul n’est pas bon, tu doit ouvrir un cas ici car les données viennent de MED quand même ( je ais…un peu confusant).
Et ajoute bien les détails pour que M4dmartigan sait la source

Issues · m4dm4rtig4n/myelectricaldata (github.com)

oui j’ai fais ça aussi