Skip to content

Commit

Permalink
Merge pull request #2863 from adafruit/fix-ADAFRUIT_AIO_USERNAME
Browse files Browse the repository at this point in the history
Correct field names for Adafruit IO to match website
  • Loading branch information
tyeth authored Aug 5, 2024
2 parents 12f449b + eedd124 commit 1e62b17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def message(client, feed_id, payload): # pylint: disable=unused-argument
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
username=os.getenv("ADAFRUIT_IO_USERNAME"),
password=os.getenv("ADAFRUIT_IO_KEY"),
username=os.getenv("ADAFRUIT_AIO_USERNAME"),
password=os.getenv("ADAFRUIT_AIO_KEY"),
socket_pool=pool,
ssl_context=ssl.create_default_context(),
)
Expand Down

0 comments on commit 1e62b17

Please sign in to comment.