Skip to content

JaraLowell/PythonPacket

Repository files navigation

PythonPacket

Python Ham Radio Packet with Webserver

By Jaralowell and MichTronics

Build in Python v3.10.10

What have we done so far, the program now can communicate back and forth with the WA8DED TNC, we can sewnd, and recieve; it also now can connect to a Meshtastic compatible lora node and send and recieve on that as well as relay between the two. Both also show on a map so you can see where said station come from and the range to said stations. Plans are to also itergrade APRS but about this i am not as of yet to sure as a lot of the protocol currently in use is seriously badly used causing thus a high trafic load for both cb and amateur open aprs servers. Always open to ideas and sugestions and or implementation of either or the likes. We not trying to make a BBS server, more a iGate between devices and the net making it you can access your radio everywhere in your house by just running this server on somting as small as a raspberry pi four or five.

It also only right now coded to work with the WA8DED protocol as some tnc's use so not KISS as if yet tough perhaps atr a stage this be a good thing to add or via a driver file of sorts. I'm in end just a hoby coder so am sure it not the best of the best and many other selutions be posible vs what i done. So who knows with a few more people we can make this a great add on packat software for the ham world.

Mine is running on a Raspberry PI, and then any computer in my house can access it via a web site as seen in the images below.

Language Language Language Language

Monitor afbeelding

MHeard afbeelding

Map (from MHeard) afbeelding

Setup

  • Node used v18.4.0

The serial config is in testold.js on line 211 {path: '/dev/ttyUSB0', baudRate: 9600} this point to an USB serial dongle the 1st one connected to the Rasberrie

The website config on line 108 conncts to ws://127.0.0.1:7712 this needs to reflect your own config obviously; where 127.0.0.1 is the IP or DNS name of the machine that is running the testold.js

To start from the command line start it via in the folder you have testold.js in

  • sudo node testold.js --expose-gc

if you have no http server to host the www folder, you can run

  • sudo node httpserver.js

Make sure your TNC modem was turned off and back one before starting the software, like give it a good seven counts before hitting enter after giving it power. Make sure the boudrate between pc is same as setup in the TNC modem (this is NOT tha trasmite boudrate) aand that the modem is in WA8DED mode.

To do...

  • Config file and option to change these via Config button
  • More cleaner and correct way of handling serial data and not as now via two ways
  • Additional option to choose either WA8DED or for example LISS
  • Working connect button rather then using ^C station
  • Maybe adding WSS and HTTPS as some browsers seem to think secure means somting when 30 trilion computers use it

Side note

This is early early setup, we still missing a lot of functions and to be fair, the js is a mess using two ways of serial port reading because well.. to lazy to do it right i guess... A fix for this should in time be made obviously so that we can choose between WA8DED or KISS or perhaps even Direwolf via simply selecting what module to start. But that for later versions

About

Python Ham Radio Packet now with Meshtastic Lora

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published