DHT11, DHT22 Sensors

@jrustling @pallottamrc @woz @chris.wood

Hey guys,

We feel you, this is high priority item for us after we release our MQTT API!

By the way, if you guys have Arduino you can use Cayenne and DHT11.

Hang in there!

-B

I’m certainly waiting, with a worm on my tongue…

(baited breath)

1 Like

All fine and good but the ethernet shield for the Arduino costs more than the entire RPi which includes ethernet.

Chris Wood
Dept. of PBEE (Botany)
Oklahoma State University
HBRC 230E (office)
301 Physical Science (main department office)
Stillwater, OK 74078-3013
chris.woodokstateedu
405-744-5529

By the time you pay shipping on a Pi you can almost buy 20 ESP-12e’s :wink:

1 Like

WiFi is not the same as ethernet. It is difficult to connect small devices to the WPA-Enterprise WiFi networks at most universities.

Chris Wood
Dept. of PBEE (Botany)
Oklahoma State University
HBRC 230E (office)
301 Physical Science (main department office)
Stillwater, OK 74078-3013
chris.woodokstateedu
405-744-5529

For cheap ethernet there’s always this device: Amazon.com

It’s not officially supported, although @kreggly made a post guessing which libraries are required to make it work. I thought I added one to my amazon order last week but must not have made it in. I’ll get one ordered today and hopefully give it a try this week.

1 Like

straight up!

Benny, I got the DHT22 and Arduino working perfectly now! I think I fully understand the issue of virtual pins you were talking about yesterday. I’m going to play with triggers and then move on to the sensors!
Thanks again!
Lance

1 Like

Glad to hear it, please feel free to make a new thread if you have questions or need help with any of those, or anything related to Cayenne. You can always message me as well.

@lance2 Great to hear! :slight_smile:
-B

Benny, the triggers are working and the notifications to email and the phone work. Since I have an Apple watch, the notications show up there too! I’m going to try and set up the Raspberry Pi Zero to work with the Arduino and triggers.
I’ll let you know how that works.
-Lance

how did you make arduino and DHT22 to work? im figuring it out but cant do it :frowning: can you link me code? or something :slight_smile:

@micho111 here is a link to some code that @Ian used to get his dht11 online and working.

Once you get going, don’t forget about our project submission contest going on right now!

Cheers,

-B

Woohoo! Look at you go!

As always, keep us all updated with your progress and reach out if you need help with anything. There are guys on the Cayenne community ready to help out. (And much smarter than me :slight_smile: )

Talk soon,

-B

Benny, if I wanted to send one of the community members code to a project, how do I do it?
I tried to copy and paste the code into a reply to his message and it showed up in a couple of different fonts and random parts of the code were gone.

You can highlight it all and click the pre-formatted text button at the top of the box. It looks like </>

1 Like

I’m also looking forward to the dht support. Have been using a pi for 3 years with mrtg and thingspeak with several dht22’s and just came across and immediately installed cayenne!
Jon Q

As I am new to the all stuff, based on your experiences, do you think that with Arduino, Cayenne and DHT_Cay.txt code can I hang several (multiple) DHT22 sensors and make a viable automation project? I need several DHT sensors in the project.
Bestes, pls add me on the list.
thanks

Welcome to Cayenne!

There are 2 options now. You can use Arduino and make custom code to send the values to the dashboard (scroll up for that) or you can also now do it with the Pi using MQTT. http://www.cayenne-mydevices.com/docs/#bring-your-own-thing-api