Attempting to use a Pete Bros. Ultimeter2100 on a RPi3 with a serial to usb converter

456 views
Skip to first unread message

Ralph Underwood

unread,
Oct 27, 2016, 9:15:45 PM10/27/16
to weewx-user
I could use some hints on what I need to modify to get the Ultimter to talk to WeeWx. 

I have a serial to usb converter as the Rpi does not have a serial port and I somehow missed that the Ultimeter was not USB when I ordered it. 

I tried to use this in my weewx.conf :


##############################################################################

[Ultimeter]
    # This section is for the PeetBros Ultimeter series of weather stations.

    # Serial port such as /dev/ttyS0, /dev/ttyUSB0, or /dev/cuaU0
    port = /dev/ttyUSB0

    # The station model, e.g., Ultimeter 2000, Ultimeter 100
    model = Ultimeter

    # The driver to use:
    driver = weewx.drivers.ultimeter

##############################################################################

part of the tail :

Oct 27 17:24:15 raspberrypi weewx[6672]: engine: Platform Linux-4.4.21-v7+-armv7l-with-debian-8.0
Oct 27 17:24:15 raspberrypi weewx[6672]: engine: Using configuration file /home/weewx/weewx.conf
Oct 27 17:24:15 raspberrypi weewx[6672]: engine: Initializing engine
Oct 27 17:24:15 raspberrypi weewx[6672]: engine: Loading station type Ultimeter (weewx.drivers.ultimeter)
Oct 27 17:24:15 raspberrypi weewx[6672]: ultimeter: driver version is 0.16
Oct 27 17:24:15 raspberrypi weewx[6672]: ultimeter: using serial port /dev/ttyUSB0
Oct 27 17:24:15 raspberrypi weewx[6672]: ultimeter: open serial port /dev/ttyUSB0
Oct 27 17:24:15 raspberrypi weewx[6672]: import of driver failed: could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Oct 27 17:24:15 raspberrypi weewx[6672]: engine: Unable to load driver: could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Oct 27 17:24:15 raspberrypi weewx[6672]:     ****  Exiting...


Thanks.

mwall

unread,
Oct 27, 2016, 11:06:50 PM10/27/16
to weewx-user
On Thursday, October 27, 2016 at 9:15:45 PM UTC-4, Ralph Underwood wrote:
Oct 27 17:24:15 raspberrypi weewx[6672]: engine: Unable to load driver: could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'

hi ralph,

it looks like your rpi does not have the kernel module installed for the usb-serial converter that you are using.

you could try updating your pi to the latest kernel with 'sudo rpi-update'

otherwise you might have to build the kernel module yourself

when the pi is working properly you should see /dev/ttyUSB0 when you plug in the usb-serial converter

m

Ralph Underwood

unread,
Oct 28, 2016, 8:33:28 AM10/28/16
to weewx-user
Thanks, that got me to a point where WeeWx is running and the log says it is ftp'ing. Nothing on the web page. 

Have to go to work for a while and then I will attack it again.

Thanks.

Ralph Underwood

unread,
Oct 29, 2016, 4:43:43 PM10/29/16
to weewx-user
Solved many of the problems and have the Ultimeter 2100  reporting and WeeWx is now ftp'ing to my website!  Next step is to find my one-wire USB gizmo, get woes running as a service and add some more temperature points.

Thanks mwall


Steve2Q

unread,
Oct 29, 2016, 5:13:06 PM10/29/16
to weewx-user
Ralph..good to see another Peet Bros user (not many of us here). I am not a programmer, but have learned some very basic Linux to tweak my install. One of the things I like about Weewx is all of the support. Tom, mwall, and many others always help out,and have developed drivers for stations that are not very common like ours. Mine is also a 2100.
Welcome to Weewx.
Steve N2QLQ

Ralph Underwood

unread,
Oct 30, 2016, 3:45:58 PM10/30/16
to weewx-user
I'll second that, great support from users and developers!  

This is the third weewx station I have cobbled together - one with a wireless Oregon Scientific, one with one-wire, and now this one with Pete Bros. - Plus two more carefully monitoring my basement as I test and experiment. The Rpi price makes all of this possible, just skip a couple of Starbucks visits and you can buy a computer.  I now know just enough Linux to get things going and it is fun learning.

The wireless station looses connectivity too often. That station is located near I-90 and I suspect that there is some powerful interference from the truckers radios as well as some nearby state radios. Just a suspicion, everything worked fine when it was twenty feet away in my workshop, but in the field not so much. So I wanted a wired system for my new system to be installed at my vacation home. With the demise of Hobby Boards; I was looking for an alternative to one-wire. I still plan on adding some one-wire sensors to this installation as I have a bundle of temperature probes.

Thanks again to all of the supportive users.

John Maetta

unread,
Nov 8, 2016, 8:30:25 AM11/8/16
to weewx-user

Wow, thought I might be the only Peet user out here. Glad to see at least a couple more.
Not using a USB/Serial converter, I opted for the serial port board that plugs onto the RPi.

I started out running Weewx on a Ultimeter 100, but the upgraded to the 2100. The 2100 system has been up and running since July 2015 with no hiccups.

https://www.wunderground.com/personal-weather-station/dashboard?ID=KCALOMPO31

J.L. Blom

unread,
Nov 11, 2016, 9:27:58 AM11/11/16
to weewx...@googlegroups.com
May I add one remark: Look at the odroid-C2. As cheap (or cheaper) than
the raspberry, faster, with more memory and the choice of using eMMC
memory (together with a micro-sd). I use it since February and, except
an unlucky software glitch, works without a problem. Moreover it has
ubuntu 16.04 LTS which is in my opinion more stable than raspbian (or
debian).
The URL: http://www.hardkernel.com
Only a suggestion,
Joep
> --
> 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+...@googlegroups.com
> <mailto:weewx-user+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


Ralph Underwood

unread,
Nov 19, 2016, 12:08:47 PM11/19/16
to weewx-user
I installed the station last week and it appears to be working. I managed to break the anemometer while I was installing the mast so I have no wind info until my next visit to the site in a week or two. Pete Bros. had the parts available and I already have them in hand.  I ended up commenting out all of the one-wire stuff for my extra temps as I was getting some weird readings from two of the sensors and I figured it would be easier to troubleshoot in my "lab" than on-site. 
Reply all
Reply to author
Forward
0 new messages