troubleshooting
This commit is contained in:
@@ -39,7 +39,8 @@ def getValues(sensor):
|
|||||||
try:
|
try:
|
||||||
temp = sensor.temperature
|
temp = sensor.temperature
|
||||||
humidity = sensor.humidity
|
humidity = sensor.humidity
|
||||||
|
print("Temp:", temp)
|
||||||
|
print("Humidity:", humidity)
|
||||||
#convert to Farenheit
|
#convert to Farenheit
|
||||||
temp = (temp * 1.8) + 32
|
temp = (temp * 1.8) + 32
|
||||||
#Round the decimals
|
#Round the decimals
|
||||||
|
|||||||
Reference in New Issue
Block a user