parent
c138ee7bf7
commit
b8dd1fbcf4
2
main.py
2
main.py
|
@ -76,7 +76,9 @@ def get_temperature():
|
|||
debug_print("Added temperature sensor")
|
||||
|
||||
print(get_water_level())
|
||||
debug_print("got water level")
|
||||
print(get_temperature())
|
||||
debug_print("got temperature")
|
||||
|
||||
def mqtt_on_connect(client, userdata, flags, rc):
|
||||
client.subscribe("strawberry-pi-greenhouse/relay/channel/1")
|
||||
|
|
Loading…
Reference in New Issue