Compare commits
7 Commits
a5048bbd4f
...
e2b6537a89
| Author | SHA1 | Date | |
|---|---|---|---|
| e2b6537a89 | |||
| 299d4cf8d1 | |||
| e53dc723c4 | |||
| d28f3e93ad | |||
| 8df0707a8a | |||
| 9a777acc15 | |||
| ec298423f2 |
@@ -46,7 +46,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