mhaowork / amblegpt

Video surveilance footage analyst powered by GPT-4o
MIT License
105 stars 21 forks source link

MQTT - Callback API version 1 is deprecated #19

Open joelegg opened 2 weeks ago

joelegg commented 2 weeks ago

hi there -

really keen to try this out.

I am running haos in a vmm which includes mqtt as an add on

I have frigate talking to mqtt fine

I run amble gpt and get this error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/socket.py", line 851, in create_connection raise exceptions[0] File "/usr/local/lib/python3.11/socket.py", line 836, in create_connection sock.connect(sa) TimeoutError: timed out /app/./mqtt_client.py:429: DeprecationWarning: Callback API version 1 is deprecated, update to latest version client = mqtt.Client()

any idea how to fix this one ?

thank you

mhaowork commented 2 days ago

Your request timed out presumably due to network problems. I don't think it's related to the warning.