×

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

Bi-monthly release with minor bug fixes and improvements

Two astroberries, one GPS

  • Posts: 5
  • Thank you received: 0
Hi all,

I have two astroberries on my network, one with a UBlox GPS dongle, the other without.

DeviceOne,
GPS dongle works fine - plug it in and time/location update, indi driver runs, GPS panel updates location etc etc. I've disabled VirtualGPS and set gpsd listen stream to 0.0.0.0:2947

All good.


DeviceTwo
I've disabled VirtualGPs etc.
Ekos sees the GPS Indi driver on DeviceOne, so KStars updates correctly, etc
CGPS, GPSMon, XGPS can all see GPS on DeviceOne:2947 and report position/time from it correctly.

All good.

What I would like is for DeviceTwo astroberry OS, GPS Panel, system time etc to also update from the GPS on DeviceOne

But, in GPS Panel on DeviceTwo, all I see is "Waiting....".

I've plugged the GPS dongle into DeviceTwo and GPS Panel etc all update correctly.

So I want GPS Panel, system time etc on DeviceTwo to be set from GPS on DeviceOne.

Anybody point me at what I need to do to get DeviceTwo to see the GPS on DeviceOne and behave as though it were directly connected?

Thanks in advance,
Mark
1 year 10 months ago #83176

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

  • Posts: 348
  • Thank you received: 69

Replied by Giles on topic Two astroberries, one GPS

A combination of tty_bus , tty_attach, tty_fake to multiplex the serial port, and then a use of socat to transport one serial port over the network would probably do this. As the GPS is an output only device it shouldn't be too difficult. You can search sites like stackexchange for some script examples.
The following user(s) said Thank You: Mark Elliott
1 year 10 months ago #83194

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

  • Posts: 216
  • Thank you received: 120
I've used this to connect multiple computers to the same gpsd:

gist.github.com/rickbassham/61d3b02ce959...656a7125#remote-gpsd

This is done on the machine NOT running gpsd. Just update the remote host to be the ip or hostname of the machine running gpsd.
The following user(s) said Thank You: Mark Elliott
1 year 10 months ago #83198

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

  • Posts: 5
  • Thank you received: 0
Thanks guys,

I'll try these later in the week and let you know

Mark
1 year 10 months ago #83200

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

  • Posts: 5
  • Thank you received: 0
I gave up. I tried all sorts and mostly achieved nothing.

In fact, I've given up with astroberry - gone back to good old Buster/Indiwebmanager on PIs, and Ubuntu/kstars on laptop.

It was an interesting exercise, but in the end beyond my skills (and patience). And there's probably no real need to do what was just a fanciful idea.

Mark
Last edit: 1 year 10 months ago by Mark Elliott.
1 year 10 months ago #83408

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Two astroberries, one GPS

One way of sharing GPS with INDI from one device to another would be to add GPSD as a remote driver to your profile.
Last edit: 1 year 10 months ago by Andrew.
1 year 10 months ago #83423

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

  • Posts: 5
  • Thank you received: 0
Sharing GPS with Indi was the easy bit, that works well.

I was trying to share with Astroberry OS, so on all Astroberry devices the GPS panel etc would update.

It was more of a mind game than a necessity. There is every chance I missed something obvious. I might try again one bored day.
Last edit: 1 year 10 months ago by Mark Elliott.
1 year 10 months ago #83430

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

Moderators: Radek Kaczorek
Time to create page: 0.648 seconds