rcrum003 / HiveControl

Alternative software for use with HiveTool suite of software.
GNU General Public License v2.0
25 stars 13 forks source link

Unable to get Temperature / humidity from BME680 #70

Closed DaveyRance closed 4 years ago

DaveyRance commented 4 years ago

Fresh install yesterday of buster and then installed from github following the basic install instructions.

Connected a BME680 and configured temp/hum sensors for bme680 set the slope / zero intercept at 0 and 1 per help bubble.

Click on re-read get the following for the value Temp F, Humidity%, Dew F, Temp C -17.60

ssh in and manually run the drive and i get the following results. pi@raspberrypi:/home/HiveControl/software/BME680_driver $ sudo bme680 72.57 22.54 50.29 1002.57 7330 72.61 22.56 50.14 1002.63 10437 72.66 22.59 50.00 1002.61 12902

change to the scripts / temp folder and run the following pi@raspberrypi:/home/HiveControl/scripts/temp $ sudo ./gettemp.sh ./gettemp.sh: line 14: [: =: unary operator expected (standard_in) 1: syntax error (standard_in) 1: syntax error -17.60

rcrum003 commented 4 years ago

Try running the bme script in that folder as well.

On Oct 17, 2019, at 6:16 PM, Davey Rance notifications@github.com wrote:

 Fresh install yesterday of buster and then installed from github following the basic install instructions.

Connected a BME680 and configured temp/hum sensors for bme680 set the slope / zero intercept at 0 and 1 per help bubble.

Click on re-read get the following for the value Temp F, Humidity%, Dew F, Temp C -17.60

ssh in and manually run the drive and i get the following results. pi@raspberrypi:/home/HiveControl/software/BME680_driver $ sudo bme680 72.57 22.54 50.29 1002.57 7330 72.61 22.56 50.14 1002.63 10437 72.66 22.59 50.00 1002.61 12902

change to the scripts / temp folder and run the following pi@raspberrypi:/home/HiveControl/scripts/temp $ sudo ./gettemp.sh ./gettemp.sh: line 14: [: =: unary operator expected (standard_in) 1: syntax error (standard_in) 1: syntax error -17.60

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

DaveyRance commented 4 years ago

That works it is just if it is called from the gettemp.sh it seems to not work. pi@raspberrypi:/home/HiveControl/scripts/temp $ sudo ./bme680.sh 70.1 51.82 52.76 21.1 1010.44 8423

DaveyRance commented 4 years ago

Strange after leaving the system powered down for the night to a demo at our bee club this morning it is reading the bme680 correctly. i guess user error :)

rcrum003 commented 4 years ago

It can take up to 5 minutes to appear in the config files once set from the web GUI.

Currentconditions.sh calls the config scripts each time it runs.

So, if it’s the first time setting it up, running gettemp.sh does take a bit.

On Oct 18, 2019, at 7:04 AM, Davey Rance notifications@github.com wrote:

 Strange after leaving the system powered down for the night to a demo at our bee club this morning it is reading the bme680 correctly. i guess user error :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.