articles:domotique:suivi_de_la_teleinformation_erdf_avec_arduino
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
articles:domotique:suivi_de_la_teleinformation_erdf_avec_arduino [10/08/2019 23:02] – [Software] antoineve | articles:domotique:suivi_de_la_teleinformation_erdf_avec_arduino [10/08/2019 23:22] (Version actuelle) – [Liens] antoineve | ||
---|---|---|---|
Ligne 220: | Ligne 220: | ||
</ | </ | ||
- | Il est bien sûr tout à fait possible de faire la même chose avec une sortie [[wpfr> | + | Il est bien sûr tout à fait possible de faire la même chose avec une sortie [[wpfr>JavaScript_Object_Notation|json]]. |
===== Plugin munin ===== | ===== Plugin munin ===== | ||
+ | [[wpfr> | ||
+ | |||
+ | <file python teleinfo.py> | ||
+ | # | ||
+ | from lxml import etree | ||
+ | import sys | ||
+ | |||
+ | ARDUINO_URL = ' | ||
+ | |||
+ | if " | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | print(" | ||
+ | else: | ||
+ | root = etree.parse(' | ||
+ | infos = root.xpath('/ | ||
+ | HP = infos[0].find(' | ||
+ | HC = infos[0].find(' | ||
+ | print(" | ||
+ | print(" | ||
+ | </ | ||
+ | |||
+ | {{ : | ||
===== Exemples d’applications ===== | ===== Exemples d’applications ===== | ||
+ | |||
+ | * Déclencher certains appareils uniquement lors des heures creuses, les jours « EJP », les jours « bleus » ; | ||
+ | * Afficher en direct la consommation, | ||
+ | * Créer un système de délestage, afin d’éviter une coupure en cas de surconsommation. | ||
+ | * ... | ||
===== Liens ===== | ===== Liens ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ |
articles/domotique/suivi_de_la_teleinformation_erdf_avec_arduino.1565478166.txt · Dernière modification : 10/08/2019 23:02 de antoineve