Difference between revisions of "WebRig"

From Tučňák Wiki
Jump to: navigation, search
Line 1: Line 1:
  
Webrig is web application that allows remote control of hamradio transceiver.  
+
Webrig is web application that allows remote control of hamradio transceiver. It uses today's web technologies like HTML5 and AJAX to provide same experience as desktop application.
  
 
=Principles of operation=
 
=Principles of operation=
 
[[File: WebRigPrinciples.png]]
 
[[File: WebRigPrinciples.png]]
 +
 +
Webrig consists of some small PHP scripts. It should run on any web server (apache) with PHP support. To access rig (transceiver) it uses hamlib utility rigctl. WebRig is calling rigctl periodically to read rig state like frequency, mode etc. When user changes rig settings, WebRig sends appropriate command to radio. Because of using of rigctld daemon, more users can access the rig simultaneously.
 +
 +
=How to install=
 +
* Download the archive and unzip they into tree of webserver (maybe '''/var/www/webrig''').
 +
* Install hamlib utilities - '''sudo apt-get install libhamlib-utils''')
 +
* Search for model number of your rig - '''rigctl -l'''. Next text assume 311.
 +
* Test if hamlib can communicate with radio - '''rigctl -m 311 f'''. This command should return current frequency. In case of problems try to add -vvvvv command to show verbose informations.

Revision as of 22:21, 15 February 2015

Webrig is web application that allows remote control of hamradio transceiver. It uses today's web technologies like HTML5 and AJAX to provide same experience as desktop application.

Principles of operation

WebRigPrinciples.png

Webrig consists of some small PHP scripts. It should run on any web server (apache) with PHP support. To access rig (transceiver) it uses hamlib utility rigctl. WebRig is calling rigctl periodically to read rig state like frequency, mode etc. When user changes rig settings, WebRig sends appropriate command to radio. Because of using of rigctld daemon, more users can access the rig simultaneously.

How to install

  • Download the archive and unzip they into tree of webserver (maybe /var/www/webrig).
  • Install hamlib utilities - sudo apt-get install libhamlib-utils)
  • Search for model number of your rig - rigctl -l. Next text assume 311.
  • Test if hamlib can communicate with radio - rigctl -m 311 f. This command should return current frequency. In case of problems try to add -vvvvv command to show verbose informations.