The readings however are reversed (the more moisture the lower the percentage of moisture according to the gauge and when completly dry I get something like 78% and when submerged in a class of water it drops to around 45%
The operation of the sensor works fine but the calibration is driving me nuts. I have tried something I found by @wellsy which after doing some calculations is something like:
In future, an error message from the log would help.
However I can see the issue. I wrote this on a tablet and it has substituted the incorrect quotation types. Also I missed a bracket. Try this (changing your sensor obviously):
Percentage readings are jumping from:
04720% to 439% when wet
various and upto 129092% when dry.
The gui from the nodemcu is constant 425 wet and 735 when dry. absolutly solid unlike the gauge.
Now … log files. Please accept my apologise for being a total knob but where (what name) would they be in. Im running hassio on a ubuntu VM. Cant see anything worth reporting in the homeassistant directory or the /var/log … would the log file Im looknig for have a specific name.
/usr/share/hassio/homassistant/ has home-assistant.log however that has only 3 lines in it tailing it showed nothing happenning.
post mesasge… I believe the percentage of moisture is growing with time
its currently 5144188906671%
I changed the *303 to 0.3 and 0.03 and 0.003 All of which got me down to teh 236% figure however none of them altered from this (most likley as they are such small increments).
I have to go to work… so will play with this soon (when I get to work