From: Pat Thoyts Date: Wed, 28 Sep 2016 12:55:58 +0000 (+0100) Subject: Display the pressure and humidity graphs X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=319606aed93d95209c341b468a3b04e9e116692f;p=spd%2Fsensor-hub.git Display the pressure and humidity graphs --- diff --git a/INSTALL b/INSTALL index 9f85e6a..b72f22c 100644 --- a/INSTALL +++ b/INSTALL @@ -1,3 +1,8 @@ +Requires python3, cherrypy, pyserial and twisted. + +Copy the sensor-hub.config.sample to sensor-hub.config and update for the +local installation. + Install the sensor-hub.conf file into /etc/init to create the service. Then service sensor-hub start. diff --git a/static/sensor-hub.html b/static/sensor-hub.html index 4574e37..401f1cc 100644 --- a/static/sensor-hub.html +++ b/static/sensor-hub.html @@ -18,6 +18,8 @@ body {margin:0 auto;max-width:980px;padding:1em;color:#000;background-color:#fff #result th {text-align:left;background-color:#eee;} #result tbody td {vertical-align:top;font-family:fixed;font-size:11pt;background-color:#fff;padding:6px 4px 6px 4px;} #tooltip {position:absolute;display:none;border:1px solid #fdd;padding:2px;background-color:#fee;opacity:0.80;} +span.func {cursor: pointer; color: blue; text-decoration:underline;} +span.func:hover {text-decoration:none; text-shadow: 1px 1px 1px #555; } div.loading { background: rgba(255,255,255,.8) url('loading.gif') 50% 50% no-repeat; } @@ -26,10 +28,15 @@ div.loading { background: rgba(255,255,255,.8) url('loading.gif') 50% 50% no-rep
-

Download view data as ASCII or JSON

-

Fetch another week: update with an additional weeks historical data.

-

Fetch another 30 days: update with an additional month historical data.

-

+

+
+

Download view data as ASCII +or JSON

+

Fetch another week: + update with an additional weeks historical data.

+

Fetch another 30 days: + update with an additional month historical data.

+

- +