Skip to content
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

Modify "Activity Zone" #149

Closed
anndrewww opened this issue Mar 22, 2017 · 10 comments
Closed

Modify "Activity Zone" #149

anndrewww opened this issue Mar 22, 2017 · 10 comments

Comments

@anndrewww
Copy link

anndrewww commented Mar 22, 2017

Has anyone had any luck modifying "etc/ui.conf" to change motion detection area/sensitivity/etc with "yi-hack" installed?

motion_mode=1
motion_left=428
motion_right=557
motion_top=0
motion_bottom=88
motion_resolution=5
motion_sensitivity=0

EDIT:

My working values in UI.conf:

motion_mode=1
motion_left=535
motion_right=677
motion_top=8    
motion_bottom=110
motion_resolution=5
motion_sensitivity=0
@anndrewww anndrewww reopened this Mar 22, 2017
@utya1988
Copy link

I modified the email push string but not result.

@airdrummingfool
Copy link

airdrummingfool commented Mar 28, 2017

I was able to modify the motion_[left/right/top/bottom/sensitivity] values using vi over telnet. Make sure that you sync and then reboot to apply the changes.

The resolution appears to be 1280x720, so your max value for motion_right is 1279 and motion_bottom is 719.

@anndrewww
Copy link
Author

I was able to modify it as well, but it doesn't look like it has any effect.

@ujnatg
Copy link

ujnatg commented Apr 7, 2017

could you please share more details about versions of firmware ? Fox example, I've no motion_* options predefined in ui.conf file

@notdone
Copy link

notdone commented Apr 12, 2017

please share how to do that

@airdrummingfool
Copy link

@anndrewww As long as I sync and reboot after modifying the values (before connecting with the app), the app shows that the activity region has been moved. I'm able to trigger motion alerts in the newly-defined area, and alerts do not seem to trigger with motion in the old area.

@ujnatg I'm running 1.8.5.1N_201601071352, which was the version I had to update to in order to be able to pair with the Yi Home app. I can confirm that they were not present when I was running 1.8.5.1M_201512011815, the default version included in this hack (see #152, my PR for updating to the app-required firmware).

@notdone

  1. telnet into the camera
  2. vi /etc/ui.conf, modify the values as you see fit (to skip to the motion section, you can search "motion_" by typing /motion_ and hitting enter)
  3. save and quit vi
  4. sync to persist changes to flash memory
  5. reboot to restart the Yi and apply the changes

@anndrewww
Copy link
Author

@airdrummingfool

Thanks, I'll try to test that out and see if I can get it working.

@notdone
Copy link

notdone commented Apr 14, 2017

@airdrummingfool
oh my cam running 1.8.6.1B so dont have "motion_mod..." to modify the values.

@karepiu
Copy link

karepiu commented Apr 18, 2017

Have you been able to control cam being on/off using similar approach ?

@anndrewww
Copy link
Author

anndrewww commented Apr 19, 2017

Deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants