Various sensors - only one alarm possible?

which float switch are you referring to? do you have any link to it. is it possible to connect it to the raspberry pi?

Hi shramik
This is it

have a look at this video https://www.youtube.com/watch?v=ijPnZpMll4E
just replace it with the raspberry pi and connect it to 3.3.v in place of 5v. then you can just connect it as a digital button to cayenne.

Thanks once again shramik, that helps a lot
Appreciated…

Shramik, in fact this is just what I need, perfect thanks so much. I guess, I can set this up now in cayenne , is that correct.

yes, you can step your entire project with cayenne.

Excellent, thanks for helping with that shramik👍

Hi, my first sensor has arrived, its a 3 pin DHT11 humidity and temprature sensor. so I looked on the forum and the Cayenne pages to see how to install it and found this

adamLeader

Jan '17

You’re right, the apps do not have support for mqtt yet. It’s coming.

So my question is, it would be fantastic if this has been done. If not does anyone know for a complete beginner like me the most simplest way of getting this into cayenne please.

Here is the working code for DHT https://github.com/myDevicesIoT/Cayenne-MQTT-Arduino/blob/master/examples/CommunitySubmitted/DHT/DHT.ino

Hi Shramik

Thanks for the reply

Is this just a matter of cut and paste all that’s there ?

Or will I need an editor ?

Sorry about my lack of knowledge but it’s all new to me and in my case every little (knowledge) helps…a lot !

which device are you using? raspberry pi or arduino?

Raspberry pi !

there are two ways to go with.

  1. Cayenne Agent:- Use DHT plugin https://github.com/myDevicesIoT/cayenne-plugin-dht
  2. Cayenne Python library:- Combine DHT python https://github.com/adafruit/DHT-sensor-library/blob/master/examples/DHTtester/DHTtester.ino with cayenne python library https://github.com/myDevicesIoT/Cayenne-MQTT-Python

With 1st option, you need minimum programming knowledge (as in how to add the plugin in the pi) but it has limited sensor plugins. with 2nd option, you need python programming knowledge but you can add any sensor to your pi.

Thanks again shramik, really good of you to help.
I’ll take a look tonight and hopefully we will be in luck , thanks

Just one quick question.

Do you know if I still need to use a 10k pull up resistor with this as it’s not mentioned here?

Does your sensor look like this https://robu.in/wp-content/uploads/2017/04/DHT11-Digital-Relative-Humidity-Temperature-Sensor-Module-ROBU.IN_-2.jpg with the small resistor on the left?

Not exactly but I’m sure it has resistors, it’s identical to this one
https://images.app.goo.gl/qbPhM4rcaJonfWAf9
Hope you can see it

no need of resistor, connect VCC to 3.3v

Hey thanks that’s great and will try tonight, really appreciate it👍