×

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

Bi-monthly release with minor bug fixes and improvements

Driver OnStep (LX200 like) for INDI

  • Posts: 144
  • Thank you received: 7
In wifi is not stable in USB is perfect.
Yes i have a focuser but i not use,
Ettore
1 year 2 months ago #90472

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

  • Posts: 452
  • Thank you received: 71
@Khalid, Ettore,

Yes F1A is asking for the first Focuser but it is never called in real situation , only in the Python test (if so configured).

@ Ettore good to see you managed doing the Python test but you'd better customize examples/test-timeouts.py to match your real liofe (commands used by your particular set-up).

@Khalid According to Ettore's screen shot he is using port 9998.

I see nothing else than pinging the OnStep address during test to see if there are lags in the connection. I see no other explanation than bad WiFi here but sure it needs to be proven.
I would issue a ping with this command

ping -D 192.168.0.40 > pings
to have a history of the network latency during tests with OnStep
1 year 2 months ago #90474

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

  • Posts: 322
  • Thank you received: 31
My thinking is the same as Alain,

It looks like the WiFi connection is unstable or weak for some reason.
If the underlying connection is unstable, then errors will happen like what you see.

Ettore,
Start with the ping command to see if the connection is stable or not.
1 year 2 months ago #90475

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

  • Posts: 144
  • Thank you received: 7
1 year 2 months ago #90476
Attachments:

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

  • Posts: 452
  • Thank you received: 71
Yes I have same values ... when not communication with OnStep, but when I run the communication tests it goes higher anyhow on my side never more 30ms .
What I suggested was to run the test over a long period and in parallel run the ping sot than you can see what's happening at network level.
Anyhow when the timeout arrives with the test scripts you can (with good probability) deduce it is a network problem.

If you use the ESP8266 without external antenna it is more likely to limit good connection to some 10 to 20 meters outdoors .
Example in my observatory despite the wooden structure I have no good connection between Observatory and Home (Observatory to home WiFi is 40 meters strait line without obstacles) After that I installed a WiFi antenna outside without success.
Do you use the WiFi of your Raspberry?
1 year 2 months ago #90477

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

  • Posts: 144
  • Thank you received: 7
Yes i use wifi of raspberry
1 year 2 months ago #90481

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

  • Posts: 452
  • Thank you received: 71
OK.

So I suppose Raspberry is running Indiserver and Kstars!
OnStep is connected to Raspberry over WiFi.
Do you also connect remotely to Raspberry via WiFi with VNC?
1 year 2 months ago #90482

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

  • Posts: 144
  • Thank you received: 7
Yes running Indi e kstars but now i'm trying indiweb manager.
Onstep is connected to raspberry over wifi.
For connection remotely i use vnc 64 bit.
Ettore
1 year 2 months ago #90484

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

  • Posts: 452
  • Thank you received: 71
This is most probably one of the cause of your network issue.
The Raspberry pi must route OnStep and VNC traffic which is not huge I agree, theoretically should be largely enough but by experience Raspberry Pi WiFi is not one of the best for that.
This is the reason Why I decide to go over Optical fiber finally.

I got this kind of problems in two scenarii:
Raspberry running IdI/Kstars and VNC for remote connection
and later
I tried Raspberry as a USB over IP server so taht I could remotely connect all devices as if they are connected to my remote machine.

In both case I got this WiFi Bottleneck .

Di you ever try wit an Ethernet cable for the remote VNC connection?

I know it is not a solution to your WiFi but a test to see if the problem remains
Last edit: 1 year 2 months ago by Alain Zwingelstein.
1 year 2 months ago #90485

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

  • Posts: 144
  • Thank you received: 7
I've never tried with a network cable, I'll try next week and see what happens.
Thanks.
Ettore
1 year 2 months ago #90486

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

  • Posts: 452
  • Thank you received: 71
Good luck,

keep in touch
1 year 2 months ago #90487

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

  • Posts: 144
  • Thank you received: 7
Sure.
Ettore
1 year 2 months ago #90488

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

Time to create page: 0.701 seconds