Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_pyportal.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
import rtc
import supervisor

from adafruit_io.adafruit_io import RESTClient, AdafruitIO_RequestError
from adafruit_io.adafruit_io import IO_HTTP, AdafruitIO_RequestError

try:
from secrets import secrets
Expand Down Expand Up @@ -691,7 +691,7 @@ def push_to_io(self, feed_key, data):
raise KeyError("Adafruit IO secrets are kept in secrets.py, please add them there!\n\n")

wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(self._esp, secrets, None)
io_client = RESTClient(aio_username, aio_key, wifi)
io_client = IO_HTTP(aio_username, aio_key, wifi)

while True:
try:
Expand Down