Closed juacas closed 5 months ago
Please check if you are using a "unique" client id. Don't share it with other services or devices because the broker will close the connection.
Hello. It is the only Yi Cam in my network.
The mosquitto's logs shows the very same you are suggesting: somehow there are continuous reconnections (several per second) to MQTT broker from the same clientID.
I hope this report will help to identify the issue.
My observations are:
CamID/camera_setting
(Previously it was CamID/status
)It seems that there is something broken in "Home assistant MQTT discovery advertise" with "Start on boot".
2022-08-25T19:15:54: New client connected from 192.168.160.1:41358 as Yi1080pcalleCliendID_c (p2, c1, k15, u'xxx').
2022-08-25T19:15:54: New connection from 192.168.160.1:41359 on port 1883.
2022-08-25T19:15:54: New client connected from 192.168.160.1:41359 as Yi1080pcalleCliendID (p2, c1, k120, u'xxx').
2022-08-25T19:16:07: New connection from 192.168.160.1:41364 on port 1883.
2022-08-25T19:16:07: New client connected from 192.168.160.1:41364 as Yi1080p-calle-host (p2, c1, k60, u'xxx').
2022-08-25T19:16:07: Client Yi1080p-calle-host disconnected.
2022-08-25T19:16:07: New connection from 192.168.160.1:41365 on port 1883.
2022-08-25T19:16:07: New client connected from 192.168.160.1:41365 as Yi1080p-calle-host (p2, c1, k60, u'xxx').
2022-08-25T19:16:07: Client Yi1080p-calle-host disconnected.
I hope this can help.
By the way, returning to the issue's title, "motion_start" events are missing. MQTT only receives "motion_stop" events.
Is there any way I can help to diagnose it?
Thank you for your superb work and help.
Normally, when rmm crashes and the cam reboots is a problem memory: memory is too low. Remove unnecessary services. Disable all "MQTT Advertise & Homeassistant MQTT Discovery" at the moment. If you use HA please try this integration https://github.com/roleoroleo/yi-hack_ha_integration
How did you configure the motion section in the app? Baby crying? Human detection?
Human detection: ON Baby crying: OFF
but has the same behaviour with:
Human detection: OFF Baby crying: OFF
With human detection off it should work. Try again.
You're right. With Human detection off it works. Thanks.
Is this a known issue or a bug?
Regards.
It's a know issue but I completely changed the way I manage these messages. So, probably I fixed the problem.. Next release.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
My camera Yi 1080p Home 4FUS | 4.2.0 seems to work as intended except for the following.
When the camera detects any activity it launches an event to the official App but does not publish motion_start in the MQTT topic CAM_ID/motion_detection When the motion ends, the camera publish "motion_stop" in the MQTT topic CAM_ID/motion_detection Other MQTT topics are also never published: motion_detection_image, motion_files.
Another symptom (may be related) is that the birth topic CAM_ID/status changes from online to offline every second.
Regards.
"fw_version": "0.4.7", "home_version": "4.2.0.0H_201909041620", "model_suffix": "y25",
@sistemascotesa
Add heading textAdd bold text, <Ctrl+b>Add italic text, <Ctrl+i> Add a quote, <Ctrl+Shift+.>Add code, <Ctrl+e>Add a link, <Ctrl+k>