diff options
-rw-r--r-- | scarecrow.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scarecrow.rb b/scarecrow.rb index 34b8125..874ae86 100644 --- a/scarecrow.rb +++ b/scarecrow.rb @@ -109,10 +109,10 @@ 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.air #{humidity_air}\n -humidity.propagator #{humidity_prop}\n -temperature.air #{temp_air}\n -temperature.propagator #{temp_prop}" + "humidity_kitchen #{humidity_air} +humidity_propagator #{humidity_prop} +temperature_kitchen #{temp_air} +temperature_propagator #{temp_prop}" end init |