GithubHelp home page GithubHelp logo

jmrf / eyecamcontrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samt43/eyecamcontrol

0.0 1.0 0.0 53 KB

Java Library to control G-Eye 300,500,700 and Xiaomi Yi

License: GNU General Public License v3.0

Java 100.00%

eyecamcontrol's Introduction

EyeCamControl

Java Library to control G-Eye 300,500,700 and Xiaomi Yi

How the code works :

  • This code connect to ports 7878 and 8787 using TCP
  • It sends order and receive responses on the port 7878 in JSON
  • It use 8787 to download files from the camera files (in future to upload files too)

This code has been tested with Geye 500 camera but should work with model 300 and 700 too. It should also work on camera based on the A7LS chipset. (Xiaomi Yi...)

A small program in console shows how to use the controler.

You can currently:

  • View/Modify an option on the camera
  • Take a photo (video is coming)
  • Download a file from yor camera

Run

Your computer just need to be on the same network as the camera and the camera should use the address 192.168.42.1 (default one)

Otherwise, scan the network to find which IP address and port is using:

    ifconfig 	# determine the address

Should yield something like:

inet addr:10.15.12.101  Bcast:10.15.255.255 Mask:255.255.0.0

After that, using nmap:

    sudo nmap 10.15.12.0/24

Resulting in:

    Nmap scan report for 10.15.12.1
    Host is up (0.039s latency).
    Not shown: 996 closed ports
    PORT    STATE SERVICE
    21/tcp  open  ftp        # File Tranfer Protocol port
    80/tcp  open  http       # http server
    111/tcp open  rpcbind
    554/tcp open  rtsp       # Real Time Streaming Protocol port

Apparently for the new G-EYE 900 the default IP address is: 10.15.12.1

First download the json-simple-1.1.1.jar.

Then place it in src/lib and run:

    cd src

    # compile
    javac -cp lib/json-simple-1.1.1.jar:. Main.java

    # run
    java -cp lib/json-simple-1.1.1.jar:. Main

This should run an interactive command line example tool.

eyecamcontrol's People

Contributors

josemarcosrf avatar samt43 avatar

Watchers

 avatar

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.