BaQs / pyEzviz

Python package for ezviz cameras
Apache License 2.0
103 stars 45 forks source link

Any tips on why mqtt not receiving messages ? #159

Open x4080 opened 2 months ago

x4080 commented 2 months ago

Hi, my eziz is h6c,

I'm using : pyezviz -u username -p pass -r apiisgp.ezvizlife.com mqtt

here's the output:

DEBUG:urllib3.connectionpool:https://apiisgp.ezvizlife.com:443 "PUT /v3/apigateway/login HTTP/1.1" 200 785
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pushsgp.ezvizlife.com:443
DEBUG:urllib3.connectionpool:https://pushsgp.ezvizlife.com:443 "POST /v1/getClientId HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://pushsgp.ezvizlife.com:443 "POST /api/push/start HTTP/1.1" 200 None
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Subscribed: 1 (2,)

Even when I received messages on my phone, there's no message output from mqtt

Thanks

aztonX commented 1 month ago

for some reason the mqtt channel have failures. you try do factory reset on you camera?

x4080 commented 1 month ago

@aztonX I did actually, and it just not working using this repo

matgott commented 4 weeks ago

Same here. I'm not getting any message using mqtt. I just get:

INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Subscribed: 1 (2,)
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0

I get the movement detection alarm on my phone but no message here