-
Notifications
You must be signed in to change notification settings - Fork 32
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
[BUG] - Motion Détection don't work #57
Comments
Same issue as #53 with fix in comments |
@machineglow even if I change the coding as you suggest motion and motion tracking doesnt work for me either. |
hmm... maybe it's something else. Are you actually running the latest dafang-hack code that has the change to the motion sensor mqtt topic? Are you sure you restarted the services to load the modified homebridge-dafang code? Do you know how to confirm whether the motion sensor messages are being posted to the mqtt topic (I don't but it's worth confirming). |
The firmware seems to be the latest (firmware date: 2020-04-30T18:44:10Z, firmware branch: master). |
If I monitor the MQTT communication I don't see any messages about motion detection. |
Did you setup mqtt on the dafang camera itself? There’s a mqtt.conf file you have to configure and point to your mqtt service first... i feel like you’re only seeing the messages from the homebridge-dafang plugin and nothing from the camera itself. |
I already customized the content of this file to my needing. If I change the topic in this file and I monitor this topic with a mqtt tool I the the exact same messages I already saw before. |
Then... did you enable motion detection on the dafang camera via the web GUI? Do you get coloured dot in the corner when there is motion on screen? |
Yes and yes... |
@machineglow Auto motion tracking is working now. |
Never knew how flakey and cards were until I started playing around with my RPi and cameras. Had to chuck one recently too. |
Good morning everyone, congratulations on your work, fantastic!
I installed the hack on the cam and the plug in and it seems to work well: the video and the accessories to record audio and video. Motion Detection and Motion Detection with notification do not work for me.
[7/4/2020, 14:59:11] [Dafang] MQTT Server Publish : $SYS/pbpaEzd/new/clients : mosqpub|6434-Ingresso
[7/4/2020, 14:59:11] [Dafang] MQTT Server Publish : MyHouse/CameraIngresso/rtsp_h264_server : ON
[7/4/2020, 14:59:11] [Dafang] MQTT Server Publish : $SYS/pbpaEzd/disconnect/clients : mosqpub|6434-Ingresso
The text was updated successfully, but these errors were encountered: