sfeakes / unifi-motion Goto Github PK
View Code? Open in Web Editor NEWDetect motion from unifi-video and post to a MQTT broker
License: MIT License
Detect motion from unifi-video and post to a MQTT broker
License: MIT License
I installed your service on my UDM-Pro.
The Log files changed, so I edited the regex in the config file.
But the Service seems to have some errors while booting...
May 11 08:33:53 ubnt systemd[1]: unifi-motion.service: Service RestartSec=10s expired, scheduling restart.
May 11 08:33:53 ubnt systemd[1]: unifi-motion.service: Scheduled restart job, restart counter is at 5719.
May 11 08:33:53 ubnt systemd[1]: Stopped Log file watcher to post unifi-video motion to domoticz using MQTT.
May 11 08:33:53 ubnt systemd[1]: Started Log file watcher to post unifi-video motion to domoticz using MQTT.
May 11 08:33:53 ubnt systemd[17441]: unifi-motion.service: Failed to determine user credentials: No such process
May 11 08:33:53 ubnt systemd[17441]: unifi-motion.service: Failed at step USER spawning /usr/local/bin/unifi-motion: No such process
May 11 08:33:53 ubnt systemd[1]: unifi-motion.service: Main process exited, code=exited, status=217/USER
May 11 08:33:53 ubnt systemd[1]: unifi-motion.service: Failed with result 'exit-code'.
May 11 08:34:03 ubnt systemd[1]: unifi-motion.service: Service RestartSec=10s expired, scheduling restart.
May 11 08:34:03 ubnt systemd[1]: unifi-motion.service: Scheduled restart job, restart counter is at 5720.
May 11 08:34:03 ubnt systemd[1]: Stopped Log file watcher to post unifi-video motion to domoticz using MQTT.
May 11 08:34:03 ubnt systemd[1]: Started Log file watcher to post unifi-video motion to domoticz using MQTT.
May 11 08:34:03 ubnt systemd[1]: unifi-motion.service: Main process exited, code=exited, status=217/USER
May 11 08:34:03 ubnt systemd[1]: unifi-motion.service: Failed with result 'exit-code'.
May 11 08:34:14 ubnt systemd[1]: unifi-motion.service: Service RestartSec=10s expired, scheduling restart.
May 11 08:34:14 ubnt systemd[1]: unifi-motion.service: Scheduled restart job, restart counter is at 5721.
May 11 08:34:14 ubnt systemd[1]: Stopped Log file watcher to post unifi-video motion to domoticz using MQTT.
Which user is used to run this service? Do I have to create dhis user manualy?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.