Control Pan Tilt Camera in Motioneye

  Рет қаралды 7,659

Samir Sogay

Samir Sogay

Күн бұрын

In this video I show how to control a Pan Tilt Camera with Motioneye so that pan tilt head of a camera can be controlled from buttons on Motioneye web interface itself.
The required files are in the link below
gist.github.co...

Пікірлер: 15
@madryboy
@madryboy 3 жыл бұрын
im curious i have a logitech orbit AF it had built in PTZ/pan-tilt on the camera but im not sure how to enable it can i use this method?
@SamirSogay
@SamirSogay 3 жыл бұрын
Only if you know the url to control the logitech
@blopak2
@blopak2 3 жыл бұрын
Hi. I have Motion Eye over Homeassistat over a Raspberry Pi 4 as well. I have two Hikvision cameras, one its works great, but the other give me a gray picture all the time. Do you have any recomendation? thanks.
@SamirSogay
@SamirSogay 3 жыл бұрын
Probably there is no connectivity as something must have gone wrong during setup. My suggestion would be to try and add the camera again.
@AGAPENIMA
@AGAPENIMA 3 жыл бұрын
Hi Samir. Do you know how you can control the Raspberry Pi's GPIO using the buttons? I want to control a 28byj stepper motor and I have an Arduino nano. If I could send signals to the Arduino nano through the GPIO it would work, but I can't find any documentation on how to control the GPIO pins using the MotionEye buttons.
@SamirSogay
@SamirSogay 3 жыл бұрын
github.com/ccrisan/motioneyeos/wiki/Action-Buttons
@AGAPENIMA
@AGAPENIMA 3 жыл бұрын
@@SamirSogay Thanks, I've seen this. I wish it was more explanatory with examples.
@SamirSogay
@SamirSogay 3 жыл бұрын
@@AGAPENIMA It is better if you search for examples of controlling GPIO independent of motioneye as there will be considerably more tutorials for that. Then you can just use that to apply on MotionEye buttons.
@AGAPENIMA
@AGAPENIMA 3 жыл бұрын
​@@SamirSogay Do you know if there is a way to run a python scrips when buttons are clicked?
@SamirSogay
@SamirSogay 3 жыл бұрын
@@AGAPENIMA write a script with #!/usr/bin/env python in the beginning and followed by python code. I hope this should work.
@aribandus81
@aribandus81 3 жыл бұрын
Hi. I'm trying to configure pan/tilt scripts on last available version of MotionEye (motionEye Version 0.42.1 - Motion Version 4.2.2+gitUNKNOWN - OS Version motionEyeOS 20200606) but the path /etc/motioneye does not exist. I put the script files into /data/etc, where conf files are located and I'm able to see buttons on webcam screen, but they don't work. Do you know what's wrong? Thanks for your help.
@SamirSogay
@SamirSogay 3 жыл бұрын
Are your camera pan tilt URL controlled. If yes, try them independently and see if it works.
@aribandus81
@aribandus81 3 жыл бұрын
@@SamirSogay I know it has some actions for PTZ controls, but I’m not able to find the URL to use. Anyway, thanks for reply.
@growleym504
@growleym504 2 жыл бұрын
I don't understand, either. I don't know what to use for a "camera url" because I am using a Pi 3B and a Pi camera V2 plugged into the CSI connection with ribbon cable. I have two servos connected to the 40 pin header for pan and tilt. I can run code in python to move the servos. I am running MotionEyeOS. I can see the camera when I go to the local url for the Pi. I can create empty files and then the action buttons appear as an overlay on the video feed from the camera. But I do not know what to put in the files! The code listed doesn't do anything. I can't find any script anywhere that does anything when it is placed in the action button file. I don't think this feature even works at all.
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 68 М.
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 12 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 35 МЛН
DIY 3.7V 1000000mAh Battery
9:19
Technical DIY
Рет қаралды 3,1 М.
5 Arduino Projects For Absolute Beginners | Learn With Coders Cafe
2:40
Learn With Coders Cafe
Рет қаралды 465
This MacBook was really really really really dirty #413
36:27
Adamant IT
Рет қаралды 10 М.