Skip to content

Where can I find the history of shell commands that have run?

edited May 3 in General

My setup with Security Spy runs a shell command when an approaching human is identified. I have coupled this with an automation in Home Assistant that is triggered by receipt of the webhook payload sent from Security Spy.

This has worked well for over a year, but over the past 24hrs I have had 4 seemingly spontaneous Home Assistant automations triggered by receipt of a webhook payload - without any motion capture recorded by SS. They have all been from one camera only.

I would like to confirm whether the shell command is being run inappropriately by SS or whether Home Assistant is where my problem lies. It would be very helpful if I can identify the shell command history. Is this possible?

Comments

  • Sorry but there is no logged history of these shell commands. Check the following:

    • Make sure that both Motion Capture (M) and Actions (A) mode are armed for this camera.
    • Make sure that movie capture is enabled under Settings > Cameras > Motion Capture for this camera.
    • Make sure that the Motion Capture triggers are the same as the Action triggers under Settings > Cameras > Triggers.
    • Make sure the disk that SecuritySpy is set to capture to has plenty of free space.

    If the above is all the case, then every time Actions are triggered (which runs the shell command), you will also get a recording. In this case, you can look at potential other causes of the shell command being run.

    If any of the above items are not the case, then it's possible to get Actions without a recording. Fixing the above items may fix this unexpected behaviour.

Sign In or Register to comment.