Hi I'm using Chronos 1.4 32GB Build: 0.4.0~beta38 in a research project and I'm really satisfied with the API. As I use Matlab to control the whole operation. Now I'm able to start - stop recording, changing parameters and even make black calibration. But I'm still facing some problems:
- I can't get the available storage in my SD card. I can't get any useful data from externalStorage parameter and this information is not even exist in the web UI (image 1). Although I can find the available size in the camera UI (image 2).
- Parameter disableRingBuffer which is responsible for not overwriting when the buffer is full and automatically stop recording dose not work when changed to true.
- Bug: I can start recording while the camera is saving a video. That could lead to unexpected behavior.
- To fix bug number 3 is there any parameter, that would store the camera status so i can check it before do any operation?
Thank you.
1.
You'll have to switch to the unstable software release to get the size and free space of the storage devices.
The easiest way to switch to the unstable repository is probably to flash an SD card with the latest unstable image. Compressed SD card images can be found here: http://debian.krontech.ca/builds/
A guide on how to flash the card can be found here: http://forum.krontech.ca/index.php?topic=531.0
With the latest software on unstable, you should be able to get the capacity and free space of a storage device by sending a GET request for that device.
For the first partition on an SD card, use the URL:
http://<Camera IP address>/cgi-bin/storageInfo?mmcblk1p1
For the first partition on an USB stick, use the URL:
http://<Camera IP address>/cgi-bin/storageInfo?sda1
2. and 3.
Thanks, I've reported these bugs. The Unstable release will receive fixes before the Voyager (stable) release does.
4.As I mentioned above, I'm using Matlab and I'm not preferring to change my project to python. Because I control another equipment from Matlab either. Is there any other request that I can send to camera server to get the status?
You can check videoState here to see if the camera is currently saving:
https://github.com/krontech/pychronos#display-parameters
As i understand it you'd have to run the pychronos script on the camera itself, not externally. You should therefore be able to create a hook for your matlab-code to connect to.4.As I mentioned above, I'm using Matlab and I'm not preferring to change my project to python. Because I control another equipment from Matlab either. Is there any other request that I can send to camera server to get the status?
You can check videoState here to see if the camera is currently saving:
https://github.com/krontech/pychronos#display-parameters
4.
You can check videoState here to see if the camera is currently saving:
https://github.com/krontech/pychronos#display-parameters
As i understand it you'd have to run the pychronos script on the camera itself, not externally. You should therefore be able to create a hook for your matlab-code to connect to.My bad. I found the right parameters in <http://<camerIP>/apidoc/>, which are state and videoState. Thanks
1.
You'll have to switch to the unstable software release to get the size and free space of the storage devices.
The easiest way to switch to the unstable repository is probably to flash an SD card with the latest unstable image. Compressed SD card images can be found here: http://debian.krontech.ca/builds/
A guide on how to flash the card can be found here: http://forum.krontech.ca/index.php?topic=531.0
With the latest software on unstable, you should be able to get the capacity and free space of a storage device by sending a GET request for that device.
For the first partition on an SD card, use the URL:
http://<Camera IP address>/cgi-bin/storageInfo?mmcblk1p1
For the first partition on an USB stick, use the URL:
http://<Camera IP address>/cgi-bin/storageInfo?sda1
Hi ieSe, sorry the for late reply on this one.
Just wondering what the speed of your networking equipment is?
We've noticed a bug that stops the display from initializing correctly due to how the SoC in the camera currently handles networking initialization on 10/100 Mbps equipment.
It is not an issue on Gigabit equipment, and we are looking into it to determine if there's a fix.
I am having a similar issue with the Chronos API. How did you fix that?! I have tried a lot of methods that I found on the internet, and a lot of youtube tutorials, however nothing works out. I do not understand why is it happening like that, maybe it is an issue with my computer or something like that. The thing is that, when I am trying to use https://clickhelp.com/ online documentation servers, everything works perfectly, that is exactly why I think that something is wrong with Chronos API Documentation.