Re: [weewx-user] Total newbie - WeeWx not uploading at all after being great on Raspberry Pi

2019-04-13 Thread Mark Roberts
YOU ARE THE MAN!

Unfortunately I disconnected the web from the Raspberry Pi hoping a web 
reboot would fix the world.  Now all I have to do is get that working again 
and I'm good to go.  Thank you!

mdr

On Saturday, April 13, 2019 at 8:01:57 PM UTC-5, Popeye wrote:
>
> Here is what I do. Someone please correct any errors.
> stop weewx   sudo /etc/init.d/weewx stop 
> remove power to  Van2
> restart and set time on Van2 
> check time on Pi is correct or reboot and wait until it is correct.
> restart weewx   sudo /etc/init.d/weewx start
> watch syslog for Pi d/l from Van2 sudo tail -f /var/log/syslog
>
> sometimes the data has to be cleared from Van2  ( search doc)
>
> I recommend using a power pack with "pass through charging"
> for a cheap UPS and a SSD for the Pi. Those cards all die
> at some point and a cheap drive will save a lot of time and 
> frustration. A hardware realtime clock would have saved you
> all this trouble. After an interuption the Pi and Van2 will
> not have the same time and will be unable to d/l. 
>
> Bob - wd6dod
>
> On 4/13/2019 5:25 PM, Mark Roberts wrote:
>
> So I'm a complete newbie.  A friend did the initial setup on my Raspberry 
> Pi and it worked great for several years.  Uploaded my Davis Vantage 2 wx 
> station to Weather Underground flawlessly.
>
> Power blinked and went off for several hours last week.  Since then ... 
> nada.  I have tried to restart weewx but I know zippo.  I don't know enough 
> to follow some of the threads here and make any sense of any of it.  
>
> My friend emailed me this:
>
> Try   sudo /etc/init.d/weewx start 
>
> I did try that using my VNC Viewer to connect to the Pi and Weewx said it 
> started.  But it's not uploading.  So ...?  I don't even know where to 
> begin.  Any and all ideas are very welcome.  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...@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] Total newbie - WeeWx not uploading at all after being great on Raspberry Pi

2019-04-13 Thread Mark Roberts
So I'm a complete newbie.  A friend did the initial setup on my Raspberry 
Pi and it worked great for several years.  Uploaded my Davis Vantage 2 wx 
station to Weather Underground flawlessly.

Power blinked and went off for several hours last week.  Since then ... 
nada.  I have tried to restart weewx but I know zippo.  I don't know enough 
to follow some of the threads here and make any sense of any of it.  

My friend emailed me this:

Try   sudo /etc/init.d/weewx start

I did try that using my VNC Viewer to connect to the Pi and Weewx said it 
started.  But it's not uploading.  So ...?  I don't even know where to 
begin.  Any and all ideas are very welcome.  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.


[weewx-user] Re: absolute newbie needs help - how run weewx?

2018-05-15 Thread Mark Roberts
and how would I alter the config file?  and I'm still not really clear on 
what we're doing here.  something is happening every 30 min that should 
happen faster.  what?

off to bed.  will work on this tomorrow.  #victorious!

On Tuesday, May 15, 2018 at 11:08:02 PM UTC-5, Andrew Milner wrote:
>
> If you are happy with 30 minute updates then leave it as it is - but in 
> that case I would suggest altering your .conf file to match the archive 
> interval (not that it makes any difference when you are using hardware 
> record generation) - for the sake of tidiness more than anything else!!  
> Most people think 30 minutes is too long an interval between updates.  The 
> choice is yours however - it is your system and you are the main user.
>
> On Wednesday, 16 May 2018 06:52:06 UTC+3, Mark Roberts wrote:
>>
>> tell me what this does and why I should change it.  I'm open to doing so 
>> - just don't know the "why"
>>
>> On Tuesday, May 15, 2018 at 10:39:17 PM UTC-5, Andrew Milner wrote:
>>>
>>> You should really change your archive interval to 5 minutes (300 
>>> seconds) in your station though..
>>>
>>> You can also do this using wee_device - see the utilities document - if 
>>> you can remember which format of command actually worked for you
>>>
>>>
>>>
>>>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-15 Thread Mark Roberts
WOOH!  You sir, are da man!  I dumped the memory - using one of 
those commands below (can't remember now which one!) and ka-bang.  Started 
weewx and I am online and reporting!

Thanks so much everybody!!

On Tuesday, May 15, 2018 at 10:22:37 PM UTC-5, gjr80 wrote:
>
> Judging by your log and the fact you had a power interruption I suspect 
> that you may have corrupt station memory (have a look at corrupt station 
> memory in the User's Guide 
> http://weewx.com/docs/usersguide.htm#html_generated_but_not_updated) . 
> This occurs sometimes when power in unexpectedly cut and shows itself in 
> the log as no archive records being saved to database yet reports are still 
> run. You appear to have some connectivity issues as well as you have some 
> problems getting loop data from the console, this could be related to the 
> corrupt memory but usually loop packets continue as normal.
>
> I suggest that once you can get to a command prompt on your weeWX machine 
> you clear the console memory (clearing the station memory keeps all the 
> console settings it just clears the memory used to store observational 
> data). First you need to stop weeWX, something like:
>
> $ sudo systemctl stop weewx 
>
> or
>
> $ sudo service weewx stop
>
> or
>
> $ sudo /etc/init.d/weewx stop
>
> Work through until one works and stops weeWX. You then need to use one of 
> the following to dump the station memory and then clear the station memory:
>
> $ sudo /home/weewx/bin/wee_device --dump
> $ sudo /home/weewx/bin/wee_device --clear-memory
>
> or
>
> $ sudo /usr/share/weewx/wee_device --dump
> $ sudo /usr/share/weewx/wee_device --clear-memory
>
> Which two commands depends solely on how weeWX was installed, since that 
> is still not clear try either; it will either work or throw an error but 
> will not doing anything destructive. If you get an error use the other 
> command.
>
> Once the memory has been cleared use one of the following to start weeWX:
>
> $ sudo systemctl start weewx 
>
> or
>
> $ sudo service weewx start
>
> or
>
> $ sudo /etc/init.d/weewx start
>
> See how you go with that. Have a look at the log after you restart weeWX 
> and see if you are getting any data saved to database, it will take up to 
> 30 minutes. If you do post the log give us a good 1 hour and include the 
> weeWX startup.
>
> Gary
>
> PS. Your archive period of 30 minutes is a bit long, but let's get weeWX 
> working properly then we can worry about fine tuning.
>
>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-15 Thread Mark Roberts
wow.  complete fail!  Sorry about that.  okay, if you type it correctly 
here is what you get:

sudo systemctl status weewx
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
   Active: active (running) since Mon 2018-05-14 21:52:29 CDT; 24h ago
 Docs: man:systemd-sysv-generator(8)
  Process: 20708 ExecStop=/etc/init.d/weewx stop (code=exited, 
status=0/SUCCESS)
  Process: 20774 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCES
   CGroup: /system.slice/weewx.service
   └─20789 python /usr/bin/weewxd --daemon 
--pidfile=/var/run/weewx.pid 

May 15 21:00:17 raspberrypi weewx[20789]: cheetahgenerator: Generated 14 
files f
May 15 21:00:21 raspberrypi weewx[20789]: imagegenerator: Generated 36 
images fo
May 15 21:00:21 raspberrypi weewx[20789]: copygenerator: copied 0 files to 
/var/
May 15 21:30:17 raspberrypi weewx[20789]: cheetahgenerator: Generated 14 
files f
May 15 21:30:21 raspberrypi weewx[20789]: imagegenerator: Generated 36 
images fo
May 15 21:30:21 raspberrypi weewx[20789]: copygenerator: copied 0 files to 
/var/
May 15 22:00:17 raspberrypi weewx[20789]: cheetahgenerator: Generated 14 
files f
May 15 22:00:21 raspberrypi weewx[20789]: imagegenerator: Generated 36 
images fo
May 15 22:00:21 raspberrypi weewx[20789]: copygenerator: copied 0 files to 
/var/

-- 
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: absolute newbie needs help - how run weewx?

2018-05-15 Thread Mark Roberts

sudo systemct1 returns an error message.  command not found.


> Try "sudo systemctl status weewx" and give us the 'full' output of what 
> it returns.  It should return something that looks like the following.
>
> # sudo systemctl status weewx
> ● weewx.service - LSB: weewx weather system
>Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled)
>Active: active (running) since Tue 2018-05-15 09:56:30 PDT; 43s ago
>  Docs: man:systemd-sysv-generator(8)
>CGroup: /system.slice/weewx.service
>└─4336 python /usr/bin/weewxd --daemon 
> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>
> May 15 09:56:30 ubuntu-xenial weewx[4336]: manager: Starting backfill of 
> daily summaries
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: StationRegistry: 
> Registration not requested.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: Wunderground: Posting 
> not enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: PWSweather: Posting not 
> enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: CWOP: Posting not 
> enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: WOW: Posting not enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: AWEKAS: Posting not 
> enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting up weewx 
> version 3.8.0
> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Clock error is -0.11 
> seconds (positive is fast)
> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting main packet 
> loop.
>
>
> (if it gives you something at the end saying lines 1/17 in reverse 
> highlight, hit 'q' to get out of that)
>
> Then wait for the next interval period which (probably) is 5 minutes if he 
> took the defaults.   Then do the systemctl command again and the output 
> should have changed to something like the following.  Note that it shows 
> weewx is working as expected.
>
> # sudo systemctl status weewx
> ● weewx.service - LSB: weewx weather system
>Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled)
>Active: active (running) since Tue 2018-05-15 09:56:30 PDT; 4min 45s ago
>  Docs: man:systemd-sysv-generator(8)
>CGroup: /system.slice/weewx.service
>└─4336 python /usr/bin/weewxd --daemon 
> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: WOW: Posting not enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: restx: AWEKAS: Posting not 
> enabled.
> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting up weewx 
> version 3.8.0
> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Clock error is -0.11 
> seconds (positive is fast)
> May 15 09:56:30 ubuntu-xenial weewx[4336]: engine: Starting main packet 
> loop.
> May 15 10:00:15 ubuntu-xenial weewx[4336]: manager: Added record 
> 2018-05-15 10:00:00 PDT (1526403600) to database 'weewx.sdb'
> May 15 10:00:15 ubuntu-xenial weewx[4336]: manager: Added record 
> 2018-05-15 10:00:00 PDT (1526403600) to daily summary in 'weewx
> May 15 10:00:16 ubuntu-xenial weewx[4336]: cheetahgenerator: Generated 14 
> files for report StandardReport in 0.74 seconds
> May 15 10:00:17 ubuntu-xenial weewx[4336]: imagegenerator: Generated 49 
> images for StandardReport in 1.05 seconds
> May 15 10:00:17 ubuntu-xenial weewx[4336]: copygenerator: copied 9 files 
> to /var/www/html/weewx
>
>  
>
>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-15 Thread Mark Roberts

>
> First, let me say how much I appreciate everyone's patience.  I don't know 
> what I'm doing, I'm lost in the darkness and everyone here is being kind 
> and helpful. Thanks so much.
>

I am attaching the log file here.  Frankly, I was feeling like I was pretty 
much ready to get a job programming in Unix after figuring out how to get 
that file off the Pi.  

And then my Pi desktop disappeared.  I can't see anything except a big grey 
box  that says "VNC Server is working normally.  Issues will appear here."  
and I can't find my icons or my terminal window to type commands.

Maybe I should keep my day job...

But here is the W File.  What say ye who are in the know on all things 
Raspberry?

-- 
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.
May 15 06:27:01 raspberrypi weewx[20789]: vantage: LOOP try #2; error: Expected 
to read 99 chars; got 90 instead
May 15 06:27:02 raspberrypi weewx[20789]: vantage: No  received from 
console
May 15 06:27:02 raspberrypi weewx[20789]: vantage: LOOP try #3; error: No  
received from Vantage console
May 15 06:28:33 raspberrypi weewx[20789]: vantage: LOOP try #4; error: Expected 
to read 99 chars; got 0 instead
May 15 06:28:33 raspberrypi weewx[20789]: vantage: LOOP max tries (4) exceeded.
May 15 06:28:33 raspberrypi weewx[20789]: engine: Shutting down StdReport thread
May 15 06:28:33 raspberrypi weewx[20789]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.
May 15 06:28:33 raspberrypi weewx[20789]:   Waiting 60 seconds then 
retrying...
May 15 06:29:33 raspberrypi weewx[20789]: engine: retrying...
May 15 06:29:33 raspberrypi weewx[20789]: engine: Using configuration file 
/etc/weewx/weewx.conf
May 15 06:29:33 raspberrypi weewx[20789]: engine: Loading station type Vantage 
(weewx.drivers.vantage)
May 15 06:29:33 raspberrypi weewx[20789]: engine: StdConvert target unit is 0x1
May 15 06:29:33 raspberrypi weewx[20789]: wxcalculate: The following values 
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, 
windrun=prefer_hardware, heatindex=prefer_hardware, 
maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, 
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
cloudbase=prefer_hardware
May 15 06:29:33 raspberrypi weewx[20789]: wxcalculate: The following algorithms 
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 15 06:29:33 raspberrypi weewx[20789]: engine: Archive will use data binding 
wx_binding
May 15 06:29:33 raspberrypi weewx[20789]: engine: Record generation will be 
attempted in 'hardware'
May 15 06:29:33 raspberrypi weewx[20789]: engine: The archive interval in the 
configuration file (300) does not match the station hardware interval (1800).
May 15 06:29:33 raspberrypi weewx[20789]: engine: Using archive interval of 
1800 seconds (specified by hardware)
May 15 06:29:33 raspberrypi weewx[20789]: engine: Using binding 'wx_binding' to 
database 'weewx.sdb'
May 15 06:29:33 raspberrypi weewx[20789]: manager: Starting backfill of daily 
summaries
May 15 06:29:33 raspberrypi weewx[20789]: restx: StationRegistry: Station will 
not be registered: no station_url specified.
May 15 06:29:33 raspberrypi weewx[20789]: restx: Wunderground-PWS: Data for 
station KTXBEDFO19 will be posted
May 15 06:29:33 raspberrypi weewx[20789]: restx: PWSweather: Posting not 
enabled.
May 15 06:29:33 raspberrypi weewx[20789]: restx: CWOP: Posting not enabled.
May 15 06:29:33 raspberrypi weewx[20789]: restx: WOW: Posting not enabled.
May 15 06:29:33 raspberrypi weewx[20789]: restx: AWEKAS: Posting not enabled.
May 15 06:29:33 raspberrypi weewx[20789]: engine: Starting up weewx version 
3.8.0
May 15 06:29:33 raspberrypi weewx[20789]: engine: Clock error is 3.07 seconds 
(positive is fast)
May 15 06:29:34 raspberrypi weewx[20789]: engine: Starting main packet loop.
May 15 06:30:17 raspberrypi weewx[20789]: cheetahgenerator: Generated 14 files 
for report StandardReport in 1.64 seconds
May 15 06:30:21 raspberrypi weewx[20789]: imagegenerator: Generated 36 images 
for StandardReport in 4.00 seconds
May 15 06:30:21 raspberrypi weewx[20789]: copygenerator: copied 9 files to 
/var/www/html/weewx
May 15 07:00:17 raspberrypi weewx[20789]: cheetahgenerator: Generated 14 files 
for report StandardReport in 1.64 seconds
May 15 07:00:21 raspberrypi weewx[20789]: imagegenerator: Generated 36 images 
for StandardReport in 3.93 seconds
May 15 07:00:21 raspberrypi weewx[20789]: copygenerator: copied 0 files to 
/var/www/html/weewx
May 15 07:18:49 raspberrypi weewx[20789]: vantage: LOOP try #1; error: Expected 
to read 99 chars; got 0 instead
May 15 07:19:17 raspberrypi 

[weewx-user] Re: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
how get a log file?

-- 
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: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
the snippet you got was the whole screen.  there's not more.  if you give 
me a command I can get you more.

I haven't been online in 13 days.  so I think I've waited long enough!  

I hate stuff like this - the power was off for a couple of hours and what 
had been working perfectly and smoothly is now not working at all.  grrr!

On Monday, May 14, 2018 at 10:13:54 PM UTC-5, Andrew Milner wrote:
>
> Posting only occurs at archive intervals - which was the reason for the 
> other questions!!
>
> Maybe you have not waited long enough
>
> Without a full log from start of weewx thru to at least 2 archive 
> intervals it is hard to diagnose anything more
>
> The log snippet you did post showed nothing obviously wrong, but the 
> snippet was far far too short to be very useful.
>
>
>
> On Tuesday, 15 May 2018 06:10:38 UTC+3, Mark Roberts wrote:
>>
>> it's not posting the data to WX Underground.  I'm offline.  WX 
>> Underground says "this PWS is not reporting."
>>
>> On Monday, May 14, 2018 at 10:06:46 PM UTC-5, Andrew Milner wrote:
>>>
>>> the log output, as far as it went, looks perfectly ok to me - and as may 
>>> be expected.
>>>
>>> data should be being posted to wunderground - so not sure what you mean 
>>> when you say data is not being posted!  where is it not 'posting' to??  
>>> what do you mean when you say it is not being posted??
>>>
>>> The log snippet was not long enough to see what happened at your next 
>>> archive interval ie next posting occasion, and the snippet did not say what 
>>> your archive interval was either as the snippet started too late in the 
>>> startup sequence!!!
>>>
>>>
>>>
>>>
>>> On Tuesday, 15 May 2018 06:00:58 UTC+3, Mark Roberts wrote:
>>>>
>>>> you don't want to know!  ha!  ran the command to see the log and I 
>>>> think I know why it's not posting. posting isn't enabled...
>>>>
>>>> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
>>>> May 14 21:52:29 raspberrypi weewx[20789]: restx: StationRegistry: 
>>>> Station will not be registered: no station_url specified.
>>>> May 14 21:52:29 raspberrypi weewx[20789]: restx: Wunderground-PWS: Data 
>>>> for station KTXBEDFO19 will be posted
>>>> May 14 21:52:29 raspberrypi weewx[20789]: restx: PWSweather: Posting 
>>>> not enabled.
>>>> May 14 21:52:29 raspberrypi weewx[20789]: restx: CWOP: Posting not 
>>>> enabled.
>>>> May 14 21:52:29 raspberrypi weewx[20789]: restx: WOW: Posting not 
>>>> enabled.
>>>> May 14 21:52:29 raspberrypi weewx[20789]: restx: AWEKAS: Posting not 
>>>> enabled.
>>>> May 14 21:52:29 raspberrypi weewx[20789]: engine: Starting up weewx 
>>>> version 3.8.0
>>>> May 14 21:52:29 raspberrypi weewx[20789]: engine: Clock error is 2.05 
>>>> seconds (positive is fast)
>>>> May 14 21:52:30 raspberrypi weewx[20789]: engine: Starting main packet 
>>>> loop.
>>>> May 14 21:57:56 raspberrypi weewx[20789]: vantage: LOOP try #1; error: 
>>>> Expected to read 99 chars; got 85 instead
>>>>
>>>>
>>>> On Monday, May 14, 2018 at 9:56:03 PM UTC-5, Andrew Milner wrote:
>>>>>
>>>>> the user guide says
>>>>> sudo weewxd weewx.conf
>>>>>
>>>>> what error do you get?
>>>>>
>>>>>
>>>>>
>>>>> On Tuesday, 15 May 2018 05:50:23 UTC+3, Andrew Milner wrote:
>>>>>>
>>>>>> ok - so you have found the command line, and you have started the 
>>>>>> weewx daemon
>>>>>>
>>>>>> there should be no more output to the screen from weewx when it is 
>>>>>> running as a daemon.
>>>>>>
>>>>>> there will be entries in the log though.
>>>>>>
>>>>>> if you want to see weewx output on the screen
>>>>>> 1. stop weewx with sudo /etc/init.d/weewx stop
>>>>>> 2. run weewx from the command line
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tuesday, 15 May 2018 05:43:52 UTC+3, Mark Roberts wrote:
>>>>>>>
>>>>>>> I think you're right - I need some serious linux work.  I thought 
>>>>>>>> maybe this was a lot simpler than it is - was hoping for a "type this 
>>>>>>>> and 
>>>>>>>> it'll run" kinda thing.  LOL
>>>>>>>>
>>>>>>>
>>>>>>> this command 
>>>>>>>
>>>>>>> sudo ls /usr/share/weewx
>>>>>>>
>>>>>>> got me a file listing of some daemon stuff and a bunch of weewx 
>>>>>>> stuff.
>>>>>>>
>>>>>>> I guess that's good but I don't know what to do next.
>>>>>>>
>>>>>>> I ran this command (after reading the docs for the 50th time)
>>>>>>>
>>>>>>> sudo /etc/init.d/weewx start
>>>>>>>
>>>>>>> and it says "starting weewx service."
>>>>>>>
>>>>>>> doesn't seem like it's coming back online though.  
>>>>>>>
>>>>>>> thanks everyone for all their help!
>>>>>>>
>>>>>>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
it's not posting the data to WX Underground.  I'm offline.  WX Underground 
says "this PWS is not reporting."

On Monday, May 14, 2018 at 10:06:46 PM UTC-5, Andrew Milner wrote:
>
> the log output, as far as it went, looks perfectly ok to me - and as may 
> be expected.
>
> data should be being posted to wunderground - so not sure what you mean 
> when you say data is not being posted!  where is it not 'posting' to??  
> what do you mean when you say it is not being posted??
>
> The log snippet was not long enough to see what happened at your next 
> archive interval ie next posting occasion, and the snippet did not say what 
> your archive interval was either as the snippet started too late in the 
> startup sequence!!!
>
>
>
>
> On Tuesday, 15 May 2018 06:00:58 UTC+3, Mark Roberts wrote:
>>
>> you don't want to know!  ha!  ran the command to see the log and I think 
>> I know why it's not posting. posting isn't enabled...
>>
>> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
>> May 14 21:52:29 raspberrypi weewx[20789]: restx: StationRegistry: Station 
>> will not be registered: no station_url specified.
>> May 14 21:52:29 raspberrypi weewx[20789]: restx: Wunderground-PWS: Data 
>> for station KTXBEDFO19 will be posted
>> May 14 21:52:29 raspberrypi weewx[20789]: restx: PWSweather: Posting not 
>> enabled.
>> May 14 21:52:29 raspberrypi weewx[20789]: restx: CWOP: Posting not 
>> enabled.
>> May 14 21:52:29 raspberrypi weewx[20789]: restx: WOW: Posting not enabled.
>> May 14 21:52:29 raspberrypi weewx[20789]: restx: AWEKAS: Posting not 
>> enabled.
>> May 14 21:52:29 raspberrypi weewx[20789]: engine: Starting up weewx 
>> version 3.8.0
>> May 14 21:52:29 raspberrypi weewx[20789]: engine: Clock error is 2.05 
>> seconds (positive is fast)
>> May 14 21:52:30 raspberrypi weewx[20789]: engine: Starting main packet 
>> loop.
>> May 14 21:57:56 raspberrypi weewx[20789]: vantage: LOOP try #1; error: 
>> Expected to read 99 chars; got 85 instead
>>
>>
>> On Monday, May 14, 2018 at 9:56:03 PM UTC-5, Andrew Milner wrote:
>>>
>>> the user guide says
>>> sudo weewxd weewx.conf
>>>
>>> what error do you get?
>>>
>>>
>>>
>>> On Tuesday, 15 May 2018 05:50:23 UTC+3, Andrew Milner wrote:
>>>>
>>>> ok - so you have found the command line, and you have started the weewx 
>>>> daemon
>>>>
>>>> there should be no more output to the screen from weewx when it is 
>>>> running as a daemon.
>>>>
>>>> there will be entries in the log though.
>>>>
>>>> if you want to see weewx output on the screen
>>>> 1. stop weewx with sudo /etc/init.d/weewx stop
>>>> 2. run weewx from the command line
>>>>
>>>>
>>>>
>>>> On Tuesday, 15 May 2018 05:43:52 UTC+3, Mark Roberts wrote:
>>>>>
>>>>> I think you're right - I need some serious linux work.  I thought 
>>>>>> maybe this was a lot simpler than it is - was hoping for a "type this 
>>>>>> and 
>>>>>> it'll run" kinda thing.  LOL
>>>>>>
>>>>>
>>>>> this command 
>>>>>
>>>>> sudo ls /usr/share/weewx
>>>>>
>>>>> got me a file listing of some daemon stuff and a bunch of weewx stuff.
>>>>>
>>>>> I guess that's good but I don't know what to do next.
>>>>>
>>>>> I ran this command (after reading the docs for the 50th time)
>>>>>
>>>>> sudo /etc/init.d/weewx start
>>>>>
>>>>> and it says "starting weewx service."
>>>>>
>>>>> doesn't seem like it's coming back online though.  
>>>>>
>>>>> thanks everyone for all their help!
>>>>>
>>>>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
you don't want to know!  ha!  ran the command to see the log and I think I 
know why it's not posting. posting isn't enabled...

pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
May 14 21:52:29 raspberrypi weewx[20789]: restx: StationRegistry: Station 
will not be registered: no station_url specified.
May 14 21:52:29 raspberrypi weewx[20789]: restx: Wunderground-PWS: Data for 
station KTXBEDFO19 will be posted
May 14 21:52:29 raspberrypi weewx[20789]: restx: PWSweather: Posting not 
enabled.
May 14 21:52:29 raspberrypi weewx[20789]: restx: CWOP: Posting not enabled.
May 14 21:52:29 raspberrypi weewx[20789]: restx: WOW: Posting not enabled.
May 14 21:52:29 raspberrypi weewx[20789]: restx: AWEKAS: Posting not 
enabled.
May 14 21:52:29 raspberrypi weewx[20789]: engine: Starting up weewx version 
3.8.0
May 14 21:52:29 raspberrypi weewx[20789]: engine: Clock error is 2.05 
seconds (positive is fast)
May 14 21:52:30 raspberrypi weewx[20789]: engine: Starting main packet loop.
May 14 21:57:56 raspberrypi weewx[20789]: vantage: LOOP try #1; error: 
Expected to read 99 chars; got 85 instead


On Monday, May 14, 2018 at 9:56:03 PM UTC-5, Andrew Milner wrote:
>
> the user guide says
> sudo weewxd weewx.conf
>
> what error do you get?
>
>
>
> On Tuesday, 15 May 2018 05:50:23 UTC+3, Andrew Milner wrote:
>>
>> ok - so you have found the command line, and you have started the weewx 
>> daemon
>>
>> there should be no more output to the screen from weewx when it is 
>> running as a daemon.
>>
>> there will be entries in the log though.
>>
>> if you want to see weewx output on the screen
>> 1. stop weewx with sudo /etc/init.d/weewx stop
>> 2. run weewx from the command line
>>
>>
>>
>> On Tuesday, 15 May 2018 05:43:52 UTC+3, Mark Roberts wrote:
>>>
>>> I think you're right - I need some serious linux work.  I thought maybe 
>>>> this was a lot simpler than it is - was hoping for a "type this and it'll 
>>>> run" kinda thing.  LOL
>>>>
>>>
>>> this command 
>>>
>>> sudo ls /usr/share/weewx
>>>
>>> got me a file listing of some daemon stuff and a bunch of weewx stuff.
>>>
>>> I guess that's good but I don't know what to do next.
>>>
>>> I ran this command (after reading the docs for the 50th time)
>>>
>>> sudo /etc/init.d/weewx start
>>>
>>> and it says "starting weewx service."
>>>
>>> doesn't seem like it's coming back online though.  
>>>
>>> thanks everyone for all their help!
>>>
>>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
ran this command 

/usr/bin/weewxd 
and got a ton of info on how to run it, config it, etc.  but still don't 
know how to get it up on the VNC screen or make it report WX Bug.  that may 
just be beuyond me.

On Monday, May 14, 2018 at 9:14:06 AM UTC-5, Mark Roberts wrote:
>
> Built me a Raspberry Pi (which was fun) but had a little trouble figuring 
> out how to install/config weewx.  Got son-in-law who is a web developer to 
> figure it out for me and get it up and running.  Ka-bang!  I'm up with my 
> Davis Weather Station and all is working and is good.  
>
> Then we had a power outage.
>
> Not good.  He thinks he set it up to auto start on a reboot but apparently 
> ... not.  I have no reporting.  Nada.  I can see the Raspberry Pi on the 
> VPN viewer on my laptop but I have no idea what to do to start WeeWx.  I 
> need a weewx.exe to double click!  LOL
>
> Yes, I could get him to fix it but he's super busy and can't get around to 
> it.  And I figure we'll get a power blink again sometime so I might as well 
> learn what to do to get back online.  Can anybody give me a step by step 
> procedure to make it go?  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.


[weewx-user] Re: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
I can stop it but I can't run it from the command line.  don't know how.  :(

On Monday, May 14, 2018 at 9:50:23 PM UTC-5, Andrew Milner wrote:
>
> ok - so you have found the command line, and you have started the weewx 
> daemon
>
> there should be no more output to the screen from weewx when it is running 
> as a daemon.
>
> there will be entries in the log though.
>
> if you want to see weewx output on the screen
> 1. stop weewx with sudo /etc/init.d/weewx stop
> 2. run weewx from the command line
>
>
>
> On Tuesday, 15 May 2018 05:43:52 UTC+3, Mark Roberts wrote:
>>
>> I think you're right - I need some serious linux work.  I thought maybe 
>>> this was a lot simpler than it is - was hoping for a "type this and it'll 
>>> run" kinda thing.  LOL
>>>
>>
>> this command 
>>
>> sudo ls /usr/share/weewx
>>
>> got me a file listing of some daemon stuff and a bunch of weewx stuff.
>>
>> I guess that's good but I don't know what to do next.
>>
>> I ran this command (after reading the docs for the 50th time)
>>
>> sudo /etc/init.d/weewx start
>>
>> and it says "starting weewx service."
>>
>> doesn't seem like it's coming back online though.  
>>
>> thanks everyone for all their help!
>>
>

-- 
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: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts

>
> I think you're right - I need some serious linux work.  I thought maybe 
> this was a lot simpler than it is - was hoping for a "type this and it'll 
> run" kinda thing.  LOL
>

this command 

sudo ls /usr/share/weewx

got me a file listing of some daemon stuff and a bunch of weewx stuff.

I guess that's good but I don't know what to do next.

I ran this command (after reading the docs for the 50th time)

sudo /etc/init.d/weewx start

and it says "starting weewx service."

doesn't seem like it's coming back online though.  

thanks everyone for all their help!

-- 
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: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
this was helpful.  fired up VNC.  saw terminal command line.  got it 
running and typed in 

sudo weewxd weewx.conf

alas!  it didn't work.  says it can't find the .conf file.

thoughts?  ideas?

On Monday, May 14, 2018 at 10:34:51 AM UTC-5, Andrew Milner wrote:
>
> In the command line window ….(or terminal)
>
> Try to use command line raher than the GUI when using weewx - it is much 
> much easier.
>
> This may be helpful
>
> https://www.makeuseof.com/tag/15-useful-commands-every-raspberry-pi-user-should-know/
>
> and this
> https://www.raspberrypi.org/documentation/usage/terminal/
>
>
>
> On Monday, 14 May 2018 18:13:00 UTC+3, Mark Roberts wrote:
>>
>> I read the weewx doc TWICE and have to admit I DON'T HAVE A CLUE WHAT ALL 
>> THAT STUFF MEANS.  where do I type those commands?  
>>
>> don't rag on my son-in-law - he got it going the first time.  I think he 
>> did pretty good!
>>
>> On Monday, May 14, 2018 at 9:39:19 AM UTC-5, Andrew Milner wrote:
>>>
>>> Did you read the user guide
>>> http://weewx.com/docs/usersguide.htm
>>> and the running weewx section and the running as a daemon section?
>>>
>>> If it did not restart automatically then your son-in-law may well have 
>>> not done things correctly, so the instructions may not help too much 
>>> either!!  You need your son-in-law to find the time to correct his 
>>> installation!!
>>>
>>>
>>>
>>> On Monday, 14 May 2018 17:14:06 UTC+3, Mark Roberts wrote:
>>>>
>>>> Built me a Raspberry Pi (which was fun) but had a little trouble 
>>>> figuring out how to install/config weewx.  Got son-in-law who is a web 
>>>> developer to figure it out for me and get it up and running.  Ka-bang!  
>>>> I'm 
>>>> up with my Davis Weather Station and all is working and is good.  
>>>>
>>>> Then we had a power outage.
>>>>
>>>> Not good.  He thinks he set it up to auto start on a reboot but 
>>>> apparently ... not.  I have no reporting.  Nada.  I can see the Raspberry 
>>>> Pi on the VPN viewer on my laptop but I have no idea what to do to start 
>>>> WeeWx.  I need a weewx.exe to double click!  LOL
>>>>
>>>> Yes, I could get him to fix it but he's super busy and can't get around 
>>>> to it.  And I figure we'll get a power blink again sometime so I might as 
>>>> well learn what to do to get back online.  Can anybody give me a step by 
>>>> step procedure to make it go?  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.


[weewx-user] Re: absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
I read the weewx doc TWICE and have to admit I DON'T HAVE A CLUE WHAT ALL 
THAT STUFF MEANS.  where do I type those commands?  

don't rag on my son-in-law - he got it going the first time.  I think he 
did pretty good!

On Monday, May 14, 2018 at 9:39:19 AM UTC-5, Andrew Milner wrote:
>
> Did you read the user guide
> http://weewx.com/docs/usersguide.htm
> and the running weewx section and the running as a daemon section?
>
> If it did not restart automatically then your son-in-law may well have not 
> done things correctly, so the instructions may not help too much either!!  
> You need your son-in-law to find the time to correct his installation!!
>
>
>
> On Monday, 14 May 2018 17:14:06 UTC+3, Mark Roberts wrote:
>>
>> Built me a Raspberry Pi (which was fun) but had a little trouble figuring 
>> out how to install/config weewx.  Got son-in-law who is a web developer to 
>> figure it out for me and get it up and running.  Ka-bang!  I'm up with my 
>> Davis Weather Station and all is working and is good.  
>>
>> Then we had a power outage.
>>
>> Not good.  He thinks he set it up to auto start on a reboot but 
>> apparently ... not.  I have no reporting.  Nada.  I can see the Raspberry 
>> Pi on the VPN viewer on my laptop but I have no idea what to do to start 
>> WeeWx.  I need a weewx.exe to double click!  LOL
>>
>> Yes, I could get him to fix it but he's super busy and can't get around 
>> to it.  And I figure we'll get a power blink again sometime so I might as 
>> well learn what to do to get back online.  Can anybody give me a step by 
>> step procedure to make it go?  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.


[weewx-user] absolute newbie needs help - how run weewx?

2018-05-14 Thread Mark Roberts
Built me a Raspberry Pi (which was fun) but had a little trouble figuring 
out how to install/config weewx.  Got son-in-law who is a web developer to 
figure it out for me and get it up and running.  Ka-bang!  I'm up with my 
Davis Weather Station and all is working and is good.  

Then we had a power outage.

Not good.  He thinks he set it up to auto start on a reboot but apparently 
... not.  I have no reporting.  Nada.  I can see the Raspberry Pi on the 
VPN viewer on my laptop but I have no idea what to do to start WeeWx.  I 
need a weewx.exe to double click!  LOL

Yes, I could get him to fix it but he's super busy and can't get around to 
it.  And I figure we'll get a power blink again sometime so I might as well 
learn what to do to get back online.  Can anybody give me a step by step 
procedure to make it go?  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.