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
FYI In some of the flower care API they call the soil fertility as Conductivity