I have setup a clean install (setup.py) in Debian Buster on a R-Pi as per 
this
http://weewx.com/docs/setup.htm
and when trying to:
./wee_device --set-interval=5

I get this:

Using configuration file /home/weewx/weewx.conf
Using WS23xx driver version 0.41 (weewx.drivers.ws23xx)
Changing the interval will clear the station memory.
Interval is 60
Set interval to 5 minutes (y/n)? y

Traceback (most recent call last):
  File "./wee_device", line 78, in <module>
    main()
  File "./wee_device", line 74, in main
    device.configure(config_dict)
  File "/home/weewx/bin/weewx/drivers/__init__.py", line 67, in configure
    self.do_options(options, parser, config_dict, not options.noprompt)
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 316, in do_options
    self.set_interval(options.interval, prompt)
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 378, in set_interval
    self.station.setArchiveInterval(interval)
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 540, in 
setArchiveInterval
    self.station.set_archive_interval(interval)
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 686, in 
set_archive_interval
    self.ws.write_safe(m.address, *cmd[1:])
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 1115, in write_safe
    command_data = self.write_data(nybble_address,nybbles,encode_constant)
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 1099, in write_data
    self.write_byte(encoded_data[i])
  File "/home/weewx/bin/weewx/drivers/ws23xx.py", line 1012, in write_byte
    self.log("%02x" % ord(data))
TypeError: ord() expected string of length 1, but int found

In fact, trying to use any wee_device command throws an error.

Weewx does run and produces data/graphs, but I want 5 min intervals.

Nigel

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/77c0d927-a9a0-4bc9-b668-efd285b917e8n%40googlegroups.com.

Reply via email to