Mise à jour avec support Enedis/Linky

Les messages de l'équipe eedomus

Re: Mise à jour avec support Enedis/Linky

Messagepar clarinette49 » 21 Sep 2020 08:39

tu peux créer plusieurs plugin puisque les identifiants des compteurs sont différents
clarinette49
 
Messages : 433
Inscription : 21 Mai 2019
Localisation : Angers

Re: Mise à jour avec support Enedis/Linky

Messagepar JuanMarco » 21 Sep 2020 09:12

Merci Clarinette49, je vais donc essayer...
JuanMarco
 
Messages : 21
Inscription : 17 Déc 2018

Re: Mise à jour avec support Enedis/Linky

Messagepar brunold » 27 Sep 2020 22:37

Bonjour,

comment fait-on avec ce script quand on a 2 tranches horaires d'heures creuses ?
J'ai de 01:00 à 07:00 et de 12:30 à 14:30 ?

Merci.
Eedomus +
RFXCOM USB/6 FGRM221/3 FGS211/1 FGS221/3 FGBS001/1 FGMS001/1 FGFS101/1 FGSS001/6 FGSD002/13 FGK-101/1 ZXT120/3 FGWPE-101/12 THGR122NX/Netatmo(temp,pluvio,anémo)/Nabaztag V2
brunold
 
Messages : 126
Inscription : 04 Avr 2014
Localisation : Tours (37)

Re: Mise à jour avec support Enedis/Linky

Messagepar Scolette » 04 Oct 2020 09:37

Bonjour,

J'ai installé le plugin hier mais aucune information remonte sur mon dashboard.
Y-a t'il une manipulation particulière à faire ?
Pièces jointes
2020-10-04_10h33_37.png
2020-10-04_10h33_37.png (880.36 Kio) Consulté 356 fois
2020-10-04_10h31_49.png
2020-10-04_10h31_49.png (48.36 Kio) Consulté 356 fois
Scolette
 
Messages : 57
Inscription : 07 Jan 2018

Re: Mise à jour avec support Enedis/Linky

Messagepar ebcb89 » 04 Oct 2020 10:00

brunold a écrit:Bonjour,

comment fait-on avec ce script quand on a 2 tranches horaires d'heures creuses ?
J'ai de 01:00 à 07:00 et de 12:30 à 14:30 ?

Merci.


Bonjour,

idem.?
ebcb89
 
Messages : 169
Inscription : 20 Déc 2018

Re: Mise à jour avec support Enedis/Linky

Messagepar marvin2k » 05 Oct 2020 18:37

Hello hello,

Je viens d'installer le Pluggin de la Team !! ENEDIS :)
Malheureusement une seule valeur remonte est il s'agit de celle de l'intervalle 48 :twisted:

Voici ce que me renvoie le XML dans le mode tester

Code : Tout sélectionner
<?xml version="1.0" encoding="ISO-8859-1"?>
<root><cached>1</cached><customer><customer_id>-xxxxxx</customer_id>
<usage_points><usage_points><usage_point><usage_point_id>xxxxxxxxx</usage_point_id>
<usage_point_status>com</usage_point_status>
<meter_type>AMM</meter_type>
</usage_point>
<contracts><segment>C5</segment>
<subscribed_power>9 kVA</subscribed_power>
<distribution_tariff>BTINFMUDT</distribution_tariff>
<last_activation_date>2016-12-15+01:00</last_activation_date>
<offpeak_hours>HC (22H34-6H34)</offpeak_hours>
<contract_type>Contrat Protocole501</contract_type>
<contract_status>SERVC</contract_status>
<last_distribution_tariff_change_date>2016-12-15+01:00</last_distribution_tariff_change_date>
</contracts>
</usage_points>
</usage_points>
</customer>
<usage_point><usage_points><meter_reading><usage_point_id>xxxxxxx</usage_point_id>
<start>2020-10-04</start>
<end>2020-10-05</end>
<reading_type><measurement_kind>energy</measurement_kind>
<interval_length>86400</interval_length>
<unit>Wh</unit>
<aggregate>sum</aggregate>
</reading_type>
<interval_reading><usage_points><rank>1</rank>
<value>37418</value>
</usage_points>
</interval_reading>
</meter_reading>
</usage_points>
</usage_point>
<usage_point><usage_points><meter_reading><usage_point_id>xxxxx</usage_point_id>
<start>2020-10-04</start>
<end>2020-10-05</end>
<reading_type><measurement_kind>power</measurement_kind>
<interval_length>1800</interval_length>
<unit>W</unit>
<aggregate>average</aggregate>
</reading_type>
<interval_reading><usage_points><rank>1</rank>
<value>3268</value>
</usage_points>
<usage_points><rank>2</rank>
<value>976</value>
</usage_points>
<usage_points><rank>3</rank>
<value>1160</value>
</usage_points>
<usage_points><rank>4</rank>
<value>3028</value>
</usage_points>
<usage_points><rank>5</rank>
<value>2742</value>
</usage_points>
<usage_points><rank>6</rank>
<value>602</value>
</usage_points>
<usage_points><rank>7</rank>
<value>552</value>
</usage_points>
<usage_points><rank>8</rank>
<value>468</value>
</usage_points>
<usage_points><rank>9</rank>
<value>596</value>
</usage_points>
<usage_points><rank>10</rank>
<value>620</value>
</usage_points>
<usage_points><rank>11</rank>
<value>630</value>
</usage_points>
<usage_points><rank>12</rank>
<value>568</value>
</usage_points>
<usage_points><rank>13</rank>
<value>1944</value>
</usage_points>
<usage_points><rank>14</rank>
<value>568</value>
</usage_points>
<usage_points><rank>15</rank>
<value>1132</value>
</usage_points>
<usage_points><rank>16</rank>
<value>894</value>
</usage_points>
<usage_points><rank>17</rank>
<value>900</value>
</usage_points>
<usage_points><rank>18</rank>
<value>864</value>
</usage_points>
<usage_points><rank>19</rank>
<value>1024</value>
</usage_points>
<usage_points><rank>20</rank>
<value>1146</value>
</usage_points>
<usage_points><rank>21</rank>
<value>1102</value>
</usage_points>
<usage_points><rank>22</rank>
<value>3286</value>
</usage_points>
<usage_points><rank>23</rank>
<value>3622</value>
</usage_points>
<usage_points><rank>24</rank>
<value>3844</value>
</usage_points>
<usage_points><rank>25</rank>
<value>1632</value>
</usage_points>
<usage_points><rank>26</rank>
<value>1648</value>
</usage_points>
<usage_points><rank>27</rank>
<value>1706</value>
</usage_points>
<usage_points><rank>28</rank>
<value>1844</value>
</usage_points>
<usage_points><rank>29</rank>
<value>1950</value>
</usage_points>
<usage_points><rank>30</rank>
<value>1336</value>
</usage_points>
<usage_points><rank>31</rank>
<value>1248</value>
</usage_points>
<usage_points><rank>32</rank>
<value>1246</value>
</usage_points>
<usage_points><rank>33</rank>
<value>1264</value>
</usage_points>
<usage_points><rank>34</rank>
<value>1206</value>
</usage_points>
<usage_points><rank>35</rank>
<value>1490</value>
</usage_points>
<usage_points><rank>36</rank>
<value>1560</value>
</usage_points>
<usage_points><rank>37</rank>
<value>1562</value>
</usage_points>
<usage_points><rank>38</rank>
<value>1564</value>
</usage_points>
<usage_points><rank>39</rank>
<value>1416</value>
</usage_points>
<usage_points><rank>40</rank>
<value>1732</value>
</usage_points>
<usage_points><rank>41</rank>
<value>1502</value>
</usage_points>
<usage_points><rank>42</rank>
<value>1436</value>
</usage_points>
<usage_points><rank>43</rank>
<value>1522</value>
</usage_points>
<usage_points><rank>44</rank>
<value>1134</value>
</usage_points>
<usage_points><rank>45</rank>
<value>918</value>
</usage_points>
<usage_points><rank>46</rank>
<value>2566</value>
</usage_points>
<usage_points><rank>47</rank>
<value>2862</value>
</usage_points>
<usage_points><rank>48</rank>
<value>2956</value>
</usage_points>
</interval_reading>
</meter_reading>
</usage_points>
</usage_point>
<debug>
daily_consumption_controller_module_id=,
daily_consumption_count=0,
consumption_load_curve_controller_module_id=,
consumption_date=2020-10-04,
consumption_load_count=0
</debug>
</root>



La valeur remontée est celle DU RANK 48 soit 2956


Une idée ???
marvin2k
 
Messages : 2
Inscription : 21 Mars 2020

Re: Mise à jour avec support Enedis/Linky

Messagepar brunold » 11 Oct 2020 23:00

Scolette a écrit:Bonjour,

J'ai installé le plugin hier mais aucune information remonte sur mon dashboard.
Y-a t'il une manipulation particulière à faire ?

Je suis dans le même cas que toi, aucune info ne remonte sur Eedomus !!
Eedomus +
RFXCOM USB/6 FGRM221/3 FGS211/1 FGS221/3 FGBS001/1 FGMS001/1 FGFS101/1 FGSS001/6 FGSD002/13 FGK-101/1 ZXT120/3 FGWPE-101/12 THGR122NX/Netatmo(temp,pluvio,anémo)/Nabaztag V2
brunold
 
Messages : 126
Inscription : 04 Avr 2014
Localisation : Tours (37)

Re: Mise à jour avec support Enedis/Linky

Messagepar opa95 » 12 Oct 2020 15:38

marvin2k a écrit:Hello hello,

Je viens d'installer le Pluggin de la Team !! ENEDIS :)
Malheureusement une seule valeur remonte est il s'agit de celle de l'intervalle 48 :twisted:

Voici ce que me renvoie le XML dans le mode tester

Code : Tout sélectionner
<?xml version="1.0" encoding="ISO-8859-1"?>
<root><cached>1</cached><customer><customer_id>-xxxxxx</customer_id>
<usage_points><usage_points><usage_point><usage_point_id>xxxxxxxxx</usage_point_id>
<usage_point_status>com</usage_point_status>
<meter_type>AMM</meter_type>
</usage_point>
<contracts><segment>C5</segment>
<subscribed_power>9 kVA</subscribed_power>
<distribution_tariff>BTINFMUDT</distribution_tariff>
<last_activation_date>2016-12-15+01:00</last_activation_date>
<offpeak_hours>HC (22H34-6H34)</offpeak_hours>
<contract_type>Contrat Protocole501</contract_type>
<contract_status>SERVC</contract_status>
<last_distribution_tariff_change_date>2016-12-15+01:00</last_distribution_tariff_change_date>
</contracts>
</usage_points>
</usage_points>
</customer>
<usage_point><usage_points><meter_reading><usage_point_id>xxxxxxx</usage_point_id>
<start>2020-10-04</start>
<end>2020-10-05</end>
<reading_type><measurement_kind>energy</measurement_kind>
<interval_length>86400</interval_length>
<unit>Wh</unit>
<aggregate>sum</aggregate>
</reading_type>
<interval_reading><usage_points><rank>1</rank>
<value>37418</value>
</usage_points>
</interval_reading>
</meter_reading>
</usage_points>
</usage_point>
<usage_point><usage_points><meter_reading><usage_point_id>xxxxx</usage_point_id>
<start>2020-10-04</start>
<end>2020-10-05</end>
<reading_type><measurement_kind>power</measurement_kind>
<interval_length>1800</interval_length>
<unit>W</unit>
<aggregate>average</aggregate>
</reading_type>
<interval_reading><usage_points><rank>1</rank>
<value>3268</value>
</usage_points>
<usage_points><rank>2</rank>
<value>976</value>
</usage_points>
<usage_points><rank>3</rank>
<value>1160</value>
</usage_points>
<usage_points><rank>4</rank>
<value>3028</value>
</usage_points>
<usage_points><rank>5</rank>
<value>2742</value>
</usage_points>
<usage_points><rank>6</rank>
<value>602</value>
</usage_points>
<usage_points><rank>7</rank>
<value>552</value>
</usage_points>
<usage_points><rank>8</rank>
<value>468</value>
</usage_points>
<usage_points><rank>9</rank>
<value>596</value>
</usage_points>
<usage_points><rank>10</rank>
<value>620</value>
</usage_points>
<usage_points><rank>11</rank>
<value>630</value>
</usage_points>
<usage_points><rank>12</rank>
<value>568</value>
</usage_points>
<usage_points><rank>13</rank>
<value>1944</value>
</usage_points>
<usage_points><rank>14</rank>
<value>568</value>
</usage_points>
<usage_points><rank>15</rank>
<value>1132</value>
</usage_points>
<usage_points><rank>16</rank>
<value>894</value>
</usage_points>
<usage_points><rank>17</rank>
<value>900</value>
</usage_points>
<usage_points><rank>18</rank>
<value>864</value>
</usage_points>
<usage_points><rank>19</rank>
<value>1024</value>
</usage_points>
<usage_points><rank>20</rank>
<value>1146</value>
</usage_points>
<usage_points><rank>21</rank>
<value>1102</value>
</usage_points>
<usage_points><rank>22</rank>
<value>3286</value>
</usage_points>
<usage_points><rank>23</rank>
<value>3622</value>
</usage_points>
<usage_points><rank>24</rank>
<value>3844</value>
</usage_points>
<usage_points><rank>25</rank>
<value>1632</value>
</usage_points>
<usage_points><rank>26</rank>
<value>1648</value>
</usage_points>
<usage_points><rank>27</rank>
<value>1706</value>
</usage_points>
<usage_points><rank>28</rank>
<value>1844</value>
</usage_points>
<usage_points><rank>29</rank>
<value>1950</value>
</usage_points>
<usage_points><rank>30</rank>
<value>1336</value>
</usage_points>
<usage_points><rank>31</rank>
<value>1248</value>
</usage_points>
<usage_points><rank>32</rank>
<value>1246</value>
</usage_points>
<usage_points><rank>33</rank>
<value>1264</value>
</usage_points>
<usage_points><rank>34</rank>
<value>1206</value>
</usage_points>
<usage_points><rank>35</rank>
<value>1490</value>
</usage_points>
<usage_points><rank>36</rank>
<value>1560</value>
</usage_points>
<usage_points><rank>37</rank>
<value>1562</value>
</usage_points>
<usage_points><rank>38</rank>
<value>1564</value>
</usage_points>
<usage_points><rank>39</rank>
<value>1416</value>
</usage_points>
<usage_points><rank>40</rank>
<value>1732</value>
</usage_points>
<usage_points><rank>41</rank>
<value>1502</value>
</usage_points>
<usage_points><rank>42</rank>
<value>1436</value>
</usage_points>
<usage_points><rank>43</rank>
<value>1522</value>
</usage_points>
<usage_points><rank>44</rank>
<value>1134</value>
</usage_points>
<usage_points><rank>45</rank>
<value>918</value>
</usage_points>
<usage_points><rank>46</rank>
<value>2566</value>
</usage_points>
<usage_points><rank>47</rank>
<value>2862</value>
</usage_points>
<usage_points><rank>48</rank>
<value>2956</value>
</usage_points>
</interval_reading>
</meter_reading>
</usage_points>
</usage_point>
<debug>
daily_consumption_controller_module_id=,
daily_consumption_count=0,
consumption_load_curve_controller_module_id=,
consumption_date=2020-10-04,
consumption_load_count=0
</debug>
</root>



La valeur remontée est celle DU RANK 48 soit 2956


Une idée ???


Je ne sais pas ce qu'il y a dans le XPATH, mais pour avoir la somme des consommation, je ne suis pas un spécialiste de XPath, mais tu peux mettre
//usage_points[position()=1/value
ou simplement
//value
Pour les puissances moyennes sur la demi-heure x (x=2 à x=48), mettre
//usage_points[position()=x/value
pour avoir la puissance de la première demi-heure, il doit y avoir une méthode plus astucieuse, mais on y arrive en mettant
sum(//usage_points[position()=1]/value)-value
eedomus+, Zibase V1, RFP1000, RFXcom, RadioDriver CPL 630 X2D, capteurs puissance OWL, thermometres Oregon, téléinfo (USB Linky), detecteurs ouverture X2D, pilotage chauffage X2D, Imperihome
opa95
 
Messages : 159
Inscription : 04 Fév 2019
Localisation : Val d'Oise

Re: Mise à jour avec support Enedis/Linky

Messagepar Alphonse Magova » 12 Oct 2020 21:46

brunold a écrit:Bonjour,

comment fait-on avec ce script quand on a 2 tranches horaires d'heures creuses ?
J'ai de 01:00 à 07:00 et de 12:30 à 14:30 ?

Merci.


Même question pour moi. ;)
EEDOMUS+
Alphonse Magova
 
Messages : 315
Inscription : 13 Déc 2014

Re: Mise à jour avec support Enedis/Linky

Messagepar opa95 » 13 Oct 2020 10:12

Bonjour
Pour avoir les heures creuses, on peut utiliser le XPath en mettant
sum(//usage_points[position()<15]/value)-sum(//usage_points[position()<3]/value)+sum(//usage_points[position()<30]/value)-sum(//usage_points[position()<26]/value)
Le 15 correspond à la fin de la première plage (2*h+1=2*7+1=15)
Le 3 correspond au début de la première plage (2*h+1=2*1+1=3)
Le 30 correspond à la fin de la seconde plage (2*h+1=2*14.5+1=30)
Le 26 correspond au début de la seconde plage (2*h+1=2*12.5+1=26)
Pour avoir les heures pleines,
(//value)-(sum(//usage_points[position()<15]/value)-sum(//usage_points[position()<3]/value)+sum(//usage_points[position()<30]/value)-sum(//usage_points[position()<26]/value))
ou bien modifier le script pour prévoir 1 ou 2 plages; c'est plus joli, je n'ai pas regardé mais ça ne doit pas être mortel
eedomus+, Zibase V1, RFP1000, RFXcom, RadioDriver CPL 630 X2D, capteurs puissance OWL, thermometres Oregon, téléinfo (USB Linky), detecteurs ouverture X2D, pilotage chauffage X2D, Imperihome
opa95
 
Messages : 159
Inscription : 04 Fév 2019
Localisation : Val d'Oise

Précédent

Retour vers Nouveautés & Annonces

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité