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
11 changes: 9 additions & 2 deletions adafruit_funhouse/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,17 @@ def init_io_mqtt(self):
"Adafruit IO secrets are kept in secrets.py, please add them there!\n\n"
) from KeyError

return self.init_mqtt(IO_MQTT_BROKER, 1883, aio_username, aio_key, True)
return self.init_mqtt(IO_MQTT_BROKER, 8883, aio_username, aio_key, True)

# pylint: disable=too-many-arguments
def init_mqtt(self, broker, port=1883, username=None, password=None, use_io=False):
def init_mqtt(
self,
broker,
port=8883,
username=None,
password=None,
use_io=False,
):
"""Initialize MQTT"""
self.connect()
self._mqtt_client = MQTT.MQTT(
Expand Down