I recently added a GPS module to my RaspPi with PiAware 3.6.2 stretch to build a NTP server on it. I tried some configurations and currently I’ve gpsd running. After some time I wondered why the green IO LED flashes up every second.
I found out that /usr/bin/piaware tries to connect to gpsd as well and if available it writes every TPV sentence (once per second) to /var/cache/piaware/location(.env). I think it makes no sense to fry microSD Cards by writing this information every second without checking if the position changed noticeable. Using “-cachedir” to move the cache to a tmpfs would be a bad workaround since the feeder_id lives there as well.
I would prefer an option to disable the gpsd connection at all since I defined my position on the webinterface quite well. Or maybe some option to define it statically in the local config.