hi,
I installed :
sudo pip2 install RPi.bme280

 





*sudo pip2 install RPi.bme280Collecting RPi.bme280  Using cached 
https://files.pythonhosted.org/packages/64/a9/606b2f986da18b752f02c9b0062d562907a43701d3e3ecec4a503259852f/RPi.bme280-0.2.2-py2.py3-none-any.whlCollecting
 
smbus2 (from RPi.bme280)  Using cached 
https://www.piwheels.org/simple/smbus2/smbus2-0.2.1-py2.py3-none-any.whlInstalling
 
collected packages: smbus2, RPi.bme280Successfully installed 
RPi.bme280-0.2.2 smbus2-0.2.1*
I tested my old script with python3 , it's ok




*weather-station $ python3 weather_station_BYO_10.pyMeasuring wind 
direction for 5 seconds...Measuring wind direction for 5 seconds...INSERT 
INTO WEATHER_MEASUREMENT (AMBIENT_TEMPERATURE, GROUND_TEMPERATURE, 
AIR_QUALITY, AIR_PRESSURE, HUMIDITY, WIND_DIRECTION, WIND_SPEED, 
WIND_GUST_SPEED, RAINFALL, CREATED) VALUES(20.160495623579482, 21.25, 0, 
1006.4383127595189, 50.15730754965875, 0.0, 0.0, 0.0, 0.0, 2018-12-09 
22:51:34);*




I restarted weewx and my RPi doesn't work, I reboot three times and it is 
the same thing; the screen is black !!!!! ggggggggrrrrrrrrrrhhhhhhhhh


*weather-station $ sudo /etc/init.d/weewx restart[ ok ] Restarting weewx 
(via systemctl): weewx.service.*

Patrick

On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>
> hello I am a newbie from France ( sorry for my english )
>
> I want to use weewx on a raspberry with a weather station built by myself 
> (view on Magpi)
> I don't see my station on your website to configure :
>
> Weather Station Hardware Comparison: I don't found my weather station.
> Do you have a solution or how to configure Weewx
>
> thank you for your help
>
> Patrick
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to