@@ -26,62 +26,62 @@ Avant de pouvoir utiliser cette intégration, assurez vous :
26
26
## Installer l'intégration
27
27
28
28
<details >
29
- <summary ><b >Via HACS (mise à jour en un clic) : </b ></summary ><br >
29
+ <summary ><b >Via HACS (mise à jour en un clic) : </b ></summary ><br / >
30
30
31
31
- Ouvrez HACS, cliquez sur ` Intégration ` , puis selectionnez le menu 3
32
32
points en haut à droite.
33
33
34
34
\* si vous n'avez pas HACS, pour l'installer cela se passe ici :
35
35
[ HACS : Ajoutez des modules et des cartes personnalisées] ( https://forum.hacf.fr/t/hacs-ajoutez-des-modules-et-des-cartes-personnalisees/359 )
36
36
37
- <br >
37
+ <br / >
38
38
<p align =" center " >
39
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_add_repo_01.png" height =" 300 " />
40
- <br >
39
+ <img src =" . /img/HACS_add_repo_01.png" height =" 300 " />
40
+ <br / >
41
41
</p >
42
42
43
43
- Ajoutez le dépot personnalisé : ` https://github.com/saniho/apiEnedis `
44
44
45
- <br >
45
+ <br / >
46
46
<p align =" center " >
47
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_add_repo_02.png" width =" 600 " />
48
- <br >
47
+ <img src =" . /img/HACS_add_repo_02.png" width =" 600 " />
48
+ <br / >
49
49
</p >
50
50
51
51
- Cliquez sur le bouton ` Installer ` de la carte correspondant à
52
52
l'intégration
53
53
54
- <br >
54
+ <br / >
55
55
<p align =" center " >
56
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_install_integration_01.png" width =" 400 " />
57
- <br >
56
+ <img src =" . /img/HACS_install_integration_01.png" width =" 400 " />
57
+ <br / >
58
58
</p >
59
59
60
60
- Cliquez sur le bouton ` Installer ` de la popup
61
61
62
- <br >
62
+ <br / >
63
63
<p align =" center " >
64
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_install_integration_02.png" width =" 600 " />
65
- <br >
64
+ <img src =" . /img/HACS_install_integration_02.png" width =" 600 " />
65
+ <br / >
66
66
</p >
67
67
68
68
- La carte de l'intégration est maintenant rouge, signifiant qu'un
69
69
redémarrage du serveur Home Assistant est nécessaire
70
70
71
- <br >
71
+ <br / >
72
72
<p align =" center " >
73
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_install_integration_03.png" width =" 400 " />
74
- <br >
73
+ <img src =" . /img/HACS_install_integration_03.png" width =" 400 " />
74
+ <br / >
75
75
</p >
76
76
77
77
- Accédez à la vue ` Contrôle du serveur ` (` Configuration ` ->
78
78
` Contrôle du serveur ` ), puis cliquez sur le bouton ` Redémarrer ` dans la
79
79
zone ` Gestion du serveur `
80
80
81
- <br >
81
+ <br / >
82
82
<p align =" center " >
83
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_install_integration_04.png" width =" 400 " />
84
- <br >
83
+ <img src =" . /img/HACS_install_integration_04.png" width =" 400 " />
84
+ <br / >
85
85
</p >
86
86
87
87
</details >
@@ -108,19 +108,19 @@ Avant de pouvoir utiliser cette intégration, assurez vous :
108
108
- Appuyez sur le bouton bleu ` Ajouter l'intégration ` en bas à droite de la
109
109
vue
110
110
111
- <br >
111
+ <br / >
112
112
<p align =" center " >
113
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_add_integration_01.png" height =" 500 " />
114
- <br >
113
+ <img src =" . /img/HACS_add_integration_01.png" height =" 500 " />
114
+ <br / >
115
115
</p >
116
116
117
117
- Tapez dans le champ de recherche qui vient d'apparaître : ` myenedis ` et
118
118
cliquez sur l'intégration
119
119
120
- <br >
120
+ <br / >
121
121
<p align =" center " >
122
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_add_integration_02.png" height =" 300 " />
123
- <br >
122
+ <img src =" . /img/HACS_add_integration_02.png" height =" 300 " />
123
+ <br / >
124
124
</p >
125
125
126
126
- Renseigner :
@@ -137,10 +137,10 @@ Avant de pouvoir utiliser cette intégration, assurez vous :
137
137
138
138
- Validez la saisie avec le bouton ` Soumettre `
139
139
140
- <br >
140
+ <br / >
141
141
<p align =" center " >
142
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/HACS_add_integration_03.png" width =" 300 " />
143
- <br >
142
+ <img src =" . /img/HACS_add_integration_03.png" width =" 300 " />
143
+ <br / >
144
144
</p >
145
145
146
146
- Fermez la popup de confirmation en cliquant sur le bouton ` Terminer `
@@ -160,12 +160,16 @@ votre navigateur en faisant la combinaison de touche `CTRL+F5` ou
160
160
161
161
L'intégration crée l'entité ` sensor.myenedis_<<votrecode>> `
162
162
163
- <br >
163
+ <br / >
164
164
<p align =" center " >
165
- <img src =" https://raw.githubusercontent.com/saniho/apiEnedis/main /img/sensor_v2.png" />
166
- <br >
165
+ <img src =" . /img/sensor_v2.png" />
166
+ <br / >
167
167
</p >
168
168
169
+ ## "Ca ne marche pas"
170
+
171
+ ### Forum HACF.FR
172
+
169
173
______________________________________________________________________
170
174
171
175
N'hésitez pas à aller faire un tour sur ce forum ou vous trouverez pleins
@@ -175,6 +179,54 @@ https://forum.hacf.fr/t/hacs-ajoutez-des-modules-et-des-cartes-personnalisees/35
175
179
176
180
______________________________________________________________________
177
181
182
+
183
+ ### Activer le débogue
184
+
185
+ <details >
186
+ <summary ><b >Via l'interface, temporairement : </b ></summary ><br />
187
+
188
+ Avec des traces de débogue il est généralement plus facile d'identifier
189
+ la cause d'un problème de fonctionnement.
190
+
191
+ Une manière c'est d'activer les messages de débogue dans le fichier
192
+ ` config/home-assistant.log ` en l'activant depuis l'interface. Pour cela allez
193
+ directement vers [ Outils de Développement > Services] ( https://my.home-assistant.io/redirect/developer_services/ ) .
194
+
195
+ Puis, passer en mode ` YAML ` et copiez-collez le code suivant, puis cliquez
196
+ ` APPELER LE SERVICE ` :
197
+
198
+ ``` yaml
199
+ service : logger.set_level
200
+ data :
201
+ myEnedis : debug
202
+
203
+ ```
204
+
205
+ En image:
206
+
207
+ <p align =" center " ><img src =" ./img/ha_debug.png " width =" 300 " /></p >
208
+
209
+ Le fichier ` config/home-assistant.log ` se remplit alors de pleins de traces
210
+ de débogue lié à ` apiEnedis ` connu comme ` myEnedis ` dans Home Assistant.
211
+
212
+
213
+ Ceci continue jusqu'au redémarrage de Home Assistant ou jusqu'à ce que vous
214
+ exécutez de la même manière que pour l'activation:
215
+
216
+
217
+ ``` yaml
218
+ service : logger.set_level
219
+ data :
220
+ myEnedis : warning
221
+
222
+ ```
223
+ </details >
224
+
225
+
226
+ ## Historique des versions
227
+
228
+ Cette partie n'est pas tenu à jour.
229
+
178
230
<details >
179
231
<summary ><b >VERSION</b ></summary >
180
232
0 commit comments