Questioning about pH sensor

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