Questioning about pH sensor

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 Sensor pH Tanah Support Arduino .

Thanks. Your help is meaning for me.

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

2 Likes