1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-20 08:31:11 -05:00
aprsd/aprsd
Hemna fc3a747aa4 Added new time plugins
This patch adds 2 new time plugins to allow admins to use their
opencagedata APIkey or openweathermap API key to fetch the timezone
from the lat/lon GPS coordinates for the callsign requesting the time.

This will enable fetching the time local to the ham radio's last beacon,
and not time local to the aprsd server instance running.  If the
location is not found, then the timezone will default to UTC.

The 2 new plugins are
- aprsd.plugins.time.TimeOpenCageDataPlugin
   Fetches timezone from lat/lon using the opencagedata api that can be
   found here:  https://opencagedata.com/dashboard#api-keys

   This requires a new ~/.config/aprsd/aprsd.yml entry to specify the
   api key.
   opencagedata:
       apiKey: <the api key hash here>

- aprsd.plugins.time.TimeOWMPlugin
   Fetches the timezone from lat/lon using the openweathermap api
   that can be found here:  https://home.openweathermap.org/api_keys

   This requires a new ~/.config/aprsd/aprsd.yml entry to specify the
   api key.
   openweathermap:
       apiKey: <the api key hash here>
2021-01-20 10:19:49 -05:00
..
plugins Added new time plugins 2021-01-20 10:19:49 -05:00
__init__.py Lots of fixes 2021-01-08 20:58:18 -05:00
client.py Added a fix for failed logins to APRS-IS 2021-01-12 09:31:04 -05:00
dev.py Added aprsd-dev plugin test cli and WxPlugin 2021-01-15 22:30:34 -05:00
email.py Enabled some emailthread messages and added timestamp 2021-01-15 11:12:43 -05:00
fake_aprs.py Lots of fixes 2021-01-08 20:58:18 -05:00
fuzzyclock.py Lots of fixes 2021-01-08 20:58:18 -05:00
main.py Fixed main server client initialization 2021-01-14 15:44:07 -05:00
messaging.py Changed default log level to INFO 2021-01-14 14:32:59 -05:00
plugin_utils.py Added new time plugins 2021-01-20 10:19:49 -05:00
plugin.py Added aprsd-dev plugin test cli and WxPlugin 2021-01-15 22:30:34 -05:00
threads.py Fix tox tests. 2021-01-15 12:06:09 -05:00
utils.py Added new time plugins 2021-01-20 10:19:49 -05:00