Questioning about pH sensor


#1

Hello, I’m currently having an IoT project with pH sensor, wondering how if my sensor is not available in cayenne? can I still connect it?This is my sensor http://www.depoinovasi.com/produk-975-sensor-ph-tanah-support-arduino.html .

Thanks. Your help is meaning for me.


#2

you can connect literally any sensor to cayenne. Once you get the data from the sensor, just send it to cayenne using:

Cayenne.virtualWrite(virtual_channel, data, "soil_ph", "null");

where virtual_channel is the channel used for communication.
data: the sensor data
soil_ph: type value
null: unit value
just make sure to use correct data types.Data types for Cayenne MQTT API