Giter Club home page Giter Club logo

xiaomi-1080-360-motor-control's Introduction

xiaomi-1080-360-motor-control

Provides a way controlling the motor directly on the MJSXJ02CM camera.

Getting started

  1. Is it the same as mine?

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

Install the hacks

  1. Download the latest release from releases

  2. Copy the contents of "hacks" folder to the hacks folder in your SD Card

  3. Power off the camera and insert the SD Card

  4. Power on the camera

  5. the onvif url are : http://:5000/onvif/device_service

You can check it with onvif deveice manager: https://sourceforge.net/projects/onvifdm/

How to build

  1. Install docker
 sudo apt-get install -y docker.io
  1. Clonning the repo
 git clone https://github.com/thewh1teagle/xiaomi-1080-360-motor-control.git
  1. Build the container
sudo docker build -t motor .
  1. Run docker container with current directory mounted
sudo docker run -it -v $(pwd):/src motor
  1. Cross compile (in every different module e.g web_control)
make cross

You can also build it for your pc to test it without the camera.

make test
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd) ./motord
  1. Clean everything!
sudo docker image rm motor --force
sudo apt autoremove docker.io

Enjoy!

xiaomi-1080-360-motor-control's People

Contributors

aslafy-z avatar mcarbonneaux avatar thewh1teagle avatar wit00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xiaomi-1080-360-motor-control's Issues

Unable to set preset location

Hi,

I'm using your latest release which works great with onvif_srvd but I can't set preset location in Onvif Device Management.
Is it possible to do this ?

Thanks for your job !

User/password usage on onvif server

Hi,

I'm using your latest release which works pretty well but I'm trying to add a user / passwd with the options upon startup on the onvif_srvd daemon, and they seem to be ignored. Did you compile with WS security activated or do I have to recompile ?

Thanks !
Bye.

Squash PRs

Set default PR merge strategy as Squash and merge

todo

  • motor calibration

  • directions limitations

  • onvif server

Incompatible onvif with Synology Surveillance Station

Great thing! :)

I have a question, is there any possibility to get Synology Surveillance Station to work with your hack?
Ideally, this would work together with the PTZ. (RTSP itself works ok on SSS)
If there are no such plans / opportunities, is there any chance of PTZ support for homekit / homebridge?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.