diff options
author | Joe Robinson <joe@lc8n.com> | 2019-02-20 00:09:20 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2019-02-20 00:09:20 +0000 |
commit | a8ffed6ff775154aeeed91aa0c87bbc9e42a9d3b (patch) | |
tree | 567b10003e393c6cb588642c61e71015eae384df | |
parent | dc93c4e8a9512533197b58e73f1f1d274908b5cd (diff) |
SPAAAAAACE
-rw-r--r-- | scarecrow.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scarecrow.rb b/scarecrow.rb index fff656d..e6cb303 100644 --- a/scarecrow.rb +++ b/scarecrow.rb @@ -97,7 +97,7 @@ get '/' do @humidity_prop = Humidity.last(device: "cricket0")[:value] @temp_air = Temperature.last(device: "mercury")[:value] @humidity_air = Humidity.last(device: "mercury")[:value] - @temp_kitchen = Temperature.last(device: "mercury")[:value] + @temp_kitchen = Temperature.last(device: "cricket1")[:value] @humidity_kitchen = Humidity.last(device: "cricket1")[:value] @moisture_kitchen = Moisture.last(device: "cricket1")[:value] time_prop = Temperature.last(device: "mercury")[:timestamp] @@ -146,7 +146,7 @@ get '/metrics' do moisture_kitchen = Moisture.last(device: "cricket1")[:value] "humidity_basement #{humidity_air} humidity_propagator #{humidity_prop} -humidity_kitchen#{humidity_kitchen} +humidity_kitchen #{humidity_kitchen} temperature_basement #{temp_air} temperature_propagator #{temp_prop} temperature_kitchen #{temp_kitchen} |