Comments (23)
if you type cmd video on
do you get any output over ssh?
from wz_mini_hacks.
I just gave that a shot and no effect.
after that went ahead and tried
cmd video off
and then
cmd video on
and then checking for good measure.
output remains as is
- audio there if audio on (though to be honest I haven't checked the sound itself)
- nothing at all if just rtsp enabled
from wz_mini_hacks.
can you do
logread | grep inject
and
logread | grep callback
to get the best logs try this within a short time after boot.
from wz_mini_hacks.
logread | grep inject
is blank.
logread | grep callback
is
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 1 cb
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 2 cb
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 3 cb
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 4 cb
May 14 18:50:08 syslog: [sdk,0479]dbg: (local_sdk_set_major_error_callback) Doing...
May 14 18:50:08 iCamera: [sdk,0479]dbg: (local_sdk_set_major_error_callback) Doing...
May 14 18:50:12 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 5 cb
May 14 18:50:12 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 6 cb
May 14 18:50:12 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 7 cb
May 14 15:44:05 iCamera: record.c:1216 in...
May 14 16:03:02 iCamera: record.c:1216 in...
May 14 16:04:00 iCamera: record.c:1216 in...
May 14 16:05:00 iCamera: record.c:1216 in...
May 14 16:06:00 iCamera: record.c:1216 in...
May 14 16:07:00 iCamera: record.c:1216 in...
May 14 16:08:00 iCamera: record.c:1216 in...
May 14 16:09:00 iCamera: record.c:1216 in...
May 14 16:10:00 iCamera: record.c:1216 in...
May 14 16:11:00 iCamera: record.c:1216 in...
on a fresh reboot with just the RTSP enabled (no audio),
logread | grep inject
is blank again and logread | grep callback
is
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 1 cb
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 2 cb
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 3 cb
May 14 18:50:07 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 4 cb
May 14 18:50:08 syslog: [sdk,0479]dbg: (local_sdk_set_major_error_callback) Doing...
May 14 18:50:08 iCamera: [sdk,0479]dbg: (local_sdk_set_major_error_callback) Doing...
May 14 18:50:12 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 5 cb
May 14 18:50:12 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 6 cb
May 14 18:50:12 iCamera: [storagedevice.c:148][sdevice_can_work_set_callback]dbg: set ok! have 7 cb
May 14 16:03:02 iCamera: record.c:1216 in...
May 14 16:13:51 iCamera: record.c:1216 in...
May 14 16:14:01 iCamera: record.c:1216 in...
from wz_mini_hacks.
strange, i never tested with that firmware version. i would recommend upgrading to at least 4.36.3.19, if not the latest. They have improved the software by a lot.
i will do more research on that older version later
from wz_mini_hacks.
I will probably upgrade them soon ... but for right now, I'm just glad to have it running without wifi.
Just got the app running again on that camera. will test it against the cron jobs I've got set up for tonight and then move the other cameras to wz_mini
it's amazing how much easier it is to use them via SSH than telnet
from wz_mini_hacks.
ssh = good :)
from wz_mini_hacks.
can you share the output of ps w
with rtsp on?
from wz_mini_hacks.
here it is:
1 root 0:00 {v3_init.sh} /bin/sh /opt/wz_mini/etc/init.d/v3_init.sh
2 root 0:00 [kthreadd]
3 root 0:01 [ksoftirqd/0]
5 root 0:00 [kworker/0:0H]
7 root 0:04 [rcu_preempt]
8 root 0:00 [rcu_bh]
9 root 0:00 [rcu_sched]
10 root 0:00 [watchdog/0]
11 root 0:00 [khelper]
12 root 0:00 [kdevtmpfs]
13 root 0:00 [writeback]
14 root 0:00 [bioset]
15 root 0:00 [kblockd]
16 root 0:00 [khubd]
18 root 0:00 [cfg80211]
19 root 0:00 [rpciod]
20 root 0:09 [kworker/0:2]
21 root 0:00 [kswapd0]
22 root 0:00 [fsnotify_mark]
23 root 0:00 [nfsiod]
24 root 0:00 [crypto]
40 root 0:00 [deferwq]
45 root 0:01 [mmcqd/0]
48 root 0:00 [kworker/0:1H]
59 root 0:00 [jffs2_gcd_mtd6]
84 root 0:00 /opt/wz_mini/bin/dropbear -R -s -g
89 root 0:00 {linuxrc} init
103 root 0:00 sh /tmp/wyze_hack/run/main.sh run
104 root 0:00 /sbin/getty -L console 115200 vt100
138 root 0:03 [irq/37-isp-m0]
140 root 0:00 [irq/38-isp-w02]
196 root 0:00 [ksdioirqd/mmc1]
215 root 0:00 dmon --stderr-redir --max-respawns 20 --environ LD_PRELOAD=libsetunbuf.so /sbin/syslogd -C2048 -n -S -- dslog --priority DEBUG --facility USER sysl
218 root 0:00 /sbin/syslogd -C2048 -n -S
219 root 0:00 dslog --priority DEBUG --facility USER syslogd
222 root 0:00 dmon --stderr-redir --max-respawns 20 --environ LD_PRELOAD=libsetunbuf.so /system/bin/assis -- dslog --priority DEBUG --facility USER assis
224 root 0:00 dmon --stderr-redir --max-respawns 20 --environ LD_PRELOAD=libsetunbuf.so /system/bin/hl_client -- dslog --priority DEBUG --facility USER hl_client
226 root 0:01 /system/bin/assis
227 root 0:00 dslog --priority DEBUG --facility USER assis
228 root 0:00 dmon --stderr-redir --max-respawns 20 --environ LD_PRELOAD=libsetunbuf.so /system/bin/sinker -- dslog --priority DEBUG --facility USER sinker
230 root 0:05 /system/bin/hl_client
231 root 0:00 dslog --priority DEBUG --facility USER hl_client
232 root 0:00 dmon --stderr-redir --max-respawns 0 --environ LD_PRELOAD=libsetunbuf.so /system/bin/iCamera -- dslog --priority DEBUG --facility USER iCamera
234 root 0:00 /system/bin/sinker
235 root 0:00 dslog --priority DEBUG --facility USER sinker
236 root 9:57 /system/bin/iCamera
237 root 0:00 dslog --priority DEBUG --facility USER iCamera
238 root 0:00 dmon --stderr-redir --max-respawns 20 --environ LD_PRELOAD=libsetunbuf.so /system/bin/dumpload -- dslog --priority DEBUG --facility USER dumpload
240 root 0:00 /system/bin/dumpload
241 root 0:00 dslog --priority DEBUG --facility USER dumpload
242 root 0:00 dmon --stderr-redir --max-respawns -1 --environ LD_PRELOAD=libsetunbuf.so /system/bin/timesync -- dslog --priority DEBUG --facility USER timesync
244 root 0:00 /system/bin/timesync
245 root 0:00 dslog --priority DEBUG --facility USER timesync
287 root 0:00 {sysMonitor.sh} /bin/sh /system/bin/sysMonitor.sh
309 root 1:28 [isp_fw_process]
358 root 0:00 [RTW_XMIT_THREAD]
359 root 0:00 [RTW_CMD_THREAD]
360 root 0:00 [RTWHALXT]
417 root 0:00 wpa_supplicant -D nl80211 -i wlan0 -c /tmp/wpa_supplicant.conf -B
488 root 0:00 busybox telnetd
548 root 0:00 udhcpc -i wlan0 -x hostname WCV3Z3 -p /var/run/udhcpc.pid -b
580 root 0:00 /opt/wz_mini/bin/dropbear -R -s -g
581 root 0:00 -sh
624 root 0:00 /system/bin/kvs_stream
2517 root 0:00 [kworker/u2:2]
2905 root 0:00 [kworker/u2:0]
3037 root 0:00 [kworker/0:0]
3334 root 0:00 sleep 60
3358 root 0:00 [kworker/u2:1]
3399 root 0:00 sleep 2
3400 root 0:00 ps
from wz_mini_hacks.
it's possible that the old version of wyzehacks running is interfering, because the iCamera executable is not running the way it should... you should have 262 root 1h11 /opt/wz_mini/tmp/.storage/iCamera
in there too. Are you using the recent version of wz_mini?
from wz_mini_hacks.
I'm using the version 2022-05-12 of wz_mini
maybe it is wyzehacks that is the problem ...
or maybe it's the firmware version
ps | grep iCamera
232 root 0:00 dmon --stderr-redir --max-respawns 0 --environ LD_PRELOAD=libsetunbuf.so /system/bin/iCamera -- dslog --priority DEBUG --facility USER iCamera
236 root 11:03 /system/bin/iCamera
237 root 0:00 dslog --priority DEBUG --facility USER iCamera
3714 root 0:00 grep iCamera
from wz_mini_hacks.
i dont have that FW version and its no longer posted, do you still have the demo.bin?
from wz_mini_hacks.
from wz_mini_hacks.
ok flashing now to test
from wz_mini_hacks.
can you cat /opt/wz_mini/tmp/.storage/rcS
and share it?
from wz_mini_hacks.
#!/bin/sh
# Set mdev
echo /sbin/mdev > /proc/sys/kernel/hotplug
/sbin/mdev -s && echo "mdev is ok......"
echo " __________________________________
| |
| |
| |
| |
| _ _ _ _ |
|| | | |_ _ __ _| | __ _(_) |
|| |_| | | | |/ _| | | _ / _| | | |
|| _ | |_| | (_| | |_| | (_| | | |
||_| |_|\__,_|\__,_|_____|\__,_|_| |
| |
| |
|_____2020_WYZE_CAM_V3_@HUALAI_____|
"
set -x
# create console and null node for nfsroot
#mknod -m 600 /dev/console c 5 1
#mknod -m 666 /dev/null c 1 3
# Set Global Environment
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/wz_mini/bin
export PATH=/system/bin:$PATH
export LD_LIBRARY_PATH=/system/lib:/opt/wz_mini/lib
export LD_LIBRARY_PATH=/thirdlib:$LD_LIBRARY_PATH
# networking
ifconfig lo up
#ifconfig eth0 192.168.1.80
# Set the system time from the hardware clock
#hwclock -s
# Mount driver partition
mount -t squashfs /dev/mtdblock3 /system
/opt/wz_mini/etc/init.d/v3_post.shn
# Mount configs partition
mount -t jffs2 /dev/mtdblock6 /configs
# Run init script
if [ -f /configs/wyze_hack.sh ]; then
/configs/wyze_hack.sh &
elif [ -f /system/init/app_init.sh ]; then
/system/init/app_init.sh &
fi
# Run liteOta upgrade app
#/liteOta &
from wz_mini_hacks.
looks like theres a bug in the v3_init.sh script, one sec
from wz_mini_hacks.
looks like that fw version is broken, the scripts don't run correctly because the busybox version doesn't work as it should. the scripts should run even on an old version of busybox...
so the solution for now is to upgrade the FW
from wz_mini_hacks.
add this under GPIO=63 in the file /opt/wz_mini/etc/init.d/v3_init.sh
mount --bind /opt/wz_mini/bin/busybox /bin/busybox
and see if that fixes things.
from wz_mini_hacks.
fully operational wz_mini'd camera !
Will put upgrading on the todo list.
from wz_mini_hacks.
note that with that fix, wifi won't work because iCamera needs an older busybox. I'll try figure out how to include this into the release to make it work across all fw versions... with working wifi lol
from wz_mini_hacks.
fortunately since I'm doing usb direct, I don't actually want/need the wifi support!
But it seems like we should start invoicing wyze
from wz_mini_hacks.
latest version has the fixes built in. hope the new version with bit rate settings works well for you
from wz_mini_hacks.
Related Issues (20)
- Wyze v2 uses wrong device nodes in Go2RTC HOT 4
- Firmware notes HOT 1
- ENABLE_MP4_WRITE HOT 4
- Any chance to include the OG cams in the future? HOT 1
- Video settings not working on go2rtc HOT 1
- jzmmc_v1.2 jzmmc_v1.2.0: timeout HOT 2
- How do I set the time zone for crontab to work as expected? Defaults to UTC HOT 2
- Audio out of sync (delayed) with video using go2rtc
- ntpd not updating system time HOT 4
- Wyze Cam V3 stops working after one to two minutes, becomes unresponsive HOT 7
- Wyze Cam V4 Support HOT 3
- File '/opt/wz_mini/wz_mini.conf' is unwritable HOT 2
- Go2RTC on Scrypted Breaks HOT 1
- WIKI Information for Config File Contains an error HOT 3
- Bash Script Loading Problem on reboot HOT 2
- Wyze V4 HL_CAM4 HOT 2
- Random crashes using Frigate
- Ability to set a static IP address on device (not DHCP reservation) HOT 18
- Unable to Remove Current Settings HOT 5
- Network storage configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wz_mini_hacks.