MyElectricalData

Boujour à tous,
j’ai réinstallé MyElectricalData voilà le journal

2023-10-10 14:33:54.389 -     INFO : Connect to InfluxDB influxdb:8086
2023-10-10 14:33:58.059 - CRITICAL : ['Impossible de se connecter à la base influxdb.', '', 'Vous pouvez récupérer un exemple ici :', 'https://github.com/m4dm4rtig4n/enedisgateway2mqtt#configuration-file']
2023-10-10 14:33:58.060 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-10 14:33:58.060 -     INFO : MÉTHODE D'IMPORTATION : SYNCHRONOUS
2023-10-10 14:33:58.060 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/app/main.py", line 12, in <module>
    from init import CONFIG, DB
  File "/app/init.py", line 96, in <module>
    INFLUXDB = InfluxDB(
               ^^^^^^^^^
  File "/app/models/influxdb.py", line 71, in __init__
    self.connect()
  File "/app/models/influxdb.py", line 123, in connect
    self.get_list_retention_policies()
  File "/app/models/influxdb.py", line 148, in get_list_retention_policies
    buckets = self.buckets_api.find_buckets().buckets
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/client/bucket_api.py", line 119, in find_buckets
    return self._buckets_service.get_buckets(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/service/buckets_service.py", line 500, in get_buckets
    (data) = self.get_buckets_with_http_info(**kwargs)  # noqa: E501
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/service/buckets_service.py", line 588, in get_buckets_with_http_info
    return self.api_client.call_api(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/api_client.py", line 341, in call_api
    return self.__call_api(resource_path, method,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/api_client.py", line 171, in __call_api
    response_data = self.request(
                    ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/api_client.py", line 363, in request
    return self.rest_client.GET(url,
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/rest.py", line 261, in GET
    return self.request("GET", url,
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/influxdb_client/rest.py", line 232, in request
    r = self.pool_manager.request(method, url,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/request.py", line 74, in request
    return self.request_encode_url(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/request.py", line 96, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 525, in increment
    raise six.reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/packages/six.py", line 770, in reraise
    raise value
  File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/local/lib/python3.11/http/client.py", line 1286, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.11/http/client.py", line 1332, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.11/http/client.py", line 1281, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.11/http/client.py", line 1041, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.11/http/client.py", line 979, in send
    self.connect()
  File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82a23850>: Failed to establish a new connection: [Errno -5] No address associated with hostname
[14:33:59] FATAL: The app has crashed. Are you sure you entered the correct config options?
 
Starting the upstream container

Ma configuration MyElectricalData

Ma configuration InfluxDB

Ma configuration YAML

---
port: 5000
debug: true
log2file: false
wipe_influxdb: false
tempo:
  enable: true
home_assistant:
  enable: true
  discovery: true
  discovery_prefix: homeassistant
home_assistant_ws:
  enable: true
  ssl: true
  token: HOME_ASSISTANT_TOKEN_GENERATE_IN_PROFILE_TABS_(BOTTOM)
  url: myhomeassistant.domain.fr
ssl:
  gateway: true
  certfile: ""
  keyfile: ""
influxdb:
  enable: true
  hostname: influxdb
  port: 8086
  token: myelectricaldata
  org: myelectricaldata
  bucket: myelectricaldata
  method: synchronous
  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: mosquitto
  port: 1883
  username: null
  password: null
  prefix: myelectricaldata
  client_id: myelectricaldata
  retain: true
  qos: 0
myelectricaldata:
  "***************** je l'ai bien noté":
    enable: "true"
    token: ******************************** je l'ai bien noté
    name: Maison
    addresses: "true"
    cache: "true"
    consumption: "true"
    consumption_detail: "true"
    consumption_price_base: "0.145907"
    consumption_price_hc: "0.124364"
    consumption_price_hp: "0.164915"
    consumption_max_date: 2021-06-01
    consumption_detail_max_date: 2021-06-01
    offpeak_hours_0: 01H00-7H30;12H30-14H00
    offpeak_hours_1: 01H00-7H30;12H30-14H00
    offpeak_hours_2: 01H00-7H30;12H30-14H00
    offpeak_hours_3: 01H00-7H30;12H30-14H00
    offpeak_hours_4: 01H00-7H30;12H30-14H00
    offpeak_hours_5: 01H00-7H30;12H30-14H00
    offpeak_hours_6: 01H00-7H30;12H30-14H00
    plan: HC/HP
    production: "false"
    production_detail: "false"
    production_price: "0.0"
    production_max_date: 2021-06-01
    production_detail_max_date: 2021-06-01
    refresh_addresse: "false"
    refresh_contract: "false"

Je ne parviens pas à trouver l’erreur avez vous la solution
merci pour votre aide

Bj

Quel est ta version de influxDb d’installé

Car attention si v1 ou V2
ceci change

influxdb:
  enable: true
  hostname: influxdb
  port: 8086
  token: myelectricaldata
  org: myelectricaldata
  bucket: myelectricaldata
  method: synchronous
  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

et la je pense que tu as serieux souci

mqtt:
  enable: true
  hostname: mosquitto

c’est soit une IP , soit core-mosquito , a toi de voir ton hosname de mosquito

La version de InfluxDB est la 4.7.0

J’ai du loupé quelque chose ? je vois pas ta version

Capture d'écran 2023-10-10 162533


j’ai cette version

Donc corrige ceci pour commencé hostname

mqtt:
  client_id: myelectricaldata
  enable: true
  hostname:  IP 10.10.0.250 OU core-mosquitto
  password: XXXX
  port: 1883
  prefix: myelectricaldata
  qos: 0
  retain: true
  username: XXXX

desactive influxdb en le mettant sur false , et fais un test

ok je vois cela après l’école

Voivi mon fichier ajout des info perso dedans , pdl token password etc…

modifie ensuite le hostname qui normalement devra etre core-mosquitto

cycle: 14400
debug: true
home_assistant:
  discovery_prefix: homeassistant
  enable: true
home_assistant_ws:
  enable: false
  ssl: false
  token: 
  url: 
influxdb:
  bucket: myelectricaldata
  enable: false
  hostname: influxdb
  method: synchronous
  org: myelectricaldata
  port: 8086
  token: XXXXXXXXXXX
log2file: true
mqtt:
  client_id: myelectricaldata
  enable: true
  hostname: 10.10.0.250 OU core-mosquitto
  password: TON PASSWORD
  port: 1883
  prefix: myelectricaldata
  qos: 0
  retain: true
  username: TON USER
myelectricaldata:
  '2TON PDL':
    cache: 'true'
    consumption: 'true'
    consumption_detail: 'true'
    consumption_detail_max_date: '2022-01-01'
    consumption_max_date: '2022-01-01'
    consumption_max_power: 'true'
    consumption_price_base: '0.2276'
    consumption_price_hc: '0.1828'
    consumption_price_hp: '0.246'
    enable: 'true'
    name: Domicile
    offpeak_hours_0: 22h00-06h00
    offpeak_hours_1: 22h00-06h00
    offpeak_hours_2: 22h00-06h00
    offpeak_hours_3: 22h00-06h00
    offpeak_hours_4: 22h00-06h00
    offpeak_hours_5: 22h00-06h00
    offpeak_hours_6: 22h00-06h00
    plan: Tempo
    production: 'false'
    production_detail: 'false'
    production_detail_max_date: ''
    production_max_date: ''
    production_price: '0.0'
    refresh_addresse: 'true'
    refresh_contract: 'false'
    token: TON TOKEN
tempo:
  enable: true
  price_blue_hc: 0.1056
  price_blue_hp: 0.1369
  price_red_hc: 0.1328
  price_red_hp: 0.7324
  price_white_hc: 0.1246
  price_white_hp: 0.1654

J’ai desactivé influxdb dans celui ci , on y reviendra plus tard une fois que MED fonctionnera.

j’ai apporter des modifications par rapport à ton fichier, je pense qu’il y a encore des erreurs en lançant MyElectricalData se tombe sur cela:

Souci sur le compte c’est normal pour l’instant
regrade la

également j’ai relancer HA et voilà le résultat:

bonjour à tous
voilà un autre rapport des logs de démarrage

  1:4       error    wrong new line character: expected \n  (new-lines)
[09:59:30] FATAL: Config file has an invalid yaml format. Please check the file in /config/myelectricaldata/config.yaml. Errors list above. You can check yaml validity with the online tool yamllint.com
 
[09:59:30] INFO: Starting nginx
 
[09:59:30] INFO: Starting the app
 
2023-10-11 09:59:33.766 -     INFO : Display configuration :
2023-10-11 09:59:33.766 -     INFO :   cycle: 14400
2023-10-11 09:59:33.767 -     INFO :   debug: True
2023-10-11 09:59:33.768 -     INFO :   home_assistant:
2023-10-11 09:59:33.769 -     INFO :     discovery_prefix: homeassistant
2023-10-11 09:59:33.769 -     INFO :     enable: True
2023-10-11 09:59:33.770 -     INFO :   home_assistant_ws:
2023-10-11 09:59:33.770 -     INFO :     enable: False
2023-10-11 09:59:33.771 -     INFO :     ssl: False
2023-10-11 09:59:33.773 -     INFO :     token: ** hidden **
2023-10-11 09:59:33.775 -     INFO :     url: ''
2023-10-11 09:59:33.775 -     INFO :   influxdb:
2023-10-11 09:59:33.776 -     INFO :     bucket: myelectricaldata
2023-10-11 09:59:33.777 -     INFO :     enable: False
2023-10-11 09:59:33.779 -     INFO :     hostname: influxdb
2023-10-11 09:59:33.780 -     INFO :     method: synchronous
2023-10-11 09:59:33.781 -     INFO :     org: myelectricaldata
2023-10-11 09:59:33.782 -     INFO :     port: 8086
2023-10-11 09:59:33.784 -     INFO :     token: ** hidden **
2023-10-11 09:59:33.785 -     INFO :   log2file: True
2023-10-11 09:59:33.786 -     INFO :   mqtt:
2023-10-11 09:59:33.786 -     INFO :     client_id: myelectricaldata
2023-10-11 09:59:33.787 -     INFO :     enable: False
2023-10-11 09:59:33.788 -     INFO :     hostname: core-mosquitto
2023-10-11 09:59:33.789 -     INFO :     password: ** hidden **
2023-10-11 09:59:33.791 -     INFO :     port: 1883
2023-10-11 09:59:33.792 -     INFO :     prefix: myelectricaldata
2023-10-11 09:59:33.792 -     INFO :     qos: 0
2023-10-11 09:59:33.793 -     INFO :     retain: True
2023-10-11 09:59:33.794 -     INFO :     username: homeassistant
2023-10-11 09:59:33.795 -     INFO :   myelectricaldata:
2023-10-11 09:59:33.796 -     INFO :    XXXXXXXXXXXXXXXX: mis correctement
2023-10-11 09:59:33.796 -     INFO :       cache: true
2023-10-11 09:59:33.797 -     INFO :       consumption: true
2023-10-11 09:59:33.797 -     INFO :       consumption_detail: true
2023-10-11 09:59:33.798 -     INFO :       consumption_detail_max_date: 2023-05-29
2023-10-11 09:59:33.799 -     INFO :       consumption_max_date: 2026-05-29
2023-10-11 09:59:33.799 -     INFO :       consumption_max_power: true
2023-10-11 09:59:33.800 -     INFO :       consumption_price_base: 0.2276
2023-10-11 09:59:33.801 -     INFO :       consumption_price_hc: 0.1828
2023-10-11 09:59:33.802 -     INFO :       consumption_price_hp: 0.246
2023-10-11 09:59:33.803 -     INFO :       enable: true
2023-10-11 09:59:33.803 -     INFO :       name: Maison
2023-10-11 09:59:33.804 -     INFO :       offpeak_hours_0: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.805 -     INFO :       offpeak_hours_1: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.806 -     INFO :       offpeak_hours_2: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.807 -     INFO :       offpeak_hours_3: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.808 -     INFO :       offpeak_hours_4: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.808 -     INFO :       offpeak_hours_5: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.809 -     INFO :       offpeak_hours_6: 01H00-7H30;12H30-14H00
2023-10-11 09:59:33.810 -     INFO :       plan: HC/HP
2023-10-11 09:59:33.810 -     INFO :       production: false
2023-10-11 09:59:33.811 -     INFO :       production_detail: false
2023-10-11 09:59:33.812 -     INFO :       production_detail_max_date: 
2023-10-11 09:59:33.814 -     INFO :       production_max_date: 
2023-10-11 09:59:33.815 -     INFO :       production_price: 0.0
2023-10-11 09:59:33.816 -     INFO :       refresh_addresse: false
2023-10-11 09:59:33.817 -     INFO :       refresh_contract: false
2023-10-11 09:59:33.818 -     INFO :       token: ** hidden **
2023-10-11 09:59:33.819 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-11 09:59:33.820 -     INFO : Check config.yaml :
2023-10-11 09:59:33.821 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-11 09:59:33.822 -     INFO : CONFIG VALID
2023-10-11 09:59:33.823 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2023-10-11 09:59:36.216 -     INFO : Configure Databases
2023-10-11 09:59:36.337 -     INFO :  => day
2023-10-11 09:59:36.373 -     INFO :  => call_number
2023-10-11 09:59:36.381 -     INFO :  => max_call
2023-10-11 09:59:36.388 -     INFO :  => version
2023-10-11 09:59:36.396 -     INFO :  => lock
2023-10-11 09:59:36.403 -     INFO :  => lastUpdate
2023-10-11 09:59:36.404 -     INFO :  Success
2023-10-11 09:59:37.325 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-11 09:59:37.326 -     INFO : RUN IN PRODUCTION MODE
2023-10-11 09:59:37.326 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-11 09:59:37.328 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-11 09:59:37.330 -     INFO : CHARGEMENT DU CONFIG.YAML...
2023-10-11 09:59:37.330 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2023-10-11 09:59:37.331 -     INFO : XXXXXXXXXXXX mis correctement
Traceback (most recent call last):
  File "/app/main.py", line 31, in <module>
    DB.set_usage_point(upi, upi_data)
  File "/app/models/database.py", line 322, in set_usage_point
    usage_points.consumption_max_date = datetime.strptime(consumption_max_date, "%Y-%m-%d")
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: strptime() argument 1 must be str, not datetime.date
[09:59:37] FATAL: The app has crashed. Are you sure you entered the correct config options?
 
Starting the upstream container

je n’arrive pas à trouver l’erreur
merci pour votre aide

PROBLEME SOLUTIONNÉ

Bonjour, pourrais tu nous dire comment tu as solutionné car j’ai la même erreur :slight_smile: Merci

Bj

@Fifounet , le souci est connu
en faite le souci est que suivant ton programme éditeur de fichier , celui-ci met un caractère et ou espace invisible dans une de tes lignes.

Bonjour à tous,
Je tombe a pic sur le bon thread, j’ai exactement le meme probleme après une re installation.

je ne comprends pas quelle est la solution ici :

j’ai re généré les données de connection dans le confog-yaml avec le + en bas de l’interface Myelectricaldata. je ne comprends pas mon log.
Merci d’avance pour le coup de main.

2024-03-20 07:02:16.365 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2024-03-20 07:02:16.367 -     INFO : CHECK DE L'ÉTAT DE LA PASSERELLE.
2024-03-20 07:02:16.368 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[20/Mar/2024:07:02:16 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/loading.gif HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:16 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/icon.svg HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:16 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/success.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:17 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /import_status HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:18.619 -     INFO : status: True
2024-03-20 07:02:18.620 -     INFO : information: None
2024-03-20 07:02:18.621 -     INFO : nb_client: 2545
2024-03-20 07:02:18.622 -     INFO : waiting_estimation: 0.0s
2024-03-20 07:02:18.643 -     INFO : 172.30.32.1:0 - "GET /gateway_status/ HTTP/1.1" 200
[20/Mar/2024:07:02:18 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /gateway_status/ HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:20.930 -     INFO : 127.0.0.1:41788 - "GET / HTTP/1.1" 200
[20/Mar/2024:07:02:21 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /import_status HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:23.627 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2024-03-20 07:02:23.628 -     INFO : REFRESH ORM OBJECTS
2024-03-20 07:02:23.628 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2024-03-20 07:02:23.832 -    ERROR : Pas de données.
2024-03-20 07:02:23.954 -     INFO : 172.30.32.1:0 - "GET /usage_point_id/198597xxxxxxx HTTP/1.1" 200
[20/Mar/2024:07:02:23 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /usage_point_id/198597xxxxxxx HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.035 -     INFO : 172.30.32.1:0 - "GET /static/css/notif.css HTTP/1.1" 200
2024-03-20 07:02:24.056 -     INFO : 172.30.32.1:0 - "GET /static/js/notif.js HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/notif.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.072 -     INFO : 172.30.32.1:0 - "GET /static/js/nice-select.js HTTP/1.1" 200
2024-03-20 07:02:24.086 -     INFO : 172.30.32.1:0 - "GET /static/css/nice-select.css HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/js/notif.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.104 -     INFO : 172.30.32.1:0 - "GET /static/js/menu.js HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/js/nice-select.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.148 -     INFO : 172.30.32.1:0 - "GET /static/css/menu.css HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/js/menu.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/nice-select.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.164 -     INFO : 172.30.32.1:0 - "GET /static/css/jquery-fab-button.min.css HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/menu.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.213 -     INFO : 172.30.32.1:0 - "GET /static/js/jquery-fab-button.min.js HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/jquery-fab-button.min.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.247 -     INFO : 172.30.32.1:0 - "GET /static/css/popup.css HTTP/1.1" 200
2024-03-20 07:02:24.271 -     INFO : 172.30.32.1:0 - "GET /static/js/popup.js HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/js/jquery-fab-button.min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/popup.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.314 -     INFO : 172.30.32.1:0 - "GET /static/css/main.css HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/js/popup.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.339 -     INFO : 172.30.32.1:0 - "GET /static/css/logo.css HTTP/1.1" 200
2024-03-20 07:02:24.379 -     INFO : 172.30.32.1:0 - "GET /static/js/validator_fr.js HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/main.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/css/logo.css HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.426 -     INFO : 172.30.32.1:0 - "GET /static/img/discord.png HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/js/validator_fr.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.451 -     INFO : 172.30.32.1:0 - "GET /static/img/enedis.png HTTP/1.1" 200
2024-03-20 07:02:24.470 -     INFO : 172.30.32.1:0 - "GET /static/img/paypal.png HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/discord.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/enedis.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.532 -     INFO : 172.30.32.1:0 - "GET /static/img/icon.svg HTTP/1.1" 200
2024-03-20 07:02:24.539 -     INFO : 172.30.32.1:0 - "GET /static/img/loading.gif HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/paypal.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.581 -     INFO : 172.30.32.1:0 - "GET /static/img/error.png HTTP/1.1" 200
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/icon.svg HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/loading.gif HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
[20/Mar/2024:07:02:24 +0100] 200 192.168.1.15, 172.30.32.1(172.30.32.2) GET /static/img/error.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15)
2024-03-20 07:02:24.673 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2024-03-20 07:02:24.692 -     INFO : [19859768383075] CHECK DU STATUT DU COMPTE.
2024-03-20 07:02:24.704 -     INFO : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ◦ ❖ ◦ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2024-03-20 07:02:25.023 -     INFO : 172.30.32.1:0 - "GET /datatable/198597xxxxxxxx/consumption?draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=2&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=3&columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=false&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%

Bonjour,

j’ai refais scrupuleusement mon config.yaml en suivant ce auto:

https://forum.hacf.fr/t/les-cartes-et-myelectricaldata/19996/37

J’ai des doutes sur la convention d’écriture des paramètres yaml, simple quote ?, double quote ?
Quelqu’un pourrait il m’aide s’il vous plait ? remerciements.