Hi Peter,

> import paho.mqtt.client as mqtt
...
> broker_address= "192.168.4.1"
...
> client = mqtt.Client(client_id="rc-car-11")
...
> client.connect(broker_address,1883,60)        # bad connect word.
>
> > But I still have a problem in syslog about why it failed on that
> > line and it never used to.

You're saying syslog has an entry complaining about the client.connect?
line?  What's the entry say?

The normal reasons for the error would be failing to make a TCP
connection, e.g. the IP address is wrong.

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-12-01 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to