So I said to help with it. I reinstalled lubuntu. And did the weewx install. 
Everything went perfect like the old laptop. The only thing I can not figure 
out is how to get the webpage to update every 5 min like before. I set the 
archive interval to 300 sec, but is only updating every hour. Ideas?
Thanks, Kevin

Sent from Yahoo Mail on Android 
 
  On Sat, Jan 21, 2017 at 8:38 AM, mwall<[email protected]> wrote:   
On Saturday, January 21, 2017 at 06:59:54 AM UTC-5, Kevin Bosworth wrote:
Here is what I got.

Traceback (most recent call last):
  File "weewx/drivers/ws23xx.py", line 2117, in <module>
    with WS23xx(port) as s:
  File "weewx/drivers/ws23xx.py", line 648, in __init__
    self.serial_port = LinuxSerialPort(port)
  File "weewx/drivers/ws23xx.py", line 908, in __init__
    self.orig_settings = tty.tcgetattr(self.serial_port)
termios.error: (5, 'Input/output error') 
  
ok... So my serial port got changed in BIOS. So I tried this.
setserial -g /dev/ttyS[0123456789]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2: No such device
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
/dev/ttyS4, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0

Now I know it is on COM1 or TTYS0. I then ran the command you gave me with the 
following.
sudo PYTHONPATH=. python weewx/drivers/ws23xx.py --port /dev/ttyS0 --readings
{'rt': 556.0, 'wc': -2.4, 'cn': 15, 'oh': 85.0, 'it': 22.8, 'ih': 42.0, 'pa': 
837.4, 'dp': -4.6, 'ot': -2.4, 'rh': 0.0, 'wind': (0.0, 225.0, 0, 0)}

So I guess it is working. But nothing in the WWW Directory. When I use "sudo 
/etc/init.d/weewx start" I get ,
* Starting weewx weather system weewx                                   [ OK ]

So now what I guess is my next question. :)

Thanks, Kevin


what is the archive interval for the station?  factory default for ws23xx is 30 
minutes, so you probably just need to wait.  or change the interval.

http://weewx.com/docs/usersguide.htm#archive_interval

m


-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/NpeOl7xJ0BQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to