Comments (11)
Is the problem new with 0.1.0?
from sonoff-hack.
I have not tested any of the previous versions so I don't know. If I use any of the predefined presets (10-14) everything works fine.
/Erik
from sonoff-hack.
I'm using firmware 0.1.5 and Base Version | V5520.2053.0504build20230103 (GK-200MP2-B) and have same problem.
Predefined presets (10-14) works fine but set preset (0-9) no work, on GUI or ONVIF.
Is there anything that can be done even if it's on the command line?
Thanks
from sonoff-hack.
Please, show me your ptz_presets.conf
[root@sonoff-hack]# cat /mnt/mmc/sonoff-hack/etc/ptz_presets.conf
from sonoff-hack.
cat /mnt/mmc/sonoff-hack/etc/ptz_presets.conf
0=Entrada|1227|-573
1=Sofa|2239|-573
2=empty|-1|-1
3=empty|-1|-1
4=empty|-1|-1
5=empty|-1|-1
6=empty|-1|-1
7=empty|-1|-1
8=empty|-1|-1
9=empty|-1|-1
Thanks
from sonoff-hack.
Negative number is not ok and will not work.
But I don't know why there is a negative number.
You should try to set again the preset.
The command:
ptz -a get_coord
read the actual position.
It should be
0 <= x <= 3500
and
0 <= y <= 1350
from sonoff-hack.
Thanks @roleoroleo
The command also returns a negative value. Is it because it is pointed downwards?
[root@root]# ptz -a get_coord
Current position: (2257, -1519)
It's a photo of the camera positioning.
from sonoff-hack.
0 should be cam face down and 3500 should be cam face up.
I don't know why it's negative.
Maybe a different position sensor in your model.
Does the cam rotate up/down/left/right when you restart it?
from sonoff-hack.
Thanks @roleoroleo
I did the following, turned off the camera, removed the SD card and boot with the original firmware, the camera rotate up/down/left/right at the beginning, then turned it off and went up again with the SD card, it also rotate up/down/left/right and now everything is working fine.
Thank you very much for the help, I wouldn't go there without help.
from sonoff-hack.
I think it's a sync problem.
When the cam reaches the extreme position the sensor reaches the boundary value (example 3500).
But if you continue to move the cam in the same direction, the cam can no longer move but the value of the position sensor continues to increase.
from sonoff-hack.
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.
from sonoff-hack.
Related Issues (20)
- Where are the mqtt settings?
- Sonoff Camera 50520230320
- wifi not connected HOT 18
- Discovered entities with a name that starts with the device name HOT 6
- Updating stuff in the web interface doesn't necessarily update the system configurations HOT 3
- S-Cam freeze after a few hours HOT 1
- Adjusting brightness and contrast HOT 3
- Camera stucks HOT 2
- mqtt-sonoff crashes when colink.conf is not present HOT 1
- FW available doesn't appears in maintenance page HOT 10
- preset call not working HOT 23
- [Synology Surveillance Station] ONVIF don't work on 0.1.7 HOT 23
- [GK-200MP2-B] No ONVIF HOT 7
- 0.1.7 scp doesn't seem to be working HOT 11
- 0.1.7 Camera on/off not working for some firmware HOT 4
- Feature Request: Add ONVIF MoveStatus support for use with frigate autotracking HOT 7
- Failing power supply? HOT 2
- How to restart the camera via HTTP request? HOT 2
- Add ONVIF MoveStatus HOT 1
- Sonoff GK-200MP2-B
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 sonoff-hack.