Error using Temperature and Humidity sensor v1.2

I am using a GrovePi+ on a raspberry pi zero W. I am trying to use the sampletest.py code included in the GrovePi library:

However when i do i receive the following error:

Hi there, if you use the temperature & humidity sensor, please refer to <LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-Tempe … spberry-pi”>http://wiki.seeedstudio.com/Grove-TemperatureAndHumidity_Sensor/#play-with-raspberry-pi</LINK_TEXT> I see you use grove_i2c_sunlight_sensor code for the temperature and humidity sensor. thanks.



Seeed techsupport team

Bill

My apologies, I’m having an error with the sunlight sensor v1.0, the above code was used with this sensor and the error message above was received.

Hi there, i do not have the sunlight on hand. I applied one and it will arrive around this Friday. I will test it when it is arrived and keep you posted. thanks.



Seeed techsupport team

Bill

Thanks

Any updates on the sensor?

Hi there,



I got the sensor yesterday and final get it work. I used the latest raspberry image(2018.6.27). then i run below command to install grovepi.



sudo curl -kL dexterindustries.com/update_grovepi | bash

sudo reboot



at last, i run below commands and it is the output. thanks.



pi@raspberrypi:~/GrovePi/Software/Python/grove_i2c_sunlight_sensor $ python simpletest.py

Press Cntrl + Z to stop



Vis: 263

IR: 297

UV Index: 0.03



Vis: 263

IR: 297

UV Index: 0.03



Vis: 263

IR: 297

UV Index: 0.03



Bill

Thanks that worked!

I am wondering if anyone got the case for rasp/grove which blocks port D4.

I have created a script from grove_dht_pro.py to grove_dht_pro3.py and changed the sensor from 4 to 3.

I am only getting 1 temp 1 humidity over and over again.

Please help…

Thanks


RPiGrPiCase.jpg