New Wi-Fi Options for Git2 Action Camera

gitup

Product Manager
Staff member
Joined
Dec 8, 2015
Messages
538
Points
93
Location
Shenzhen
Website
www.gitup.com
With the latest Git2 V1.5 firmware, we added two new Wi-Fi options in system settings.

1. Wi-Fi Working Mode
The Wi-Fi module can work under AP and Station mode. Under AP mode, it allow the phone app to connect, control the camera and stream RTSP video to phone. It is point to point connection.

Under Station mode, the camera can connect the router or other hot spot, so the camera and your phone or computer can work in same Lan network. Camera can work like an IP camera.

How can you set the camera work under station mode?
  • 1. Switch Wi-Fi mode to station mode in system settings
  • 2. Download this file(client.txt) and save to your SD card root directory.
  • 3. Update the SSID and password in client.txt file.
  • 4. Power on the camera and long press the Wi-Fi button, the camera will connect with router automatically.
After connected, it will show the IP address in LCD screen, if not showed, just short press the Wi-Fi button to check it.

2. Wi-Fi Auto-Start Status
If you want to start the Wi-Fi automatically after power on, please set this option to on, otherwise set to off.


How does Git2 work with Tinycam?
While the Git2 work under station mode, the tinycam APP can connect the Git2 and use Git2 as an IP cam, it is easy to setup. You can add a new IP cam device in tinycam, choose XiaoYi as brand, and select the protocol as RTSP over UDP. Maybe in future tinycam will add GitUp in their brand/vendor list.



 

Flyingstoo

New Member
Joined
Dec 27, 2016
Messages
16
Points
0
I am trying to understand how to use the Gitup2 in station mode and have the following problems.

1. I can connect in station mode only if I use a hotspot with the default SSID of GITUP and password 12345678.
setting up the client.txt file in the root directory does not work , it does not get read on camera switch on.
I am using firmware version 1.6.

2. When I do get station mode working the only thing I can do is access the cameras files , I cannot stream any live video.
I was under the impression that if I used a browser and went to the camera URL address I would see a live video stream.
There is obviously a gap in my technical knowledge here and would be grateful if a full explanation of how to stream and control the camera in station wireless mode could be given.

3. Also I am aware that there is an Application interface (API) command set that can be used with the camera firmware. Is there a list and explanation of these commands and how to use them anywhere

Any help would be much appreciated.
I wish to use the camera on a drone and would like to experiment with interfacing the camera into droid planner and also Tower using the video inset veiwing capabilities of this software.

Thanks
 

Alistair Parsons

Well-Known Member
Joined
Dec 25, 2015
Messages
863
Points
93
the client.txt file is for use ONLY when the wifi is set to client mode. ie if you wanted the camera to conenct to a wifi router with SSID House, that is what goes in the text file. This will enable the Git2 to be used as an IPCamera, especially when the wifi is set to autostart.


unlike sjcam, when you browse to http://192.168.1.254 you dont see a web rendered video, you need to use rtsp instead and a compatible app, easiest one to test with is VLC. click media, open network stream, use address rtsp://192.168.1.254.

this works on android too. a good app to use on android is tinycam, this fully supports git2

The range of the wifi is quite limited for droneplanner or tower as its a small aerial, its meant for close video feed checking, a prop fpv setup might help, there are a lot compatoble with git2, checkout rcgroups forum for more help on that, they are very active in the git2 sections.
 
Last edited by a moderator:

Alistair Parsons

Well-Known Member
Joined
Dec 25, 2015
Messages
863
Points
93
The API is described more or less at http://www.gitup.com/forum/index.php?threads/web-api-application-use-settings.211/#post-1106, for basic usage also see https://gist.github.com/peel/ca8c5b25efbe3052fdb5 (cmds are different)

Settings can be queried with cmd 3014. In order to find out the command for a certain setting, just change it on camera and see which value has been changed ... ;-)

ie
Start video http://192.168.1.254/?custom=1&cmd=2001&par=1
Stop video http://192.168.1.254/?custom=1&cmd=2001&par=0

on android you could use tasker to run these



/*--------------Photo----------------*/
NT_CAPTURE = 1001
NT_CAPTURESIZE = 1002
NT_FREE_PIC_NUM = 1003

/*--------------movie----------------*/
NT_RECORD = 2001
NT_MOVIE_REC_SIZE = 2002
NT_CYCLIC_REC = 2003
NT_MOVIE_HDR = 2004
NT_MOVIE_EV = 2005
NT_MOTION_DET = 2006
NT_MOVIE_AUDIO = 2007
NT_DATEIMPRINT = 2008
NT_MAX_RECORD_TIME = 2009
NT_MOVIE_LIVEVIEW_SIZE = 2010
NT_MOVIE_GSENSOR_SENS = 2011
NT_SET_AUTO_RECORDING = 2012
NT_MOVIE_REC_BITRATE = 2013
NT_MOVIE_LIVEVIEW_BITRATE = 2014
NT_MOVIE_LIVEVIEW_START = 2015
NT_MOVIE_RECORDING_TIME = 2016
NT_MOVIE_TRIGGER_RAW = 2017
NT_MOVIE_GET_RAW = 2018

/*--------------setup----------------*/
NT_MODECHANGE = 3001
NT_QUERY = 3002
NT_SET_SSID = 3003
NT_SET_PASSPHRASE = 3004
NT_SET_DATE = 3005
NT_SET_TIME = 3006
NT_POWEROFF = 3007
NT_LANGUAGE = 3008
NT_TVFORMAT = 3009
NT_FORMAT = 3010
NT_SYSRESET = 3011
NT_VERSION = 3012
NT_FWUPDATE = 3013
NT_QUERY_CUR_STATUS = 3014
NT_FILELIST = 3015
NT_HEARTBEAT = 3016
NT_DISK_FREE_SPACE = 3017
NT_RECONNECT_WIFI = 3018
NT_GET_BATTERY = 3019
NT_NOTIFY_STATUS = 3020
NT_SAVE_MENUINFO = 3021
NT_GET_HW_CAP = 3022
NT_REMOVE_USER = 3023
NT_GET_CARD_STATUS = 3024
NT_GET_DOWNLOAD_URL = 3025
NT_GET_UPDATEFW_PATH = 3026
NT_UPLOAD_FILE = 3027
NT_LIST_CAMERE = 3029

/*--------------playback----------------*/
NT_THUMB = 4001
NT_SCREEN = 4002
NT_DELETE_ONE = 4003
NT_DELETE_ALL = 4004
 

oleggus

New Member
Joined
Feb 3, 2018
Messages
6
Points
0
Client.txt link is no longer working. Can someone reupload or just paste it here?
Thanks.
 

Alistair Parsons

Well-Known Member
Joined
Dec 25, 2015
Messages
863
Points
93
SSID:LivingRoom
WPA2:1234567891

well thats mineanyway,havent got the original
 
Last edited by a moderator:

oleggus

New Member
Joined
Feb 3, 2018
Messages
6
Points
0
Another question guys - is it possible to access Git2-As-Internet camera remotly (outside of your local network?)
I tried to forward TCP80 and UDP554 on my router but Tinycam does not see my Git2.
 
Top