-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No snapshot published to MQTT #24
Comments
What event is being triggered? Cameraevents on posts a snapshot upon an event (videomotion, ivs etc) Is it a videomotion on cardriveway? I need to check that send images to mqtt setting |
Example message: |
So i justpulled the latest for image for mine. And set that SendImagesToMQTT option you had as well. Heres the MQTT Output CameraEvents/#:
I mean there's not much in my logging
For your entry, right before the url is posted is the event, can yo post that, to make sure it's being picked up....it looks like it is if it's firing a snapshot....and some of the cameras can be picky. What is the auth mode for your camera? Basic or digest? |
auth basic. |
What type of camera? I didn't think any where using auto basic for a long time. Maybe try digest. |
You could be right. Basic was my first guess and it works with detection event. I'll try tomorrow with digest. The other thing I've found is that my camera were set to make snapshot in 8MP or 4MP resolution. It might be just too big. I've changed one to digest and 720p and will try tomorrow. |
Seems digest partially solved issue. Partially, because I can see now image topic being published, but when I take base64 and decode it I get only like 5% of top of picture and rest is just grey. Can you please tell me what would be send if in line 211 I would replace msgpayload with image? |
I’m not sure in binary data be an be transmitted in matt, that’s why I used the base 64 encoding. maybe another option is to use camerevrnts for the motion detection/its but get ha to get the snap shot? |
This issue might be cause by my lack of understanding of some technicals.
I run couple of Dahua cams. All are standalone with no NVR and no SD card in it as of now.
My config looks like this
All works fine except no snapshot published to MQTT. The log looks ok to me.
URL for snapshot is correct. If I paste it to the browser I get the snapshot. But nothing on MQTT topic.
The text was updated successfully, but these errors were encountered: