Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ieSe

Pages: [1]
1
Software Dev / Re: Chronos V0.5.0 Full Release
« on: July 07, 2020, 05:05:13 AM »

Hmm, I'll give the disableRingBuffer parameter a try on my side and see what happens. Any gigabit switch or router should be fine.

If you're looking for an unmanaged switch, something like this would work: https://www.amazon.ca/NETGEAR-8-Port-Gigabit-Ethernet-Unmanaged/dp/B07PFYM5MZ
If you're looking for a router, something like this would work: https://www.amazon.ca/Netgear-Nighthawk-Routeur-intelligent-R8000/dp/B07R169MXR

Other folks could probably also chime in on what router/switch works for them.

Thank you and if you find out how to make disableRingBuffer parameter work, please tell me.

2
Software Dev / Re: Chronos V0.5.0 Full Release
« on: July 01, 2020, 01:11:55 PM »
Hi Sanjay,

I'm using Chronos with Matlab over network connection and it works good so far. I was waiting for the official software update to get rid of some bugs that i mentioned before in anther posts. Parameter disableRingBuffer, which will stop the recording when the buffer is full, is still in V0.5.0 not responding even if I change the state to true.

Can you suggest me a switch or router that is not going to cause an issue with the camera while starting up?


3
Software Dev / Re: Chronos API Documentation
« on: May 11, 2020, 03:54:26 PM »
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.

Hi

If I understood your question correctly, I'm using TP-Link wireless router 300 Mbps

4
Software Dev / Re: Chronos API Documentation
« on: May 03, 2020, 07:51:52 AM »
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

I installed the new unstable version chronos-unstable-20200502.img and now I can get all SD card info. disableRingBuffer Parameter still not responding.

As I use the camera always for monitoring over the network, I found the same bug in different software versions:
chronos-unstable-20200328.img, chronos-unstable-20200502.img, chronos-voyager-20200302.img and even chronos-voyager-20200331.img

Bug: Black screen appears after Chronos logo at starting up when it connected with the Ethernet cable to the router. I have to force the camera to power off each time.

5
Software Dev / Re: Chronos API Documentation
« on: May 01, 2020, 06:06:53 AM »
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

6
Software Dev / Re: Chronos API Documentation
« on: May 01, 2020, 04:10:07 AM »
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.

Thank you for your fast replying. I think I will wait until the release of the new unstable version to check them all.

4.
You can check videoState here to see if the camera is currently saving:
https://github.com/krontech/pychronos#display-parameters
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? 

7
Software Dev / Chronos API Documentation
« on: April 30, 2020, 06:28:05 AM »
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.

8
Software Dev / Re: Chronos V0.4.0 Beta - Debian and Networking
« on: March 31, 2020, 06:36:56 PM »
Hmm, I wonder if this is something to do with Windows Firewall getting in the way of things.

My approach to debug this issue would be to SSH into the camera, and then run a ping command from the command line of the camera to see what occurs. Unfortunately there isn't a way to do this purely from the GUI. The command that I would run to test this would be ping DESKTOP-23CTSB5, which should show the resolution of DESKTOP-23CTSB5 into an IP address, plus responses from your Desktop.

Finally it works.

My laptop is running windows 10 and is connected to the router through wireless network and the camera is connected to the same router through Ethernet cable. Here is my configurations

On Laptop or PC:
  • Create smb file
    • Go to C:\ drive and make new folder and name it for example "smb".
    • Right click on the created folder then choose properties
    • Choose sharing tab then choose share
    • Choose Owner and then click share

  • Disable Firewall:
    • Press Start and type firewall the click on Firewall & Network protection
    • Choose Private network then turn off Windows Defender Firewall
    see screenshots Firewall1.PNG and Firewall2.PNG

    • Network Discovery:
      • Press Start and type control panel
      • Click on Network and Internet then click on Network and Sharing Center
      • On the top left  click on change advanced sharing settings
      • In Private (current profile) choose turn on network discovery
    see screenshots Network_Discover1.PNG and Network_Discover.PNG

    Before going to the camera you should know your username and your Laptop or PC IP address. To do this:
    • Press start and type cmd and open command prompt
    • To get your username type in command prompt (echo %username%) and press enter
    • To get your IP address type in command prompt (ipconfig) and press enter
    see screenshot IP_Address.PNG

On Chronos:
  • SMB Share: type your IP address /smb. For Example //192.168.0.101/smb
  • Username : type your username that you got from command prompt.
  • Password  : type your password.
  • Then press apply and test
see screenshots Apply.jpeg and Test.jpeg

Software Bugs:
  • Ethernet cable must be unplugged before turning on the cam. Otherwise you will get a black screen after the appearing of Chronos logo.
[/list]

9
Software Dev / Re: Chronos V0.4.0 Beta - Debian and Networking
« on: March 31, 2020, 04:28:02 PM »

When attempting to mount a Samba share, the camera will first test network connectivity to the server for the share (your Desktop in this case) and it does so by sending an ICMP ping, when you receive an error message stating the at the destination "is not reachable" it means that this ping has failed.

Further down on the network tab, in the Network Status box, you should see the status of the camera's Ethernet interface. Can you verify that the camera has an IPv4 address, and that your windows desktop is able to ping the camera? In the screenshots that I posted, my camera has an IPv4 address of 192.168.1.208



Hi, the cam has an IPv4 address and I'm able to pig the cam from my laptop.

10
Software Dev / Re: Chronos V0.4.0 Beta - Debian and Networking
« on: March 31, 2020, 06:48:32 AM »
Quote
I haven't used the new UI in a while, but I think the new UI's network menu won't let you use it at all until you set a password on it. I believe it sets the root password for ssh for both the USB and ethernet connections.

There are 2 buttons beside the text box on the App & Internet access screen. Either enter your own password, or tap the button with the dice on it to generate a random password. The network accessible features should be displayed once you have a password and tap the button with the diagonal lines.

Thank you skronstein for your replay. I installed the software V0.4.0 Beta again without applying the new UI. I tried the instructions but it didn't work. Here is the error "Mount Failed: mount: wrong fs type, bad option, bad superblock on //192.168.0.102/smb, missing codepage or helper program, or other error (for several file systems (e.g nfs, cifs) you might need a /sbin/mount.<type> helper program)". I think this is a problem with sharing files between Linux and windows.

Hardware Setup
  • My laptop is connected to the router through wireless network.
  • Chronos 1.4 is connected to the same router through the Ethernet cable.
My laptop is running Windows 10 Home. You can find my network sharing settings in images.
I thought that smb file location address might differ from the instructions file, so i tried these addresses but none of them works too.
In Mount tab:
  • smb
  • \\DESKTOP-23CTSB5\smb
  • \DESKTOP-23CTSB5\smb
  • DESKTOP-23CTSB5\smb
  • //DESKTOP-23CTSB5/smb
  • /DESKTOP-23CTSB5/smb
  • DESKTOP-23CTSB5/smb

Did i make something wrong?

Hi, just to follow up on this. The latest updates to the unstable branch should now have resolved some of the issues that we found in the SMB mounting code. In particular there were two bugs that you were likely running into. The first was that shares requiring a username and password were failing due to an error in the setting of the mount options, and the second was that cameras were missing some support packages that would enable name resolution. To get these fixes, you will need to ensure you have software build 0.4.0~beta38 or newer, as shown on the About tab of the Util window.

I have attached some screenshots of how I have configured my camera so that it is able to save footage to a Samba share on my Windows 10 PC. Note that the layout of the network settings window has changed slightly between voyager and unstable.

The first step is to share a folder on your windows 10 PC, and ensure that SMB 1.0/CIFS file sharing support is enabled. In this particular case, my username on this windows 10 PC is "Owen" and I am the owner of this share.

We can then configure the camera to use this share via the Network tab in the Util window, and then hit Apply to mount the share and make it permanent.

After this, the network share should appear in the Storage tab of the Util window when successfully mounted.

And it should be available as a storage device when saving video.

Hi, I installed chronos-unstable-20200328.img and also chronos-voyager-20200331.img, but i got the same error 'DESKTOP-23CTSB5 is not reachable!'. Here are my steps to configure the smb file:
  • For Windows:
    • control panel -> programs -> Turn windows features on and off -> check all boxes for SMB 1.0/ CIFS
    • Make new folder "smb" in drive c:\ -> right click on it -> choose "sharing" tab -> click on share -> choose owner -> click share
    • to get my username correctly I opened cmd -> type (echo %username%) then enter

  • For Chronos 1.4
    • MSB Share: (//DESKTOP-23CTSB5/smb)
    • Username : I typed the username that i got from step 3 in Windows steps
    • Password  : I typed the Password, that i use to login in to my laptop

11
Software Dev / Re: Chronos V0.4.0 Beta - Debian and Networking
« on: March 23, 2020, 06:46:58 PM »
The networking shares work by configuring your laptop as the SMB server, to which the camera will connect as a client. From the screenshots you have provided, it looks like you have configured your camera correctly. However, due to the age of the Linux kernel running on the camera (version 3.2, which is about 10 years old now), we are only able to support SMBv1 for the time being. This means that you will need to enable the SMBv1 Server feature on your Windows 10 laptop for sharing to work.

I enabled SMB 1.0/CIFS Client but the camera still can't access smb file due to the same error. And when I pressed "Test", I got "SMB share cam on 192.168.0.102 is not connected".

12
Software Dev / Re: Chronos V0.4.0 Beta - Debian and Networking
« on: March 22, 2020, 02:36:17 PM »
Quote
I haven't used the new UI in a while, but I think the new UI's network menu won't let you use it at all until you set a password on it. I believe it sets the root password for ssh for both the USB and ethernet connections.

There are 2 buttons beside the text box on the App & Internet access screen. Either enter your own password, or tap the button with the dice on it to generate a random password. The network accessible features should be displayed once you have a password and tap the button with the diagonal lines.

Thank you skronstein for your replay. I installed the software V0.4.0 Beta again without applying the new UI. I tried the instructions but it didn't work. Here is the error "Mount Failed: mount: wrong fs type, bad option, bad superblock on //192.168.0.102/smb, missing codepage or helper program, or other error (for several file systems (e.g nfs, cifs) you might need a /sbin/mount.<type> helper program)". I think this is a problem with sharing files between Linux and windows.

Hardware Setup
  • My laptop is connected to the router through wireless network.
  • Chronos 1.4 is connected to the same router through the Ethernet cable.
My laptop is running Windows 10 Home. You can find my network sharing settings in images.
I thought that smb file location address might differ from the instructions file, so i tried these addresses but none of them works too.
In Mount tab:
  • smb
  • \\DESKTOP-23CTSB5\smb
  • \DESKTOP-23CTSB5\smb
  • DESKTOP-23CTSB5\smb
  • //DESKTOP-23CTSB5/smb
  • /DESKTOP-23CTSB5/smb
  • DESKTOP-23CTSB5/smb

Did i make something wrong?

13
Software Dev / Re: Chronos V0.4.0 Beta - Debian and Networking
« on: March 20, 2020, 03:30:23 PM »
Use the attached instructions to set up an SMB share on a Windows 10 system, or an NFS share on a Linux system.
These instructions will also be in the next revision of the user manual.

Thank you for the release V0.4.0 Beta.

I had installed and run chronos-voyager-20200302.img for my chronos 1.4 32GB. The new UI is easy to use but i think some features isn't finished yet and it is less responsive than the old UI. I asked if you can share the instruction for network saving form the new UI, because i think the file you share is not fro the new UI.

Bugs:
  • If I press (Menu -> Camera settings) and then choose save camera settings, i have to force the camera to shut down as it not responding any more.
  • Some time when you go to play & save tab, you can't see the videos that you had recorded. The green bar in the bottom area is sometimes missing when you move forward and backward.
  • (Menu -> Review saved Videos) this tab is really helpful but if you saved many videos and go there to check them you will find no videos in "Files o Device"

I have also another question, is saving through Ethernet cable will skip saving to the ring buffer or it just another way for saving videos like saving on SD-card or external Hard disk?

14
Chronos User Discussion / Trigger from PC
« on: February 12, 2020, 07:48:54 AM »
Hello,

I'm new here and I'm dealing with chronos 1.4 in a research group. As I read there are no use from the Ethernet port till 0.4 release. So I want to control the start and the end of recording process from my laptop through trigger IO 1 or 2. can anyone help ?

Pages: [1]