jump to navigation

SvxlinkWrapper – Wrapper for SvxLink to provide additional functionally such as QSO logging and auto-connect May 17, 2012

Posted by GuySoft in Hamakor, ITU, linux, open source, programming, python.
Tags: , , , ,

Hey all,

A short post to announce a small piece of software I released today on github for the ham radio people.
I give you SvxlinkWrapper, this wrapper sits on top of Svxlink‘s stdout and stdin and processes it with python. Making it easy to add more advance features to Svxlinik. Since Svxlink is written in C++ and takes a while to compile, this wrapper really speeds up development. Furthermore, it uses straight.plugin making its simple to write more modules by extending SvxlinkwrapperModule and placing it in the modules folder.

Currently the to modules that SvxlinkWrapper has are for auto-connect to Echolink nodes on startup and another for a QSO logger for Echolink connections. There is also a module that should let you send commands over the Echolink chat, if you extend it. This lets me open and close repeater connections directly from the Echolink chat box.

Thats it for today, now that I have more free time, I hope to publish more things, 73


1. kc9mhe - May 18, 2012

Very cool. Can’t wait to try it out.

GuySoft - May 18, 2012

If you get stuck please comment 🙂
Its not been tested outside my system, and you are likely to run in to small errors here and there

2. on4top - July 3, 2012

How to install ? Don’t understand i verry good … i have a running SvxLink ..would like to have Echolink web log …

GuySoft - July 19, 2012

Follow the README file, please tell me where exactly you get stuck.

3. ea7bj - July 23, 2012

how to install only the autoconnect module? step by step, thanks

GuySoft - July 30, 2012

You simply specify it in config.ini under the main section:

Make sure you have a section for the plugin config that looks something like this:
#Max connection attempts before giving up. 0 means unlimited
STATIONS={"*ISRAEL*": "532865" ,"4Z7GAI-R": "624651"}

You can get a list of connected nodes and their numbers here

4. ea7bj - September 6, 2012


5. Tom - October 7, 2013

I followed the readme .. but how do i start it ?

oot@svxlink /home/ham/src # python SvxLinkWrapper.py
Traceback (most recent call last):
File “SvxLinkWrapper.py”, line 42, in
SOUNDS_PATH = os.path.join(dirname,’..’,config.get(‘main’, ‘SOUNDS_PATH’))
File “/usr/lib/python2.7/ConfigParser.py”, line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option ‘sounds_path’ in section: ‘main’

How do i link it with svxlink ? That’s not clear to me in the readme ..

GuySoft - October 7, 2013

Hey Tom,
Ops, had a few errors in the example ini file.

Please re-clone or just do “git pull origin master“ from the Svxlink folder.
Or download the file manually from here. Basically sounds_path and the db path were incorrect.

The way you link it with svxlink, is that SvxLinkWrapper executes svxlink for you, so you must specify the binary path in the config.ini file (the default is /usr/bin/svxlink).

Hope this helps, please keep me posted!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: