Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions examples/adafruit_io_mqtt/adafruit_io_feed_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def on_battery_msg(client, topic, message):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
1 change: 1 addition & 0 deletions examples/adafruit_io_mqtt/adafruit_io_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
1 change: 1 addition & 0 deletions examples/adafruit_io_mqtt/adafruit_io_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
1 change: 1 addition & 0 deletions examples/adafruit_io_mqtt/adafruit_io_pubsub_rp2040.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def on_led_msg(client, topic, message):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
socket_pool=pool,
Expand Down
1 change: 1 addition & 0 deletions examples/adafruit_io_mqtt/adafruit_io_simpletest_eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
1 change: 1 addition & 0 deletions examples/adafruit_io_mqtt/adafruit_io_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down
1 change: 1 addition & 0 deletions examples/adafruit_io_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def message(client, feed_id, payload):
# Initialize a new MQTT Client object
mqtt_client = MQTT.MQTT(
broker="io.adafruit.com",
port=1883,
username=secrets["aio_username"],
password=secrets["aio_key"],
)
Expand Down