Skip to content

No snapshot published to MQTT  #24

Description

@krakers09

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

[MQTT Broker]
IP=X.X.X.X
Port=1883
User=user
Password=pass
BaseTopic=CameraEvents
PostImagesToMQTT=True

All works fine except no snapshot published to MQTT. The log looks ok to me.

2021-01-28T09:39:36.722272118Z 2021-01-28 10:39:36,721 - __main__ - INFO - Snapshot Url: http://X.X.X.X:80/cgi-bin/snapshot.cgi?channel=1
2021-01-28T09:39:39.040760549Z 2021-01-28 10:39:39,040 - __main__ - DEBUG - [CarDriveway]: --myboundary
2021-01-28T09:39:39.040814667Z Content-Type: text/plain
2021-01-28T09:39:39.040829252Z Content-Length:958

URL for snapshot is correct. If I paste it to the browser I get the snapshot. But nothing on MQTT topic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions