Adding custom sensor - NDIR CO2 Sensor

I’m new to Cayenne and I’m trying to see if there is a way to add custom sensors that aren’t in the package already. I have this sensor 50,000ppm MH-Z16 NDIR CO2 Sensor with I2C/UART 5V/3.3V Interface for Arduino/Raspeberry Pi | Sandbox Electronics and was wondering if I would be able to use it with Cayenne on my RaspPi3? Seems that the I2C bus isn’t available in Cayenne though?

Is there a way to add custom sensors?

I also see the DHT22 is on the RaspPi roadmap but it appears the only way to get a temp/humdiity sensor is through an Arduino.

Best regards,
Chris

Welcome to Cayenne!

It is certainly possible with MQTT http://www.cayenne-mydevices.com/docs/#bring-your-own-thing-api This API was just added a few days ago so should should start to see examples posted soon.

Question about that…but first here is what I’m currently doing.

rasppi = MCP23017 (relay and transistor I/O control)
MCP3008 (analog sensor array)
CO2 Sensor

ESP8266 = DHT22 sensor

If I was to go the MQTT route would that require a third microcontroller or could I use the rasppi and have another instance of a sensor on the same device?

you can use dht22 with esp8266

have a look at this project ESP8266-12E, Arduino, DHT22, BMP180, Cayenne