evancohen / smart-mirror

The fairest of them all. A DIY voice controlled smart mirror with IoT integration.
http://smart-mirror.io
2.8k stars 694 forks source link

external motion detection doesn't work after remote config submit #847

Closed sdetweil closed 3 years ago

sdetweil commented 4 years ago

after pushing submit on the remote config, the npm process is no longer running the external_motion commands looks for it but can't find and so sets the detection file with the wrong userid

Expected Behavior

motion detection should work

Current Behavior

motion detection does not work

Steps to Reproduce (for bugs)

  1. install v0.27
  2. install github motion project (apt-get install motion)
  3. config motion.conf event_started and ended to point to scripts/external_motion 4.config motion detection works
  4. change config, or just press submit
  5. confirm motion detection does not work