DHT11/22 checkHumidity syntax error
-
@Jetsada-Machom said in DHT11/22 checkHumidity syntax error:
/dev/mem not exist here.
Yeah, that's the problem. Onion-devs broke their firmware some time ago and the broken firmware doesn't have /dev/mem. The DHT22-app requires it.
-
In the meantime, the last firmware that works is http://repo.onion.io/omega2/images/omega2p-v0.1.6-b137.bin
-
So are ANY sensors working with my new doorstop?
-
AFAIK the Omega will not provide data from any sensors and we are waiting for a response from @Lazar-Demin to indicate when it will be fixed.
So we have not been able to use the SD card for the first 2 months. Been unable to reboot the Omega and struggled with the very specific power requirements of the device.
We are also waiting for the GPIO fix. Look forward to reading your comments @Lazar-Demin
-
And I thought the galileo/edison were released before they were ready....
I think I'm going to cut my loses and find another IoT uP. I'm glad I'm only into this $20 and 3-4 hours.
I might start a youtube channel and video 'peeling an onion' or shooting it with a 308 or something.
Good luck all you onioneers. I'm out of here.
Anyone have any suggestions other than an arduino MKR1000?
-
WeMos D1 Mini Pro and Pi variants (Official charitable Foundation for me).
Pi Zero starts at $5 plus a few bits but can be as little as $2 for WiFi adaptor (plus PSU and SD card).
-
Cheers! -
-
@WereCatf No
-
@Joris-Mulliez said in DHT11/22 checkHumidity syntax error:
Hi all,
I'm planning to use the DS18B20 too.
I open an issue here : https://github.com/OnionIoT/Onion-Docs/issues/18Let see the onion response
Now fixed as per https://community.onion.io/topic/1310/1-wire-temperature-sensor-ds18b20-on-omega2/19
-
@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