Skip to content

Commit 2826fa8

Browse files
author
brentru
committed
remove is_ssl, code will detect http vs https now!
1 parent 7ec4fdf commit 2826fa8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/minimqtt_adafruitio_eth.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ def message(client, topic, message):
6060

6161
# Set up a MiniMQTT Client
6262
# NOTE: We'll need to connect insecurely for ethernet configurations.
63-
mqtt_client = MQTT.MQTT(broker = 'io.adafruit.com',
63+
mqtt_client = MQTT.MQTT(broker = 'http://io.adafruit.com',
6464
username = secrets['aio_username'],
65-
password = secrets['aio_key'],
66-
is_ssl = False)
65+
password = secrets['aio_key'])
6766

6867
# Setup the callback methods above
6968
mqtt_client.on_connect = connected

0 commit comments

Comments
 (0)