DHT11/22 checkHumidity syntax error
-
@zinuzoid it works for b137 but the issue is that it doesn't have the SD card detect.. which very irritating
-
@WereCatf
I downloaden the request package : https://dl.dropboxusercontent.com/u/11811685/checkHumidity.tar.gzUnpacked it:
tar -zxvf checkHumidity.tar.gzDid the chmod:
chmod -R 755 /root/checkHumidity/bin/checkHumidityI checked the firmware
root@Omega-5101:~# oupgradeDevice Firmware Version: 0.1.9 b149
Checking latest version online...
Repo Firmware Version: 0.1.9 b149
Comparing version numbers
Device firmware is up to date!But I'm getting a segmation fault:
root@Omega-5101:~/checkHumidity/bin# ./checkHumidity 20 DHT11
Segmentation faultI tried different GPIO pin, all gave the same result
-
@Oene-Bakker This has already been answered multiple times in this thread..
-
@WereCatf
Yes, sorry was a bit too quickSo went back to the old firmware
root@Omega-5101:~/checkHumidity/bin# oupgrade -c
Device Firmware Version: 0.1.6 b137
Checking latest version online...
Repo Firmware Version: 0.1.9 b149
Comparing version numbers
New firmware version available, need to upgrade device firmwareNow I'm getting:
root@Omega-5101:~/checkHumidity/bin# ./checkHumidity 20 DHT11
-255.000000
-255.000000Checked the wiring and tried different GPIO's all with the same result
-
@Oene-Bakker Do you have a pull-up resistor on it?
-
@WereCatf
No but when I use a 10K pull up I get the same resultsroot@Omega-5101:~/checkHumidity/bin# ./checkHumidity 20 DHT11
-255.000000
-255.000000Also tried lower values 4.7K and 1K but that didn't work also
-
@Oene-Bakker Any luck with this? I have an Omega 1 and have the same problem albeit with the older version of checkHumidity.
-
@Prakhar-Birla no sorry. I stopped trying.
-
Dropbox stays the file is no longer available. Is there an alternate url to get checkHumidity for the Omega2? Please and thanks!
-
+1 on looking for the Omega2 compiled version of this. Dropbox link didn't work for me either.
-
+1 looking for the Omega2 ver as well
-
+1 still looking
-
Any updates about the binaries for omega2?
-
Hi all
Good news. I migrated original code successfully to work on Omega2!
See https://github.com/h0l0gram/omega2-checkHumidity for binary and source.Make sure your Omega2 has firmware >=0.1.10 b160 or it won't work.
root@Omega-1234:~# oupgrade -c > Device Firmware Version: 0.1.10 b160 > Checking latest version online... > Repo Firmware Version: 0.1.10 b160 > Comparing version numbers > Device firmware is up to date! root@Omega-1234:~#
See https://wiki.onion.io/Tutorials/Updating-the-Omega
Example
root@Omega-1234:~/checkHumidity# ./checkHumidity 19 DHT22 48.299999 28.299999