-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Start/Stop motioneye? #9
Comments
Of course there is a way to start and stop it from command line. I should write a small wiki entry on this topic, but until then,
and
The |
That should do the job, thx! |
I'm trying to attempt something similar but with motioneye set to Fast Network Camera. I want to stop it from streaming and turn it on remotely. I've been doing this with a smart plug but I don't want to corrupt the SD card so was going to set a script to SSH and shutdown then switch the plug off however I can't shutdown meye from ssh? I tried the above but if I do |
@Morphy99 why don't you just do a |
Ahh thanks I wasn't aware of that command I was trying 'shutdown -h now' which doesnt work on meyeos.
Yea this doesn't work on meyeos either as systemctl isn't compiled. I'd like to be able to stop the stream without powering off the rpi as I wouldn't need a smart plug then and it would also be faster. |
Ah, you're using meyeos, got it. I don't actually have SSH enabled on any of my meyeos-powerd Pi, so I can't really check any other options. I figure the actual stream is being done by the |
I think the stream is being done by streameye as thats whats consuming the CPU in top. I can't find the correct .conf in /etc/data to use meyectl as just stopserver stops the GUI and not the stream component. So running the poweroff command has been with its problems, I get no such file or directory when executing via ssh command. I added the /sbin/poweroff path and this works but not from a home assistant shell command as this is how I'm looking to execute it. I think it's because the SSH connection doesn't close gracefully. If I run this script from the terminal it exits ok but I get "return code: 127" in home assistant: ssh root@192.168.xxx.xxx "/sbin/poweroff &&exit"` Obviously this is something I need to find out over at HA. |
I combined the "old" motioneye versions as a daemon and combined them with my doorbell. When smb. rang the door motioneye daemon was stopped, a picture was taken via command line tool and send per telegram to my mobile and after that motioneye daemon was started again. Worked really well. Now with all the changes this doesn't work anymore as paths and the tool itself have changed. How can I stop/start the motioneye (meyectl?) with command line?
The text was updated successfully, but these errors were encountered: