Skip to content

Settings dot toml #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 7, 2023
Prev Previous commit
Next Next commit
fixing simpletest
  • Loading branch information
BlitzCityDIY committed Apr 25, 2023
commit eca04848c226b396a9355a9bdce7e0b7265dda4d
6 changes: 3 additions & 3 deletions examples/minimqtt_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

# Adafruit IO-style Topic
# Use this topic if you'd like to connect to io.adafruit.com
# mqtt_topic = secrets["aio_username"] + '/feeds/temperature'
# mqtt_topic = aio_username + '/feeds/temperature'


### Code ###
Expand Down Expand Up @@ -77,8 +77,8 @@ def message(client, topic, message):
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=8883,
username=os.getenv("CIRCUITPY_WIFI_SSID"),
password=os.getenv("CIRCUITPY_WIFI_PASSWORD"),
username=aio_username,
password=aio_key,
socket_pool=pool,
ssl_context=ssl.create_default_context(),
)
Expand Down