Commit Graph

273 Commits

Author SHA1 Message Date
Jakob Ketterl
57975b6f96 move connection tracking to all websockets 2019-09-22 12:57:13 +02:00
Jakob Ketterl
b4ffc6e2f0 replace os pipe with multiprocessing (seems to work better) 2019-09-22 12:56:35 +02:00
Jakob Ketterl
1ed69de5b0 un-couple messaging between connections; use non-blocking io 2019-09-21 22:10:16 +02:00
Jakob Ketterl
6ec85aa349 don't start up unnecesserily 2019-09-21 15:24:06 +02:00
Jakob Ketterl
671509df3b fix variable name 2019-09-21 15:19:10 +02:00
Jakob Ketterl
2edeffb761 close websocket connections in an improved way 2019-09-21 13:49:37 +02:00
Jakob Ketterl
ecbae5af2d implement icon rotation 2019-09-19 02:25:32 +02:00
Jakob Ketterl
996422ff4b show aprs symbols in decoding list, too 2019-09-19 00:18:51 +02:00
Jakob Ketterl
3e8e0c9224 first work on custom aprs icons 2019-09-18 18:50:48 +02:00
Jakob Ketterl
c6c4012a36 add aprs symbols to http server 2019-09-18 17:22:35 +02:00
Jakob Ketterl
30512e347a fix more threading issues; add users metric 2019-09-18 15:40:23 +02:00
Jakob Ketterl
6f983ccb6b synchronize scheduler access 2019-09-18 01:46:31 +02:00
Jakob Ketterl
3814767e28 count errors 2019-09-18 01:46:09 +02:00
Jakob Ketterl
243e73064a add band information to ysf locations 2019-09-17 18:44:37 +02:00
Jakob Ketterl
8df4f9ce52 add the ability to schedule profiles to be used when sources are idle 2019-09-16 00:31:35 +02:00
Jakob Ketterl
b0b2df5422 no need for shared instances here 2019-09-15 21:10:30 +02:00
Jakob Ketterl
5b6edd110d wsjt decoding depth configuration 2019-09-15 16:37:12 +02:00
Jakob Ketterl
392c226cbe overflow metrics 2019-09-15 12:23:35 +02:00
Jakob Ketterl
7689d1a2e2 narrow bandpass specifically for wspr 2019-09-15 12:23:11 +02:00
Jakob Ketterl
98f1545fca code format 2019-09-13 23:03:05 +02:00
Jakob Ketterl
311f22f6ba flag services (avoid connecting to aprs network twice) 2019-09-13 22:28:17 +02:00
Jakob Ketterl
be05b54053 jt65 seems very prone to false decodes 2019-09-13 20:58:37 +02:00
Jakob Ketterl
6ff55e1279 queue in / out stats 2019-09-13 00:16:36 +02:00
Jakob Ketterl
338a19373c count aprs decodes, too 2019-09-12 23:23:50 +02:00
Jakob Ketterl
bc5b16b5e3 rewire the metrics; make queue length metric available 2019-09-12 22:50:29 +02:00
Jakob Ketterl
a11875145b make wsjt queue configurable 2019-09-12 15:32:54 +02:00
Jakob Ketterl
25a1d06dcb Merge branch 'develop' into packet 2019-09-11 01:03:12 +02:00
Jakob Ketterl
d87e5da75c attempt to reduce cpu usage by pre-selecting parts of the spectrum with
resamplers
2019-09-11 00:30:14 +02:00
Jakob Ketterl
aac618bfee fix for python 3.5 2019-09-02 16:20:49 +01:00
Jakob Ketterl
2dcdad3a49 fix message parsing range 2019-08-28 22:09:52 +02:00
Jakob Ketterl
db8d4cd3fe display items and objects on the map 2019-08-28 22:01:01 +02:00
Jakob Ketterl
de22169ea8 implement item and object parsing 2019-08-28 21:56:50 +02:00
Jakob Ketterl
b24e56803c avoid overriding weather dict keys 2019-08-27 23:52:51 +02:00
Jakob Ketterl
5530c96f8e fix message offsets 2019-08-27 23:32:21 +02:00
Jakob Ketterl
1d8fea891a additional types; parse messages 2019-08-27 23:13:26 +02:00
Jakob Ketterl
707fcdb1ab convert fahrenheit to celsius 2019-08-27 11:42:48 +02:00
Jakob Ketterl
1a2f6b4970 improve weather decoding 2019-08-27 11:32:50 +02:00
Jakob Ketterl
4409a369fa implement weather report parsing 2019-08-26 23:43:08 +02:00
Jakob Ketterl
272c305ec2 handle exceptions that may occur when parsing strings to numbers 2019-08-26 13:24:23 +02:00
Jakob Ketterl
a81c5f44a2 improve thirtparty header parsing 2019-08-26 11:41:22 +02:00
Jakob Ketterl
2a09462f6f first work on the thirdparty header 2019-08-26 00:10:43 +02:00
Jakob Ketterl
5cc67aba15 handle execptions during decode to avoid worker drain 2019-08-23 22:32:46 +02:00
Jakob Ketterl
fadcb9b43f handle a full queue 2019-08-22 21:24:36 +02:00
Jakob Ketterl
24d134ad6c try to avoid stressing out the cpu by using a proper queue 2019-08-22 21:16:43 +02:00
Jakob Ketterl
faaef9d9f8 let's be nice 2019-08-22 20:51:36 +02:00
Jakob Ketterl
c5cc364918 filters don't seem to work 2019-08-22 20:51:09 +02:00
Jakob Ketterl
379251d29d filter smallest possible to avoid traffic from the network 2019-08-18 21:41:26 +02:00
Jakob Ketterl
94533e277c improve config 2019-08-18 01:39:23 +02:00
Jakob Ketterl
73102053dc code formatting 2019-08-18 00:16:08 +02:00
Jakob Ketterl
5fab3e3d36 add igate functionality 2019-08-18 00:15:07 +02:00
Jakob Ketterl
7e757c005c implement aprs data extensions 2019-08-17 22:04:45 +02:00
Jakob Ketterl
82eaff5da6 get altitude from comment 2019-08-17 20:35:32 +02:00
Jakob Ketterl
1eb28d6aee optimize 2019-08-17 20:20:28 +02:00
Jakob Ketterl
bdbe45e322 recognize third party data (don't think we can parse them) 2019-08-17 20:01:12 +02:00
Jakob Ketterl
34a8311647 remove annoying debugging line 2019-08-17 20:00:57 +02:00
Jakob Ketterl
5b72728aa2 timestamps, status updates, replace faulty characters 2019-08-17 13:39:02 +02:00
Jakob Ketterl
67f3dc7430 fix conversion errors 2019-08-16 16:43:16 +02:00
Jakob Ketterl
b40af9bbdc back to utf-8 2019-08-16 07:29:31 +02:00
Jakob Ketterl
cc66ffd6f3 use generated port numbers for direwolf, allowing multiple instances 2019-08-16 01:27:03 +02:00
Jakob Ketterl
5a7ef65c56 reduce debugging output 2019-08-15 23:33:02 +02:00
Jakob Ketterl
46ac0ecc77 convert speed to metric 2019-08-15 22:10:58 +02:00
Jakob Ketterl
cc6561bdda get course and speed and extended info from mic-e frames 2019-08-15 21:46:08 +02:00
Jakob Ketterl
3022406f63 get the extra information out of compressed messages 2019-08-15 21:00:01 +02:00
Jakob Ketterl
66382eb50f add symbol information 2019-08-15 20:28:24 +02:00
Jakob Ketterl
21591ad6b8 format 2019-08-15 19:56:59 +02:00
Jakob Ketterl
88bbb76752 make sure there is actually enough data to parse 2019-08-15 19:50:47 +02:00
Jakob Ketterl
765f075576 add some type information; fix string offsets 2019-08-15 18:21:35 +02:00
Jakob Ketterl
6b93973d9b decode mic-e device and altitude data 2019-08-15 18:08:20 +02:00
Jakob Ketterl
439da266a9 prevent empty frames 2019-08-15 15:53:55 +02:00
Jakob Ketterl
0207374592 restructure the code to have the parser sit where all the parsers sit 2019-08-15 15:45:15 +02:00
Jakob Ketterl
3dbc6ffb2b make aprs available as service 2019-08-12 00:02:39 +02:00
Jakob Ketterl
bf5e2bcc84 compressed locations; other TODOS 2019-08-11 22:58:04 +02:00
Jakob Ketterl
b80e85638a implement the horrifying mic-e protocol 2019-08-11 22:08:32 +02:00
Jakob Ketterl
12c92928fa pass through comments for display on the map 2019-08-11 18:42:41 +02:00
Jakob Ketterl
e5dffc3d9f better decoding 2019-08-11 18:13:12 +02:00
Jakob Ketterl
55c8ce7cf0 send decodes to map 2019-08-11 17:39:41 +02:00
Jakob Ketterl
cbb65e8d79 decode basic aprs frames 2019-08-11 17:18:02 +02:00
Jakob Ketterl
2053e5f521 get raw packet data from KISS socket and start decoding 2019-08-11 16:37:30 +02:00
Jakob Ketterl
5fbbd897b5 Merge branch 'develop' into packet 2019-08-11 11:53:29 +02:00
Jakob Ketterl
d467d79bdf code format with black 2019-08-11 11:37:45 +02:00
Jakob Ketterl
92321a3b4e simple metrics api to interface with collectd and grafana 2019-08-04 18:36:03 +02:00
Jakob Ketterl
766300bdff use latest improvementes for fft, too 2019-08-04 17:31:50 +02:00
Jakob Ketterl
8214fdb24d looks configurable to me, at least for now 2019-08-04 15:17:03 +02:00
Jakob Ketterl
42aae4c03a save some cpu cycles by only running necessary stuff for services 2019-08-04 14:55:56 +02:00
Jakob Ketterl
d1eaab7711 delay startup of background services to increase user interface response 2019-08-03 23:44:56 +02:00
Jakob Ketterl
98c5e9e15b allow service configuration 2019-07-28 13:29:45 +02:00
Jakob Ketterl
fa08009c50 more logging improvements 2019-07-28 12:11:22 +02:00
Jakob Ketterl
ce662796e3 Merge branch 'develop' into services 2019-07-28 11:45:55 +02:00
Jakob Ketterl
accf2a34ff fix exception when outside of band 2019-07-28 11:45:28 +02:00
Jakob Ketterl
a15e625692 de-duplicate; better logging 2019-07-28 11:40:58 +02:00
Jakob Ketterl
7689e31640 increase timeout 2019-07-23 20:28:51 +01:00
Jakob Ketterl
8c2cefe304 pass the nmux port on (defaults are bad...) 2019-07-23 16:43:46 +01:00
Jakob Ketterl
9c927d9001 first iteration of background services 2019-07-21 23:39:11 +02:00
Jakob Ketterl
2d6b0f1877 try to catch a failing sdr device 2019-07-21 22:13:20 +02:00
Jakob Ketterl
6c2488f052 fix shadowing warning 2019-07-21 22:12:41 +02:00
D0han
e15dc1ce11 Reformatted with black -l 120 -t py35 . 2019-07-21 19:40:28 +02:00
Jakob Ketterl
6900810f5d modify so that it runs with python 3.5, too 2019-07-21 13:07:38 +01:00
Jakob Ketterl
25b0e86f09 add FT4 because why not 2019-07-20 13:38:25 +02:00
Jakob Ketterl
18b65f769f better timestamping and overhaul 2019-07-20 12:47:10 +02:00
Jakob Ketterl
abd5cf0795 collect dial frequencies and send to client 2019-07-19 23:55:52 +02:00