I have a need for a remote connection so I have tried out a travel router. I am connected to it's network with my MacBook Pro.
Every time I connect to Ekos the time is off. I can readjust the time in KStars but it apparently also is creating chaos with my mount. At least one evening the mount did not park at it's allotted time and the mount hit my tripod. Now when I attempt a GoTo move the mount thinks that it needs to do a Meridian flip. The last time imaging I had to disable the Meridian Flip as GoTo was hung up with the Meridian Flip confusion.
Is there a good way of making the Raspberry Pi understand what the time actually is?
I read somewhere where Jasem suggested that the Stellarmate Controller included RTC. What is the Stellarmate Controller? How would this be enabled?
Would this problem be alleviated by using the Stellarmate App?
Would it work (still using the travel router) to have the software driven on my MacBook instead of being driven by the Pi unit?
I use these docs.macetech.com/doku.php/chronopi Keeps time even when there's no power to the Pi, easy to fit and very accurate time keeping. There are other types but I'm sure they'll work just as well.
If you use SM App, it would try to sync GPS time and location every time you connect to the unit. RTC would help you by saving the time when unit is powered off. At any rate, the App should ensure both time and location are always correct. You don't need to use the App for everything, just connect to the unit to sync GPS.
I have a power outage so it is an excellent time to try things out.
I still don’t have the RTC from on order.
I did however try connecting to the StellarMate app this evening. The good thing was that I think it synced up the time. The bad thing is that every few seconds it drops the connection and says that it has a sync error.
The IP that I am connected to on the StellarMate app matches the travel router.
I believe that the travel router is set up on station mode. I have a small Ethernet cable going from the Pi unit and the travel router.
What should the network settings read on the StellarMate app?
Presently I am connected to my MacBook with no issues that I see other than the fact that my battery will run out sometime tonight.
I would like to get the StellarMate App going for times that I will be imaging remotely.
Jasem, I just tried putting the profile I had into the trash can. I am getting the same behavior as before. The connection to Ekos intermittantly flashes on and off. When I am in Ekos there is an intermittant Syncing message about every other second.
This same network over the travel router did give me an entire night of imaging over my MacBook Pro using Real VNC.
Is there an area online that I could go to that shows suggested settings for using a travel router with the Stellarmate App?
I do believe that I am at least in a state where using the iPad to connect to the Pi with Ekos gives me a good time sync with Ekos and travel router over Real VNC. That however is a lengthy process to do this every night that I am imaging.
It might be advantageous if I start another thread more specific to the Stellarmate App if there isn't a simple solution to the bad connection issue.
Alan: How do you enable the mace tech real time clock?
I powered up the Pi unit and have keyboard and mouse control over a monitor.
Your link follows through the entire installation of the rtc chip.
I followed the hardware installation instructions.
I made it through the initial instructions as the Raspberry Pi OS was already installed with Stellarmate.
Steps 3 to 5 were easy as the rtc script already was installed in the boot folder. I skipped down to step 7.
7. (If using monitor, keyboard, and mouse to configure the Pi)
Eject micro-SD card from your computer and insert into Raspberry Pi
Attach Pi to monitor, keyboard, mouse, and Ethernet cable
Attach Pi to a USB power source
Wait for the Raspberry Pi to boot up
Open a command line terminal
Here is where I am stuck.
8. Enter sudo hwclock -r which should display the date and time (example below):
Fri 12 May 2017 20:28:09 UTC -0.737856 seconds
After the above entry I get the following error message:
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the —verbose option to see the details of our search for an access method.
My guess is that the Raspberry Pi OS is somewhat modified with the Stellarmate install. It is evident that there is a provision for the rtc chip because the needed script (step 4) was already in place.
Assuming that you also use the Stellarmate OS, what do you do to get the RTC chip to work properly?
Carefully check the line in the config.txt file "dtoverlay=i2c-rtc,ds3231" because I've had the same error message in the past when I'd made a mistake typing in that line. Copy and paste it off the website onto a new line and comment out the original line with a # and try that.
I've used the Macetech Chronopi on RasperryPi OS and Ubuntu systems for a few years now I've just tried out the new Ubuntu 64 bit system and it also works fine on that.
Alan, I went through the verification of the script in the setup directory and it once again looked good.
I went to the command prompt and entered the sudo hwclock -r verification. Once again it errored out.
With no other ideas I went to the Stellarmate update screen (which I also did prior to the last time I tried the hwclock install) and it found an update that I let run and reboot. When it came back I was surprised to see that the version and package number were exactly the same.
I went back into the command prompt and entered sudo hwclock -r once again. For whatever reason this time it displayed the time. I followed the ChronoPi install scripts and even though there were several errors it in the end apparently installed the real time clock.
I will be trying this out and see if I now have a true time lock.
To be honest I was thinking that the battery must have been dead. I was ready to go out and buy a new one.
If this works I will want to buy another RTC chip.
Thank you for directing me towards what I was looking for.
Alan and Jasem: I plugged in my travel router with the updated RTC install. There was no conflict with time when I changed my network to the travel router's IP and did Real VNC.
Just wondering whether something might come up differently when using the Stellarmate app I entered this application on my iPad. As soon as I clicked refresh everything came up properly with Ekos! Perhaps the chip install helped both in telling proper time as well as communicating properly with the Stellarmate app. The only other thing that I did was update the Stellarmate OS while hooked up to monitor from 1.70 to 1.71.
Last edit: 3 months 20 hours ago by Paul Imm. Reason: Update