WebRig

From Tučňák Wiki
Revision as of 21:21, 15 February 2015 by Ok1zia (talk | contribs)
Jump to navigation Jump to search

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

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.