Hey!
I'm trying to implement MQTT with Pico W, I'm using Hive MQ but I keep getting the following error "TypeError: unexpected keyword argument 'ssl_params' " I followed this tutorial https://www.hivemq.com/blog/iot-reading ... -node-red/.
This is my function :Thanks.
I'm trying to implement MQTT with Pico W, I'm using Hive MQ but I keep getting the following error "TypeError: unexpected keyword argument 'ssl_params' " I followed this tutorial https://www.hivemq.com/blog/iot-reading ... -node-red/.
This is my function :
Code:
def connectMQTT(): client = MQTTClient( client_id=b"", server='', #server address port=8883, user='', #access user password='', #user password keepalive=7200, ssl=True, ssl_params={'': } ) client.connect() return client
Statistics: Posted by Ab25 — Fri Jul 19, 2024 4:24 pm