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