motoz / pellmonMQTT

Connect to a running pellmon instance over DBUS and publish all data on MQTT
GNU General Public License v2.0
4 stars 2 forks source link

'Client' object has no attribute '_on_pre_connect' #6

Open Nomisdk86 opened 1 year ago

Nomisdk86 commented 1 year ago

Hello

I have my Pellmon server up and running, but i cant seem to get PellmonMQTT to work.

I am running the following: python ./pellmonMQTT.py -H 192.168.20.90 -d SYSTEM

And gets: 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect' 'Client' object has no attribute '_on_pre_connect'

I get that error every 5-10 secound.

Nomisdk86 commented 1 year ago

Nevermind, fixed the issue by downgrading paho-mqtt to 1.5.1