timehat:software_03-2025
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
timehat:software_03-2025 [2025/03/16 01:19] – created millerjs | timehat:software_03-2025 [2025/03/16 01:38] (current) – [System Status Web Page] millerjs | ||
---|---|---|---|
Line 4: | Line 4: | ||
* RV-3032-c7 Version | * RV-3032-c7 Version | ||
- | ==== General ==== | + | ===== General |
Software Info | Software Info | ||
* The operating system is Raspbian Lite (64bit) | * The operating system is Raspbian Lite (64bit) | ||
Line 19: | Line 19: | ||
* WiFi and Bluetooth disabled to save power. Also WiFi is generally too unstable for use as a network time server. | * WiFi and Bluetooth disabled to save power. Also WiFi is generally too unstable for use as a network time server. | ||
* RAM usage is minimal, any Pi can run this setup, adding more RAM will not improve performance. | * RAM usage is minimal, any Pi can run this setup, adding more RAM will not improve performance. | ||
+ | |||
+ | ===== System Status Web Page ===== | ||
+ | To provide users with a quick snapshot of the status of the TimeHat system, I created a simple web page that shows things like the system uptime, temperature from the CPU and RTC, chrony status, gpsd status, and current satellite map and historical satellite heat map. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | This page is updated every five minutes by the '' | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | This script generates two JSON files which are placed in ''/ | ||
+ | ==== script ==== | ||
+ | |||
+ | ==== HTML ==== | ||
+ | |||
+ | ==== example JSON ==== | ||
+ | ===== Config Files ===== | ||
+ | |||
+ | ==== config.txt ==== | ||
+ | ''/ | ||
+ | |||
+ | <file config.txt> | ||
+ | # For more options and information see | ||
+ | # http:// | ||
+ | # Some settings may impact device functionality. See link above for details | ||
+ | |||
+ | dtparam=i2c_arm=on | ||
+ | dtoverlay=i2c-rtc, | ||
+ | dtparam=backup-switchover-mode=1 | ||
+ | |||
+ | arm_64bit=1 | ||
+ | |||
+ | [all] | ||
+ | enable_uart=1 | ||
+ | dtoverlay=disable-wifi | ||
+ | dtoverlay=disable-bt | ||
+ | dtoverlay=pps-gpio, | ||
+ | dtparam=act_led_trigger=heartbeat | ||
+ | |||
+ | disable_fw_kms_setup=1 | ||
+ | auto_initramfs=1 | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | arm_boost=0 | ||
+ | arm_freq=1000 | ||
+ | force_turbo=1 | ||
+ | </ | ||
+ | |||
+ | ==== gpsd ==== | ||
+ | ''/ | ||
+ | |||
+ | < | ||
+ | GPSD_OPTIONS=" | ||
+ | DEVICES="/ | ||
+ | </ | ||
+ | |||
+ | ==== gpsd.service ==== | ||
+ | ''/ | ||
+ | |||
+ | < | ||
+ | [Unit] | ||
+ | Description=GPS (Global Positioning System) Daemon | ||
+ | Requires=gpsd.socket | ||
+ | # Needed with chrony SOCK refclock | ||
+ | After=chronyd.service | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | EnvironmentFile=-/ | ||
+ | EnvironmentFile=-/ | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | Also=gpsd.socket | ||
+ | </ | ||
+ | |||
+ | ==== chrony.conf ==== | ||
+ | ''/ | ||
+ | |||
+ | < | ||
+ | server time-a.nist.gov | ||
+ | server time-a-wwv.nist.gov | ||
+ | server time-a-b.nist.gov | ||
+ | |||
+ | refclock SOCK / | ||
+ | |||
+ | rtcsync | ||
+ | |||
+ | logchange 0.5 | ||
+ | |||
+ | local stratum 10 | ||
+ | |||
+ | makestep 1.0 3 | ||
+ | |||
+ | logdir / | ||
+ | log statistics tracking | ||
+ | |||
+ | dumpdir / | ||
+ | driftfile / | ||
+ | |||
+ | allow | ||
+ | </ | ||
+ | |||
+ | ==== chronyd.service ==== | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | < | ||
+ | [Unit] | ||
+ | Description=chrony, | ||
+ | Documentation=man: | ||
+ | Conflicts=openntpd.service ntp.service ntpsec.service | ||
+ | Wants=time-sync.target | ||
+ | Before=time-sync.target | ||
+ | After=network.target | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | Alias=chronyd.service | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ |
timehat/software_03-2025.1742087950.txt.gz · Last modified: by millerjs