[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
well that settles that.  I am so sorry I used up so much of your time and 
experience.  I'll go look into a 'plan B'.  Thanks again to all who tried 
to help. Indirectly, I learned a lot about Linux and Raspbian.   Mike

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/749be919-33bb-4075-a80c-2aa004199063%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-20 Thread vince
On Thursday, February 20, 2020 at 8:22:43 AM UTC-8, Thomas Keffer wrote:
>
> WeatherLink Live is not supported by weewx. At least, not yet. See Issue 
> #412 .
>
>
>
I added a comment to the issue above, but FWIW it looks like this one would 
be a slam dunk with a driver that is based on the WeatherFlow UDP driver.  
The WF gear broadcasts JSON via UDP.  Looks like Davis just uses a 
different port and JSON payload.   The WF driver is super stable so it 
would be a great starting point. 

-- 
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/2f464c21-87f5-4ac5-90e0-373b5736972d%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-20 Thread vince
On Thursday, February 20, 2020 at 8:22:43 AM UTC-8, Thomas Keffer wrote:
>
> WeatherLink Live is not supported by weewx. At least, not yet. See Issue 
> #412 .
>
>
>
David - this thread is a good example of why we need complete+clear problem 
descriptions:

   - what is your exact station setup
   - what system and os are you running weewx on
   - how are you connecting the station to the weewx computer
   - what version of weewx
   - installed via which method

It was not obvious from the previous thread posts til this morning that you 
were trying to interface with an unsupported methodand you battled it 
for 18 days before that was realized by the people trying to help.  Ouch.


-- 
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/e679cdd1-e1bf-4e09-bdcf-dbef8ffe7c66%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-20 Thread Thomas Keffer
WeatherLink Live is not supported by weewx. At least, not yet. See Issue
#412 .

On Thu, Feb 20, 2020 at 8:16 AM david glenn  wrote:

> Andrew, you misunderstand what I am trying to do.  I have weewx on a RPI
> and I'm using Raspbian as the OS.  I am at the point that weewx is not
> accepting the IP address of the WeatherLink LIVE on my network.  I dug into
> the Davis knowledge base and it clearly states that the port to use is
> 2.  Using 'Advanced IP scanner', I can verify that the IP address of
> the Davis instrument is 192.168.0.115.  Both parameters are correctly noted
> in the weewx.config file.  So there is some, likely simple, parameter that
> I am missing.  Any insight is greatly appreciated.
>
> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>>
>> I am new to weewx and have very basic linux and python skills.  I'd like
>> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3
>> strategy' in the users group and it's outside my skill level.  The users
>> guide for 2.7 seems very straightforward and meets the guide statement of " 
>> Ability
>> to do simple Unix tasks such as changing file permissions and running
>> commands".  that I can do.  Has an installation guide been developed for
>> Windows 10 and python 3 and where can I find it?
>>
>> To introduce myself, I am a retired research plant physiologist.  I built
>> a raspberry pi weather station and developed the code for it to monitor the
>> external weather as well as conditions in a small greenhouse.  After a year
>> or so I decided that many of the sensors were unreliable so I purchased a
>> Davis Vantage Pro unit and will use weewx to manage the data.
>>
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I
>> want but I'd prefer to develop it myself (with your help).  As a colleague
>> once wrote "what fun is it if it works out of the box".  My alternative is
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my
>> PC but I'd rather handle it directly on the PC if possible.  I looked into
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer
>> provides it because it is being phased-out.
>>
>> I greatly appreciate the time in helping me get started and any advice on
>> my strategy,  David
>>
>>
>> --
> 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/eb9d356f-de53-461b-b223-84524dc2d7cd%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/CAPq0zEDWxJU7QJCaxA7kDFAqmWuZxBXuf5BA8dNto7soRFeKXA%40mail.gmail.com.


[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
Andrew, you misunderstand what I am trying to do.  I have weewx on a RPI 
and I'm using Raspbian as the OS.  I am at the point that weewx is not 
accepting the IP address of the WeatherLink LIVE on my network.  I dug into 
the Davis knowledge base and it clearly states that the port to use is 
2.  Using 'Advanced IP scanner', I can verify that the IP address of 
the Davis instrument is 192.168.0.115.  Both parameters are correctly noted 
in the weewx.config file.  So there is some, likely simple, parameter that 
I am missing.  Any insight is greatly appreciated.

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/eb9d356f-de53-461b-b223-84524dc2d7cd%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread Andrew Milner
weewx is designed for unix/linux systems, so in my opinion you should be 
running on a native linux/usinx system rather than some variety of linux 
running on windows 10.

run on an RPI and get to know the delights of linux/raspbian/whatever.  
Collect the data in the sqlite database.  Generate a website also on the 
rpi to display the wether data using one of the weewx skins customised to 
your requirements.  Use your browser on the windows PC to view your web 
pages being updated on the RPi.  Use SSH to access the RPI over your home 
netwoek so you never actually use the RPI GUI.

Not sure what data files you want on the PC as they would all be kept 
within the database on the RPi



On Thursday, 20 February 2020 16:13:18 UTC+2, david glenn wrote:
>
> It may not be relevant but I am using the WeatherLink LIVE  device to 
> receive the sensor data and transfer it to my network.
>
> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>>
>> I am new to weewx and have very basic linux and python skills.  I'd like 
>> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
>> strategy' in the users group and it's outside my skill level.  The users 
>> guide for 2.7 seems very straightforward and meets the guide statement of " 
>> Ability 
>> to do simple Unix tasks such as changing file permissions and running 
>> commands".  that I can do.  Has an installation guide been developed for 
>> Windows 10 and python 3 and where can I find it?
>>
>> To introduce myself, I am a retired research plant physiologist.  I built 
>> a raspberry pi weather station and developed the code for it to monitor the 
>> external weather as well as conditions in a small greenhouse.  After a year 
>> or so I decided that many of the sensors were unreliable so I purchased a 
>> Davis Vantage Pro unit and will use weewx to manage the data.  
>>
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
>> want but I'd prefer to develop it myself (with your help).  As a colleague 
>> once wrote "what fun is it if it works out of the box".  My alternative is 
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
>> PC but I'd rather handle it directly on the PC if possible.  I looked into 
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
>> provides it because it is being phased-out.
>>
>> I greatly appreciate the time in helping me get started and any advice on 
>> my strategy,  David
>>
>>
>>

-- 
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/7563bee6-dfa7-4ecc-a865-4c2d2ce433df%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
It may not be relevant but I am using the WeatherLink LIVE  device to 
receive the sensor data and transfer it to my network.

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/9bb81101-75f6-42cb-a44d-9b2e0aa496ac%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
To answer Glenn's question I have tried :  

cd /home/weewx
sudo ./bin/weewxd weewx.conf

and nothing was returned.  

In weewx.config there is the statement:  WEEWX_ROOT = /home/weewx if that 
is of any value

I have attached the Vantage portion of weewx.config.  It is a plain text 
document.

thanks again

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/bd37ba54-d958-4e45-b72d-261c21570689%40googlegroups.com.


Vantage section of config
Description: Binary data


Re: [weewx-user] Re: users guide for python3 installation

2020-02-19 Thread Glenn McKechnie
Unless you've configured weewx to run as a non root user, I'd suggest
it's because it hasn't the permissions to run the driver.

Your screenshot shows that user pi is starting it. Try the following...

cd /home/weewx
sudo ./bin/weewxd weewx.conf

On 20/02/2020, rich T  wrote:
>
> Mike
>
> Can you post the Vantage Section of your weewx.conf?
>
> On Wednesday, February 19, 2020 at 8:32:39 PM UTC-5, david glenn wrote:
>
>> attached is a screen shot showing how I launched weewx  and then the error
>>
>> messages associated with the new IP, 192.168.0.115.
>>
>> I use 'Advanced IP scanner' to ID the IP addresses:  On 192.168.0.115
>> 192.168.0.115 Davis Instruments, Inc. 00:1D:0A:71:19:80
>>
>> The weewx.conf file indicates Vantage Pro 2 as the instrument.
>>
>> thanks,  Mike
>>
>>
>>
>> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>>>
>>> I am new to weewx and have very basic linux and python skills.  I'd like
>>>
>>> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3
>>> strategy' in the users group and it's outside my skill level.  The users
>>>
>>> guide for 2.7 seems very straightforward and meets the guide statement of
>>> " Ability
>>> to do simple Unix tasks such as changing file permissions and running
>>> commands".  that I can do.  Has an installation guide been developed for
>>>
>>> Windows 10 and python 3 and where can I find it?
>>>
>>> To introduce myself, I am a retired research plant physiologist.  I built
>>>
>>> a raspberry pi weather station and developed the code for it to monitor
>>> the
>>> external weather as well as conditions in a small greenhouse.  After a
>>> year
>>> or so I decided that many of the sensors were unreliable so I purchased a
>>>
>>> Davis Vantage Pro unit and will use weewx to manage the data.
>>>
>>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I
>>>
>>> want but I'd prefer to develop it myself (with your help).  As a
>>> colleague
>>> once wrote "what fun is it if it works out of the box".  My alternative
>>> is
>>> to use a RPI with python 2.7 and a samba server to shuttle the data to my
>>>
>>> PC but I'd rather handle it directly on the PC if possible.  I looked
>>> into
>>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer
>>>
>>> provides it because it is being phased-out.
>>>
>>> I greatly appreciate the time in helping me get started and any advice on
>>>
>>> my strategy,  David
>>>
>>>
>>>
>
> --
> 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/779dee12-67bb-4ba7-a30e-d1c8dd02f74c%40googlegroups.com.
>


-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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/CAAraAzjLJZNnh4A7MktrkK8AEwACUwqdOonf32RnUGEg2Agcmw%40mail.gmail.com.


[weewx-user] Re: users guide for python3 installation

2020-02-19 Thread rich T

Mike

Can you post the Vantage Section of your weewx.conf?

On Wednesday, February 19, 2020 at 8:32:39 PM UTC-5, david glenn wrote:

> attached is a screen shot showing how I launched weewx  and then the error 
> messages associated with the new IP, 192.168.0.115.
>
> I use 'Advanced IP scanner' to ID the IP addresses:  On 192.168.0.115 
> 192.168.0.115 Davis Instruments, Inc. 00:1D:0A:71:19:80
>
> The weewx.conf file indicates Vantage Pro 2 as the instrument.
>
> thanks,  Mike
>
>
>
> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>>
>> I am new to weewx and have very basic linux and python skills.  I'd like 
>> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
>> strategy' in the users group and it's outside my skill level.  The users 
>> guide for 2.7 seems very straightforward and meets the guide statement of " 
>> Ability 
>> to do simple Unix tasks such as changing file permissions and running 
>> commands".  that I can do.  Has an installation guide been developed for 
>> Windows 10 and python 3 and where can I find it?
>>
>> To introduce myself, I am a retired research plant physiologist.  I built 
>> a raspberry pi weather station and developed the code for it to monitor the 
>> external weather as well as conditions in a small greenhouse.  After a year 
>> or so I decided that many of the sensors were unreliable so I purchased a 
>> Davis Vantage Pro unit and will use weewx to manage the data.  
>>
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
>> want but I'd prefer to develop it myself (with your help).  As a colleague 
>> once wrote "what fun is it if it works out of the box".  My alternative is 
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
>> PC but I'd rather handle it directly on the PC if possible.  I looked into 
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
>> provides it because it is being phased-out.
>>
>> I greatly appreciate the time in helping me get started and any advice on 
>> my strategy,  David
>>
>>
>>

-- 
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/779dee12-67bb-4ba7-a30e-d1c8dd02f74c%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-19 Thread vince
On Wednesday, February 19, 2020 at 2:19:05 PM UTC-8, david glenn wrote:
>
> I changed the IP to the RPi's and it seemed successful.  A screen shot is 
> attached.  Hopefully it demonstrates the proper information.
>
> If I  'run' the program
>
> sudo ./bin/weewxd weewx.conf
>
> there is nothing returned.  
>
> I see from the documentation that weewx can be greatly modified by folks 
> who know what they are doing.  I'm at my limit.  The statement below comes 
> from the user guide using setup.py:
>

 Step back from the stressfulness of this for a second and look at it a 
little differently:

   - you have a weewx raspi on the network
   - you have a WeatherlinkIP thing on the network that talks with your 
   Davis
   - you need to configure weewx to find that WeatherlinkIP thing to talk 
   to it over the network
   - now to do that, do you think you'd put the ip address of the pi in the 
   weewx.conf file ?

No, you wouldn't.  

   - You need to put the ip address of the WeatherlinkIP device in 
   weewx.conf so weewx knows th address of the remote thing it's talking to.
   

So in weewx.conf in the [Vantage] section, you would want "type = ethernet" 
and "host = x.x.x.x" where x.x.x.x is the address on your network for the 
WeatherLinkIP thingy.

We can't tell you what x.x.x.x is unfortunately, as we're not on your home 
network.

If you do that, and restart weewx (which in general you need to do anytime 
you edit weewx.conf), your weewx should talk to your WeatherlinkIP and you 
should see it look like it's doing something.

Also set debug=1 in weewx.conf while you're in there, so we get better 
debugging info in your logs.


-- 
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/d984e032-bf5c-4edb-8534-e5cc9ce739e8%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-18 Thread vince
On Tuesday, February 18, 2020 at 6:17:32 PM UTC-8, david glenn wrote:
>
> Yeah!!!  I re-installed Raspbian and installed the configobj and all 
> worked.  Now I am confronted by the weewx setup.  I have a Davis Vantage 
> Pro wireless using  WeatherLink.  I can see the IP address of the Davis 
> Instrument and I entered that into the weewx input matrix.  However, when I 
> check the 'tail -f', I see :  Socket error while opening port 2 to 
> ethernet host 192.168.0.115.  and it was unable to load drivers and 
> connection refused.
>
>
Connection refused means you tried to connect to a port on the remote ip 
address that the other computer wasn't listening on.Are you sure your 
WeatherLink IP is 192.168.0.115 and that it's listening on port 2 ?   
Is it possible your weewx host has that ip address ?

(incidentally, you typed 192:160.0.115 above which isn't an ip address, but 
I'm hoping that's just a typo in your post)


also I don't understand this statement to view the website:  
> file:///var/www/html/weewx/index.html  
>
>
You're going to have to point us at where you're reading that so we have 
full context.



-- 
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/2d1091f6-1e1f-43a7-ad30-a9ee4182f886%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-18 Thread david glenn
Yeah!!!  I re-installed Raspbian and installed the configobj and all 
worked.  Now I am confronted by the weewx setup.  I have a Davis Vantage 
Pro wireless using  WeatherLink.  I can see the IP address of the Davis 
Instrument and I entered that into the weewx input matrix.  However, when I 
check the 'tail -f', I see :  Socket error while opening port 2 to 
ethernet host 192.168.0.115.  and it was unable to load drivers and 
connection refused.

also I don't understand this statement to view the website:  
file:///var/www/html/weewx/index.html  

I am close to getting this done.  I do appreciate all the help.  Mike

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/22e56294-100d-4567-8948-bc16604d7b2b%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-17 Thread david glenn
I'm re-installing Raspbian.  That was my thought at this point, too.  
Thanks for all your help.  Hopefully I'll have a "YEAH" on my next post.  

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/0ebe684f-91e0-492d-a02a-5359d4fcb03c%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-17 Thread vince
On Monday, February 17, 2020 at 11:19:58 AM UTC-8, david glenn wrote:

> the attached screen shot is the same result.  From the very beginning of 
> this process I have had the ''0 upgraded, ..., 0 to remove *and 27 not 
> upgraded*" and there has always been an " Err 
> http://mirrordirector.raspbian.org/...".to a number of files as it 
> scrolls through the update.
>
>
>
There are two things going on.

The '27 not upgraded' happens when the system has had a lot of upgrades 
over time.  If you google a bit you'll find the magic incantation for that, 
but it's not related to your problem.

Your screenshot helped, however.  It's indeed finding the package, but if 
you read closely it's saying the signature of the package can't be 
verified.  There's an option to install without the verification (don't use 
it - it's there to protect you from hacked packages), but John's reply 
saying how to update your keys is what you want to do.

I'm hazily remembering some mention of a distribution key expiring in the 
recent past, so the apt-key command should catch your set of keys for the 
repos up to current.  Give it a try.  It's probably your issue at this 
point.

-- 
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/0589df26-baa6-4c2f-bee5-0851d59185e7%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-17 Thread John Kline
Well, you don’t say what results you got from running any commands other than 
the pyton-objconfig.

For that install, I see you are getting a verification error.

As such, run these two commands:

$ sudo apt-key update
$ sudo apt-get update
If that doesn’t work, please state if there is any good reason not to just 
reinstall Raspbian on your Raspberry Pi?


> On Feb 17, 2020, at 11:34 AM, salinois  wrote:
> 
> 
> hi,
> 
> maybe the issue is in the file /etc/apt/source.list
> 
> I don't know
> 
> see the mine:
> 
> deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
> # Uncomment line below then 'apt-get update' to enable 'apt-get source'
> #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib 
> non-free rpi
> 
> Patrick
> 
> Le 17/02/2020 à 20:19, david glenn a écrit :
>> I did the sudo apt-get clean  then:
>> 
>> Run the following commands in order:
>> sudo apt-get update
>> sudo apt-get upgrade
>> sudo apt-get dist-upgrade
>> sudo apt-get autoremove
>> sudo apt-get autoclean
>> 
>> sudo reboot
>> 
>> sudo apt-get install python-configobj
>> 
>> the attached screen shot is the same result.  From the very beginning of 
>> this process I have had the ''0 upgraded, ..., 0 to remove and 27 not 
>> upgraded" and there has always been an " Err 
>> http://mirrordirector.raspbian.org/...".to a number of files as it 
>> scrolls through the update.
>> 
>> Again, I appreciate your time in helping me.  Mike
>> 
>> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>>> 
>>> I am new to weewx and have very basic linux and python skills.  I'd like to 
>>> run weewx on windows 10 with python 3.7.  I've read the 'Python 3 strategy' 
>>> in the users group and it's outside my skill level.  The users guide for 
>>> 2.7 seems very straightforward and meets the guide statement of " Ability 
>>> to do simple Unix tasks such as changing file permissions and running 
>>> commands".  that I can do.  Has an installation guide been developed for 
>>> Windows 10 and python 3 and where can I find it?
>>> 
>>> To introduce myself, I am a retired research plant physiologist.  I built a 
>>> raspberry pi weather station and developed the code for it to monitor the 
>>> external weather as well as conditions in a small greenhouse.  After a year 
>>> or so I decided that many of the sensors were unreliable so I purchased a 
>>> Davis Vantage Pro unit and will use weewx to manage the data.  
>>> 
>>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
>>> want but I'd prefer to develop it myself (with your help).  As a colleague 
>>> once wrote "what fun is it if it works out of the box".  My alternative is 
>>> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
>>> PC but I'd rather handle it directly on the PC if possible.  I looked into 
>>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
>>> provides it because it is being phased-out.
>>> 
>>> I greatly appreciate the time in helping me get started and any advice on 
>>> my strategy,  David
>>> 
>>> 
>> -- 
>> 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/8e950b48-09c7-4bde-95e0-3bda45e234d2%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/6d726e45-fed3-8398-b6ae-40acd85bd35b%40gmail.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/53E193E3-4470-4692-9E78-6ADF561BA63A%40johnkline.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-17 Thread salinois

hi,

maybe the issue is in the file /etc/apt/source.list

I don't know

see the mine:

deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib 
non-free rpi

# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib 
non-free rpi


Patrick

Le 17/02/2020 à 20:19, david glenn a écrit :

I did the sudo apt-get clean  then:

Run the following commands in order:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get autoclean

sudo reboot

sudo apt-get install python-configobj

the attached screen shot is the same result. From the very beginning 
of this process I have had the ''0 upgraded, ..., 0 to remove _and 27 
not upgraded_" and there has always been an " Err 
http://mirrordirector.raspbian.org/...".to a number of files as it 
scrolls through the update.


Again, I appreciate your time in helping me. Mike

On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:

I am new to weewx and have very basic linux and python skills. 
I'd like to run weewx on windows 10 with python 3.7.  I've read
the 'Python 3 strategy' in the users group and it's outside my
skill level.  The users guide for 2.7 seems very straightforward
and meets the guide statement of " Ability to do simple Unix tasks
such as changing file permissions and running commands".  that I
can do.  Has an installation guide been developed for Windows 10
and python 3 and where can I find it?

To introduce myself, I am a retired research plant physiologist. 
I built a raspberry pi weather station and developed the code for
it to monitor the external weather as well as conditions in a
small greenhouse.  After a year or so I decided that many of the
sensors were unreliable so I purchased a Davis Vantage Pro unit
and will use weewx to manage the data.

I realize I could subscribe to the WeatherLInk Pro site and obtain
what I want but I'd prefer to develop it myself (with your help). 
As a colleague once wrote "what fun is it if it works out of the
box".  My alternative is to use a RPI with python 2.7 and a samba
server to shuttle the data to my PC but I'd rather handle it
directly on the PC if possible.  I looked into downloading Python
2.7 on the WIN10 PC and it seems python.org  no
longer provides it because it is being phased-out.

I greatly appreciate the time in helping me get started and any
advice on my strategy, David


--
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/8e950b48-09c7-4bde-95e0-3bda45e234d2%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/6d726e45-fed3-8398-b6ae-40acd85bd35b%40gmail.com.


[weewx-user] Re: users guide for python3 installation

2020-02-17 Thread vince
On Monday, February 17, 2020 at 9:01:42 AM UTC-8, david glenn wrote:
>
> I have tried the commands that John and Vince suggested in this thread 
> with no success.  I suspect there is a flaw in my RPI.  I tried to download 
> 'SCROT' to make a screen shot and it would not install.  So I have attached 
> to images of the output from my attempts.  I realize I am pushing your 
> patience and I thank you for your time.  Mike
>
>
>
apt gets stupid sometimes...

Try to clean its cache out - it should be "sudo apt clean" or "sudo apt-get 
clean"

Then do "sudo apt-get update" (regenerate its knowledge of what's in which 
repo) and then try to install your package(s) again.

-- 
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/b9529d57-ceca-4095-af3e-c7e94611f8d7%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-17 Thread Thomas Keffer
Well, did you follow the suggestion and do

*sudo apt-get update?*


Your apt configuration is out of date. Configobj version 5.0 is the current
version.

-tk

On Mon, Feb 17, 2020 at 9:01 AM david glenn  wrote:

> I have tried the commands that John and Vince suggested in this thread
> with no success.  I suspect there is a flaw in my RPI.  I tried to download
> 'SCROT' to make a screen shot and it would not install.  So I have attached
> to images of the output from my attempts.  I realize I am pushing your
> patience and I thank you for your time.  Mike
>
> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>>
>> I am new to weewx and have very basic linux and python skills.  I'd like
>> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3
>> strategy' in the users group and it's outside my skill level.  The users
>> guide for 2.7 seems very straightforward and meets the guide statement of " 
>> Ability
>> to do simple Unix tasks such as changing file permissions and running
>> commands".  that I can do.  Has an installation guide been developed for
>> Windows 10 and python 3 and where can I find it?
>>
>> To introduce myself, I am a retired research plant physiologist.  I built
>> a raspberry pi weather station and developed the code for it to monitor the
>> external weather as well as conditions in a small greenhouse.  After a year
>> or so I decided that many of the sensors were unreliable so I purchased a
>> Davis Vantage Pro unit and will use weewx to manage the data.
>>
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I
>> want but I'd prefer to develop it myself (with your help).  As a colleague
>> once wrote "what fun is it if it works out of the box".  My alternative is
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my
>> PC but I'd rather handle it directly on the PC if possible.  I looked into
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer
>> provides it because it is being phased-out.
>>
>> I greatly appreciate the time in helping me get started and any advice on
>> my strategy,  David
>>
>>
>> --
> 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/605388ec-3f03-4f6d-b003-7f45170f98b6%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/CAPq0zEANocb%3D2pF10NbU8XGnyOjJB6fjzJbh7WVtQbWbuPXzWQ%40mail.gmail.com.


[weewx-user] Re: users guide for python3 installation

2020-02-15 Thread vince
On Friday, February 14, 2020 at 5:36:17 PM UTC-8, david glenn wrote:
>
> I am using python 2.7.  I tried the sudo apt-get install python-configobj  
> resulting in an error:
>
> Err http://mirrordirector.raspbian.org/raspbian/ weezy/main 
> python-configobj all 4.7.7+ds-4
> 404 not found 
> Failed to fetch 
> http://mirrordirector.raspbian.org/raspbian/pool/main/c/configobj/python-configobj_4.7.2+ds-4_all.deb
>  
> 404 not found
> E: unable to fetch some archives, maybe run apt-get update or try with 
> --fix-missing.
>

A 404 is file not found, so it's possible that the raspbian site on 
internet took a hiccup.

Try "sudo apt-get update" again.  It should process pretty quickly and look 
like it didn't get confused or anything.
I just did one now on my pi3plus and it was pretty snappy.

pi@pi3plus:~ $ sudo apt-get update
Get:1 http://weewx.com/apt squeeze InRelease [2,537 B]
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Get:4 http://weewx.com/apt squeeze/main all Packages [3,613 B]
Get:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages 
[11.7 MB]
Get:6 http://archive.raspberrypi.org/debian stretch/main armhf Packages 
[220 kB]
Get:7 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 
kB]
Get:8 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf 
Packages [56.9 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf 
Packages [95.5 kB]
Fetched 12.1 MB in 10s (1,157 kB/s)
Reading package lists... Done 



John's other reply is of course correct, but if your system isn't totally 
up to date it'll do lots more updates to get your system current, so you 
might be changing more than one thing at a time.

Quickest way to get this one package installed is 'apt-get update' followed 
by the 'apt-get install' of the package you want (as root or via sudo of 
course)

But once you get weewx running right, I'd agree with doing the full 
'apt-get upgrade' to catch up everything to current. 

-- 
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/17335e01-aee2-4f3f-bb6d-3787b0254ae5%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread John Kline
I see now why I sent you the command to install python3’s configobj.  The 
subject is python3 installation.

Back to python 2...

You should always update before you install.
Let’s try to get things into better shape.

Run the following commands in order:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get autoclean

Now reboot:
sudo reboot

Lastly, try to install configobj again:
sudo apt-get install python-configobj

> On Feb 14, 2020, at 5:36 PM, david glenn  wrote:
> 
> 
> I am using python 2.7.  I tried the sudo apt-get install python-configobj  
> resulting in an error:
> 
> Err http://mirrordirector.raspbian.org/raspbian/ weezy/main python-configobj 
> all 4.7.7+ds-4
> 404 not found 
> Failed to fetch 
> http://mirrordirector.raspbian.org/raspbian/pool/main/c/configobj/python-configobj_4.7.2+ds-4_all.deb
>  404 not found
> E: unable to fetch some archives, maybe run apt-get update or try with 
> --fix-missing.
> 
> 
> I did try apt-get update --fix-missing with no benefit.
> 
> this has to be something simple that I am unaware of.
> 
> thanks for your patience and time,  Mike
> 
> 
> 
> 
> 
>> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>> I am new to weewx and have very basic linux and python skills.  I'd like to 
>> run weewx on windows 10 with python 3.7.  I've read the 'Python 3 strategy' 
>> in the users group and it's outside my skill level.  The users guide for 2.7 
>> seems very straightforward and meets the guide statement of " Ability to do 
>> simple Unix tasks such as changing file permissions and running commands".  
>> that I can do.  Has an installation guide been developed for Windows 10 and 
>> python 3 and where can I find it?
>> 
>> To introduce myself, I am a retired research plant physiologist.  I built a 
>> raspberry pi weather station and developed the code for it to monitor the 
>> external weather as well as conditions in a small greenhouse.  After a year 
>> or so I decided that many of the sensors were unreliable so I purchased a 
>> Davis Vantage Pro unit and will use weewx to manage the data.  
>> 
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
>> want but I'd prefer to develop it myself (with your help).  As a colleague 
>> once wrote "what fun is it if it works out of the box".  My alternative is 
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my PC 
>> but I'd rather handle it directly on the PC if possible.  I looked into 
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
>> provides it because it is being phased-out.
>> 
>> I greatly appreciate the time in helping me get started and any advice on my 
>> strategy,  David
>> 
>> 
> 
> -- 
> 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/6ef6ae83-0ab8-47e0-b952-fdc1a4c65e5d%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/5FE200C0-EF4C-4692-AAE0-3F32D866A0BC%40johnkline.com.


[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread david glenn
I am using python 2.7.  I tried the sudo apt-get install python-configobj  
resulting in an error:

Err http://mirrordirector.raspbian.org/raspbian/ weezy/main 
python-configobj all 4.7.7+ds-4
404 not found 
Failed to fetch 
http://mirrordirector.raspbian.org/raspbian/pool/main/c/configobj/python-configobj_4.7.2+ds-4_all.deb
 
404 not found
E: unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing.


I did try apt-get update --fix-missing with no benefit.

this has to be something simple that I am unaware of.

thanks for your patience and time,  Mike





On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/6ef6ae83-0ab8-47e0-b952-fdc1a4c65e5d%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread John Kline
Oops.

That is correct.

For python2,

sudo apt-get install python-configobj

> On Feb 14, 2020, at 3:21 PM, vince  wrote:
> 
> 
>> On Friday, February 14, 2020 at 3:15:45 PM UTC-8, John Kline wrote:
>> Try:
>> sudo apt-get install python3-configobj
>> 
> 
> That's not going to work with weewx 3.9.2 which requires python2
> (see my other reply from a minute ago) 
> -- 
> 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/cb1c226f-f708-4886-ac1c-5a9c335e7580%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/7B319801-7B1F-499C-AC1D-9F3A36D4D81E%40johnkline.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread vince
On Friday, February 14, 2020 at 3:15:45 PM UTC-8, John Kline wrote:
>
> Try:
> sudo apt-get install python3-configobj
>
>
That's not going to work with weewx 3.9.2 which requires python2
(see my other reply from a minute ago) 

-- 
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/cb1c226f-f708-4886-ac1c-5a9c335e7580%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread vince
On Friday, February 14, 2020 at 2:49:44 PM UTC-8, david glenn wrote:
>
> I found my error and the setup.py was in the tar download.  
> Unfortunately,  ./setup.py build  fails to import configobj
> I have been unable to download the module using: 
>
> sudo apt-get install configobj
> or
> pip install configobj
>
> in fact I cannot download 'pip'  !!!
>
>>
>>
I think you need to up your linux-fu a bit.
Lets slow down and reiterate what exactly you are trying to do.
It seems like you are trying to install weewx 3.9.2 via setup.py using 
python 2.7 - is that correct ?

If that is correct, you need to follow http://www.weewx.com/docs/setup.htm 
exactly so you have the prerequisites installed.

You do not need pip to install configobj on a Raspi using python 2.7

If you're trying to use the beta weewx 4 using python3, the instructions 
are 'slightly' different, so let us know if that's what you're trying to do.


 

-- 
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/72c25f8d-f3f7-49c9-ac87-d4b5bc06778a%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread John Kline
Try:
sudo apt-get install python3-configobj

> On Feb 14, 2020, at 2:49 PM, david glenn  wrote:
> 
> 
> I found my error and the setup.py was in the tar download.  Unfortunately,  
> ./setup.py build  fails to import configobj
> I have been unable to download the module using: 
> 
> sudo apt-get install configobj
> or
> pip install configobj
> 
> in fact I cannot download 'pip'  !!!
> 
> what am I doing wrong?
> 
> thanks
> 
> 
>> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>> I am new to weewx and have very basic linux and python skills.  I'd like to 
>> run weewx on windows 10 with python 3.7.  I've read the 'Python 3 strategy' 
>> in the users group and it's outside my skill level.  The users guide for 2.7 
>> seems very straightforward and meets the guide statement of " Ability to do 
>> simple Unix tasks such as changing file permissions and running commands".  
>> that I can do.  Has an installation guide been developed for Windows 10 and 
>> python 3 and where can I find it?
>> 
>> To introduce myself, I am a retired research plant physiologist.  I built a 
>> raspberry pi weather station and developed the code for it to monitor the 
>> external weather as well as conditions in a small greenhouse.  After a year 
>> or so I decided that many of the sensors were unreliable so I purchased a 
>> Davis Vantage Pro unit and will use weewx to manage the data.  
>> 
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
>> want but I'd prefer to develop it myself (with your help).  As a colleague 
>> once wrote "what fun is it if it works out of the box".  My alternative is 
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my PC 
>> but I'd rather handle it directly on the PC if possible.  I looked into 
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
>> provides it because it is being phased-out.
>> 
>> I greatly appreciate the time in helping me get started and any advice on my 
>> strategy,  David
>> 
>> 
> 
> -- 
> 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/6fd1defb-e3be-4879-833b-4f014a2e32be%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/D1923195-1801-468E-A49F-940DC43D80A0%40johnkline.com.


[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread david glenn
I found my error and the setup.py was in the tar download.  Unfortunately,  
./setup.py 
build  fails to import configobj
I have been unable to download the module using: 

sudo apt-get install configobj
or
pip install configobj

in fact I cannot download 'pip'  !!!

what am I doing wrong?

thanks


On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/6fd1defb-e3be-4879-833b-4f014a2e32be%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread david glenn
I was able to successfully download and expand the tar file ie.  the 
checksums were correct.  However, the next 2 statements stopped me:

./setup.py build
sudo ./setup.py install


./setup.py: No such file or directory


I tried ~$ python ez_setup.pybut no such file or directory

How do I install setup.py?

Many thanks for the help.  Mike


On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/2dabbfd4-7530-480a-9982-14c0e29d7798%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-13 Thread vince
On Thursday, February 13, 2020 at 5:07:34 PM UTC-8, david glenn wrote:
>
> I have tried the various download strategies and come up short.  The 
> Debian approach failed to load key files.  So I've tried the tarball 
> approach with the following error: ( I created the 'weewx' file and 
> downloaded the tar file into it)
>
> pi@raspberry ~/weewx $ tar xvzf weewx-3.9.2.tar.gz
> gzip: stdin: unexpected end of file
> tar: child returned status 1
> tar: Error is not recoverable: exiting now
>
>>
>>
Your file was truncated in transfer.

Try this:

pi@pi3:/tmp $ sha1sum weewx-3.9.2.tar.gz
c4feacb728b97630ec6c97a008eecd0263a40cc4  weewx-3.9.2.tar.gz

 
or:

pi@pi3:/tmp $ md5sum weewx-3.9.2.tar.gz
320e3413f3af6c3484d3fda3b4431c0b  weewx-3.9.2.tar.gz


or:
 

pi@pi3:/tmp $ sha256sum weewx-3.9.2.tar.gz
fae74c4160a2141f3f1681b998a691318770516af46366f194c3e9e3d6273b3c 
 weewx-3.9.2.tar.gz



If you see a checksum match for whatever checksum program you used, you got 
it all.

I downloaded it via:

cd /tmp
wget http://weewx.com/downloads/weewx-3.9.2.tar.gz


If you want to see what is in a .tar.gz (or .tgz which is the same thing - 
a gzipped tarball), you would do:

tar ztvf  weewx-3.9.2.tar.gz



-- 
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/d6b1e1dc-9cb0-4841-8a42-f4e4c0cf4f14%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-13 Thread John Kline
What’s the md5 checksum of your weewx-3.9.2.tar.gz file?

$ md5sum weewx-3.9.2.tar.gz 
320e3413f3af6c3484d3fda3b4431c0b  weewx-3.9.2.tar.gz


> On Feb 13, 2020, at 5:07 PM, david glenn  wrote:
> 
> 
> I have tried the various download strategies and come up short.  The Debian 
> approach failed to load key files.  So I've tried the tarball approach with 
> the following error: ( I created the 'weewx' file and downloaded the tar file 
> into it)
> 
> pi@raspberry ~/weewx $ tar xvzf weewx-3.9.2.tar.gz
> gzip: stdin: unexpected end of file
> tar: child returned status 1
> tar: Error is not recoverable: exiting now
> 
> 
> I've never tried to open a 'tar' file before but what I can read is that this 
> is the correct syntax and using 'f'' indicates that a file will be used and 
> follows in the command.  Any help is appreciated.  Mike
> 
> 
> 
>> On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>> I am new to weewx and have very basic linux and python skills.  I'd like to 
>> run weewx on windows 10 with python 3.7.  I've read the 'Python 3 strategy' 
>> in the users group and it's outside my skill level.  The users guide for 2.7 
>> seems very straightforward and meets the guide statement of " Ability to do 
>> simple Unix tasks such as changing file permissions and running commands".  
>> that I can do.  Has an installation guide been developed for Windows 10 and 
>> python 3 and where can I find it?
>> 
>> To introduce myself, I am a retired research plant physiologist.  I built a 
>> raspberry pi weather station and developed the code for it to monitor the 
>> external weather as well as conditions in a small greenhouse.  After a year 
>> or so I decided that many of the sensors were unreliable so I purchased a 
>> Davis Vantage Pro unit and will use weewx to manage the data.  
>> 
>> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
>> want but I'd prefer to develop it myself (with your help).  As a colleague 
>> once wrote "what fun is it if it works out of the box".  My alternative is 
>> to use a RPI with python 2.7 and a samba server to shuttle the data to my PC 
>> but I'd rather handle it directly on the PC if possible.  I looked into 
>> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
>> provides it because it is being phased-out.
>> 
>> I greatly appreciate the time in helping me get started and any advice on my 
>> strategy,  David
>> 
>> 
> 
> -- 
> 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/8a4cd092-43dc-4f47-b146-9148928187c8%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/170282CC-583F-42A5-8F84-C9B2A9B7834A%40johnkline.com.


[weewx-user] Re: users guide for python3 installation

2020-02-13 Thread david glenn
I have tried the various download strategies and come up short.  The Debian 
approach failed to load key files.  So I've tried the tarball approach with 
the following error: ( I created the 'weewx' file and downloaded the tar 
file into it)

pi@raspberry ~/weewx $ tar xvzf weewx-3.9.2.tar.gz
gzip: stdin: unexpected end of file
tar: child returned status 1
tar: Error is not recoverable: exiting now


I've never tried to open a 'tar' file before but what I can read is that 
this is the correct syntax and using 'f'' indicates that a file will be 
used and follows in the command.  Any help is appreciated.  Mike



On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/8a4cd092-43dc-4f47-b146-9148928187c8%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-05 Thread Thomas Keffer
5 years and 2 months on my SD card
. Over a year of uptime.

On Wed, Feb 5, 2020 at 1:01 PM Chris Thompstone 
wrote:

> With the regard to SD card wear.  My install of weewx finally frozen after
> about 3/4 years running on an odroid (bit like a Pi), probably mmc card
> failure.
>
> Since I have NAS on site anyway, I bought a new Pi4 and network boot it
> using NFS off the NAS (store the whole Pi SD card partitions on the NAS),
> so no SD in the Pi4.
> Once got it network booting, installed weewx onto the Pi and been running
> none stop for several months without issue.
>
> The Pi seems happy and is none the wiser.
> Just backup my nas to elsewhere as normal.
> Chris
>
> --
> 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/891394a8-adcc-4e7a-a4bc-60fd4a04bc13%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/CAPq0zEBD0XoF6MLruWjEN41ry6-sBQxn0djk-C3m4jtcT0oNWA%40mail.gmail.com.


[weewx-user] Re: users guide for python3 installation

2020-02-05 Thread Chris Thompstone
With the regard to SD card wear.  My install of weewx finally frozen after 
about 3/4 years running on an odroid (bit like a Pi), probably mmc card 
failure.

Since I have NAS on site anyway, I bought a new Pi4 and network boot it 
using NFS off the NAS (store the whole Pi SD card partitions on the NAS), 
so no SD in the Pi4.
Once got it network booting, installed weewx onto the Pi and been running 
none stop for several months without issue.

The Pi seems happy and is none the wiser.
Just backup my nas to elsewhere as normal.
Chris

-- 
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/891394a8-adcc-4e7a-a4bc-60fd4a04bc13%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread Susan Mackay
I run WeeWx on a RPi zero w (plus other weather-related software plus the 
web server) and it idles along (I've seen some peaks of about 70% CPU but 
mostly idle between the 5-minute bursts. Even the web access only accounts 
for a few percent of CPU).
The RPi 4 is a nice device (I've just got on to play with) but I think it 
will be a waste if you are thinking of dedicating it to the WeeWx app.
Do you have a NAS or some other computer that is always on? If so then you 
can use that for the WeeWx database and web files so that you don't 'wear 
out' the SD card. (Also keeping the log files there or in a memory disk 
image can significantly reduce the wear.)
Susan

-- 
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/3881d557-d887-45f3-9728-9c5acfb5ba5e%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread david glenn
thank you all for the encouragement and ideas.   The gist of the posts is 
go with the python 2.7 and version 3 of weewx.  That is probably the safest 
since the only 2 statements I know in python 3 are exit() = exit and print 
= print().  If I find the model 2 RPi unstable I'll go for the newer RPi 
model 4.  I have several model 2 B RPi's.  I discovered pi's just as the 
model 2 was released and went a little over-board with projects and 
purchases.  $35-55 isn't going to kill me for a new pi but I do have a 
loyalty to raspberry pi and hate to toss good hardware.  Good advice about 
the power supply and SD card-thanks

Again, thanks for the time and expertise to respond.  David


On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote:
>
> I am new to weewx and have very basic linux and python skills.  I'd like 
> to run weewx on windows 10 with python 3.7.  I've read the 'Python 3 
> strategy' in the users group and it's outside my skill level.  The users 
> guide for 2.7 seems very straightforward and meets the guide statement of " 
> Ability 
> to do simple Unix tasks such as changing file permissions and running 
> commands".  that I can do.  Has an installation guide been developed for 
> Windows 10 and python 3 and where can I find it?
>
> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
> I realize I could subscribe to the WeatherLInk Pro site and obtain what I 
> want but I'd prefer to develop it myself (with your help).  As a colleague 
> once wrote "what fun is it if it works out of the box".  My alternative is 
> to use a RPI with python 2.7 and a samba server to shuttle the data to my 
> PC but I'd rather handle it directly on the PC if possible.  I looked into 
> downloading Python 2.7 on the WIN10 PC and it seems python.org no longer 
> provides it because it is being phased-out.
>
> I greatly appreciate the time in helping me get started and any advice on 
> my strategy,  David
>
>
>

-- 
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/435c13ff-ca1f-44d6-ab75-1c1fee232025%40googlegroups.com.


Re: [weewx-user] Re: users guide for python3 installation

2020-02-02 Thread p q
I agree 100%.  I'm still running an old version of weewx but I'm going to
move to 4 on python3 in the next couple of months. I'm going to do all the
testing on a virtual machine to make the transition on my real station as
smooth as possible.

Anyway, made a new temp sensor for my installation and wrote it up here:
https://hackaday.io/project/101680-solar-powered-wifi-temperature-sensor-for-weewx
I'm
not saying this is the right way to do it, but it is a way. I'm sure you
can find other examples.

On Sun, Feb 2, 2020 at 9:22 AM vince  wrote:

> On Sunday, February 2, 2020 at 6:52:51 AM UTC-8, david glenn wrote:
>>
>> I've read the 'Python 3 strategy' in the users group and it's outside my
>> skill level.
>>
>
>
>> To introduce myself, I am a retired research plant physiologist.  I built
>> a raspberry pi weather station and developed the code for it to monitor the
>> external weather as well as conditions in a small greenhouse.  After a year
>> or so I decided that many of the sensors were unreliable so I purchased a
>> Davis Vantage Pro unit and will use weewx to manage the data.
>>
>>
> Then weewx is 'definitely' inside your skill level if you're willing to
> work a 'little' to get the minimal basic Linux skills needed to run a pi
> reliably.
>
> Don't sweat python2 versus python3.  It's just about solved in the weewx
> world.  Lots of us are running the beta of weewx-v4 with python3 on pi with
> no problems.
>
> You didn't mention which model pi you built your home-made station on, but
> if it's a pi3 or later you will have a 'very' stable pi-based system as
> long as:
>
>- you have a quality USB power supply
>- you have a quality microSD card
>
> I might add lots of people build Arduino-based tiny sensors and sprinkle
> them around the house and out buildings etc. and integrate them with the pi
> running weewx.   I have a bunch of those monitoring the temperature in
> various rooms.  You can also do this with a remote pi as well if you have
> some of those laying around.
>
> Take your pi, install weewx v4 beta on it running the Simulator.  Get your
> feet wet.  It works.
>
>
> --
> 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/648809aa-9d91-4024-afba-6a1395450228%40googlegroups.com
> 
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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/CAA1SM20w%2BfNt_XCzhTk4F76PrhFaR19ZAjo8Lx0QDnQag0D%2BLA%40mail.gmail.com.


[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread vince
On Sunday, February 2, 2020 at 6:52:51 AM UTC-8, david glenn wrote:
>
> I've read the 'Python 3 strategy' in the users group and it's outside my 
> skill level.
>
  

> To introduce myself, I am a retired research plant physiologist.  I built 
> a raspberry pi weather station and developed the code for it to monitor the 
> external weather as well as conditions in a small greenhouse.  After a year 
> or so I decided that many of the sensors were unreliable so I purchased a 
> Davis Vantage Pro unit and will use weewx to manage the data.  
>
>
Then weewx is 'definitely' inside your skill level if you're willing to 
work a 'little' to get the minimal basic Linux skills needed to run a pi 
reliably.

Don't sweat python2 versus python3.  It's just about solved in the weewx 
world.  Lots of us are running the beta of weewx-v4 with python3 on pi with 
no problems.

You didn't mention which model pi you built your home-made station on, but 
if it's a pi3 or later you will have a 'very' stable pi-based system as 
long as:

   - you have a quality USB power supply
   - you have a quality microSD card

I might add lots of people build Arduino-based tiny sensors and sprinkle 
them around the house and out buildings etc. and integrate them with the pi 
running weewx.   I have a bunch of those monitoring the temperature in 
various rooms.  You can also do this with a remote pi as well if you have 
some of those laying around.

Take your pi, install weewx v4 beta on it running the Simulator.  Get your 
feet wet.  It works.
 

-- 
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/648809aa-9d91-4024-afba-6a1395450228%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread mwall
hi david,

although python 2.7 works just fine, and will continue to work just fine, 
all new development is done in python3.

we will ensure that weewx4 works with both python2 and python3, but at some 
point there will probably be a version of weewx (weewx5?) that is python3 
only.  at some point it is just too cumbersome to maintain backward 
compatibility - it increases the number of configuration/platform options, 
which results in many more configurations that have to be tested.

although it is possible to run weewx3 reliably on windows using python2.7, 
that requires some hacking.

weewx4 *should* be easier to run on windows, due primarily to the use of 
the python logger instead of syslog.  however, there are still many usb 
issues that must be tested in order to make every weewx extension run 
reliably on windows.  (to a lesser extent this is also true for macosx)

if you want to build a system right now, i would recommend that you use 
weewx3 and python 2.7 on a debian flavor of linux.

when weewx4 comes out (real soon now!) you will be able to upgrade weewx 
with little hassle, then later upgrade to python3 whenever you are ready 
for that step (mostly gated by when the weewx extensions that you need have 
been updated to work with python3).

making weewx4 work on windows will probably happen at some point, but it is 
not a high priority right now.

m

-- 
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/ccefd40f-988a-446c-86fc-44a47f76dac4%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread vince
On Sunday, February 2, 2020 at 8:37:40 AM UTC-8, Rich Altmaier wrote:
>
> I got tired of my RPI freezing every 2 months. 
>
>
>
Well there are hundreds of pi users here who could have helped you, some 
with pi that have been up literally years without problems.

But sure, throw a $500 computer at a $30 problem and you will certainly 
solve it.
(big NUC fan here with two of those two - great little boxes).
 

-- 
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/7061f2be-5aac-4a8b-bfd0-6bdb0f576f9c%40googlegroups.com.


[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread Andrew Milner
None of my 5 RPis - of different models - has ever exhibited freezing at 2 
monthly intervals so I suspect you had something else causing your 
problem(s).



On Sunday, 2 February 2020 18:37:40 UTC+2, Rich Altmaier wrote:
>
> Hi David, perhaps noone will agree with me but I suggest swapping the RPI 
> for an Intel NUC.  You can get a used one on ebay very reasonably.   The 
> reliability is much greater. I got tired of my RPI freezing every 2 months. 
> And need I say the NUC is 20 to 50 times faster?  Loading multiple years 
> of weewx database transfer on RPI, 2 minutes. On NUC, 2 seconds.  Do you 
> believe me?
>
> Good luck!
> Rich
>

-- 
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/557ed271-0c46-48c9-8f67-f4d906377b46%40googlegroups.com.