×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Astroberry Server 2.0.0 is available now!

  • Posts: 1067
  • Thank you received: 136


It’s actually all excellent, the only advice I could offer, is to ditch the astropanel.conf file, as it’s not really needed, as the info can come from the weather app or a GPS, That is more than sufficent, as dummies like me don’t want to be going into config files and editing...as that’s how things break... :(

Or if the astropanel.conf file is needed, (for other reasons) then maybe make it easier for users to input there own data...
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
The following user(s) said Thank You: Craig
Last edit: 2 years 1 month ago by AstroNerd.
2 years 1 month ago #46249
The topic has been locked.
  • Posts: 1067
  • Thank you received: 136
Any ideas anyone, GPS now connected and I get this on both GPS and astropanel....
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
Last edit: 2 years 1 month ago by AstroNerd.
2 years 1 month ago #46261
Attachments:
The topic has been locked.
  • Posts: 1067
  • Thank you received: 136
Now showing this....not sure what has happened... :(
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
2 years 1 month ago #46262
Attachments:
The topic has been locked.
  • Posts: 1067
  • Thank you received: 136
Ok, false alarm, a second reboot seemed to sort it. :)
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
2 years 1 month ago #46263
The topic has been locked.
  • Posts: 1067
  • Thank you received: 136
Ok, so I got a GPS fix in Ekos, and on the panel.... :)
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
Last edit: 2 years 1 month ago by AstroNerd.
2 years 1 month ago #46268
Attachments:
The topic has been locked.
  • Posts: 407
  • Thank you received: 74
Radek here is my suggestion:-

1. Simplify - do we need the skymap,full GPS info - i dont but interested to know if others do. The location map is fine and enough for me !

2. Set up simple ALL user environment variables called Latposition,Lonposition,Elevation (names could be anything ). Allow user to set these via a simple Web interface/panel. Put them in users profile. That makes them permanent (unless edited again). Should only need to be done once unless user has moved location and has no GPS and no internet. This becomes the default!

3. Location map function - using something like openstreetmap we can simply allow a user to select a location and get the coordinates (lat/Long) example here forum.openstreetmap.org/viewtopic.php?id=57038
and set Environment vars above to extracted Lat/Lon. Again only needs to be done once per session BUT does need Internet

4. Using GPSPIPE command and DQ application (json parser) extract Lat,Lon,Elevation,Date/Time - null is returned if nothing exists for TPV data - so command could be as simple as gpspipe -w -n 4 -p |grep TPV |jq .lon (for longtitude) and set Environment variable appropriately. but only if value is returned (the GPSPIPE command will return nothing if no TPV data has been produced.

This could be a script on a timer as per GPSPanel. GPSPIPE doesn't need root permissions to work with GPSD !

This will have no effect if no GPS device is fitted or working!

Note - have tried out the simple GPSPIPE commands on my Ublox7 and they work - when the GPS device works.

So unless the Environment vars have been changed in one of the above ways the "default" ones in the profile will always apply.

This is much like you existing system but simpler IMO and doesn't depend on Python but would need Java for the Openstreetmap item described in (3).

Anyway just an idea ! :-)
RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
2 years 1 month ago #46277
The topic has been locked.
  • Posts: 971
  • Thank you received: 371
Thanks for the ideas guys! Each and every worth considering.
Some users do not use GPS at all, so GPS Panel is useless for them but they will would like to use Astro Panel with Solar System objects data. We have to have good source of location data for users that do not use GPS, so config file is a must because... they will not necessarily use Weather Plugin at all.
So things are getting complicated indeed. Especially if we add location data for KStars to this puzzle. To complicate things even more some users prefer to use Skychart than KStars...
The idea to use environment variables seems interesting and easy to implement. Let me rethink the approach. There is some space for improvement for sure.

I'm very curious about 'bad gateway' errors you report. Technically speaking the root cause is gpspanel.service or respectively astropanel.service is down, so nginx server which handles web interface cannot display content in sliding menu panels. Have no idea why would they go down though. To nail it down I need your help.
If it happens just run (depending which panel is not available):
systemctl status gpspanel.service
OR
systemctl status astropanel.service

Send the output to github.com/rkaczorek/astroberry-server/issues or here.
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 1 month ago #46281
The topic has been locked.
  • Posts: 387
  • Thank you received: 13
Hello,

What enables AstroPanel to be visible?

I show it running, but do not see any side menu. Did a config step get missed?
2 years 1 month ago #46283
The topic has been locked.
  • Posts: 971
  • Thank you received: 371
It is available only if you access the system with web browser. Just point your browser to astroberry.local the panels are accessible on left side sliding bar
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 1 month ago #46285
The topic has been locked.
  • Posts: 1067
  • Thank you received: 136

To be honest I have no idea why the errors appeared on the panels, and it was on both at the same time, BUT after two reboots it went, and has been fine ever since, but will do what you suggest if it occurs again...
I guess with my ideas,

Regards my ideas, I was assuming that everyone would at least use the weather app, but if that’s not the case, then fair point, then all that is needed is a simplified way of entering own data to the astropanel.conf file, rather than having to edit the actual file itself...?. Also would it not be a good idea to use those same data inputs to feed the GPS panel, when a GPS is not present, so at least it will show correct location data, albeit static...rather than the Warsaw data..

Have to say though it runs very well, and fast, an excellent job... :)
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
2 years 1 month ago #46286
The topic has been locked.
  • Posts: 971
  • Thank you received: 371

Good points!
I can add a Location Setting in the system menu. And you are right that GPS Panel can use location set in astropanel.conf if GPS is not present.
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 1 month ago #46288
The topic has been locked.
  • Posts: 407
  • Thank you received: 74
Might be wrong but of course if you use Indiserver you have to put in your location either via the end application - CDC or via Indi Control or Driver.

As there exists tools to get(and set) Indi properties from the command line perhaps we should use the Indi location properties. ?

Except for kit that have there own GPS/Handset you are "up the creek without a paddle" as far slewing etc so the location detail have to be set so why not use them. I presume ,but have never noted, these get updated by GPS if its being used.
RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
2 years 1 month ago #46289
The topic has been locked.
Moderators: Radek Kaczorek
Time to create page: 1.131 seconds