HiveConTool Compilation -Revised- with instructions

11 posts / 0 new
Last post
Adrian
HiveConTool Compilation -Revised- with instructions

HiveConTool is Hivetool 0.73_RC3 integrated with HiveControl 1.57 (by Ryan) so that you can browse from one to the other.
It's configured for the sensor interface board, the sensors are enabled so you will get errors for those you have not connected; HX711, two DHT22's, TSL2591 Lux. Disable if not in use. Using the HiveControl weight calibration wizard works wonders.
Additionally ports are configured to be forwarded to the internet through a router, port 81 is for Hivetool where you can navigate to HiveControl
The default login to Pi is raspberry, HiveControl settings are password protected so the Data may be publicly displayed.
Of course Hivetool still uploads to the cloud so data may be viewed there. Don't forget to change all the defaults...there are many...
I don't write the software, just distributing a semi custom install so I can't answer programming questions.


Instructions for downloading and installing an SD card image of HiveConTool Beehive monitoring software for use on the Raspberry Pi2 and Pi3 from google drive;

Download from: https://drive.google.com/open?id=0B8ZWirzPwqHfdGgtRS03RWY3T0E

Release Notes 5/18/2016
HiveConTool is Hivetool 0.73_RC3 integrated with HiveControl 1.57 (by Ryan) so that you can browse from one to the other.
It's configured for the sensor interface board, the sensors are enabled so you will get errors for those you have not connected; HX711, two DHT22's, TSL2591 Lux. Disable if not in use. Using the HiveControl weight calibration wizard works wonders.
Additionally ports are configured to be forwarded to the internet through a router, port 81 is Hivetool where you can navigate to HiveControl
The default login to Pi is raspberry, HiveControl settings are password protected so the Data may be publicly displayed.
Of course Hivetool still uploads to the cloud so data may be viewed there.

Download & Installation Instructions
Select desired image file (usually the latest), download to a target device (Windows, Mac, Linux, Pi)
The image name abbreviates the content, eg HiveConTool_073_157.img.zip contains both Hivetool 0.73 and HiveControl 1.57 in one SD image file.
The download can take 30 minutes to an hour depending on network speed and other factors.
Once the zipped image is downloaded it’s checksum may be verified: 4eec0d09efb217f7121c2eb1ac3c85b4
Inflate the compressed image using unzip. The checksum of the unzipped image is: MD5 hash acef0265865dbe7634a27de944ec9a01,
The image may be burned to a 8 Gig or larger SD card. In extracting to the SD card all previous content will be lost. A useful program for writing images from windows to SD “device” is the Windisk 32 program.
Once loaded on the SD card, eject and prepare to boot in the Pi with an HDMI display, bluetooth or USB keyboard and mouse. (local terminal). If connecting to the LAN with WiFI, use the WiFi icon in the top right of the Pi Windows Manager to select the WiFi AP and set the password.
If a LAN connection is available and a router with DHCP enabled, access the connections table on the router and note the IP which has been issued to the Pi. Reserve this IP In the router for future access.
If connecting to a LAN by hardwire RJ45 you may run “headless” using Windows remote desktop connection (RDP), Xming + Putty or ssh. This is the preferred method to access the local content once the monitor is deployed.
Once you have established a connection with the Pi with a browser or the local console, a drop down menu will be available, the first step is expanding the file system to use all the space of the SD card. Select; Menu, Preferences, Raspberry Pi Configuration under System select Expand File system, a reboot will be necessary.
After reconnecting to the Pi console, preferences may be set, timezone, host name (default is NAPAPi5) and password (at time of writing console login is: pi, pw is raspberry).
If a wireless device is attached, a connection may be configured by selecting the wireless icon in the right upper screen header which allows setting of the pre-shared key of a WiFi access point. Don't wait until the monitor is in the field to setup WiFi.

If the image or Pi have not been updated recently do so before configuring as new features become available regularly.

Proceed with setting up Hivetool and / or HiveControl through the Hivetool link and configuration screens, the HiveControl link allows setting of many options.
The login to change HiveControl configuration is admin pw is hivetool!!
Start by turning off sensors you don’t have connected.
Then update to the latest version of HiveControl.
Change the name generally to match Hivetool to lessen confusion.
Don’t enable the sensors until they are connected as resources are consumed if sensors missing.

In the next release I'll try to clear the defaults. It's still a work in progress,
Many thanks to Paul & Ryan, and all the other contributors.
Enjoy,
Adrian

Instructions Revised 5/18/2016 by: A Ogden
Hivetool credit Paul
HiveControl credit Ryan

Esa
Esa's picture
can someone check whether

can someone check whether this HiveConTool_073_157.img.zip is still correct ? I have been trying to get it downloaded couple of times
but the hash -check gives wrong value.

C:\Users\maaniesa\Documents\Node>fciv.exe -md5 HiveConTool_073_157.img.zip
//
// File Checksum Integrity Verifier version 2.05.
//
4eec0d09efb217f7121c2eb1ac3c85b4 hivecontool_073_157.img.zip

Esa
Esa's picture
tried also to download to my

tried also to download to my old mac, no success :(

md5 HiveConTool_073_157.img.zip
MD5 (HiveConTool_073_157.img.zip) = dc80c54b0ca04893130f307d77b4e5a3

Paul
Paul's picture
md5sum for HiveConTool_073_157.img.zip on linux

Sorry Esa, I've been out of town. This image was prepared by Adrian. I just had a chance to try the image yesterday.
Note that on this page, Adrian ran md5 against the unzipped file, NOT the zipped:
http://hivetool.org/w/index.php?title=Software:_Install_Hivetool_Pi_imag...

On linux running: md5sum HiveConTool_073_157.img.zip
I get:
4eec0d09efb217f7121c2eb1ac3c85b4 HiveConTool_073_157.img.zip

ls -l HiveConTool_073_157.img.zip
-rw-r--r-- 1 paul users 2829710654 May 16 14:30 HiveConTool_073_157.img.zip

On linux, running: md5sum HiveConTool_073_157.img
I get:
acef0265865dbe7634a27de944ec9a01 HiveConTool_073_157.img

ls -l HiveConTool_073_157.img
-rw-r--r-- 1 root root 7013925376 May 7 08:18 HiveConTool_073_157.img

So, it looks like I get the same md5 hash that Adrian got on the zipped file.

Paul
Paul's picture
HiveConTool_073_157.img

A few other things we noticed yesterday when we tried the image:
1. the default hostname is set to NAPAPi5. You probably want to change that.
2. In HiveControl, the view video streaming is not working.
3. If you have bad reads on the sensors or sensors enabled that are not there, HiveTool code will stall trying to re-read the sensors and may cause a conflict with HiveControl trying to read the sensors. Maybe best to edit crontab and comment out one or the other, depending which one you want to run (at least until you have all the sensors working).

Esa
Esa's picture
thanks now got it right,

thanks now got it right, dummy me, sorry :)

also had some issue with the default zipper in my win laptop, after changing to use another got it unzipped correctly, and now hash also correct

Esa
Esa's picture
sigh - am I too tired or why

sigh - am I too tired or why these basic issues... ? :)

I got the Raspberry booted up, but when trying to access any of the Settings in HiveControl, the username/password check does
not accept P(/p)i/raspberry nor any other combination of those/admin/blank etc.
The instructions in github tells that pi/raspberry is the login details but...

Adrian
Login Clarification

The Pi host login is the default pi & raspberry which I'd strongly suggest changing.
The login to the Control settings is admin and hivetool!!
Hopefully we can get a resetting script installed for greater security.
You don't need to change or set passwords in Hivetool configuration just be sure you change the hive name so it matches the one provided to upload to HiveTool cloud. It's good to set the start date to current date so you don't see any old data. Old or bad data may be edited removed by logging into phpAdmin if needed. Remember this is only in reference to the local database, data files sent to the cloud are not accessible.
Hopefully this is not too confusing. Adrian

Adrian Ogden

Martin
password

the password is:
"hivetool!!" (including the two exclamation marks)
took me a while.....;)

Adam
Been gone for a while with

Been gone for a while with personal business and I'm getting my hivetool setup again.

In HiveConTool, under instruments there is a space to put in the Temperature Sensor location. How do I specify more than 1 temperature sensor? I have 2 temperhum's on /dev/hidraw1 /dev/hidraw3.

Esa
Esa's picture
I mistakenly pressed the

I mistakenly pressed the "Update code" button in the HiveControl after which the weight calibration seems to be out of synch. it thinks the weight is now zero.
I have had this HiveTool with scale, 2x TemperHums in the field now for a couple of months, the hive is about 115lbs currently and would not like to do the calibration again with the wizard - would it be possible to utilise the previous calibration values without the wizard ?

Log in to post comments