From 3648ac300176e48f0baa8c1ba62f162d2833bbf5 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Mon, 18 Feb 2019 19:47:24 +0000 Subject: TODO: Don't hard code this --- scarecrow.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scarecrow.rb') 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 -- cgit v1.2.3