Closed
Description
Hi
I use a locally hosted mqtt broker and using paho it is fine to just provide the IP address of the broker (defaults take care of the rest). However using this lib I am getting an error:
# Set up a MiniMQTT Client
client = MQTT(socket,
broker = '192.168.1.64',
port = 1883,
network_manager = wifi)
.
.
.
MMQTTException: Invalid broker address defined.
I see the broker address must be a string. What is the recommended approach for using an IP address?
Thanks
Metadata
Metadata
Assignees
Labels
No labels