Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provides a way controlling MJSXJ02CM camera motor.

NotificationsYou must be signed in to change notification settings

aslafy-z/xiaomi-1080-360-motor-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developement

  1. Is this compatible with my camera?

This controller works with theMJSXJ02CM camera:

MJSXJ02CM camera

  1. Get a shell

Install these mods to get a shell from within your camera:
https://github.com/telmomarques/xiaomi-360-1080p-hacks

  1. Install the toolchain
 $ sudo apt-get install gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabi clang $ curl https://sh.rustup.rs -sSf| sh $ rustup toolchain install stable
  1. Clone the repository
 $ git clone https://github.com/aslafy-z/xiaomi-1080-360-motor-control.git
  1. Kitchen is ready
 $ make
make run -- ptz move pan forward 10
export MIJIA_LIB_PATH=$(pwd)/mocks./control-debug ptz move pan forward 10
  1. Build release binary
make release

Usage

export MIJIA_LIB_PATH=/mnt/data/lib./control ptz calibrate./control ptz move pan forward 10./control ptz up 10./control ptz right 5./control ptz save 1./control ptzset 1 1./control ptz restore 1./control server --listen 0.0.0.0:8888curl http://0.0.0.0:8888/ptz/move/pan/forward/10curl http://0.0.0.0:8888/ptz/set/1/10curl http://0.0.0.0:8888/ptz/set/1/10

Credits

Big thanks to all the involved people:

About

Provides a way controlling MJSXJ02CM camera motor.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp