Configure Hivetool

From HiveTool
Revision as of 04:07, 12 February 2015 by Paul (talk | contribs)
Jump to: navigation, search

Hivetool configuration data is stored in one or two places.

  1. /home/hivetool/hive.conf
  2. HIVE_PARAMETERS table in hivetool_raw database (if SQLite or MySQL is running).

On a minimal system, hive.conf can be edited with a text editor.


HIVE_NAME=XP003
HIVE_CITY=Asheville
HIVE_STATE=North Carolina
HIVE_COUNTRY=USA
HIVE_ELEVATION=2700
HIVE_ORIENTATION=
WX_STATION_ID=KNCCANDL1
WX_NAME=Enka, Candler, NC
WIFI_SSID=
WIFI_PASSWORD=
DATABASE_USER=
DATABASE_PASSWORD=
HIVETOOL_USER=
HIVETOOL_PASSWORD=
HIVE_WEIGHT_SENSOR=none
HIVE_WEIGHT_DEV=
HIVE_WEIGHT_SLOPE=60000
HIVE_WEIGHT_INTERCEPT=55568
HIVE_TEMP_SENSOR=TEMPerHUM
HIVE_TEMP_DEV=/dev/hidraw1
HIVE_TEMP_SLOPE=1
HIVE_TEMP_INTERCEPT=0
AMBIENT_TEMP_SENSOR=TEMPerHUM
AMBIENT_TEMP_DEV=/dev/hidraw5
AMBIENT_TEMP_SLOPE=1
AMBIENT_TEMP_INTERCEPT=0


If a webserver is running, config.pl can be used to set variables in both the config file and the database.

Hivetool Configuration Screen

The configuration screen has five ares:

  1. Location
  2. Weather Station
  3. Communication
  4. Sensors
  5. Hive Parameters