Matt W1CDN
  • Joined on 2023-04-08
W1CDN closed issue W1CDN/aprs_tool#8 2023-04-16 21:14:17 -05:00
RSS feed
W1CDN opened issue W1CDN/aprs_tool#24 2023-04-16 21:14:08 -05:00
API data formats
W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-16 21:09:04 -05:00
Sort, filter, and limit results at /packets

It might be time to use sqlalchemy or some other way to abstract the database calls. My first pass is pretty ugly.

For example, I should be able to arbitrarily select on ANY field.

W1CDN commented on pull request W1CDN/aprs_tool#23 2023-04-16 19:26:32 -05:00
Sort, filter, and limit results at /packets

I wonder if using aprs_api/packets/<callsign-ssid> works better on the back end than aprs_api/packets/?from=<callsign-ssid>.

W1CDN commented on issue W1CDN/aprs_tool#2 2023-04-16 19:00:28 -05:00
Include requested path and actual path in API

This seems to be the path field we get in the current version.

W1CDN closed issue W1CDN/aprs_tool#7 2023-04-16 18:57:46 -05:00
Use kissutil for reading and writing frames/packets
W1CDN commented on issue W1CDN/aprs_tool#7 2023-04-16 18:57:44 -05:00
Use kissutil for reading and writing frames/packets

Don't need this right now.

W1CDN created pull request W1CDN/aprs_tool#23 2023-04-16 18:51:41 -05:00
Sort, filter, and limit results at /packets
W1CDN merged pull request W1CDN/aprs_tool#20 2023-04-16 16:45:55 -05:00
Add background KISS connection, log frames to database
W1CDN closed issue W1CDN/aprs_tool#5 2023-04-16 16:45:55 -05:00
Connect API with KISS or AGWPE
W1CDN pushed to main at W1CDN/aprs_tool 2023-04-16 16:45:54 -05:00
467ec11522 Merge pull request 'Add background KISS connection, log frames to database' (#20) from add-kiss into main
2ca627f973 Add kiss stuff to config.
ef5765e87f Add missing fields and try to catch sqlite errors.
7453d50598 Update waitress IP to make it work on production.
14effc9746 Try to get working on production.
Compare 11 commits »
W1CDN opened issue W1CDN/aprs_tool#22 2023-04-16 11:49:15 -05:00
Deal with third-party packets
W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-16 11:32:41 -05:00
Add background KISS connection, log frames to database

I'll be debugging packets forever, I think!

{'raw': 'FGFFLS>APRS,TCPIP,W1CDN-1*:;FGFFLS2AA*170815z4753.10N\\09657.90Ww FLOOD }k0I8Pdd`P:88P{G2AAA', 'from': 'FGFFLS', 'to': 'APRS', 'path':…
W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-16 10:39:06 -05:00
Add background KISS connection, log frames to database

Drop this stuff into config.ini:

MYCALL = os.environ.get("MYCALL", "W1CDN")
KISS_HOST = os.environ.get("KISS_HOST", "192.168.0.30")
KISS_PORT = os.environ.get("KISS_PORT", "8001")
W1CDN opened issue W1CDN/aprs_tool#21 2023-04-16 10:15:01 -05:00
Basic transmit API endpoint
W1CDN commented on issue W1CDN/aprs_tool#5 2023-04-16 10:11:22 -05:00
Connect API with KISS or AGWPE

Progress on #20 means that one KISS connection is always active for receive. Need to think about how to best use the connection so we don't go over the maximum of three KISS clients (default…

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-16 09:55:03 -05:00
Add background KISS connection, log frames to database

I thought I had the db entry set up right, but running overnight didn't yield new entries...

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-15 14:22:34 -05:00
Add background KISS connection, log frames to database

The above issues fixed with with code changes, but things aren't working using waitress on the production machine. Flask dev server works fine.

Getting 502 Bad Gateway with waitress.

W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-15 13:40:53 -05:00
Add background KISS connection, log frames to database
  • fix this issue
$ python kiss_and_db.py 
  File "kiss_and_db.py", line 93
    attrib_names = ', '.join(f'"{w}"' for w in a.keys())
    ```
    
On production ^, Python 3.7.3.

But…
W1CDN commented on pull request W1CDN/aprs_tool#20 2023-04-15 13:24:14 -05:00
Add background KISS connection, log frames to database

I think it was the DB Browser--I made a manual edit to the structure and didn't save it.