Configure Hivetool
Hivetool configuration data is stored in one or two places.
- /home/hivetool/hive.conf
- 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.
The configuration screen has five ares:
- Location
- Weather Station
- Communication
- Sensors
- Hive Parameters