sonoff-hack
sonoff-hack copied to clipboard
very slow pan/tilt
Hi all...
first of all, thanks a lot for this great hack... it's really awesome!
That said, am I the only one experiencing a very slow PT(Z) executions ? even when I use the embedded web-interface, it takes one minutes or more before the camera actually moves...
Looking the system status, it seems that I have less than 4k of free ram... should I enable the swap space ?
thanks again,
Giampaolo
BTW... I've tested also:
http://192.168.1.208:8080/cgi-bin/ptz.sh?dir=down
which does not work... and:
http://192.168.1.208/cgi-bin/ptz.sh?dir=down
that seems to works but again... it takes more tha 60s to execute a single movement...
Yes, try to enable swap space.
enabled... but nothing changes... it could be that I have a poor link budget... I'll try to move the camera a little bit closer to the router ASAP...
thanks for the prompt support.
What happens if you try to move the cam with the app?
Hi...
you mean by using the web interface ? I'm not aware of a iOS/Android app...
it's slow... and it appears to be slow even if I ssh into the busybox and give a command (eg: "ptz -a left") directly
I suspect that I have a network issue... but I cannot check it at the moment...
Giampaolo
Il giorno lun 6 giu 2022 alle ore 16:48 roleo @.***> ha scritto:
What happens if you try to move the cam with the app?
— Reply to this email directly, view it on GitHub https://github.com/roleoroleo/sonoff-hack/issues/89#issuecomment-1147532457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAODQQGAOWLEVP34WFDFZFLVNYFSTANCNFSM5X66CQMQ . You are receiving this because you authored the thread.Message ID: @.***>
Same issue here, but I'm sure it's not a network issue in my case. At times it might take 20 seconds to execute a small movement. Do you have an MP2C model? I see your CPU usage is high, as mine; I think that's the problem. Maybe pan movement is a particularly low priority task, and it takes a while to schedule that one. I think our problem is the high cpu usage, and it shows especially on pan. By the way, I would make sure you don't have an open browser on the PTZ tab of the web portal, as it consumes load of CPU for me with the constant snapshot updates.
You are right, the PTZ page is only a test page and consumes a lot of cpu because it calls a snapshot every second. A snapshot means a lot of memory: 1920x1080x3 bytes.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.