For some reason D6 has started to give me a value of 1 when the rain bucket switch is open instead off 0
I have removed all external sensors and devices and so only the cables between the Raspberry Pi with Grovepi board and Grove Weatherboard are connected, and still the problem occurs, I have also replaced the cables, and tried on another Raspberry Pi and Grovepi, and again has the same problem.
I removed the 12c connections and the reading returned 0, I then reconnected the 12c and the result returned 1.
Have you any suggestion as what may be wrong?
Could weatherboard be at fault?
Note: I powered down the system when making changes.
We really don't know very much about the GrovePi. We sell a similar board called the Pi2Grover.
The issue is there is a lot of software between the GrovePi and the WeatherBoard, while the Pi2Grover requires no special software.
We would suggest removing the GrovePi and then connecting the WeatherBoard directly to the Raspberry Pi using Jumpers. You will have to write a small amount of software to test (See GroveWeatherPi on whether the problem is with your GrovePi or with the WeatherBoard.
Can you scan the I2C bus using "i2cdetect -y 1" and post it here? With the GrovePi connected to the WeatherBoard.