I loaded the 0.7.3 image, and configured most of the configuration page options. I have entered a local weather station, and configured the system for lux and my two temp/humidity sensors. I do get correct readings in the database section when I read my hive data
In the database section under Hive data there's a Last Update field - it's wrong. my current time is 4-22-2016 11:12 the web page reads 2016-02-12 15:55:01
is this a know issue? Is there a new version available that fixes this?
http://hivetool.org/d/node/49
Check out post #13 (local database fix) and #21 (DHT22 reading fix), I think this will fix your issues
I had already made an attempt to implement those fixes, the log files and the timestamps I'm asking about are still not reading correctly.
The temperature and humitity, and lux seem to be actually reading ok.
The only fix I did from #13 was to add in the following line in hive.sh (new line 26) it seems to add the entrys in local database
BATTERY_VOLTAGE=0
I think I did the fix for #21 but I suppose I could have missed something... I don't think though that the dht22 readings should really affect log file and the system configuration file .
Notice my last update timestamp is from months ago. but my actual readings seem to be live values.
Strange, Can you post or attach the /home/hivetool/hivetool.log ?
RGNS-INCUBATOR 2016-02-12 15:55:01
Reading dapi:
HIVE_WEIGHT nan
HIVE_TEMP nan
HIVE_HUMIDITY nan
AMBIENT_TEMP nan
AMBIENT_HUMIDITY nan
AMBIENT_LIGHT 0.00
AMBIENT_RAIN 0.00
BATTERY_VOLTAGE nan
Downloading weather data from KGACLAYT6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 1 seconds. 5 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 2 seconds. 4 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 4 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 8 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 16 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: api.wunderground.com
Date-time 2016-02-12 15:55:01
Hive Weight NULL Sensor: none Slope: 0.00 Intercept: -9.87 Device: 5
Hive Temp NULL (DHT22 at 2 m=0.10 b=0.00)
Hive Humidity NULL
Hive Battery Voltage NULL
Ambient Temp NULL (DHT22 at 3 m=0.10 b=-0.50)
Ambient Humidity NULL
Ambient Light 0.00
Ambient Rain 0.00
WS Station ID KGACLAYT6
WS Temperature NULL
WS Wind Direction NULL
WS Wind Speed NULL
WS Wind Gust NULL
WS Dewpoint NULL
WS Humidity NULL
WS Pressure NULL
WS Precip Today NULL
Logging to RGNS-INCUBATOR.log
2016-02-12 15:55:01,NULL,NULL,NULL,NULL, NULL,NULL,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
Inserting row in database
1, 2016-02-12 15:55:01, NULL, NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
Uploading data to hivetool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 1 seconds. 5 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 2 seconds. 4 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 4 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 8 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 16 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: hivetool.org
Checking for hive command
no element found at line 1, column 0, byte 0 at /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2/XML/Parser.pm line 187.