×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

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
4 months 1 week ago #83176

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

  • Posts: 344
  • Thank you received: 68

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.
__
I blog my progress: www.coochey.net
The following user(s) said Thank You: Mark Elliott
4 months 6 days ago #83194

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

  • Posts: 211
  • Thank you received: 118
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.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
The following user(s) said Thank You: Mark Elliott
4 months 6 days 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
4 months 6 days 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: 3 months 4 weeks ago by Mark Elliott.
3 months 4 weeks ago #83408

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

  • Posts: 1275
  • Thank you received: 221

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.
INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Waveshare Stepper Motor Board - DIY Focuser
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last edit: 3 months 3 weeks ago by Andrew.
3 months 3 weeks 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: 3 months 3 weeks ago by Mark Elliott.
3 months 3 weeks ago #83430

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

Moderators: Radek Kaczorek
Time to create page: 0.833 seconds