Wykres commitów

13 Commity (6a31a648cbff6bc34c2ca069eaf4b8789852a171)

Autor SHA1 Wiadomość Data
Fabian P. Schmidt 31b2aaddda celery: Add scheduled task update_beacon_receiver_distance
Celery beat is used to call update_beacon_receiver_distance_all
every five minutes.
The time interval is configurable by adjusting the configuration file.
2016-01-29 06:42:56 +01:00
Fabian P. Schmidt ae3788764d celery: Add task update_beacon_receiver_distance
Replaces ogn.commands.dbutils.update_receiver_childs
2016-01-29 06:42:56 +01:00
Konstantin Gründger 6cc6378496 Add (slow) [radius, theta, phi] calculation 2016-01-29 03:47:58 +01:00
Fabian P. Schmidt ff02699f7c gateway: Use the correct aprs port.
For client-defined filters, use port 14580;
for full-feed, use port 10152.
2015-11-30 15:26:20 +01:00
Fabian P. Schmidt 81fccc154e gateway: Add callback 'process_beacon'
This change enables us to define a custom callback which is
called when the gateway receives a packet
(e.g. save the incoming beacon in a database and generate
some statistics/aggregate data).
2015-11-30 15:11:10 +01:00
Fabian P. Schmidt 851559aced Logging: Enable custom logfile location. 2015-11-30 15:03:38 +01:00
Fabian P. Schmidt 6af31fe7a7 Move ogn client (gateway) to a separate file.
The documentation[1] says:
> In the simplest case, __init__.py can just be an empty file,
> but it can also execute initialization code for the package or
> set the __all__ variable, described later.

A class like 'ognGateway' can't be considered 'initialization code'.

[1]: https://docs.python.org/3/tutorial/modules.html#packages
2015-11-29 21:59:34 +01:00
Fabian P. Schmidt 57f51ec111 Fix pep8 again. 2015-11-29 21:52:21 +01:00
Konstantin Gründger 4fe0a29793 Added logger 2015-11-22 21:11:55 +01:00
Konstantin Gründger 92d2fa084d Test the gateway 2015-11-21 23:05:22 +01:00
Konstantin Gründger e66291e5ea Changed exception handling 2015-11-19 23:17:12 +01:00
Konstantin Gründger 120d5daf6b Cleanup 2015-11-15 12:10:20 +01:00
Fabian P. Schmidt 6cb9dd7801 Add common CLI manage.py.
New dependency: manage.py
2015-11-15 09:59:48 +01:00