×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

KStars remote saving path problem

  • Posts: 9
  • Thank you received: 1
@ Jasem:

Dear Jasem,
thank you for a quick response. I downloaded 3.6.3 Beta today and tested it. However, the behaviour is still the same as in 2.9.x (adding backslash instead of slash).
Another remark is this: I really like the formatting string possibilities. It works fine for local storage, where the filename corresponds to the preview. However, for the remote saving the Preview of the formatted string looks fine, but the real filename saved on the disk is simply Light_001, Light_002 etc. Hopes my comment is of interest for you.

Thank you again for your seemless support!

Michal
1 year 4 months ago #89485

Please Log in or Create an account to join the conversation.

  • Posts: 189
  • Thank you received: 28
I guess my understanding was incorrect.
Your understanding is correct.

The Remotely mechanism of KStars is that the images captured on the INDI Server side running on the Raspberry PI are directly saved to the Raspberry PI storage without getting the data to the Windows PC.

Checking with a file access monitoring tool called "procmon" on the Windows side, I was able to confirm that KStars on Windows does not have access to the Raspberry PI's storage when Remotely is used to save the data.

Finally, here are the results in my runtime environment
SV405CC with M4/3 sensor, saving 10 images with 1s exposure.

Save locally (Windows) with Fits Viewer on: 40 s
Save locally (Windows) without Fits Viewer: 30 s
Save remotely (RPi) to SD card: 29 s

Saving remotely seems to be very effective for short exposures such as flat frame.
1 year 4 months ago #89491

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 3
Michal, I'd love to hear how you managed to get the remote save working at all. I have an almost identical setup to you but I cannot get remote saving working. I posted this on the Stellarmate forum by mistake just yesterday.

===========================
I have a RPi4 connected to my rig and DSLR. To get over SD card reliability issues, Stellarmate is now booting from a 1TB HDD, I set up a specific Picture folder with all correct privileges with the intention of storing photos on the RPi and retrieve them later.
I am operating remotely from KStars / EKOS running on a Windows laptop PC. - Most things are working now!!
But. I'd like to have the images stored on the RPi, not sent over wifi to the PC - it just causes delays and is flaky.
So in EKOS on the PC, on the CCD tab I have set to save Remotely and entered the path to my folder on the RPi. In my case it is /media/stellarmate/data/Pictures . This is in a separate partition from the OS.
But as soon as I start a shooting sequence, my entered path is deleted and replaced by the greyed out default /home/pi path, then all images are slowly coming back to the PC with nothing being stored on the RPi.

"Locally" works logically, but "Remotely" and "Both" refuse to save anything on the RPi

What am I doing wrong?
=====================
I'd appreciate it if you can point me in the right direction.
1 year 4 months ago #89641

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Dear Paul,

I just tried to set my KStars and see what is happening. The difference is after launching the sequence - in my case, the path edit field stays active and the images are saved to where I specify (just with that problem with slash/ backslash). Maybe I would try to use different version of KStars - I am using the 3.6.3 Beta now.

I am sorry I cannot give you any better answer.

BTW: I checked the wired connection of my RPi to the laptop today and it is just amazing compared to the WiFi connection. Waiting for a clear night to check it "in vivo".

Clear skies, Michal
1 year 4 months ago #89659

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 3
Thanks for the response, the only thing I can think is that I am using a DSLR where the save options in EKOS settings are listed as RAM or SD Card. I wonder if it influences the possible save paths.
Regarding the wired connection are you referring to via an Ethernet network or direct to the laptop. If so which method and cable are you using? I am new to Linux and the world of RPi and I'm using a Windows 10 PC.
1 year 4 months ago #89662

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 3
Okay, so I figured out how to connect to the RPi by Direct Ethernet - WOW this is so fast now!!

But, still have the same problem that any time I choose "Both" or "Remote" then start a shooting sequence, the selection defaults back to "Locally"

Even tried shooting with my guide scope in case it was the DSLR causing the issue, but that does the same.

I even went into the INDI control panel and set the values there, but nothing works.

Tried changing the folder to /home/pi and /home/stellarmate, still nothing.

Is there something I am missing?

EDIT
I disconnected my PC, then attached an HDMI monitor and Mouse/Keyboard to the RPi
Created a local profile with the same equipment, and repeated the experiments, photos get saved into my desired HDD partition which is of course the "Local" location now.
So the system basically works, but when set up for remote access, it has a problem.
Last edit: 1 year 3 months ago by Paul.
1 year 3 months ago #89671

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Dear Paul,
nice to hear that you were able to establish the ethernet connection! I just was preparing to answer your question :-) I am now in the situation that I must resolve somehow how to lead the ethernet cable from outside to inside via a closed window, but I think the fixed ethernet connection is worth it.
But as for your remote saving troubles, I really do not know what could be the problem :-( But, by the way, the behaviour of my KStars is such that the parameters of the sequence do not depend on the edit field with path anymore when the sequence has started. I prepare the sequence, i.e., I enter the exposure time, number of images, name of the image files, path..., then I press that "+" button up above the scheduler (right half of the screen) and then I start the shooting sequence with the "play" button. From this moment on, the sequence is being captured regardless to what I change in the left part of the screen (so if I change the name, the path..., it does not affect the sequence being exposed). If I realize that, for example, I would like to change the name of files, I stop the sequence, I withdraw it from the scheduler and with the "+" button I add a new sequence with corrected parameters. This means that it should not be important if your path gets ineditable after the sequence started. At least in my KStars. I hope I expressed myself in an understable way.

Clear skies,
Michal
Last edit: 1 year 3 months ago by Michal.
1 year 3 months ago #89673

Please Log in or Create an account to join the conversation.

  • Posts: 189
  • Thank you received: 28
A bendable aluminum flat cable is sold in Japan to pass Ethernet through a window.
Is there any in your country?

www.elecom.co.jp/products/LD-VAPFSV05.html
The following user(s) said Thank You: Paul
1 year 3 months ago #89674

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Wow! I have not ever seen this, thank you for a tip!
For now, I think I will start with a regular cable, as the gum window sealings have certain tolerance, but definitelly it is not a long-term solution. Thinking about making an ethernet socket on the outer wall of the house eventually (dont tell my wife).

Best, Michal
1 year 3 months ago #89675

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 3
Tkakura,
www.elecom.co.jp/products/LD-VAPFSV05.html

Thanks for pointing that out, I was just pondering the same question. In my case I actually live in Japan (Nagano) so I'll be ordering one of these.

In case anyone is interested, if you do an internet search for "window flat LAN cable" you'll see many suggestions
Last edit: 1 year 3 months ago by Paul.
1 year 3 months ago #89684

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 3
Dear Michal,
I don't want to be taking over this thread, just want to report my findings so others might learn.

A strange thing happened last night.

With the same setup, RPi with 1TB HDD, and remote control via Direct Ethernet, I started EKOS and created a new gear profile. In this case shooting a sequence, resulted in images being saved on the RPi HDD. Results were;;
My desired path name was "/media/stellarmate/data/Pictures", but due to the method used to append \Light as a folder name (which I believe is inconsistent with Linux syntax (?) ) the resulting storage folder was "/media/stellarmate/data/Pictures\Light". That final part "/Pictures\Light" does not indicate a subfolder, it creates a single folder with the full name of "Pictures\Light". Odd, but not a major problem and it proves that I have no problem writing to the disk.

HOWEVER, the weird part is that in this profile, I can ONLY save remotely now!! I mean that if I select either of the options including a remote save onto the Windows PC, the save setting just reverts back to Remote only at the beginning of the sequence.

I ran out of time, but I will test again tonight. Now I am typing this, I am wondering if the save path name becomes set in stone as part of the sequence. I.E. If you set up more than one sequence, you can predefine that sequence 1 is saved remote only, sequence 2 is set local only etc.

Maybe I just need to RTFM but up to now I couldn't find any detailed explanation. The fun of exploration, right!!
1 year 3 months ago #89686

Please Log in or Create an account to join the conversation.

The issue *should* be resolved for Windows but there are now build issues on Windows that we must resolve first.
1 year 3 months ago #89688

Please Log in or Create an account to join the conversation.

Time to create page: 1.245 seconds