helgeerbe / picframe

Picture frame viewer for raspi, controlled via mqtt and automatticly integrated as mqtt device in homeassistant.
MIT License
113 stars 32 forks source link

paho-mqtt v2.0.0 compatibility #380

Closed junglebells closed 5 months ago

junglebells commented 8 months ago

Hello, it seems paho recently released a new version that is breaking fresh install of picframe (if you enable mqtt)

I was able to make it work by installing version 1.6.1 of paho-mqtt. However, this might need a better solution.

Thanks for your help. Best regards!

Vinswede commented 8 months ago

Hello @junglebells I've not been able to get MQTT working, whenever I unbale it via yaml config picframe won't start. maybe this is the latest paho is the reason. Please could you advise how to install version 1.6.1 so I can try this

Vinswede commented 8 months ago

Found it: sudo pip3 install paho-mqtt===1.6.1 MQTT control via Home Assistant working perfectly. Thanks 👍