]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Make maison bbc website static
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 11 Jun 2020 05:41:15 +0000 (07:41 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 11 Jun 2020 05:48:51 +0000 (07:48 +0200)
modules/private/monitoring/default.nix
modules/private/monitoring/objects_common.nix
modules/private/monitoring/objects_monitoring-1.nix
modules/private/monitoring/plugins/check_maison_bbc [deleted file]
modules/private/monitoring/plugins/notify_maison_bbc_by_email [deleted file]
modules/private/websites/papa/maison_bbc.nix
modules/private/websites/papa/maison_bbc_static/data.json [new file with mode: 0644]
modules/private/websites/papa/maison_bbc_static/favicon.ico [new file with mode: 0644]
modules/private/websites/papa/maison_bbc_static/index.html [new file with mode: 0644]
modules/private/websites/papa/maison_bbc_static/lamaison.png [new file with mode: 0644]

index 0586567ec326034bb11d61f5f61d5e05c092780e..349ba8a291b4599df6b75946a3f391562f4f8c43 100644 (file)
@@ -26,9 +26,6 @@ let
     wrapProgram $out/send_nrdp.sh --prefix PATH : ${lib.makeBinPath [
       pkgs.curl pkgs.jq
     ]}
-    wrapProgram $out/check_maison_bbc --prefix PATH : ${lib.makeBinPath [
-      pkgs.curl pkgs.jq
-    ]}
     wrapProgram $out/check_mem.sh --prefix PATH : ${lib.makeBinPath [
       pkgs.gnugrep pkgs.gawk pkgs.procps-ng
     ]}
@@ -61,9 +58,6 @@ let
     wrapProgram $out/check_eriomem --prefix PATH : ${lib.makeBinPath [
       pkgs.s3cmd pkgs.python3
     ]}
-    wrapProgram $out/notify_maison_bbc_by_email --prefix PATH : ${lib.makeBinPath [
-      pkgs.mailutils pkgs.gawk
-    ]}
     wrapProgram $out/notify_by_email --prefix PATH : ${lib.makeBinPath [
       pkgs.mailutils
     ]}
index e21f9d01aa63950ddf5c934107b0f414b02b5fc8..e9b1b51e2c83bac9d5440f2939ff12c4d0d998c3 100644 (file)
@@ -113,7 +113,6 @@ in
     check_command_status = "$USER2$/check_command -c \"$ARG1$\" -s \"$ARG2$\" $ARG3$";
     check_ntp = "$USER1$/check_ntp_time -t 30 -q -H 0.arch.pool.ntp.org";
     check_mailq = "$USER1$/check_mailq -s -w 1 -c 2";
-    check_maison_bbc = "$USER2$/check_maison_bbc";
     check_mysql_replication = "${sudo} -u mysql $USER2$/check_mysql_replication \"$ARG1$\" \"$ARG2$\"";
     check_postgresql_replication = "${sudo} -u postgres $USER2$/check_postgres_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\"";
     check_openldap_replication = "${sudo} -u openldap $USER2$/check_openldap_replication \"$ARG1$\" \"$ARG2$\" \"$ARG3$\" \"$ARG4$\" \"$ARG5$\"";
@@ -132,7 +131,6 @@ in
     notify-host-by-email = "ADMINEMAIL=\"$ADMINEMAIL$\" SERVICENOTIFICATIONID=\"$SERVICENOTIFICATIONID$\" HOSTSTATE=\"$HOSTSTATE$\" HOSTOUTPUT=\"$HOSTOUTPUT$\" $USER2$/notify_by_email host \"$NOTIFICATIONTYPE$\" \"$HOSTALIAS$\" \"$LONGDATETIME$\" \"$CONTACTEMAIL$\" $OVE";
     # $OVE is to force naemon to run via shell instead of execve which fails here
     notify-service-by-email = "ADMINEMAIL=\"$ADMINEMAIL$\" SERVICENOTIFICATIONID=\"$SERVICENOTIFICATIONID$\" SERVICEDESC=\"$SERVICEDESC$\" SERVICESTATE=\"$SERVICESTATE$\" SERVICEOUTPUT=\"$SERVICEOUTPUT$\" $USER2$/notify_by_email service \"$NOTIFICATIONTYPE$\" \"$HOSTALIAS$\" \"$LONGDATETIME$\" \"$CONTACTEMAIL$\" $OVE";
-    notify-maison-bbc-by-email = "ADMINEMAIL=\"$ADMINEMAIL$\" SERVICENOTIFICATIONID=\"$SERVICENOTIFICATIONID$\" SERVICEDESC=\"$SERVICEDESC$\" SERVICESTATE=\"$SERVICESTATE$\" SERVICEOUTPUT=\"$SERVICEOUTPUT$\" $USER2$/notify_maison_bbc_by_email service \"$NOTIFICATIONTYPE$\" \"$HOSTALIAS$\" \"$LONGDATETIME$\" \"$CONTACTEMAIL$\" $OVE";
     notify-by-slack = "HOST=\"$HOSTALIAS$\" SERVICESTATE=\"$SERVICESTATE$\" SERVICEDESC=\"$SERVICEDESC$\" SERVICEOUTPUT=\"$SERVICEOUTPUT$\" $USER2$/notify_by_slack \"$ARG1$\" \"$ARG2$\"";
 
     notify-master = "$USER2$/send_nrdp.sh -u \"$USER200$\" -t \"$USER201$\" -H \"$HOSTADDRESS$\" -s \"$SERVICEDESC$\" -S \"$SERVICESTATEID$\" -o \"$SERVICEOUTPUT$\"";
index 46916f41edd28930adcfb975c2ec7ab656bb1355..ec6fdce88d7e92d73ff896d484622090c17ecb3b 100644 (file)
       _webstatus_url = "https://www.sandetludo.com/";
     }
 
-    {
-      service_description = "Maison bbc accepts add requests on http";
-      host_name = "eldiron.immae.eu";
-      use = "external-web-service";
-      check_command = [ "check_http" "maison.bbc.bouya.org" "/add.php" "^$"];
-    }
-
-    {
-      service_description = "Maison bbc has up to date data";
-      host_name = "eldiron.immae.eu";
-      use = "generic-service";
-      contact_groups = "maison-bbc";
-      notification_interval = "1440";
-      check_command = "check_maison_bbc";
-      flap_detection_enabled = "0";
-      max_check_attempts = "1";
-    }
-
     # SSL
     {
       service_description = "ldap SSL is up to date";
       use = "generic-contact";
       contactgroups = "telio-tortay";
     };
-    papa = config.myEnv.monitoring.contacts.papa // {
-      use = "generic-contact";
-      contactgroups = "maison-bbc";
-      service_notification_commands = "notify-maison-bbc-by-email";
-    };
   };
   contactgroup = {
-    maison-bbc = { alias = "Maison BBC"; };
     telio-tortay = { alias = "Telio Tortay"; members = "immae"; };
   };
 }
diff --git a/modules/private/monitoring/plugins/check_maison_bbc b/modules/private/monitoring/plugins/check_maison_bbc
deleted file mode 100755 (executable)
index 4a2f799..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env bash
-
-# kw, kwh, th_hr Bureau, th_hr Chambre_RDC, th_hr Exterieure, th_hr
-# Garage, th_hr Mezzanine, th_hr Sejour, th_hr Soufflage
-
-alert=$(date +"%F %H:%M:%S" -d "3 hours ago")
-res=$(curl https://maison.bbc.bouya.org/stats.php)
-
-ignored_text="Exterieure Soufflage Mezzanine"
-
-ignored_bat="^(Temp_Nord|Exterieure|Soufflage|Mezzanine)$"
-ignored="^(th_hr Exterieure|th_hr Soufflage|th_hr Mezzanine)$"
-
-missing() {
-  echo "to_entries|[.[]|select(.value < \"$alert\" and .key != \"bat\" $1)|.key + \": \" + .value]|join(\" ; \")"
-}
-
-missing_check=$(echo "$res" | jq -r "$(missing "and (.key | test(\"$ignored\") | not)")")
-missing_show=$(echo "$res" | jq -r "$(missing "")")
-
-battery() {
-  echo ".bat|to_entries|[.[]|select((.value[0] < \"$alert\" or (.value[1] | test(\"^0|1|2$\") | not)) $1)|.key + \": \" + .value[0] + \" bat \" + .value[1]]|join(\" ; \")"
-}
-
-bat_check=$(echo "$res" | jq -r "$(battery "and (.key | test(\"$ignored_bat\") | not)")")
-bat_show=$(echo "$res" | jq -r "$(battery "")")
-
-if [ -n "$missing_check" -o -n "$bat_check" ]; then
-  text=""
-  if [ -n "$missing_show" ]; then
-    text="$text - Dernières dates: $missing_show"
-  fi
-  if [ -n "$bat_show" ]; then
-    text="$text - Batteries: $bat_show"
-  fi
-  echo "Zibase CRITICAL$text"
-  exit 2
-else
-  echo "Zibase OK - Derniers événements il y a moins de 3h (ignorés : $ignored_text)"
-  exit 0
-fi
diff --git a/modules/private/monitoring/plugins/notify_maison_bbc_by_email b/modules/private/monitoring/plugins/notify_maison_bbc_by_email
deleted file mode 100755 (executable)
index 84958b8..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env bash
-
-# $1 = service/host
-
-# $2 = type (PROBLEM RECOVERY ACKNOWLEDGEMENT FLAPPINGSTART FLAPPINGSTOP FLAPPINGDISABLED DOWNTIMESTART DOWNTIMESTOP DOWNTIMECANCELLED)
-# http://www.naemon.org/documentation/usersguide/macrolist.html#notificationtype
-
-# $3 = host alias
-
-# $4 = date (YYYY-MM-DDTHH:MM:SS)
-
-# $5 = E-mail
-
-NOTIFICATION_TYPE="$2"
-DATE="$4"
-CONTACT="$5"
-
-output=$(echo "$SERVICEOUTPUT" | awk '{gsub(" - ", "\n\n", $0); gsub (" (;|:) ", "\n  ", $0); gsub(" dates: ", " dates:\n  ", $0); gsub("Batteries: ", "Batteries:\n  ", $0); print $0}')
-if [ "$NOTIFICATION_TYPE" = "RECOVERY" ]; then
-  subject="Fin d'alerte Maison BBC Zibase"
-  message=$(printf "%b" "Alerte terminée le $DATE.\nInformations:\n$output")
-else
-  subject="Alerte Maison BBC Zibase"
-  message=$(printf "%b" "Alerte lancée le $DATE.\nInformations:\n$output")
-fi
-
-echo "$message" | MAILRC=/dev/null mail -r "$ADMINEMAIL" -n -s "$subject" "$CONTACT"
index aa6d86669578208dafa55e859fe053381dd3cd53..528c83209bb94df0df82729bb1f086202fceb792 100644 (file)
@@ -1,73 +1,26 @@
-{ lib, pkgs, config, ... }:
+{ lib, config, ... }:
 let
   cfg = config.myServices.websites.papa.maison_bbc;
-  varDir = "/var/lib/ftp/papa/site";
-  apacheUser = config.services.httpd.Prod.user;
-  apacheGroup = config.services.httpd.Prod.group;
+  webappdirs = config.services.websites.webappDirsPaths;
 in {
   options.myServices.websites.papa.maison_bbc.enable = lib.mkEnableOption "enable Papa Maison bbc website";
 
   config = lib.mkIf cfg.enable {
-    services.duplyBackup.profiles.papa_maison_bbc.rootDir = varDir;
     services.webstats.sites = [ { name = "maison.bbc.bouya.org"; } ];
-    services.phpfpm.pools.papa_maison_bbc = {
-      user = apacheUser;
-      group = apacheGroup;
-      settings = {
-        "listen.owner" = apacheUser;
-        "listen.group" = apacheGroup;
 
-        "pm" = "ondemand";
-        "pm.max_children" = "5";
-        "pm.process_idle_timeout" = "60";
-
-        "php_admin_value[open_basedir]" = varDir;
-      };
-      phpOptions = config.services.phpfpm.phpOptions + ''
-        date.timezone = 'Europe/Paris'
-      '';
-      phpPackage = pkgs.php72;
-    };
-
-    services.websites.env.production.modules = [ "proxy_fcgi" ];
-    services.websites.env.production.vhostNoSSLConfs.papa_maison_bbc = {
-      hosts        = [ "maison.bbc.bouya.org" ];
-      root         = varDir;
-      extraConfig  = [
-        ''
-        Alias /.well-known/acme-challenge ${config.myServices.certificates.webroot}/.well-known/acme-challenge
-        RedirectMatch 301 ^/((?!(\.well-known|add.php).*$).*)$ https://maison.bbc.bouya.org/$1
-        <Directory ${varDir}>
-          DirectoryIndex index.php index.htm index.html
-          AllowOverride None
-          Require all granted
-          <FilesMatch "\.php$">
-            SetHandler "proxy:unix:${config.services.phpfpm.pools.papa_maison_bbc.socket}|fcgi://localhost"
-          </FilesMatch>
-        </Directory>
-        <Directory "${config.myServices.certificates.webroot}">
-          Options Indexes FollowSymLinks
-          AllowOverride None
-          Require all granted
-        </Directory>
-          ''
-      ];
-    };
+    services.websites.webappDirs.papa_maison_bbc = ./maison_bbc_static;
     services.websites.env.production.vhostConfs.papa_maison_bbc = {
       certName     = "papa";
       addToCerts   = true;
       hosts        = [ "maison.bbc.bouya.org" ];
-      root         = varDir;
-      forceSSL     = false;
+      root         = webappdirs.papa_maison_bbc;
       extraConfig  = [
         ''
-        <Directory ${varDir}>
-          DirectoryIndex index.php index.htm index.html
+        ErrorDocument 404 /index.html
+        <Directory ${webappdirs.papa_maison_bbc}>
+          DirectoryIndex index.htm index.html
           AllowOverride None
           Require all granted
-          <FilesMatch "\.php$">
-            SetHandler "proxy:unix:${config.services.phpfpm.pools.papa_maison_bbc.socket}|fcgi://localhost"
-          </FilesMatch>
         </Directory>
           ''
       ];
diff --git a/modules/private/websites/papa/maison_bbc_static/data.json b/modules/private/websites/papa/maison_bbc_static/data.json
new file mode 100644 (file)
index 0000000..1784d27
--- /dev/null
@@ -0,0 +1,4101 @@
+{
+  "mean_consumption": {
+    "data": [
+      {
+        "x": "2010-01-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 0.3
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 0.3
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 0.7
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 8.1
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 8.8
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 8.2
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 7.2
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 1.2
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 0.8
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 0.4
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 0.6
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2020-04-01 00:00:00",
+        "y": 0.5
+      },
+      {
+        "x": "2020-05-01 00:00:00",
+        "y": 0.5
+      }
+    ],
+    "name": "Consommation moyenne",
+    "unit": "kW",
+    "hide": false
+  },
+  "total_consumption": {
+    "data": [
+      {
+        "x": "2010-01-01 00:00:00",
+        "y": 74.8
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 629
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 859.3
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 1150.7
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 1440.1
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 1829.6
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 2218.6
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 468.7
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 2924.1
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": -3217.1
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": -2847.2
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 224.6
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 536.5
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 882
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 1207.7
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 1565.4
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 1924.1
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 2323.5
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 2754.8
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 3176.7
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 3530.1
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 3975
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 4364.8
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 1485.8
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 9.3
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 6
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 10
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 10.9
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 13.1
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 1.6
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 2.1
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 2.8
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 2.2
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 2.8
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 0
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 2.1
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 43.2
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 78.6
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 118.2
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 155.2
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 203.1
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 213.7
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 4567.8
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 46.2
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 404.3
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 711.3
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 1098.7
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 1365.4
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 1705.3
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 2041.5
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 2400.8
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 2816.8
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 3236.5
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 3610
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 4047.8
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 4447.2
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 4704.1
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 260.9
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 502.7
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 896.9
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 1268.4
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 1625.5
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 1944.8
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 2256.8
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 2714.7
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 314.9
+      },
+      {
+        "x": "2020-04-01 00:00:00",
+        "y": 679.7
+      },
+      {
+        "x": "2020-05-01 00:00:00",
+        "y": 1084.7
+      }
+    ],
+    "name": "Consommation totale",
+    "unit": "kWh",
+    "hide": false
+  },
+  "Chambre_RDC_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 25.1
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 18
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 20.1
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 15.6
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 18.1
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 25.1
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 21.4
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 20.4
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 20.5
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 19.8
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 21.9
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 25
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 22.4
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 18.2
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 19.6
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 21.4
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 20.4
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 24.2
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 24.5
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 23.6
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 19.5
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 19.8
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 20.4
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 19.8
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 19.5
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 22.9
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 24
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 21.1
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 23.4
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 22.9
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 19.7
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 20.2
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 21.1
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 23.8
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 23.6
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 22
+      }
+    ],
+    "name": "Chambre_RDC",
+    "unit": "°C",
+    "hide": false
+  },
+  "Exterieure_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 18.6
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 20.2
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 24.7
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 23.2
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 13.3
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 6.1
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 3.3
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 1.9
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 6.6
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 10.2
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 11.2
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 16.9
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 28.9
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 16.9
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 5.9
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 4.5
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 6.9
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 6.8
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 8.3
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 11.6
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 12
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 17.3
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 13.5
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 9.9
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 4.5
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 4.4
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 4.4
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 7.7
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 12.4
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 14.1
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 18.8
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 14.3
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 10.4
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 9.3
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 7.7
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 6
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 5.6
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 6.6
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 9.6
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 14.5
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 17.9
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 20.4
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 14.2
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 9.7
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 16.8
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 21.4
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 15.8
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 14.2
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 7.5
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 4.2
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 10.2
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 17.6
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 16.1
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 22.4
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 30
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 19.8
+      }
+    ],
+    "name": "Exterieure",
+    "unit": "°C",
+    "hide": false
+  },
+  "Sejour_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 23
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 25.3
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 20.1
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 15.8
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 20.5
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 20.8
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 25
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 22.9
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 21.2
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 25.6
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 18
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 19.6
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 21.8
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 20.5
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 21.6
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 23.1
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 21.4
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 21.1
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 20.1
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 20.1
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 20.2
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 19.7
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 21.6
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 23.2
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 24.7
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 24.5
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 21
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 24
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 24.3
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 21.6
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 23.8
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 23.8
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 24.6
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 23.5
+      }
+    ],
+    "name": "Sejour",
+    "unit": "°C",
+    "hide": false
+  },
+  "Garage_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 20.2
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 19.4
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 17
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 13.8
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 9.2
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 7.6
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 5.3
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 3.4
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 7.3
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 10.7
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 12.4
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 17.2
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 23
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 20.2
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 17.1
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 14.5
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 8.2
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 5.9
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 7.9
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 7.6
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 9
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 12.6
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 14.2
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 14.6
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 11.2
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 6.7
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 6.3
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 5.1
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 8.6
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 13.3
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 14.2
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 23.2
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 21.8
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 16.3
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 12.5
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 10.8
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 7.5
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 55.6
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 8
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 11.4
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 15.2
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 18.5
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 18.8
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 15.2
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 11.5
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 16.7
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 21.1
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 16.4
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 14.2
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 9
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 7
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 9.3
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 4
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 9.4
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 12.9
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 13.9
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 14.1
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 16.4
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 24
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 24.2
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2020-05-01 00:00:00",
+        "y": 21
+      }
+    ],
+    "name": "Garage",
+    "unit": "°C",
+    "hide": true
+  },
+  "Soufflage_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 24.1
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 18.1
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 14.6
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 16.5
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 16.7
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 13.4
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 18.2
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 19.8
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 20.4
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 24.9
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 20.2
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 17
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 17.8
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 18.3
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 17.8
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 19.1
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 24.1
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 6.6
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 6.4
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 4.8
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 9.9
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 15.3
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 15.8
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 20.1
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 21.8
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 21.9
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 17.1
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 13.2
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 12.8
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 11.1
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 11.7
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 11.3
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 24.2
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 18.5
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 24.2
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 23.8
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 23
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 19.3
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 14.6
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 14.9
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 16.4
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 13.5
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 14.7
+      }
+    ],
+    "name": "Soufflage",
+    "unit": "°C",
+    "hide": true
+  },
+  "Mezzanine_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 25.9
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 23.1
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 19.7
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 19.4
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 19
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 15.3
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 20.5
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 20.8
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 25.7
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 23.1
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 23
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 19.5
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 20
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 19.6
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 21.1
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 21.6
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 22.3
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 25.9
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 19.6
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 17.6
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 19.9
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 19.5
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 21.6
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 25.4
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 25.1
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 24.2
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 21.8
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 24.9
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 24.9
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 24.2
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 23.2
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 25.6
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 23.9
+      }
+    ],
+    "name": "Mezzanine",
+    "unit": "°C",
+    "hide": false
+  },
+  "Extraction_temperature": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 22.4
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 24.6
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 19.2
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 17.3
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 18.4
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 20.3
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 16.2
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 20.8
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 21.4
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 21.7
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 25.5
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 19.3
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 20.6
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 20.8
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 18.8
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": -90.2
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 24
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 20.4
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 24.7
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 21.8
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 17.9
+      }
+    ],
+    "name": "Extraction",
+    "unit": "°C",
+    "hide": true
+  },
+  "Bureau_temperature": {
+    "data": [
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 26
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 26.3
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 24.8
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 23.6
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 18
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 23.2
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 26.1
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 22.2
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 22.9
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 23.6
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 27
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 24
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 22.5
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 20.9
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 23.5
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 22.4
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 23.3
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 23.2
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 26
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 26.3
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 24.3
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 22.6
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 22.5
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 20.8
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 22.8
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 22.1
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 23.1
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 24.4
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 26.3
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 26
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 24.9
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 22.9
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 23.9
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 24.6
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 25.2
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 33.8
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 38.6
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 35.3
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 35.2
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 36.2
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 24.3
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 23.6
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 24.6
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 24.8
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 26.1
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 26.5
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 30
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 27.5
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 25.3
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 26.1
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 25.2
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 27.3
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 30.2
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 25.6
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 36
+      },
+      {
+        "x": "2020-04-01 00:00:00",
+        "y": 35.2
+      },
+      {
+        "x": "2020-05-01 00:00:00",
+        "y": 37.4
+      }
+    ],
+    "name": "Bureau",
+    "unit": "°C",
+    "hide": false
+  },
+  "Temp_Nord_temperature": {
+    "data": [
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 22.9
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 15.4
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 12.8
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 8.5
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 18.1
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 16.8
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 21.2
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 21.3
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 21.9
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 26.2
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 24.5
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 23.6
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 22
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 22.5
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 22.7
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 22.5
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 20.7
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 21.5
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 22.4
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 23.4
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 26.8
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 23.7
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 22.1
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 19.2
+      }
+    ],
+    "name": "Temp_Nord",
+    "unit": "°C",
+    "hide": true
+  },
+  "Chambre_RDC_hygrometrie": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 63
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 67
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 62
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 42
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 44
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 62
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 53
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 63
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 63
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 53
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 44
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 51
+      }
+    ],
+    "name": "Chambre_RDC",
+    "unit": "%",
+    "hide": false
+  },
+  "Exterieure_hygrometrie": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 63
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 53
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 69
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 82
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 85
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 80
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 72
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 67
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 74
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 70
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 75
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 84
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 74
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 79
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 74
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 65
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 66
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 67
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 68
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 76
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 79
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 82
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 81
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 70
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 69
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 82
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 68
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 65
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 74
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 75
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 69
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 78
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 76
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 67
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 67
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 68
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 62
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 62
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 35
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 37
+      }
+    ],
+    "name": "Exterieure",
+    "unit": "%",
+    "hide": false
+  },
+  "Sejour_hygrometrie": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 63
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 44
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 44
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2014-10-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 44
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 53
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 63
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2018-04-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2018-05-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2018-06-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2018-07-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2018-08-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 36
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 39
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2020-03-01 00:00:00",
+        "y": 45
+      }
+    ],
+    "name": "Sejour",
+    "unit": "%",
+    "hide": false
+  },
+  "Soufflage_hygrometrie": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 71
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 84
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 66
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 41
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 38
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 39
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 37
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 82
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 84
+      },
+      {
+        "x": "2015-02-01 00:00:00",
+        "y": 78
+      },
+      {
+        "x": "2015-03-01 00:00:00",
+        "y": 72
+      },
+      {
+        "x": "2015-04-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2015-05-01 00:00:00",
+        "y": 75
+      },
+      {
+        "x": "2015-06-01 00:00:00",
+        "y": 72
+      },
+      {
+        "x": "2015-07-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2015-08-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 80
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 88
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 90
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 96
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 97
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 68
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 71
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 73
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 74
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 76
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 72
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 72
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 82
+      },
+      {
+        "x": "2017-12-01 00:00:00",
+        "y": 67
+      },
+      {
+        "x": "2018-01-01 00:00:00",
+        "y": 72
+      },
+      {
+        "x": "2018-02-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2018-03-01 00:00:00",
+        "y": 59
+      }
+    ],
+    "name": "Soufflage",
+    "unit": "%",
+    "hide": true
+  },
+  "Mezzanine_hygrometrie": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 53
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 61
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2014-01-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2014-02-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2014-03-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2014-04-01 00:00:00",
+        "y": 46
+      },
+      {
+        "x": "2014-05-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2014-06-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2015-09-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2015-10-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2015-11-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2015-12-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2016-01-01 00:00:00",
+        "y": 66
+      },
+      {
+        "x": "2016-02-01 00:00:00",
+        "y": 65
+      },
+      {
+        "x": "2016-03-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2016-04-01 00:00:00",
+        "y": 51
+      },
+      {
+        "x": "2016-05-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2016-06-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2016-07-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2016-08-01 00:00:00",
+        "y": 49
+      },
+      {
+        "x": "2016-09-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2019-03-01 00:00:00",
+        "y": 39
+      },
+      {
+        "x": "2019-04-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2019-05-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2019-06-01 00:00:00",
+        "y": 53
+      },
+      {
+        "x": "2019-07-01 00:00:00",
+        "y": 48
+      },
+      {
+        "x": "2019-08-01 00:00:00",
+        "y": 46
+      }
+    ],
+    "name": "Mezzanine",
+    "unit": "%",
+    "hide": false
+  },
+  "Extraction_hygrometrie": {
+    "data": [
+      {
+        "x": "2012-06-01 00:00:00",
+        "y": 64
+      },
+      {
+        "x": "2012-07-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2012-08-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2012-09-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2012-10-01 00:00:00",
+        "y": 65
+      },
+      {
+        "x": "2012-11-01 00:00:00",
+        "y": 77
+      },
+      {
+        "x": "2012-12-01 00:00:00",
+        "y": 62
+      },
+      {
+        "x": "2013-01-01 00:00:00",
+        "y": 43
+      },
+      {
+        "x": "2013-02-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2013-03-01 00:00:00",
+        "y": 40
+      },
+      {
+        "x": "2013-04-01 00:00:00",
+        "y": 42
+      },
+      {
+        "x": "2013-05-01 00:00:00",
+        "y": 45
+      },
+      {
+        "x": "2013-06-01 00:00:00",
+        "y": 52
+      },
+      {
+        "x": "2013-07-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-08-01 00:00:00",
+        "y": 57
+      },
+      {
+        "x": "2013-09-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2013-10-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2013-11-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2013-12-01 00:00:00",
+        "y": 39
+      },
+      {
+        "x": "2014-11-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2014-12-01 00:00:00",
+        "y": 47
+      },
+      {
+        "x": "2015-01-01 00:00:00",
+        "y": 89
+      },
+      {
+        "x": "2017-03-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2017-04-01 00:00:00",
+        "y": 50
+      },
+      {
+        "x": "2017-05-01 00:00:00",
+        "y": 56
+      },
+      {
+        "x": "2017-06-01 00:00:00",
+        "y": 59
+      },
+      {
+        "x": "2017-07-01 00:00:00",
+        "y": 58
+      },
+      {
+        "x": "2017-08-01 00:00:00",
+        "y": 60
+      },
+      {
+        "x": "2017-09-01 00:00:00",
+        "y": 55
+      },
+      {
+        "x": "2017-10-01 00:00:00",
+        "y": 54
+      },
+      {
+        "x": "2017-11-01 00:00:00",
+        "y": 57
+      }
+    ],
+    "name": "Extraction",
+    "unit": "%",
+    "hide": true
+  }
+}
diff --git a/modules/private/websites/papa/maison_bbc_static/favicon.ico b/modules/private/websites/papa/maison_bbc_static/favicon.ico
new file mode 100644 (file)
index 0000000..03990f9
Binary files /dev/null and b/modules/private/websites/papa/maison_bbc_static/favicon.ico differ
diff --git a/modules/private/websites/papa/maison_bbc_static/index.html b/modules/private/websites/papa/maison_bbc_static/index.html
new file mode 100644 (file)
index 0000000..246a53b
--- /dev/null
@@ -0,0 +1,164 @@
+<!doctype html>
+<html>
+  <head>
+    <title>Pause</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
+    <script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.3/dist/Chart.bundle.min.js" integrity="sha256-TQq84xX6vkwR0Qs1qH5ADkP+MvH0W+9E7TdHJsoIQiM=" crossorigin="anonymous"></script>
+    <script src="https://cdn.jsdelivr.net/npm/hammerjs@2.0.8"></script>
+    <script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-zoom@0.7.7"></script>
+    <style>
+      body {
+        padding-left: 5px;
+        padding-right: 5px;
+        text-align: center;
+        margin: auto;
+        font: 20px Helvetica, sans-serif;
+        color: #333;
+      }
+      h1 {
+        margin: 0px;
+        font-size: 40px;
+      }
+      article {
+        display: block;
+        max-width: 850px;
+        margin: 0 auto;
+        padding-top: 30px;
+      }
+      article + article {
+        border-top: 1px solid lightgrey;
+      }
+      article div {
+        text-align: center;
+      }
+      a {
+        color: #dc8100;
+        text-decoration: none;
+      }
+      a:hover {
+        color: #333;
+      }
+      button.selected {
+        background-color: lightgreen;
+        background-opacity: 40%;
+      }
+      img.banner {
+        max-width: 100%;
+      }
+      .button-row {
+        padding: 10px;
+      }
+    </style>
+  </head>
+  <body>
+    <article>
+      <h1>Site web en pause&nbsp;!</h1>
+      <div>
+        <img class="banner" src="/lamaison.png" />
+        <p>Le site est actuellement en pause.</p>
+      </div>
+      <h1>Données historiques</h1>
+      <div class="button-row">
+        <button class="chart-choice" data-type="kW" id="mean_consumption">Consommation moyenne</button>
+        <button class="chart-choice" data-type="kWh" id="total_consumption">Consommation totale</button>
+        <button class="chart-choice" data-type="%" id="hygrometrie">Hygrométrie</button>
+        <button class="chart-choice" data-type="°C" id="temperature">Température</button>
+      </div>
+      <canvas id="chart" width="400" height="400"></canvas>
+    </article>
+    <script>
+      $(".chart-choice").click(function() {
+        drawData($(this).data("type"));
+        $(".chart-choice").removeClass("selected");
+        $(this).addClass("selected");
+      });
+      var allData = {};
+      var myChart;
+      var colors = [
+        "#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee",
+        "#ff0066", "#eeaaee", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"
+        ];
+
+      $.ajax({
+        type: "GET",
+        url: "/data.json",
+        dataType: "json",
+        success: function(data) {
+          allData = data;
+          $(".chart-choice")[3].click();
+        },
+      });
+
+      var getData = function(key, colorIndex) {
+        var d = allData[key];
+        return {
+          borderColor: colors[colorIndex],
+          hidden: d.hide,
+          fill: false,
+          label: d.name + " (" + d.unit + ")",
+          data: d.data.map(function(value) {
+            return {
+              "x": new Date(value.x),
+              "y": Math.max(0,value.y),
+            };
+          }),
+        };
+      };
+
+      var getDataByType = function(type) {
+        var colorIndex = 0;
+        return Object.keys(allData)
+          .filter(function (key) { return allData[key].unit === type; })
+          .map(function (key) { return getData(key, colorIndex++); });
+      };
+
+      var drawData = function (type) {
+        $('#chart').replaceWith('<canvas id="chart" width="400" height="400"></canvas>');
+        var ctx = document.getElementById('chart').getContext('2d');
+        myChart = new Chart(ctx, {
+          type: 'line',
+          options: {
+            scales: {
+              xAxes: [
+                {
+                  type: "time",
+                  time: {
+                    displayFormats: {
+                      'millisecond': 'YYYY-MM',
+                      'second': 'YYYY-MM',
+                      'minute': 'YYYY-MM',
+                      'hour': 'YYYY-MM',
+                      'day': 'YYYY-MM',
+                      'week': 'YYYY-MM',
+                      'month': 'YYYY-MM',
+                      'quarter': 'YYYY-MM',
+                      'year': 'YYYY-MM',
+                    }
+                  }
+                }
+              ],
+              yAxes: [
+                {
+                  ticks: {
+                    callback: function(value, index, values) { return value + " " + type; }
+                  }
+                }
+              ],
+            },
+            plugins: {
+              zoom: {
+                pan: { enabled: true, mode: "x" },
+                zoom: { enabled: true, mode: "x" },
+              }
+            },
+          },
+          data: {
+            datasets: getDataByType(type),
+          }
+        });
+      }
+    </script>
+  </body>
+</html>
+
diff --git a/modules/private/websites/papa/maison_bbc_static/lamaison.png b/modules/private/websites/papa/maison_bbc_static/lamaison.png
new file mode 100644 (file)
index 0000000..dad243c
Binary files /dev/null and b/modules/private/websites/papa/maison_bbc_static/lamaison.png differ