mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
MotionEye not sending commands on detection after a while #2081
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#2081
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StevenSlaa on GitHub (Nov 22, 2021).
Hello everyone,
I have an issue.
I'm running motioneye from my Home Assistant server.
I have one camera (for now) that should run a command on detection.
The command for this is the following:
This will set an MQTT property to
truewithQoS2In Home Assistant this topic is converted into a motion sensor, which turns my outdoor lights on.
To return the property back to
false, I send the following command:This will set an MQTT property to
falsewithQoS2I send this command at
Run An End Commandand also(because the previous command doesn't always trigger) when file is saved to my NAS (Samba share).The issue:
This system works for a while but at some point it stops sending the commands. The detection is working, but It does not update the MQTT topic anymore.
I jumped in front of the camera 15 times and everything works great! But 30 minutes later when I try it again it doesn't work anymore. When looking at the MQTT topic it doesn't change either. Which traces the issue back to sending the commands. This because it is still detecting me perfectly fine.
In the logs I can't seem to find anything related to this issue.
My best gues is that it could be something related to samba thats making it not sending commands. Does anyone know the problem, or a way to figure out what's going on?😉👍
Regards,
Steven
@starbasessd commented on GitHub (Nov 22, 2021):
All my assistance in these cases is to take Home Assistant out of the equation first. If you are using a docker of mqtt and motionEye, this is easy enough.
If you are unable or unwilling to do this, I cannot help you as HA creates a number of issues by itself.
I will leave it open in either case to see if anyone else can assist, too.