×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

More RTC madness!!!!

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic More RTC madness!!!!

Documentation says these are equivalent:
-s, --hctosys
              Set the System Clock from the Hardware Clock
5 years 1 month ago #34908

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

  • Posts: 41
  • Thank you received: 4

Replied by Andres Rossi on topic More RTC madness!!!!

That's it!!! Just adding '&' at the end of the hwclock -s makes work it!
Thank you
5 years 1 month ago #34921

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

  • Posts: 31
  • Thank you received: 0

Replied by Freddy on topic More RTC madness!!!!

Can you explain where exactly do you place this command?
5 years 3 weeks ago #35798

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic More RTC madness!!!!

You add it to /etc/rc.local just above the line that says "exit 0"
Last edit: 5 years 3 weeks ago by Radek Kaczorek.
5 years 3 weeks ago #35803

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

  • Posts: 31
  • Thank you received: 0

Replied by Freddy on topic More RTC madness!!!!

Thanks Radek, I will add that once I receive my RTC.
5 years 3 weeks ago #35808

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

  • Posts: 328
  • Thank you received: 53

Replied by Ron Kramer on topic More RTC madness!!!!

I was pointed here. Total noob - so I've done nothing other than installed it on the pins.
I'm using astroberry. I have a D1307

I tried some online configs, but they just messed up my OS (well I did) and I reflashed.

Though I'm not sure if this is really needed - the clock seems to update from the network?
my config is unaltered (unless software will change it) I have not edited it.

these don't do anything really.

sudo apt-get install indi-full gsc - Does nothing I just get the prompt again

sudo i2cdetect -y 1 Error: could not open file /dec/i2c-1 or /dec/i2c/1 no such file in dir.

I didn't look for D1037 specific install - I'll google that and see if it reveals something.
AP Mach1 / CP4 APCC & PEMpro.
EXP SCI - ED152cf APO - Celestron 11" RASA - Stellarvue 80mm
Baader F2 HS NB filters, Lodestar X2 guide camera / OAG - ZWO 290mm mini
ZWO ASI1600MM Pro / ASI174M (solar) / ASI094MC
NEXDome, CLoudwatcher, AVX mount/ASIair and Stellarmate

5 years 3 weeks ago #35981

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

  • Posts: 328
  • Thank you received: 53

Replied by Ron Kramer on topic More RTC madness!!!!

DONE DEAL. I googled and this time I specified my chip.
It's working great. ONLY hard part was trying to save the dang config.txt on top of a system file. I HATE OS's that tell me I don't have permission.

For others - try this link.
pimylifeup.com/raspberry-pi-rtc/
AP Mach1 / CP4 APCC & PEMpro.
EXP SCI - ED152cf APO - Celestron 11" RASA - Stellarvue 80mm
Baader F2 HS NB filters, Lodestar X2 guide camera / OAG - ZWO 290mm mini
ZWO ASI1600MM Pro / ASI174M (solar) / ASI094MC
NEXDome, CLoudwatcher, AVX mount/ASIair and Stellarmate

The following user(s) said Thank You: Freddy
5 years 3 weeks ago #35987

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

  • Posts: 31
  • Thank you received: 0

Replied by Freddy on topic More RTC madness!!!!

Thank You! Just what I need....my RTC will arrive soon!
5 years 3 weeks ago #36025

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

  • Posts: 31
  • Thank you received: 0

Replied by Freddy on topic More RTC madness!!!!

How did you manage to save the file?
5 years 2 weeks ago #36255

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

  • Posts: 31
  • Thank you received: 0

Replied by Freddy on topic More RTC madness!!!!

Hi BrianH, what did you change in the config file? I have the same issue, I have a DS3231 but it show a DS1307 when I run the lsmod|grep rtc command.
5 years 2 weeks ago #36429

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

Moderators: Radek Kaczorek
Time to create page: 3.798 seconds