Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-19 Thread pred...@gmail.com
Hey Terry,

I will try them out and let you know.

Thank you very much for the help!

On Thursday, February 18, 2021 at 9:28:44 PM UTC+2 terry.s...@gmail.com 
wrote:

> Hi George,
>
> Yes I did manage to get it working!
> I ended up just editing the driver and configuration files where they are 
> located.
>
> I installed all of the following libraries:
> sudo pip3 install Adafruit-Blinka
> sudo pip3 install adafruit-circuitpython-bme280
> sudo pip3 install adafruit-circuitpython-ads1x15
> sudo apt-get install python3-w1thermsensor
>
> Change file located in  /usr/share/weewx/user/BCRobotics.py to what I have 
> attached
> Add the BCRobotics section to the weewx.conf file located in /etc/weewx
> Attached is my config file for reference but it has some location specific 
> information that you'll need to change.
>
> I reran config and it works!
>
>
> Let me know how you make out or if you have any questions.
>
> Note for any experts: I tried to run the install.py with the modified 
> driver file but got a "module setup not found"
> Thought it may be a Python version issue but couldn't determine the 
> Python3 equivalent. Appreciate any hints.
> Maybe later I will add my changes to Github but thats a whole other 
> learning session.  
>
> Terry
> On Thursday, 18 February 2021 at 06:21:04 UTC-8 pred...@gmail.com wrote:
>
>> Hi Terry,
>>
>> I'm trying to do exactly the same thing.
>>
>> Did you have any luck with the driver?
>>
>> Thanks in advance.
>>
>> George
>>
>> On Wednesday, February 17, 2021 at 5:19:02 PM UTC+2 terry.s...@gmail.com 
>> wrote:
>>
>>> Can I just modify the code of the already installed driver or would I 
>>> need to repackage and reinstall it. I may do that later but its another 
>>> piece I need to learn.
>>>
>>> Also how do I ensure its all running Python3?
>>>
>>> Thanks for all the help.
>>>
>>> Terry
>>>
>>> On Tuesday, 16 February 2021 at 18:45:15 UTC-8 peterq...@gmail.com 
>>> wrote:
>>>
 Driver looks like it's written for Python2 (the give away to me is the 
 print statement on the last line), so you might have a bit of fun fixing 
 python2/python3 issues. Not too terribly difficult. If you could get the 
 test program to work, you can probably get the driver to work too.

 On Tue, Feb 16, 2021 at 5:46 PM Terry Steneker  
 wrote:

> I am using the driver located here: 
> https://github.com/David-Enst/WeeWX-BCRobotics
>
> I am also attaching the file
>
>
>
> On Tuesday, 16 February 2021 at 16:53:24 UTC-8 peterq...@gmail.com 
> wrote:
>
>> What driver are you using?
>> It's going to be really tough to help with this because you have 
>> unique hardware and aren't asking a very answerable question. 
>>
>> On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker  
>> wrote:
>>
>>>
>>> I just purchased the BCRobotics board and tried to install the 
>>> required software for it. I ran into problems when I tried to test the 
>>> BME280 using the Adafruit ADS1x15 library. Kept getting errors and the 
>>> python Adafruit_BME280 library is deprecated. 
>>>
>>> Instead of trying to fix the errors I went the hard way and upgraded 
>>> to the adafruit-circuitpython libraries so I can also run Python3
>>>
>>> sudo pip3 install adafruit-circuitpython-bme280
>>>
>>> sudo pip3 install adafruit-circuitpython-ads1x15
>>>
>>> I then modified the BCRobotics-test-app.py to run under Python3 and 
>>> the upgraded Adafruit libraries.
>>> Tested the program and it works!
>>>
>>> I have attached the modified program.
>>>
>>> I need to modify the driver to work the same as the updated code but 
>>> not sure how to do that. Can I just substitute the same modifications 
>>> that 
>>> I made to the test program? 
>>>
>>> Thanks
>>> Terry
>>>
>>> On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com 
>>> wrote:
>>>
 Louis,

 thank you very much for your reply.

 I didn't realize they first did it with Python 2.7. I though you 
 used it in order for it to work with the interceptor driver.

 I'll keep using python 2.7 and your code but it seems that I'm 
 missing some libraries.

 (I think I had them all but I keep getting a " BME280_OSAMPLE_8' 
 is not defined " etc. errors) 

 I'll try and find the original code and libraries for Python 2.7 
 and do the necessary adjustments.

 Thanks again!

 On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  
 wrote:

> 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 

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-18 Thread Terry Steneker
Hi George,

Yes I did manage to get it working!
I ended up just editing the driver and configuration files where they are 
located.

I installed all of the following libraries:
sudo pip3 install Adafruit-Blinka
sudo pip3 install adafruit-circuitpython-bme280
sudo pip3 install adafruit-circuitpython-ads1x15
sudo apt-get install python3-w1thermsensor

Change file located in  /usr/share/weewx/user/BCRobotics.py to what I have 
attached
Add the BCRobotics section to the weewx.conf file located in /etc/weewx
Attached is my config file for reference but it has some location specific 
information that you'll need to change.

I reran config and it works!


Let me know how you make out or if you have any questions.

Note for any experts: I tried to run the install.py with the modified 
driver file but got a "module setup not found"
Thought it may be a Python version issue but couldn't determine the Python3 
equivalent. Appreciate any hints.
Maybe later I will add my changes to Github but thats a whole other 
learning session.  

Terry
On Thursday, 18 February 2021 at 06:21:04 UTC-8 pred...@gmail.com wrote:

> Hi Terry,
>
> I'm trying to do exactly the same thing.
>
> Did you have any luck with the driver?
>
> Thanks in advance.
>
> George
>
> On Wednesday, February 17, 2021 at 5:19:02 PM UTC+2 terry.s...@gmail.com 
> wrote:
>
>> Can I just modify the code of the already installed driver or would I 
>> need to repackage and reinstall it. I may do that later but its another 
>> piece I need to learn.
>>
>> Also how do I ensure its all running Python3?
>>
>> Thanks for all the help.
>>
>> Terry
>>
>> On Tuesday, 16 February 2021 at 18:45:15 UTC-8 peterq...@gmail.com wrote:
>>
>>> Driver looks like it's written for Python2 (the give away to me is the 
>>> print statement on the last line), so you might have a bit of fun fixing 
>>> python2/python3 issues. Not too terribly difficult. If you could get the 
>>> test program to work, you can probably get the driver to work too.
>>>
>>> On Tue, Feb 16, 2021 at 5:46 PM Terry Steneker  
>>> wrote:
>>>
 I am using the driver located here: 
 https://github.com/David-Enst/WeeWX-BCRobotics

 I am also attaching the file



 On Tuesday, 16 February 2021 at 16:53:24 UTC-8 peterq...@gmail.com 
 wrote:

> What driver are you using?
> It's going to be really tough to help with this because you have 
> unique hardware and aren't asking a very answerable question. 
>
> On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker  
> wrote:
>
>>
>> I just purchased the BCRobotics board and tried to install the 
>> required software for it. I ran into problems when I tried to test the 
>> BME280 using the Adafruit ADS1x15 library. Kept getting errors and the 
>> python Adafruit_BME280 library is deprecated. 
>>
>> Instead of trying to fix the errors I went the hard way and upgraded 
>> to the adafruit-circuitpython libraries so I can also run Python3
>>
>> sudo pip3 install adafruit-circuitpython-bme280
>>
>> sudo pip3 install adafruit-circuitpython-ads1x15
>>
>> I then modified the BCRobotics-test-app.py to run under Python3 and 
>> the upgraded Adafruit libraries.
>> Tested the program and it works!
>>
>> I have attached the modified program.
>>
>> I need to modify the driver to work the same as the updated code but 
>> not sure how to do that. Can I just substitute the same modifications 
>> that 
>> I made to the test program? 
>>
>> Thanks
>> Terry
>>
>> On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com 
>> wrote:
>>
>>> Louis,
>>>
>>> thank you very much for your reply.
>>>
>>> I didn't realize they first did it with Python 2.7. I though you 
>>> used it in order for it to work with the interceptor driver.
>>>
>>> I'll keep using python 2.7 and your code but it seems that I'm 
>>> missing some libraries.
>>>
>>> (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is 
>>> not defined " etc. errors) 
>>>
>>> I'll try and find the original code and libraries for Python 2.7 and 
>>> do the necessary adjustments.
>>>
>>> Thanks again!
>>>
>>> On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  
>>> wrote:
>>>
 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 

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-18 Thread pred...@gmail.com
Hi Terry,

I'm trying to do exactly the same thing.

Did you have any luck with the driver?

Thanks in advance.

George

On Wednesday, February 17, 2021 at 5:19:02 PM UTC+2 terry.s...@gmail.com 
wrote:

> Can I just modify the code of the already installed driver or would I need 
> to repackage and reinstall it. I may do that later but its another piece I 
> need to learn.
>
> Also how do I ensure its all running Python3?
>
> Thanks for all the help.
>
> Terry
>
> On Tuesday, 16 February 2021 at 18:45:15 UTC-8 peterq...@gmail.com wrote:
>
>> Driver looks like it's written for Python2 (the give away to me is the 
>> print statement on the last line), so you might have a bit of fun fixing 
>> python2/python3 issues. Not too terribly difficult. If you could get the 
>> test program to work, you can probably get the driver to work too.
>>
>> On Tue, Feb 16, 2021 at 5:46 PM Terry Steneker  
>> wrote:
>>
>>> I am using the driver located here: 
>>> https://github.com/David-Enst/WeeWX-BCRobotics
>>>
>>> I am also attaching the file
>>>
>>>
>>>
>>> On Tuesday, 16 February 2021 at 16:53:24 UTC-8 peterq...@gmail.com 
>>> wrote:
>>>
 What driver are you using?
 It's going to be really tough to help with this because you have unique 
 hardware and aren't asking a very answerable question. 

 On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker  
 wrote:

>
> I just purchased the BCRobotics board and tried to install the 
> required software for it. I ran into problems when I tried to test the 
> BME280 using the Adafruit ADS1x15 library. Kept getting errors and the 
> python Adafruit_BME280 library is deprecated. 
>
> Instead of trying to fix the errors I went the hard way and upgraded 
> to the adafruit-circuitpython libraries so I can also run Python3
>
> sudo pip3 install adafruit-circuitpython-bme280
>
> sudo pip3 install adafruit-circuitpython-ads1x15
>
> I then modified the BCRobotics-test-app.py to run under Python3 and 
> the upgraded Adafruit libraries.
> Tested the program and it works!
>
> I have attached the modified program.
>
> I need to modify the driver to work the same as the updated code but 
> not sure how to do that. Can I just substitute the same modifications 
> that 
> I made to the test program? 
>
> Thanks
> Terry
>
> On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com wrote:
>
>> Louis,
>>
>> thank you very much for your reply.
>>
>> I didn't realize they first did it with Python 2.7. I though you used 
>> it in order for it to work with the interceptor driver.
>>
>> I'll keep using python 2.7 and your code but it seems that I'm 
>> missing some libraries.
>>
>> (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is 
>> not defined " etc. errors) 
>>
>> I'll try and find the original code and libraries for Python 2.7 and 
>> do the necessary adjustments.
>>
>> Thanks again!
>>
>> On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  
>> wrote:
>>
>>> 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 

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-17 Thread Terry Steneker
Can I just modify the code of the already installed driver or would I need 
to repackage and reinstall it. I may do that later but its another piece I 
need to learn.

Also how do I ensure its all running Python3?

Thanks for all the help.

Terry

On Tuesday, 16 February 2021 at 18:45:15 UTC-8 peterq...@gmail.com wrote:

> Driver looks like it's written for Python2 (the give away to me is the 
> print statement on the last line), so you might have a bit of fun fixing 
> python2/python3 issues. Not too terribly difficult. If you could get the 
> test program to work, you can probably get the driver to work too.
>
> On Tue, Feb 16, 2021 at 5:46 PM Terry Steneker  
> wrote:
>
>> I am using the driver located here: 
>> https://github.com/David-Enst/WeeWX-BCRobotics
>>
>> I am also attaching the file
>>
>>
>>
>> On Tuesday, 16 February 2021 at 16:53:24 UTC-8 peterq...@gmail.com wrote:
>>
>>> What driver are you using?
>>> It's going to be really tough to help with this because you have unique 
>>> hardware and aren't asking a very answerable question. 
>>>
>>> On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker  
>>> wrote:
>>>

 I just purchased the BCRobotics board and tried to install the required 
 software for it. I ran into problems when I tried to test the BME280 using 
 the Adafruit ADS1x15 library. Kept getting errors and the python 
 Adafruit_BME280 library is deprecated. 

 Instead of trying to fix the errors I went the hard way and upgraded to 
 the adafruit-circuitpython libraries so I can also run Python3

 sudo pip3 install adafruit-circuitpython-bme280

 sudo pip3 install adafruit-circuitpython-ads1x15

 I then modified the BCRobotics-test-app.py to run under Python3 and the 
 upgraded Adafruit libraries.
 Tested the program and it works!

 I have attached the modified program.

 I need to modify the driver to work the same as the updated code but 
 not sure how to do that. Can I just substitute the same modifications that 
 I made to the test program? 

 Thanks
 Terry

 On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com wrote:

> Louis,
>
> thank you very much for your reply.
>
> I didn't realize they first did it with Python 2.7. I though you used 
> it in order for it to work with the interceptor driver.
>
> I'll keep using python 2.7 and your code but it seems that I'm missing 
> some libraries.
>
> (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is 
> not defined " etc. errors) 
>
> I'll try and find the original code and libraries for Python 2.7 and 
> do the necessary adjustments.
>
> Thanks again!
>
> On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  
> wrote:
>
>> 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/

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-16 Thread p q
Driver looks like it's written for Python2 (the give away to me is the
print statement on the last line), so you might have a bit of fun fixing
python2/python3 issues. Not too terribly difficult. If you could get the
test program to work, you can probably get the driver to work too.

On Tue, Feb 16, 2021 at 5:46 PM Terry Steneker 
wrote:

> I am using the driver located here:
> https://github.com/David-Enst/WeeWX-BCRobotics
>
> I am also attaching the file
>
>
>
> On Tuesday, 16 February 2021 at 16:53:24 UTC-8 peterq...@gmail.com wrote:
>
>> What driver are you using?
>> It's going to be really tough to help with this because you have unique
>> hardware and aren't asking a very answerable question.
>>
>> On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker 
>> wrote:
>>
>>>
>>> I just purchased the BCRobotics board and tried to install the required
>>> software for it. I ran into problems when I tried to test the BME280 using
>>> the Adafruit ADS1x15 library. Kept getting errors and the python
>>> Adafruit_BME280 library is deprecated.
>>>
>>> Instead of trying to fix the errors I went the hard way and upgraded to
>>> the adafruit-circuitpython libraries so I can also run Python3
>>>
>>> sudo pip3 install adafruit-circuitpython-bme280
>>>
>>> sudo pip3 install adafruit-circuitpython-ads1x15
>>>
>>> I then modified the BCRobotics-test-app.py to run under Python3 and the
>>> upgraded Adafruit libraries.
>>> Tested the program and it works!
>>>
>>> I have attached the modified program.
>>>
>>> I need to modify the driver to work the same as the updated code but not
>>> sure how to do that. Can I just substitute the same modifications that I
>>> made to the test program?
>>>
>>> Thanks
>>> Terry
>>>
>>> On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com wrote:
>>>
 Louis,

 thank you very much for your reply.

 I didn't realize they first did it with Python 2.7. I though you used
 it in order for it to work with the interceptor driver.

 I'll keep using python 2.7 and your code but it seems that I'm missing
 some libraries.

 (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is not 
 defined
 " etc. errors)

 I'll try and find the original code and libraries for Python 2.7 and do
 the necessary adjustments.

 Thanks again!

 On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange 
 wrote:

> 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 

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-16 Thread Terry Steneker
I am using the driver located 
here: https://github.com/David-Enst/WeeWX-BCRobotics

I am also attaching the file



On Tuesday, 16 February 2021 at 16:53:24 UTC-8 peterq...@gmail.com wrote:

> What driver are you using?
> It's going to be really tough to help with this because you have unique 
> hardware and aren't asking a very answerable question. 
>
> On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker  
> wrote:
>
>>
>> I just purchased the BCRobotics board and tried to install the required 
>> software for it. I ran into problems when I tried to test the BME280 using 
>> the Adafruit ADS1x15 library. Kept getting errors and the python 
>> Adafruit_BME280 library is deprecated. 
>>
>> Instead of trying to fix the errors I went the hard way and upgraded to 
>> the adafruit-circuitpython libraries so I can also run Python3
>>
>> sudo pip3 install adafruit-circuitpython-bme280
>>
>> sudo pip3 install adafruit-circuitpython-ads1x15
>>
>> I then modified the BCRobotics-test-app.py to run under Python3 and the 
>> upgraded Adafruit libraries.
>> Tested the program and it works!
>>
>> I have attached the modified program.
>>
>> I need to modify the driver to work the same as the updated code but not 
>> sure how to do that. Can I just substitute the same modifications that I 
>> made to the test program? 
>>
>> Thanks
>> Terry
>>
>> On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com wrote:
>>
>>> Louis,
>>>
>>> thank you very much for your reply.
>>>
>>> I didn't realize they first did it with Python 2.7. I though you used it 
>>> in order for it to work with the interceptor driver.
>>>
>>> I'll keep using python 2.7 and your code but it seems that I'm missing 
>>> some libraries.
>>>
>>> (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is not 
>>> defined 
>>> " etc. errors) 
>>>
>>> I'll try and find the original code and libraries for Python 2.7 and do 
>>> the necessary adjustments.
>>>
>>> Thanks again!
>>>
>>> On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  
>>> wrote:
>>>
 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 a topic in the 
 Google Groups "weewx-user" group.
 To unsubscribe from this 

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-16 Thread p q
What driver are you using?
It's going to be really tough to help with this because you have unique
hardware and aren't asking a very answerable question.

On Tue, Feb 16, 2021 at 3:26 PM Terry Steneker 
wrote:

>
> I just purchased the BCRobotics board and tried to install the required
> software for it. I ran into problems when I tried to test the BME280 using
> the Adafruit ADS1x15 library. Kept getting errors and the python
> Adafruit_BME280 library is deprecated.
>
> Instead of trying to fix the errors I went the hard way and upgraded to
> the adafruit-circuitpython libraries so I can also run Python3
>
> sudo pip3 install adafruit-circuitpython-bme280
>
> sudo pip3 install adafruit-circuitpython-ads1x15
>
> I then modified the BCRobotics-test-app.py to run under Python3 and the
> upgraded Adafruit libraries.
> Tested the program and it works!
>
> I have attached the modified program.
>
> I need to modify the driver to work the same as the updated code but not
> sure how to do that. Can I just substitute the same modifications that I
> made to the test program?
>
> Thanks
> Terry
>
> On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com wrote:
>
>> Louis,
>>
>> thank you very much for your reply.
>>
>> I didn't realize they first did it with Python 2.7. I though you used it
>> in order for it to work with the interceptor driver.
>>
>> I'll keep using python 2.7 and your code but it seems that I'm missing
>> some libraries.
>>
>> (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is not 
>> defined
>> " etc. errors)
>>
>> I'll try and find the original code and libraries for Python 2.7 and do
>> the necessary adjustments.
>>
>> Thanks again!
>>
>> On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  wrote:
>>
>>> 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 a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/weewx-user/udZCCCJlNE8/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/db1a607e-3fb0-4ed1-974e-0930406e7e6a%40googlegroups.com
>>> 

Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-16 Thread Terry Steneker

I just purchased the BCRobotics board and tried to install the required 
software for it. I ran into problems when I tried to test the BME280 using 
the Adafruit ADS1x15 library. Kept getting errors and the python 
Adafruit_BME280 library is deprecated. 

Instead of trying to fix the errors I went the hard way and upgraded to the 
adafruit-circuitpython libraries so I can also run Python3

sudo pip3 install adafruit-circuitpython-bme280

sudo pip3 install adafruit-circuitpython-ads1x15

I then modified the BCRobotics-test-app.py to run under Python3 and the 
upgraded Adafruit libraries.
Tested the program and it works!

I have attached the modified program.

I need to modify the driver to work the same as the updated code but not 
sure how to do that. Can I just substitute the same modifications that I 
made to the test program? 

Thanks
Terry

On Sunday, 24 November 2019 at 10:25:09 UTC-8 pred...@gmail.com wrote:

> Louis,
>
> thank you very much for your reply.
>
> I didn't realize they first did it with Python 2.7. I though you used it 
> in order for it to work with the interceptor driver.
>
> I'll keep using python 2.7 and your code but it seems that I'm missing 
> some libraries.
>
> (I think I had them all but I keep getting a " BME280_OSAMPLE_8' is not 
> defined 
> " etc. errors) 
>
> I'll try and find the original code and libraries for Python 2.7 and do 
> the necessary adjustments.
>
> Thanks again!
>
> On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  wrote:
>
>> 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 a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/udZCCCJlNE8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/db1a607e-3fb0-4ed1-974e-0930406e7e6a%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 

[weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-13 Thread gjr80
OK. Should work. Can you redo the install and reconfigure capturing and 
pasting here everything that you type and the exact responses you get.

Also be aware the driver makes some poor choices and forces your database 
to Metric units. This in itself is not a problem, but if you have installed 
and started WeeWX with another driver such as the simulator then you will 
likely have a US customary database and that will cause an error. Easy 
solution is to delete the database (if it exists) before starting WeeWX 
after installing the driver. The driver also forces the Standard skin to 
display obs with Metric units, if you are using the Seasons skin it will be 
unaffected but if using the Standard skin and you prefer other units that 
is just a cosmetic problem and easily fixed in weewx.conf under [StdReport] 
[[StandardReport]] [[[Units]]] Groups.

Gary
On Sunday, 14 February 2021 at 07:28:57 UTC+10 rdud...@gmail.com wrote:

> Thanks Gary,
>
> I am using the latest Raspberry Pi OS, Python 2.7.16 and Weewx 4.4.0.
>
> The driver that I am unable to install is for a BC Robotics HAT that 
> interface various weather instrument to WeeWX and can be found here:
> https://github.com/David-Enst/WeeWX-BCRobotics
>
> I am able to start  weewx using the simulator option.
>
> I have tried to install the BC Robotic driver using the  "wee_extension 
> --install BCRobotics.zip" command found in the read.me instructions.  
> Once I execute this command I do see a response which appears to be 
> successful, however when I execute the  "wee_config --reconfigure" command 
> which give me configuration options for various weather hardware the BC 
> Robotic hardware is not available as an option...How do I invoke the BC 
> Robotic driver?
> On Saturday, February 13, 2021 at 12:54:34 PM UTC-5 gjr80 wrote:
>
>> Hi,
>>
>> If you give us a bit more info someone might be able to help you. Is the 
>> driver you are referring to the driver attached to the first post of this 
>> thread? Or something else? What version of WeeWX are you using and are you 
>> running WeeWX under python 2 or python 3? If you are getting errors when 
>> starting WeeWX can you post the log from WeeWX startup through until the 
>> error occurs?
>>
>> Gary
>>
>> On Sunday, 14 February 2021 at 00:02:37 UTC+10 rdud...@gmail.com wrote:
>>
>>> I am trying to install the WeeWX BC Robotics driver created by Davis 
>>> Enst and it will not load.  Does anyone have detailed instruction on how to 
>>> load this driver.
>>> Thanks
>>> Ray
>>>
>>> On Tuesday, December 11, 2018 at 10:53:25 PM UTC-5 kilo...@gmail.com 
>>> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/94fbd8a7-acf2-426e-a903-3c3c95cb7e35n%40googlegroups.com.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-13 Thread rdud...@gmail.com
Thanks Gary,

I am using the latest Raspberry Pi OS, Python 2.7.16 and Weewx 4.4.0.

The driver that I am unable to install is for a BC Robotics HAT that 
interface various weather instrument to WeeWX and can be found here:
https://github.com/David-Enst/WeeWX-BCRobotics

I am able to start  weewx using the simulator option.

I have tried to install the BC Robotic driver using the  "wee_extension 
--install BCRobotics.zip" command found in the read.me instructions.  Once 
I execute this command I do see a response which appears to be successful, 
however when I execute the  "wee_config --reconfigure" command which give 
me configuration options for various weather hardware the BC Robotic 
hardware is not available as an option...How do I invoke the BC Robotic 
driver?
On Saturday, February 13, 2021 at 12:54:34 PM UTC-5 gjr80 wrote:

> Hi,
>
> If you give us a bit more info someone might be able to help you. Is the 
> driver you are referring to the driver attached to the first post of this 
> thread? Or something else? What version of WeeWX are you using and are you 
> running WeeWX under python 2 or python 3? If you are getting errors when 
> starting WeeWX can you post the log from WeeWX startup through until the 
> error occurs?
>
> Gary
>
> On Sunday, 14 February 2021 at 00:02:37 UTC+10 rdud...@gmail.com wrote:
>
>> I am trying to install the WeeWX BC Robotics driver created by Davis Enst 
>> and it will not load.  Does anyone have detailed instruction on how to load 
>> this driver.
>> Thanks
>> Ray
>>
>> On Tuesday, December 11, 2018 at 10:53:25 PM UTC-5 kilo...@gmail.com 
>> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e86a2b52-c574-4fc4-bd8a-9a4f2594b12fn%40googlegroups.com.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-13 Thread gjr80
Hi,

If you give us a bit more info someone might be able to help you. Is the 
driver you are referring to the driver attached to the first post of this 
thread? Or something else? What version of WeeWX are you using and are you 
running WeeWX under python 2 or python 3? If you are getting errors when 
starting WeeWX can you post the log from WeeWX startup through until the 
error occurs?

Gary

On Sunday, 14 February 2021 at 00:02:37 UTC+10 rdud...@gmail.com wrote:

> I am trying to install the WeeWX BC Robotics driver created by Davis Enst 
> and it will not load.  Does anyone have detailed instruction on how to load 
> this driver.
> Thanks
> Ray
>
> On Tuesday, December 11, 2018 at 10:53:25 PM UTC-5 kilo...@gmail.com 
> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0f74345b-a2c4-4999-ad98-a440d9e22e17n%40googlegroups.com.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2021-02-13 Thread rdud...@gmail.com
I am trying to install the WeeWX BC Robotics driver created by Davis Enst 
and it will not load.  Does anyone have detailed instruction on how to load 
this driver.
Thanks
Ray

On Tuesday, December 11, 2018 at 10:53:25 PM UTC-5 kilo...@gmail.com 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/49254061-99b9-4e41-a2c9-9f8139944396n%40googlegroups.com.


Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2019-11-24 Thread George Nimrodel
Louis,

thank you very much for your reply.

I didn't realize they first did it with Python 2.7. I though you used it in
order for it to work with the interceptor driver.

I'll keep using python 2.7 and your code but it seems that I'm missing some
libraries.

(I think I had them all but I keep getting a " BME280_OSAMPLE_8' is not defined
" etc. errors)

I'll try and find the original code and libraries for Python 2.7 and do the
necessary adjustments.

Thanks again!

On Sun, Nov 24, 2019 at 7:15 PM Louis De Lange  wrote:

> 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/udZCCCJlNE8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/db1a607e-3fb0-4ed1-974e-0930406e7e6a%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CA%2Ba9Y%2Bho3YzicRdtJjpCsm9VeTM7_ngPUxR2TsNy3W5-OnaYjA%40mail.gmail.com.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2019-11-24 Thread Louis De Lange
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/db1a607e-3fb0-4ed1-974e-0930406e7e6a%40googlegroups.com.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2019-11-23 Thread George Nimrodel
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2fe4a145-275c-4094-b709-80a84980cc42%40googlegroups.com.


Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-13 Thread Colin Larsen
Yep I always mount them remotely too, even a few inches away is good

On Fri, 14 Dec 2018, 13:55 Wes Witt  Pat is totally correct. I have an indoor weather display using a 7" LCD
> display with a Pi attached to the back. I started out with a BME280
> attached to the back of the Pi and connected via GPIO. It worked great but
> the temp was always high. I tried many things to make it accurate but in
> the end decided that it was not possible. I ended up building a remote
> sensor board using an ESP8266. This works flawlessly and yields a very
> accurate reading always.
>
> On Thursday, December 13, 2018 at 4:37:05 PM UTC-8, Pat wrote:
>>
>> The only downside I can see to this is that the BME280 is above the Pi,
>> so it's gotta be picking up ambient heat coming off the Pi itself. I
>> noticed that with my setup I have now - I'm using a Moteino to receive
>> Davis ISS packets (a very involved DIY project), and when I had the Moteino
>> and BME280 on top of the Pi the temperature was off from the console. As
>> soon as I moved it to the side away from the Pi it matched the console
>> exactly.
>>
>> The BME280 is a very sensitive device. Surprisingly enough I have 2 from
>> Adafruit which were bad. I bought a cheapo $9 off Amazon and it's been
>> perfect (in that it matches the Davis console exactly on
>> temp/humidity/barometer).
>>
>> Photo attached of the Pi and Moteino. It's not on the window sill
>> anymore.. it's on my desk which is further away, but still works great!
>>
>>
>> On Thursday, December 13, 2018 at 9:37:20 AM UTC-5, Louis De Lange wrote:
>>>
>>> Pat, one more thing that's is really useful is that the weather board
>>> has an extra RJ11 connector with 3 spare analog input channels that can me
>>> used for additional sensors such as solar, etc.
>>
>> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-13 Thread Wes Witt
Pat is totally correct. I have an indoor weather display using a 7" LCD 
display with a Pi attached to the back. I started out with a BME280 
attached to the back of the Pi and connected via GPIO. It worked great but 
the temp was always high. I tried many things to make it accurate but in 
the end decided that it was not possible. I ended up building a remote 
sensor board using an ESP8266. This works flawlessly and yields a very 
accurate reading always.

On Thursday, December 13, 2018 at 4:37:05 PM UTC-8, Pat wrote:
>
> The only downside I can see to this is that the BME280 is above the Pi, so 
> it's gotta be picking up ambient heat coming off the Pi itself. I noticed 
> that with my setup I have now - I'm using a Moteino to receive Davis ISS 
> packets (a very involved DIY project), and when I had the Moteino and 
> BME280 on top of the Pi the temperature was off from the console. As soon 
> as I moved it to the side away from the Pi it matched the console exactly. 
>
> The BME280 is a very sensitive device. Surprisingly enough I have 2 from 
> Adafruit which were bad. I bought a cheapo $9 off Amazon and it's been 
> perfect (in that it matches the Davis console exactly on 
> temp/humidity/barometer).
>
> Photo attached of the Pi and Moteino. It's not on the window sill 
> anymore.. it's on my desk which is further away, but still works great! 
>
>
> On Thursday, December 13, 2018 at 9:37:20 AM UTC-5, Louis De Lange wrote:
>>
>> Pat, one more thing that's is really useful is that the weather board has 
>> an extra RJ11 connector with 3 spare analog input channels that can me used 
>> for additional sensors such as solar, etc.
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-13 Thread Louis De Lange
Pat, one more thing that's is really useful is that the weather board has an 
extra RJ11 connector with 3 spare analog input channels that can me used for 
additional sensors such as solar, etc.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-12 Thread Pat
This looks like a great kit! I have the start of a DIY kit that I look at 
every now and then but haven't done anything with it. I bought a Davis VP2+ 
instead :) 

This makes me think about picking up the kit to tinker around with

On Tuesday, December 11, 2018 at 10:53:25 PM UTC-5, 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-12 Thread Colin Larsen
Yeah the BME280 is usually very accurate in my experience. There is no
reason for this station not to perform as good as any other. The only
initial item I would add would be outdoor humidity, rather than indoor or
as well as. The DS18 temp sensor is an oldy but a goody but an SHT31 or
similar would be better I think. Although you may need I2C bus extenders to
take that outside.

I'm using a WeatherDuino kit which is Arduino based but really easy to get
up and going and very flexible. It also includes options for solar and UV
which I wanted


Cheers
Colin

On Thu, 13 Dec 2018, 08:45 Louis De Lange 
>
> On Wednesday, 12 December 2018 08:24:48 UTC-8, P Simmons wrote:
>
>
>> Please define "pretty close".
>> Thanks!
>>
>
> Check it out for yourself on the website below.
>
> The only thing that is slightly off is the humidity and this is due to the
> mounting of the sensor in a box that allows the temperature inside the box
> to be about 2 - 3 Celsius higher than the true outdoor temp.  When I take
> the lid off the box and expose the sensor to the proper outdoor
> temperature, the humidity reading is within 1% of the Vantage reading, with
> no calibration.  I have a new Stevenson screen on order to improve the
> sensor location, so that should fix the humidity issue.  I could fix it
> through calibration but I prefer to do it properly.
>
> Reference Weather Station - Vantage Pro 2
> www.peachlandweather.ca
>
> New homebrew station
> www.peachlandweather.ca/mystation
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-12 Thread Louis De Lange


On Wednesday, 12 December 2018 08:24:48 UTC-8, P Simmons wrote:
 

> Please define "pretty close".
> Thanks!
>
 
Check it out for yourself on the website below.  

The only thing that is slightly off is the humidity and this is due to the 
mounting of the sensor in a box that allows the temperature inside the box 
to be about 2 - 3 Celsius higher than the true outdoor temp.  When I take 
the lid off the box and expose the sensor to the proper outdoor 
temperature, the humidity reading is within 1% of the Vantage reading, with 
no calibration.  I have a new Stevenson screen on order to improve the 
sensor location, so that should fix the humidity issue.  I could fix it 
through calibration but I prefer to do it properly.

Reference Weather Station - Vantage Pro 2
www.peachlandweather.ca 

New homebrew station
www.peachlandweather.ca/mystation

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: One more option for Build Your Own enthusiasts

2018-12-12 Thread P Simmons


On Tuesday, December 11, 2018 at 9:53:25 PM UTC-6, 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.
>

Please define "pretty close".
Thanks!

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.