Skip to content

Commit 82c65b4

Browse files
authored
Merge pull request #16 from AuFilElec/jeedomKey
Jeedom key
2 parents 9a08edd + 2bad379 commit 82c65b4

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ A faire
279279

280280
Historiques des Modifications
281281
-----------------------------
282-
01/10/2016 : Ajout de la (dés)activation du délestage. Ajout de la gestion automatisée du mode du relais.
283-
284282
16/02/2015 : Ajout délestage cascadocyclique / Possibilité de ne récupérer l'état que d'un seul fil pilote
285283

286284
14/04/2015 : Ajout d'une variable spark pour la teleinfo. Passage en un seul appel pour script jeedom. Les variables d'origine restent utilisables.
@@ -291,6 +289,10 @@ Historiques des Modifications
291289

292290
04/01/2016 : Integration Interface WEB
293291

292+
01/10/2016 : Ajout de la (dés)activation du délestage. Ajout de la gestion automatisée du mode du relais.
293+
294+
07/01/2017 : Modification de la taille de la clé API pour Jeedom (32 => 48)
295+
294296
Exemple
295297
-------
296298

config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#define CFG_EMON_DEFAULT_URL "/input/post.json"
3838

3939
#define CFG_JDOM_HOST_SIZE 32
40-
#define CFG_JDOM_APIKEY_SIZE 32
40+
#define CFG_JDOM_APIKEY_SIZE 48
4141
#define CFG_JDOM_URL_SIZE 64
4242
#define CFG_JDOM_ADCO_SIZE 12
4343
#define CFG_JDOM_DEFAULT_PORT 80
@@ -99,7 +99,7 @@ typedef struct
9999
} _emoncms;
100100

101101
// Config for jeedom
102-
// 160 Bytes
102+
// 256 Bytes
103103
typedef struct
104104
{
105105
char host[CFG_JDOM_HOST_SIZE+1]; // FQDN
@@ -108,7 +108,7 @@ typedef struct
108108
char adco[CFG_JDOM_ADCO_SIZE+1]; // Identifiant compteur
109109
uint16_t port; // Protocol port (HTTP/HTTPS)
110110
uint32_t freq; // refresh rate
111-
uint8_t filler[10]; // in case adding data in config avoiding loosing current conf by bad crc*/
111+
uint8_t filler[90]; // in case adding data in config avoiding loosing current conf by bad crc*/
112112
} _jeedom;
113113

114114
// Config saved into eeprom
@@ -125,7 +125,7 @@ typedef struct
125125
uint8_t filler[131]; // in case adding data in config avoiding loosing current conf by bad crc
126126
_emoncms emoncms; // Emoncms configuration
127127
_jeedom jeedom; // jeedom configuration
128-
uint8_t filler1[352]; // Another filler in case we need more
128+
uint8_t filler1[256]; // Another filler in case we need more
129129
uint16_t crc;
130130
} _Config;
131131

data/index.htm.gz

4 Bytes
Binary file not shown.

display.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void displayTeleinfo(void)
101101
} else if (fnctRelais == FNCT_RELAIS_FORCE) {
102102
dFnctRelais = 'F';
103103
}
104-
display.printf("%s %c%c", etatFP, dFnctRelais, etatrelais+'0' );
104+
display.printf("%s %c%c", etatFP, dFnctRelais, etatrelais+'0' );
105105

106106
// Bargraphe de puissance
107107
display.drawVerticalBargraph(114,0,12,40,1, percent);

remora.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#define MOD_ADPS /* Délestage */
3434

3535
// Version logicielle remora
36-
#define REMORA_VERSION "1.3.2"
36+
#define REMORA_VERSION "1.3.3"
3737

3838
// Définir ici votre authentification blynk, cela
3939
// Activera automatiquement blynk http://blynk.cc

webdev/index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ <h3 class="panel-title clickable" data-toggle="collapse" data-parent="#pan_jdom"
322322
<div class="form-group">
323323
<label class="col-sm-3 control-label">Clé API</label>
324324
<div class="col-sm-9">
325-
<input type="text" class="form-control" id="jdom_apikey" name="jdom_apikey" maxlength="32" placeholder="API Key">
325+
<input type="text" class="form-control" id="jdom_apikey" name="jdom_apikey" maxlength="48" placeholder="API Key">
326326
</div>
327327
</div>
328328
<div class="form-group">

0 commit comments

Comments
 (0)