Tu as bien switch le sensor de la card vers le nouveau ?
Après les valeurs ne sont pas du tt bonne à priori.
J’ai toujours le même sensor en fait, j’en vois pas de nouveau…
sensor.myenedis_NUMEROPDL
ton erreur est la justement
la nouvelle passerrelle
sensor.myelectricaldata_2121XXXXXXXXX
Bonjour je suis sur rpi 3 et je n’arrive plus a avoir my Enedis ni eg2mqtt.
Voici ma config yaml
cycle: 14400
debug: true
wipe_influxdb: false
home_assistant:
enable: true
discovery: true
discovery_prefix: homeassistant
influxdb:
enable: true
hostname: influxdb
port: 8086
token: myelectricaldata
org: myelectricaldata
bucket: myelectricaldata
mqtt:
enable: true
hostname: mosquitto
port: 1883
username: xxxxx
password: xxx
prefix: myelectricaldata
client_id: myelectricaldata
retain: true
qos: 0
myelectricaldata
« 161376 »:
enable: ‹ true ›
token: xxx
name: « Maison »
addresses: ‹ true ›
cache: ‹ true ›
consumption: ‹ true ›
consumption_detail: ‹ true ›
consumption_price_base: ‹ 0.145907 ›
consumption_price_hc: ‹ 0.147 ›
consumption_price_hp: ‹ 0.18 ›
offpeak_hours_0: 2H00-8H00;13H30-15H30
offpeak_hours_1: 2H00-8H00;13H30-15H30
offpeak_hours_2: 2H00-8H00;13H30-15H30
offpeak_hours_3: 2H00-8H00;13H30-15H30
offpeak_hours_4: 2H00-8H00;13H30-15H30
offpeak_hours_5: 2H00-8H00;13H30-15H30
offpeak_hours_6: 2H00-8H00;13H30-15H30
plan: HC/HP
production: ‹ TRUE ›
production_detail: ‹ false ›
production_price: ‹ 0.10 ›
refresh_addresse: ‹ false ›
refresh_contract: ‹ false ›`
une erreur quelque part ?
Alors… Je viens de changer, merci pour l’info, mais là super chelou la carte… clignote.
Normal Noël approche elle fait sapin
Sert toi de la balise </> pour mettre ta config
car la c’est chiant pour le lire
Et met les journaux , on peux pas deviné quoi que se soit ou d’ou vient l’erreur
Si je me trompe pas tu as le même que la
cycle: 14400
debug: true
wipe_influxdb: false
home_assistant:
enable: true
discovery: true
discovery_prefix: homeassistant
influxdb:
enable: true
hostname: influxdb
port: 8086
token: myelectricaldata
org: myelectricaldata
bucket: myelectricaldata
mqtt:
enable: true
hostname: mosquitto
port: 1883
username: xxxxx
password: xxx
prefix: myelectricaldata
client_id: myelectricaldata
retain: true
qos: 0
myelectricaldata
"161376":
enable: 'true'
token: xxx
name: "Maison"
addresses: 'true'
cache: 'true'
consumption: 'true'
consumption_detail: 'true'
consumption_price_base: '0.145907'
consumption_price_hc: '0.147'
consumption_price_hp: '0.18'
offpeak_hours_0: 2H00-8H00;13H30-15H30
offpeak_hours_1: 2H00-8H00;13H30-15H30
offpeak_hours_2: 2H00-8H00;13H30-15H30
offpeak_hours_3: 2H00-8H00;13H30-15H30
offpeak_hours_4: 2H00-8H00;13H30-15H30
offpeak_hours_5: 2H00-8H00;13H30-15H30
offpeak_hours_6: 2H00-8H00;13H30-15H30
plan: HC/HP
production: 'TRUE'
production_detail: 'false'
production_price: '0.10'
refresh_addresse: 'false'
refresh_contract: 'false'
i
/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.2-dev
You are running the latest version of this add-on.
System: Home Assistant OS 9.3 (armv7 / raspberrypi3)
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
[18:28:47] INFO: Execute /config/enedisgateway2mqtt-dev.sh if existing
[18:28:47] INFO: ... no script found
/etc/cont-init.d/99-run.sh: executing
[18:28:47] INFO: Using config file found in /config/enedisgateway2mqtt_dev/config.yaml
/config/enedisgateway2mqtt_dev/config.yaml
16:12 warning too many spaces after colon (colons)
20:1 warning too many blank lines (4 > 2) (empty-lines)
21:1 error duplication of key "cycle" in mapping (key-duplicates)
21:13 error trailing spaces (trailing-spaces)
22:1 error duplication of key "debug" in mapping (key-duplicates)
42:30 error trailing spaces (trailing-spaces)
45:17 error trailing spaces (trailing-spaces)
70:1 error trailing spaces (trailing-spaces)
71:1 error trailing spaces (trailing-spaces)
72:5 error no new line character at the end of file (new-line-at-end-of-file)
72:1 error trailing spaces (trailing-spaces)
46:18 error syntax error: could not find expected ':' (syntax)
[18:28:49] FATAL: Config file has an invalid yaml format. Please check the file in /config/enedisgateway2mqtt_dev/config.yaml. Errors list above. You can check yaml validity with the online tool yamllint.com
/etc/cont-init.d/99-run.sh: exiting 1
46:18 error syntax error: could not find expected ':' (syntax)
Tu as un souci sur une synthase
c’est lui en dernier
regarde la
Et adapte le
il y a du mieux `Starting…
/etc/cont-init.d/00-banner.sh: executing
Add-on: MyElectricalData Dev
use Enedis Gateway API to send data in your MQTT Broker (dev channel)
Add-on version: 0.8.2-dev
You are running the latest version of this add-on.
System: Home Assistant OS 9.3 (armv7 / raspberrypi3)
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
GitHub - alexbelgium/hassio-addons: My homeassistant addons
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION=‹ /config/enedisgateway2mqtt_dev/config.yaml ›
TZ=‹ Europe/Paris ›
Pourquoi écrire aussi grand ?
Je n’ai fait que du copier coller rien d’autre
Utilise l’ip de MQTT
Merci mais tjrs même réponse
C’est un problème d’indentation dans ton fichier de config.
Le « client_id » doit être au même niveau que le « enable » et « hostname »
Encore et toujours pareil