Matt W1CDN
  • Joined on 2023-04-08
W1CDN closed issue W1CDN/aprs_tool#15 2023-05-14 10:18:10 -05:00
Sort /packets by newest first, by default
W1CDN commented on issue W1CDN/aprs_tool#28 2023-05-13 21:17:44 -05:00
New API endpoint: stations

Like this from current dw logs and frontail. Fields like callsign, count, last heard, location, symbol?

image

W1CDN commented on issue W1CDN/aprs_tool#16 2023-05-13 21:16:29 -05:00
Digipeater dashboard

Something like this (in current dw log going to frontail), but more interactive (sorting and filtering): image

W1CDN commented on pull request W1CDN/aprs_tool#23 2023-05-13 21:13:19 -05:00
Sort, filter, and limit results at /packets

A lot of this work can be repurposed for #28, but I'll open a new PR for that.

Letting this branch run on the live system for a bit to see if anything breaks, then will close.

W1CDN closed issue W1CDN/aprs_tool#2 2023-05-13 21:11:54 -05:00
Include requested path and actual path in API
W1CDN closed issue W1CDN/aprs_tool#13 2023-05-13 21:11:10 -05:00
Parse raw frames
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-05-13 21:07:45 -05:00
Sort, filter, and limit results at /packets

New field created_unix works. As a bonus, you can group vaguely by timestamp using a wildcard. For example, http://127.0.0.1:5001/packets?created_unix=1684029% captures values between…

W1CDN commented on issue W1CDN/aprs_tool#27 2023-05-13 18:09:06 -05:00
API query frames by created date/time

You can also already pull limited time blocks using wildcards on created: http://127.0.0.1:5001/packets?created=2023-04% returns packets in April 2023.

See https://amiok.net/gitea/W1CDN/aprs_too…

W1CDN opened issue W1CDN/aprs_tool#29 2023-05-13 18:08:17 -05:00
Are they packets or frames?
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-05-13 17:41:00 -05:00
Sort, filter, and limit results at /packets

To close #27, is it easier to query on timestamp or by the text version of created?

W1CDN opened issue W1CDN/aprs_tool#28 2023-05-13 17:39:12 -05:00
New API endpoint: stations
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-05-13 11:16:35 -05:00
Sort, filter, and limit results at /packets

I added LIKE instead of =, which will let you do wildcards with % as in: http://127.0.0.1:5001/packets?created=2023-04% or http://127.0.0.1:5001/packets?from=%UND%.

W1CDN commented on pull request W1CDN/aprs_tool#23 2023-05-13 11:11:15 -05:00
Sort, filter, and limit results at /packets

Excited about the latest commit, which allows you to query on any field in the frames table.

I'm not sure if you can do wildcards or not.

W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-28 10:12:38 -05:00
Sort, filter, and limit results at /packets
{'raw': 'K0UND-2>APDW16,WIDE1-1,WIDE2-1:}WLNK-1>APWLK,TCPIP,K0UND-2*::W1CDN-13 :ack1', 'from': 'K0UND-2', 'to': 'APDW16', 'path': ['WIDE1-1', 'WIDE2-1'], 'via': '', 'format': 'thirdparty',…
W1CDN opened issue W1CDN/aprs_tool#27 2023-04-27 19:33:22 -05:00
API query frames by created date/time
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-27 09:45:33 -05:00
Sort, filter, and limit results at /packets

On live code, moved the rest of the processing inside the try()...else() at

try:
.

W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-27 09:30:57 -05:00
Sort, filter, and limit results at /packets
{'raw': 'K0UND-2>APDW16,WIDE2-1:!b69Ld5xIC#  #UND SARA; undsara.org; 146.865 (-) 123.0', 'from': 'K0UND-2', 'to': 'APDW16', 'path': ['WIDE2-1'], 'via': '', 'messagecapable': False, 'format':…
W1CDN opened issue W1CDN/aprs_tool#26 2023-04-25 16:22:23 -05:00
Log packets that cause errors
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-25 14:34:07 -05:00
Sort, filter, and limit results at /packets

The query was ordering by row ID by default, I added ORDER BY created DESC.

Now messages don't work (unrelated to recent change):

{'raw': 'W1CDN-2>APQTH1,K0UND-2,WIDE2-2::W1CDN-2  :Test…
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-25 12:27:25 -05:00
Sort, filter, and limit results at /packets

The packets are still getting into the db, it's the query that is broken. Will have to rethink this when I have a moment.