help with the PyPortal Pet Planter with Adafruit IO and my T
Re: help with the PyPortal Pet Planter with Adafruit IO and
ConnectionError: Failed to send 2 bytes (sent 0)
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
while True:
# Explicitly pump the message loop
# to keep the connection active
try:
io.loop()
except (ValueError, RuntimeError) as e:
print("Failed to get data, retrying...\n", e)
wifi.reset()
continue
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(broker="io.adafruit.com",
username=secrets["aio_user"],
password=secrets["aio_key"])
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and
Re: help with the PyPortal Pet Planter with Adafruit IO and