app.logger.warning("{} indicates soil is dangerously dry !!! ({} cb)!".format(sensor,cb))
app.logger.warning("{} indicates soil is dangerously dry !!! ({} cb)!".format(sensor,cb))
else:
app.logger.error("Measurement not it expected range {}".format(cb))
def_conv_micro_volts_to_moiture_cb(micro_volts):
"""
Lora Bridge device has to channels (A and B). Only the channel A is connected. To read correctly the value from the channel A, you should take the byte 3 to 5.
Lora Bridge device has to channels (A and B).
Only the channel A is connected. To read correctly the value from the channel A, you should take the byte 3 to 5.
Then, you should decoded from Hex to Decimal. IMPORTANT: The value is expressed in µV. (1V = 1.000.000µV)
Sensor Voltage range is from 0V to 3V. This voltage range is linearly dependent to the real value of the sensor, which is expressed in cb (kPa):
Sensor Voltage range is from 0V to 3V.
This voltage range is linearly dependent to the real value of the sensor, which is expressed in cb (kPa):
- 0V = Plants are wet - do not need watering (0cb)