George,

At the time when I completed that project the tutorial on the BC-Robotics 
website was written in Python 2.7 so I used all the 2.7 libraries in my 
code.  With some research you should be able to convert the original code 
to work with python 3 libraries.

Sorry, I have not updated anything because if it works why break it.

LDL

On Saturday, 23 November 2019 13:06:57 UTC-8, George Nimrodel wrote:
>
> Hey Louis,
>
> I'm trying to do exactly what you've done with the difference that I have 
> weewx running on the RPi and I'm using only the BME280 for temperature in a 
> separate enclosure.
>
> I'm having a bit of a trouble with your code. I keep getting errors 
> regarding the libraries.
>
> I've noticed that you are not using the python 3 libraries from the 
> tutorial.
>
> I would appreciate it if you could tell me which steps you took that are 
> not included in the tutorial in order for your code to work.
>
> Any other pointers would also be appreciated
>
> Thank in advance!
>
> On Wednesday, December 12, 2018 at 5:53:25 AM UTC+2, Louis De Lange wrote:
>>
>> I recently came across a really excellent solution for putting together 
>> your own weather station on the cheap with high quality sensors - and most 
>> importantly a very useful weather HAT to use with a Raspberry PI to connect 
>> all the sensors.
>>
>> It comes complete with a 4 part step by step tutorial to assemble the 
>> whole station, and basic code to upload the data to and online service - 
>> see link below:
>>
>> https://www.bc-robotics.com/tutorials/raspberry-pi-weather-station-part-1/
>>
>> I completed my own installation based on the instructions in the tutorial 
>> and my station running on weewx is active at the link below
>>
>> http://peachlandweather.ca/mystation/
>>
>> For the outdoor portion I used a Raspberry Pi Zero W, with the weather 
>> HAT.  Weewx is running indoors in a FreeBSD jail, using a stock Interceptor 
>> driver.  I modified the basic upload code provided in the tutorial quite 
>> extensively to generate upload loops that matched the Observer URLs 
>> supported by the Interceptor driver, and also to produce derived 
>> observations not included in the original code.
>>
>> The upload code is attached for anyone who might be interested in trying 
>> to assemble their own.
>>
>> I   tested the results from using the station against my Vantage Pro 2 
>> and so far it seems to be pretty close - for less than 20% of the cost of a 
>> Vantage Pro.
>>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/db1a607e-3fb0-4ed1-974e-0930406e7e6a%40googlegroups.com.

Reply via email to