We are making progress. Your gpiozero is installed. Now we need to install 
the bme280 library. 

sudo pip install RPi.bme280

Restart weewx when done and paste the output of syslog

On Sunday, December 9, 2018 at 2:59:26 PM UTC-5, Patrick Tranchant wrote:
>
> install pip2 for gpiozero
>
>
>
>
>
>
> *sudo pip2 install gpiozeroCollecting gpiozero  Downloading 
> https://files.pythonhosted.org/packages/8f/df/2f22cea78f4539032e091579d6f32d9ebe360c04534838d151d37a667f2d/gpiozero-1.4.1-py2.py3-none-any.whl
>  
> <https://files.pythonhosted.org/packages/8f/df/2f22cea78f4539032e091579d6f32d9ebe360c04534838d151d37a667f2d/gpiozero-1.4.1-py2.py3-none-any.whl>
>  
> (100kB)    100% |████████████████████████████████| 102kB 552kB/sInstalling 
> collected packages: gpiozeroSuccessfully installed gpiozero-1.4.1*
>
> *and watch the resul log:*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Dec  9 20:54:15 raspberrypi weewx[5741]: engine: Locale is 
> 'fr_FR.UTF-8'Dec  9 20:54:15 raspberrypi weewx[5741]: engine: pid file is 
> /var/run/weewx.pidDec  9 20:54:15 raspberrypi weewx[5730]: Starting weewx 
> weather system: weewx.Dec  9 20:54:15 raspberrypi systemd[1]: Started LSB: 
> weewx weather system.Dec  9 20:54:15 raspberrypi weewx[5745]: engine: Using 
> configuration file /etc/               weewx/weewx.confDec  9 20:54:15 
> raspberrypi weewx[5745]: engine: Loading station type BYOWS 
> (us               er.byows)Dec  9 20:54:17 raspberrypi weewx[5745]: engine: 
> Caught unrecoverable exception                in engine:Dec  9 20:54:17 
> raspberrypi weewx[5745]:     ****  No module named bme280Dec  9 20:54:17 
> raspberrypi weewx[5745]:     ****  Traceback (most recent 
> call                last):Dec  9 20:54:17 raspberrypi weewx[5745]:     
> ****    File "/usr/share/weewx/wee               wx/engine.py", line 871, 
> in mainDec  9 20:54:17 raspberrypi weewx[5745]:     ****      engine = 
> engine_class(co               nfig_dict)Dec  9 20:54:17 raspberrypi 
> weewx[5745]:     ****    File "/usr/share/weewx/wee               
> wx/engine.py", line 72, in __init__Dec  9 20:54:17 raspberrypi 
> weewx[5745]:     ****      self.setupStation(config               
> _dict)Dec  9 20:54:17 raspberrypi weewx[5745]:     ****    File 
> "/usr/share/weewx/wee               wx/engine.py", line 96, in 
> setupStationDec  9 20:54:17 raspberrypi weewx[5745]:     ****      
> __import__(driver)Dec  9 20:54:17 raspberrypi weewx[5745]:     ****    File 
> "/usr/share/weewx/use               r/byows.py", line 15, in <module>Dec  9 
> 20:54:17 raspberrypi weewx[5745]:     ****      import bme280_sensor_2Dec  
> 9 20:54:17 raspberrypi weewx[5745]:     ****    File 
> "/usr/share/weewx/use               r/bme280_sensor_2.py", line 1, in 
> <module>Dec  9 20:54:17 raspberrypi weewx[5745]:     ****      import 
> bme280Dec  9 20:54:17 raspberrypi weewx[5745]:     ****  ImportError: No 
> module named                bme280Dec  9 20:54:17 raspberrypi 
> weewx[5745]:     ****  Exiting.*
>
>
> *my older script works always, so gpiozero is ok !!!*
>
> *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