DHT11/22 checkHumidity syntax error
-
@WereCatf the DHT11 spec is +/- 2°C and the DHT 22 +/- 0.5°C so the DS18B20 at +/- 0.5°C is as accurate as the DHT22 and considerably more accurate than the DHT11.
@Lazar-Demin could you please include the One-Wire patch as there are also others that have posted about wanting to use the DS18B20. I guess One-Wire is required for lots of sensors.
-
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
-
@Joris-Mulliez there is also a request by @James-Turck at http://community.onion.io/topic/1310/1-wire-temperature-sensor-ds18b20-on-omega2 and my GitHub issue at https://github.com/OnionIoT/Onion-Console/issues/50
-
@WereCatf, I try with your new binary yet face "Segmentation fault". Any idea what wrong? I tested with two different omega still same result.
-
@Lee-BoonTatt found the issue is due to newer firmware resolved after sysupgrade omega2p-v0.1.6-b137.bin
-
@WereCatf I tested your precompiled binary with a DHT22 but got segmentation error.
Is there anything to do additionally?
-
@Claus-Kühnel Does /dev/mem exist?
-
@WereCatf I got segmentation fault also.
/dev/mem not exist here.root@Omega-xxxx:~# oupgrade
Device 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!
root@Omega-xxxx:~# ls /dev/mem*
/dev/memory_bandwidth
root@Omega-xxxx:~#
-
@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..