Difference between revisions of "YI Action Cam Z25L"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(see also)
(triggering multiple cameras)
Line 93: Line 93:
 
* moving target/camera
 
* moving target/camera
 
** https://github.com/Stefal/V4MPod (hardware trigger)
 
** https://github.com/Stefal/V4MPod (hardware trigger)
 +
** https://www.goprawn.com/forum/accessories/10990-my-yi-2k-hardware-mod
 
** scripting: ntp time sync plus trigger at specific time (still has a delay)
 
** scripting: ntp time sync plus trigger at specific time (still has a delay)
  

Revision as of 17:08, 12 December 2018

YI Action Cam

  • SN Z25L
  • FW 1.5.12

wifi STA mode

does not work as expected

  • connecting works fine
  • telnet :7878 command mode does not (second photo capture fails)
{"msg_id":257,"token":0}
{ "msg_id": 7, "type": "vf_stop" }
{ "msg_id": 7, "type": "vf_stop" }
{ "rval": 0, "msg_id": 257, "param": 1 }
{"msg_id":769,"token":1}
{"rval":0,"msg_id":769}
{"msg_id":769,"token":1}
{"rval":-21,"msg_id":769}
  • expected output:
{"msg_id":257,"token":0}
{ "msg_id": 7, "type": "vf_stop" }
{ "rval": 0, "msg_id": 257, "param": 2 }
{ "msg_id": 7, "type": "vf_stop" }
{"msg_id":769,"token":2}
{"rval":0,"msg_id":769}
{ "msg_id": 7, "type": "start_photo_capture" ,"param":"precise quality;off"}
{ "msg_id": 7, "type": "precise_capture_data_ready" }
{ "msg_id": 7, "type": "photo_taken" ,"param":"/tmp/fuse_d/DCIM/100MEDIA/YDXJ0089.jpg"}
{ "msg_id": 7, "type": "vf_start" }
{"msg_id":769,"token":2}
{"rval":0,"msg_id":769}
{ "msg_id": 7, "type": "start_photo_capture" ,"param":"precise quality;off"}
{ "msg_id": 7, "type": "vf_stop" }
{ "msg_id": 7, "type": "precise_capture_data_ready" }
{ "msg_id": 7, "type": "photo_taken" ,"param":"/tmp/fuse_d/DCIM/100MEDIA/YDXJ0090.jpg"}
{ "msg_id": 7, "type": "vf_start" }
  • firmware.avtive.log (failed second photo capture)
[01991772]
app_boss_msg_receiver:AMBA_TAKE_PHOTO
[...]
[01991773]
Entering before_record_capture_sd_check:

[01991773]
app_card_check_video_record: 1262 current active card size: 63864

[01991773] [DemoLib - Card] Check: CARD_CHECK_WRITE
[01991773] [DemoLib - Card] <app_card_status_check> rval = 0
[01991773]
Exiting before_record_capture_sd_check: rval:0

[01991773]
rec_sport_dv_button_boss_shutter: 1644 system status busy,not handle button shutter

[01991773] @@@ Send to Linux(0x00000015)
[01991776] QQQQQQ case AMSG_STATE_WIDGET_CLOSED 0,1991776
[01991776] app_rec_sport_dv_on_message: AMSG_STATE_WIDGET_CLOSED
[01991777] QQQQQQ func REC_SPORT_DV_STATE_WIDGET_CLOSED 0,1991776
[01991777]
rec_sport_dv_func: 8295 REC_SPORT_DV_STATE_WIDGET_CLOSED

works as expected (DHCP only)

(modded https://github.com/reaper7/XIAOMI_YI_WIFI_SWITCH)

  • edit and copy TMP.WIFI.CONF to /tmp/fuse_d/MISC
  • edit and copy wpa_supplicant.conf to /tmp/fuse_d/MISC
  • copy wifi_set.sh to /tmp/fuse_d/SCRIPTS
  • edit autoexec.ash lu_util exec '/tmp/fuse_d/SCRIPTS/wifi_set.sh 1'
  • boot and start wifi manually or set { "start_wifi_while_booted": "on" }

injecting ambarella shell commands on running system

triggering multiple cameras

see also