summaryrefslogtreecommitdiff
path: root/scarecrow.rb
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2019-02-18 19:47:24 +0000
committerJoe Robinson <joe@lc8n.com>2019-02-18 19:47:24 +0000
commit3648ac300176e48f0baa8c1ba62f162d2833bbf5 (patch)
treeba426094f2859028605d5be9d2480284f1e0fe11 /scarecrow.rb
parentc2f8242b38bf538f935f684e1e79005c49c6e5d3 (diff)
TODO: Don't hard code this
Diffstat (limited to 'scarecrow.rb')
-rw-r--r--scarecrow.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/scarecrow.rb b/scarecrow.rb
index fc828a4..2fbc2ab 100644
--- a/scarecrow.rb
+++ b/scarecrow.rb
@@ -109,9 +109,9 @@ get '/metrics' do
humidity_prop = Humidity.last(device: "cricket0")[:value]
temp_air = Temperature.last(device: "mercury")[:value]
humidity_air = Humidity.last(device: "mercury")[:value]
- "humidity_kitchen #{humidity_air}
+ "humidity_basement #{humidity_air}
humidity_propagator #{humidity_prop}
-temperature_kitchen #{temp_air}
+temperature_basement #{temp_air}
temperature_propagator #{temp_prop}"
end