Matt W1CDN
  • Joined on 2023-04-08
W1CDN created repository W1CDN/vulpes 2023-08-21 21:48:55 -05:00
W1CDN commented on pull request W1CDN/aprs_tool#30 2023-08-21 13:00:11 -05:00
Add status page

No response. Next up is to swap in the kiss3 package (see if it basically works) and then try the async method, I guess. https://github.com/python-aprs/kiss3/blob/main/examples/tcp_async.py

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-28 19:00:06 -05:00
Add status page

About the connection query issue: I asked on a kiss3 GitHub issue because that might be under more active development. https://github.com/python-aprs/kiss3/issues/9

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-26 21:32:10 -05:00
Add status page

Might try to drop this from 1 to None as in the example at https://github.com/python-aprs/kiss3/blob/main/examples/tcp_send_recv.py:

for frame in ki.read(min_frames=1):

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-26 20:57:00 -05:00
Add status page

To test this, I can write up a test connection to run locally, establish the connection, the unplug the network and see what happens. Plug back in to see if reconnect is successful.

I tried…

W1CDN commented on issue W1CDN/aprs_tool#37 2023-07-26 20:48:19 -05:00
KISS connection seems unstable

Following from experiments around W1CDN/aprs_tool#30 (comment), maybe the issue is partly on the direwolf side? Sometimes it stops responding to connections…

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-26 13:29:42 -05:00
Add status page

Before running ki.start(), running ki gets you TCPKISS(_protocol=None).

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-26 11:25:05 -05:00
Add status page

Once I figure out how to get the data out of above, I think I can check the connection every so often using one of these solutions: https://stackoverflow.com/questions/474528/how-to-repeatedly-exec…

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-26 09:11:40 -05:00
Add status page

Running interactively, you can get some info from the ki object:

>>> ki = aprs.TCPKISS(host="localhost", port=8001)
>>> ki
TCPKISS(_protocol=None)
>>> ki.start()
>>> ki
TCPKISS(_protoc…
W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-25 14:09:55 -05:00
Add status page

Still thinking about where this message might be coming from, and how to check the connection periodically.

image

Something with…

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-14 09:57:33 -05:00
Add status page

If packet is an object, aprs.fi link should track the object name, not the station name (or have a link for each?)

W1CDN commented on issue W1CDN/aprs_tool#37 2023-07-12 22:45:50 -05:00
KISS connection seems unstable

Might consider using aprs3 package instead? https://github.com/python-aprs/aprs3

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-12 17:55:22 -05:00
Add status page

Yep, work on #37 next. There must be a way to monitor connections (#34).

W1CDN opened issue W1CDN/aprs_tool#37 2023-07-12 14:42:22 -05:00
KISS connection seems unstable
W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-09 22:19:12 -05:00
Add status page

Eh, the times work for now.

Still need to figure out relative paths, though. Works on dev but not on production.

# this should work: stations = json.loads(requests.get(url_for("stations"…
W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-09 11:45:01 -05:00
Add status page

Need to access the stations list via a new API endpoint.

This should give dates in the right format. Top table here uses API, bottom is raw db query results: ![image](/attachments/c07bb3a2-de0…

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-09 10:17:31 -05:00
Add status page

Stations table update seems to work now. Need to query the stations table at index.html rather than doing the math on the frames table.

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-07-08 21:57:46 -05:00
Add status page

Got test_db.py as an example for upsert code. Added the stations table definition to schema.sql so I can track changes there.

Will have to manually fill in the table to match what I have in my…

W1CDN commented on pull request W1CDN/aprs_tool#30 2023-06-28 17:30:09 -05:00
Add status page

This packet isn't included, why? image

W1CDN opened issue W1CDN/aprs_tool#34 2023-06-28 11:32:24 -05:00
Report whether direwolf KISS connection is active or not