So after running this weather station for a few weeks i decided to switch out the lux sensor for a soil moisture sensor without modifying the code....
The readings are working but they are very up and down.... they are not a steady decline..... how are people measuring the analog values of soil moisture ?