fix: update config.yaml

This commit is contained in:
Clément VALENTIN
2024-02-27 22:27:27 +01:00
parent b749d8cf8d
commit 4ea0ddd765
2 changed files with 114 additions and 120 deletions

View File

@@ -6,20 +6,27 @@ wipe_influxdb: false # Work only with influxdb > 2.X
# Mais il est possible de basculer sur une base de données externe de type SQLite ou PostgreSQL # Mais il est possible de basculer sur une base de données externe de type SQLite ou PostgreSQL
# Exemple pour Postgres : # Exemple pour Postgres :
# storage_uri: postgresql://myelectricaldata:myelectricaldata@postgres:5432/myelectricaldata # storage_uri: postgresql://myelectricaldata:myelectricaldata@postgres:5432/myelectricaldata
tempo: mqtt:
enable: true enable: true
price_blue_hc: 0.097 hostname: mosquitto
price_blue_hp: 0.1249 port: 1883
price_red_hc: 0.1216 username: null
price_red_hp: 0.6712 password: null
price_white_hc: 0.114 prefix: myelectricaldata
price_white_hp: 0.1508 client_id: myelectricaldata # DOIT ETRE UNIQUE SUR LA TOTALITE DES CLIENTS CONNECTE AU SERVEUR MQTT
home_assistant: retain: true
qos: 0
home_assistant: # MQTT est obligaoire pour Home Assistant
enable: true enable: true
discovery: true discovery: true
discovery_prefix: homeassistant discovery_prefix: homeassistant
influxdb: home_assistant_ws:
enable: true enable: true
ssl: true
token: TOKEN_LONGUE_DUREE
url: URL_VERS_HOME_ASSISTANT
influxdb:
enable: false
hostname: influxdb hostname: influxdb
port: 8086 port: 8086
token: myelectricaldata token: myelectricaldata
@@ -39,28 +46,18 @@ influxdb:
max_retries: 5 max_retries: 5
max_retry_delay: 125_000 max_retry_delay: 125_000
exponential_base: 2 exponential_base: 2
mqtt:
enable: true
hostname: mosquitto
port: 1883
username: null
password: null
prefix: myelectricaldata
client_id: myelectricaldata # DOIT ETRE UNIQUE SUR LA TOTALITE DES CLIENTS CONNECTE AU SERVEUR MQTT
retain: true
qos: 0
myelectricaldata: myelectricaldata:
"MON_PDL_1": "MON_PDL_1":
enable: 'true' enable: "true"
token: TOKEN_DE_MON_PDL_1 token: TOKEN_DE_MON_PDL_1
name: "Maison" name: "Maison"
addresses: 'true' addresses: "true"
cache: 'true' cache: "true"
consumption: 'true' consumption: "true"
consumption_detail: 'true' consumption_detail: "true"
consumption_price_base: '0.145907' consumption_price_base: "0.145907"
consumption_price_hc: '0.124364' consumption_price_hc: "0.124364"
consumption_price_hp: '0.164915' consumption_price_hp: "0.164915"
consumption_max_date: "2021-06-01" consumption_max_date: "2021-06-01"
consumption_detail_max_date: "2021-06-01" consumption_detail_max_date: "2021-06-01"
offpeak_hours_0: 22H00-6H00 # LUNDI offpeak_hours_0: 22H00-6H00 # LUNDI
@@ -71,37 +68,37 @@ myelectricaldata:
offpeak_hours_5: 22H00-6H00;12H00-14H00 # SAMEDI offpeak_hours_5: 22H00-6H00;12H00-14H00 # SAMEDI
offpeak_hours_6: 22H00-6H00;12H00-14H00 # DIMANCHE offpeak_hours_6: 22H00-6H00;12H00-14H00 # DIMANCHE
plan: HC/HP plan: HC/HP
production: 'false' production: "false"
production_detail: 'false' production_detail: "false"
production_price: '0.0' production_price: "0.0"
production_max_date: "2021-06-01" production_max_date: "2021-06-01"
production_detail_max_date: "2021-06-01" production_detail_max_date: "2021-06-01"
refresh_addresse: 'false' refresh_addresse: "false"
refresh_contract: 'false' refresh_contract: "false"
"MON_PDL_2_AVEC_PRODUCTION": "MON_PDL_2_AVEC_PRODUCTION":
enable: 'true' enable: "true"
token: TOKEN_DE_MON_PDL_2 token: TOKEN_DE_MON_PDL_2
name: "Maison de vacances" name: "Maison de vacances"
cache: 'true' cache: "true"
consumption: 'true' consumption: "true"
consumption_detail: 'true' consumption_detail: "true"
consumption_price_base: '0.175' consumption_price_base: "0.175"
consumption_price_hc: '0.175' consumption_price_hc: "0.175"
consumption_price_hp: '0.175' consumption_price_hp: "0.175"
consumption_max_date: "2021-06-01" consumption_max_date: "2021-06-01"
consumption_detail_max_date: "2021-06-01" consumption_detail_max_date: "2021-06-01"
offpeak_hours_0: '' offpeak_hours_0: ""
offpeak_hours_1: '' offpeak_hours_1: ""
offpeak_hours_2: '' offpeak_hours_2: ""
offpeak_hours_3: '' offpeak_hours_3: ""
offpeak_hours_4: '' offpeak_hours_4: ""
offpeak_hours_5: '' offpeak_hours_5: ""
offpeak_hours_6: '' offpeak_hours_6: ""
plan: BASE plan: BASE
production: 'true' production: "true"
production_detail: 'true' production_detail: "true"
production_price: '0.10' production_price: "0.10"
production_max_date: "2021-06-01" production_max_date: "2021-06-01"
production_detail_max_date: "2021-06-01" production_detail_max_date: "2021-06-01"
refresh_addresse: 'false' refresh_addresse: "false"
refresh_contract: 'false' refresh_contract: "false"

View File

@@ -6,20 +6,27 @@ wipe_influxdb: false # Work only with influxdb > 2.X
# Mais il est possible de basculer sur une base de données externe de type SQLite ou PostgreSQL # Mais il est possible de basculer sur une base de données externe de type SQLite ou PostgreSQL
# Exemple pour Postgres : # Exemple pour Postgres :
# storage_uri: postgresql://myelectricaldata:myelectricaldata@postgres:5432/myelectricaldata # storage_uri: postgresql://myelectricaldata:myelectricaldata@postgres:5432/myelectricaldata
tempo: mqtt:
enable: true enable: true
price_blue_hc: 0.097 hostname: mosquitto
price_blue_hp: 0.1249 port: 1883
price_red_hc: 0.1216 username: null
price_red_hp: 0.6712 password: null
price_white_hc: 0.114 prefix: myelectricaldata
price_white_hp: 0.1508 client_id: myelectricaldata # DOIT ETRE UNIQUE SUR LA TOTALITE DES CLIENTS CONNECTE AU SERVEUR MQTT
home_assistant: retain: true
qos: 0
home_assistant: # MQTT est obligaoire pour Home Assistant
enable: true enable: true
discovery: true discovery: true
discovery_prefix: homeassistant discovery_prefix: homeassistant
influxdb: home_assistant_ws:
enable: true enable: true
ssl: true
token: TOKEN_LONGUE_DUREE
url: URL_VERS_HOME_ASSISTANT
influxdb:
enable: false
hostname: influxdb hostname: influxdb
port: 8086 port: 8086
token: myelectricaldata token: myelectricaldata
@@ -39,28 +46,18 @@ influxdb:
max_retries: 5 max_retries: 5
max_retry_delay: 125_000 max_retry_delay: 125_000
exponential_base: 2 exponential_base: 2
mqtt:
enable: true
hostname: mosquitto
port: 1883
username: null
password: null
prefix: myelectricaldata
client_id: myelectricaldata # DOIT ETRE UNIQUE SUR LA TOTALITE DES CLIENTS CONNECTE AU SERVEUR MQTT
retain: true
qos: 0
myelectricaldata: myelectricaldata:
"MON_PDL_1": "MON_PDL_1":
enable: 'true' enable: "true"
token: TOKEN_DE_MON_PDL_1 token: TOKEN_DE_MON_PDL_1
name: "Maison" name: "Maison"
addresses: 'true' addresses: "true"
cache: 'true' cache: "true"
consumption: 'true' consumption: "true"
consumption_detail: 'true' consumption_detail: "true"
consumption_price_base: '0.145907' consumption_price_base: "0.145907"
consumption_price_hc: '0.124364' consumption_price_hc: "0.124364"
consumption_price_hp: '0.164915' consumption_price_hp: "0.164915"
consumption_max_date: "2021-06-01" consumption_max_date: "2021-06-01"
consumption_detail_max_date: "2021-06-01" consumption_detail_max_date: "2021-06-01"
offpeak_hours_0: 22H00-6H00 # LUNDI offpeak_hours_0: 22H00-6H00 # LUNDI
@@ -71,37 +68,37 @@ myelectricaldata:
offpeak_hours_5: 22H00-6H00;12H00-14H00 # SAMEDI offpeak_hours_5: 22H00-6H00;12H00-14H00 # SAMEDI
offpeak_hours_6: 22H00-6H00;12H00-14H00 # DIMANCHE offpeak_hours_6: 22H00-6H00;12H00-14H00 # DIMANCHE
plan: HC/HP plan: HC/HP
production: 'false' production: "false"
production_detail: 'false' production_detail: "false"
production_price: '0.0' production_price: "0.0"
production_max_date: "2021-06-01" production_max_date: "2021-06-01"
production_detail_max_date: "2021-06-01" production_detail_max_date: "2021-06-01"
refresh_addresse: 'false' refresh_addresse: "false"
refresh_contract: 'false' refresh_contract: "false"
"MON_PDL_2_AVEC_PRODUCTION": "MON_PDL_2_AVEC_PRODUCTION":
enable: 'true' enable: "true"
token: TOKEN_DE_MON_PDL_2 token: TOKEN_DE_MON_PDL_2
name: "Maison de vacances" name: "Maison de vacances"
cache: 'true' cache: "true"
consumption: 'true' consumption: "true"
consumption_detail: 'true' consumption_detail: "true"
consumption_price_base: '0.175' consumption_price_base: "0.175"
consumption_price_hc: '0.175' consumption_price_hc: "0.175"
consumption_price_hp: '0.175' consumption_price_hp: "0.175"
consumption_max_date: "2021-06-01" consumption_max_date: "2021-06-01"
consumption_detail_max_date: "2021-06-01" consumption_detail_max_date: "2021-06-01"
offpeak_hours_0: '' offpeak_hours_0: ""
offpeak_hours_1: '' offpeak_hours_1: ""
offpeak_hours_2: '' offpeak_hours_2: ""
offpeak_hours_3: '' offpeak_hours_3: ""
offpeak_hours_4: '' offpeak_hours_4: ""
offpeak_hours_5: '' offpeak_hours_5: ""
offpeak_hours_6: '' offpeak_hours_6: ""
plan: BASE plan: BASE
production: 'true' production: "true"
production_detail: 'true' production_detail: "true"
production_price: '0.10' production_price: "0.10"
production_max_date: "2021-06-01" production_max_date: "2021-06-01"
production_detail_max_date: "2021-06-01" production_detail_max_date: "2021-06-01"
refresh_addresse: 'false' refresh_addresse: "false"
refresh_contract: 'false' refresh_contract: "false"