There is bluetooth device called “Flower Care” that allows to measure light intensity, soil moisture, soil fertility and temperature of the house plant’s soil.
Currently there is no capability that could accommodate soil fertility
Here is a suggested measurement based on Illuminance Measurement capability:
name: Soil Fertility Measurement
status: live
attributes:
soilFertility:
schema:
type: object
properties:
value:
type: number
minimum: 0
maximum: 6000
unit:
type: string
enum:
- µS/cm
default: µS/cm
required: [“value”]
type: NUMBER
unit: µS/cm
commands: {
}
public: true
id: soilFertilityMeasurement
ocfResourceType: oic.r.sensor.soilFertility
version: 1
FYI In some of the flower care API they call the soil fertility as Conductivity