-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #558 from MyElectricalData/feat/build-args
Feat/build args
- Loading branch information
Showing
101 changed files
with
9,018 additions
and
6,369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "1.0.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python (Integrated Terminal)", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "/app/main.py", | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} | ||
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles. | ||
// Pointez pour afficher la description des attributs existants. | ||
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Débogueur Python : Fichier actuel", | ||
"env": { | ||
"PYTHONPATH": "${workspaceFolder}/src", | ||
"DEV": "true", | ||
"DEBUG": "true" | ||
}, | ||
"type": "debugpy", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/src/main.py", | ||
"console": "integratedTerminal", | ||
"envFile": "${workspaceFolder}/.env" | ||
// "preLaunchTask": "select-environment-mock" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
backend: | ||
uri: sqlite:////data/myelectricaldata.db | ||
gateway: | ||
url: myelectricaldata.fr | ||
ssl: true | ||
home_assistant: | ||
enable: false | ||
discovery_prefix: homeassistant | ||
home_assistant_ws: | ||
enable: false | ||
ssl: false | ||
token: '' | ||
url: ws://localhost:8123 | ||
purge: false | ||
batch_size: 1000 | ||
max_date: | ||
influxdb: | ||
enable: false | ||
scheme: http | ||
hostname: localhost | ||
port: 8086 | ||
token: my-token | ||
org: myorg | ||
bucket: mybucket | ||
method: SYNCHRONOUS | ||
timezone: UTC | ||
wipe: false | ||
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 | ||
logging: | ||
log_format: '%(asctime)s.%(msecs)03d - %(levelname)8s : %(message)s' | ||
log_format_date: '%Y-%m-%d %H:%M:%S' | ||
log2file: false | ||
log_level: 20 | ||
debug: false | ||
log_http: false | ||
mqtt: | ||
enable: false | ||
hostname: localhost | ||
port: 1883 | ||
username: '' | ||
password: '' | ||
prefix: myelectricaldata | ||
client_id: myelectricaldata | ||
retain: true | ||
qos: 0 | ||
cert: false | ||
myelectricaldata: | ||
MON_POINT_DE_LIVRAISON: | ||
enable: true | ||
name: MON_POINT_DE_LIVRAISON | ||
token: VOTRE_TOKEN_MYELECTRICALDATA | ||
cache: true | ||
plan: BASE | ||
consumption: true | ||
consumption_detail: true | ||
consumption_max_power: true | ||
consumption_price_hc: 0 | ||
consumption_price_hp: 0 | ||
consumption_price_base: 0 | ||
consumption_max_date: '' | ||
consumption_detail_max_date: '' | ||
production: false | ||
production_detail: false | ||
production_max_date: '' | ||
production_detail_max_date: '' | ||
production_price: 0 | ||
offpeak_hours_0: '' | ||
offpeak_hours_1: '' | ||
offpeak_hours_2: '' | ||
offpeak_hours_3: '' | ||
offpeak_hours_4: '' | ||
offpeak_hours_5: '' | ||
offpeak_hours_6: '' | ||
refresh_addresse: false | ||
refresh_contract: false | ||
opentelemetry: | ||
enable: false | ||
service_name: myelectricaldata | ||
endpoint: http://localhost:4317 | ||
environment: production | ||
extension: | ||
- fastapi | ||
- sqlalchemy | ||
server: # Configuration du serveur web. | ||
cidr: 0.0.0.0 | ||
port: 5000 | ||
certfile: '' | ||
keyfile: '' | ||
cycle: 14400 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.