aboutsummaryrefslogtreecommitdiffstats
path: root/python/examples/futureHouse/futureHouse.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/futureHouse/futureHouse.py')
-rw-r--r--python/examples/futureHouse/futureHouse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py
index 0597b19..0aa553b 100644
--- a/python/examples/futureHouse/futureHouse.py
+++ b/python/examples/futureHouse/futureHouse.py
@@ -84,6 +84,7 @@ def callback(message, channel):
if 'getEnviro' in message:
enviro = {}
enviro['temp1'] = '{0:0.2f} *C'.format(sensor.read_temperature())
+ enviro['temp1FInt'] = '{0:0.2f}'.format(sensor.read_temperature())
enviro['pres1'] = '{0:0.2f} Pa'.format(sensor.read_pressure())
enviro['alt1'] = '{0:0.2f} m'.format(sensor.read_altitude())
enviro['pres2'] = '{0:0.2f} Pa'.format(sensor.read_sealevel_pressure())