-
-
Notifications
You must be signed in to change notification settings - Fork 39
90. Change Log
Clément VALENTIN edited this page Jan 20, 2023
·
8 revisions
- Rework des datables sur la pages des points de livraison avec chargement dynamique des données.
- Chargement dynamique des données (migration en mode serverside)
- Ajout des detail
- Ajout des données max_power dans le sensor HA (thx to https://github.com/vingerha)
Issue fix : https://github.com/m4dm4rtig4n/myelectricaldata/issues?q=label%3A0.8.13+
Attention le sensor HA à était rename suite à l'ajout de sensor de production en plus de ceux de consommation.
Renomage :
- sensor.myelectricaldata_XXXXXXXXXXXXXX devient sensor.myelectricaldata_consumption_XXXXXXXXXXXXXX
- sensor.myelectricaldata_history_XXXXXXXXXXXXXX devient myelectricaldata_consumption_history_XXXXXXXXXXXXXX
- sensor.myelectricaldata_last5day_XXXXXXXXXXXXXX devient sensor.myelectricaldata_consumption_last5day_XXXXXXXXXXXXXX
Et ajout des sensor :
- sensor.myelectricaldata_production_XXXXXXXXXXXXXX
- myelectricaldata_production_history_XXXXXXXXXXXXXX
- sensor.myelectricaldata_production_last5day_XXXXXXXXXXXXXX
Il est nécessaire de refaire vos consentements sur MyElectricalData.fr
Il est nécessaire de reprendre le nouveau "template" du config.yaml
Les "mesurements" d'influxDB ont étaient renommés :
- enedisgateway_daily devient consumption
- enedisgateway_detail devient consumption_detail
- Ajout d'une interface Web de gestion de vos points de livraison.
- Migration vers la nouvelle plateforme MyElectricalData
- Refonte complète du projet
- Add "wipe_influxdb" paramaters (drop meseaurement enedisgateway_daily & enedisgateway_detail)
- Remove addresses parameters
- Force to false refresh paramaters (refresh_addresses, refresh_contracts, wipe_cache, wipe_influxdb)
- Add hourly consumption compatible with apexchart-card.
Exemple for hourly consumption :
type: custom:apexcharts-card
graph_span: 5d
span:
start: day
offset: '-6d'
apex_config:
dataLabels:
enabled: true
series:
- entity: sensor.enedisgateway_XXXXXXXXXXXXXXXXXX_hourly
name: af
extend_to_end: false
data_generator: |
return entity.attributes.hourly.map((hourly, index) => {
return [new Date(hourly).getTime(), entity.attributes.hourly_value[index]];
});
UPGRADE Procedure :
- 0.7.6 -> 0.7.7 : Wipe influxdb database.
Change Log :
- Fix Null values don’t mean no values
- Fix Timezone bug
- Fix HP/HC no cost
- Fix HP/HC wrong price
- Switch Enedis API Call in UTC Datetime (reduce error)
- Fix offpeak hours in HA Sensor
- Fix SQLite closed connection
- Fix debug
- Fix OFFPEAK_HOUR bug
BREAKING CHANGE - All configuration is now in config.yml
Not update to 0.7.0 if you don't have adapt your configuration
- Skip version
- Add timeout to API Call
- Fix bug
- HassOS Addons available : https://github.com/alexbelgium/hassio-addons/tree/master/enedisGateway2MQTT (special thx to alexbelgium)
- Reduce API Call
- Add more log
- Fix bug
- Fix log on MQTT connection failed :
NameError: name 'client' is not defined
- HA Sensor (kW => Wh)
- HA Sensor add uniq_id
- HA Sensor add device (thx to Smeagolworms4)
- Fix offpeak bug
- Add dev environment (thx to Smeagolworms4)
- Fix bug
- Add influxdb connecter & exporter
- Grafana dashboard exemple
- Create HA sensor for Linky Card with auto-discovery
- Add param to choose current plan
- Add HC/HP
- Rework database structure (all cached data are reset)
- Add new params to reset all cache.
- Cache addresses & contracts data.
- Switch locale to fr_FR.UTF8 (french date format)
- Switch ha_discovery state in kW by default (W before)
- Add Database structure check + reset if broken
- Optimise caching
- Change MQTT structure per days
- I remove the "years" parameter and automatically set the max value (36 month)
- Switch image docker to python-slim to reduce image size (900mo => 150mo)
- Fixes various bugs
- Fix HA Discovery error.
- Fix error when API call limit is reached.
- Rework ha discovery to reduce items
- Fix ha_autodiscovery always enable
- Get Production
- Add SQLite database to store data and reduce number of API Call.
- Helm chart
- Home Assistant auto-discovery
- Add Retain & QoS (MQTT)
- Add Timestamp in log
- First Release