that was the procedure I used....
something must be wrong with the epel-repo rpm for weewx....
ugh
thanks
rich

On Sat, Nov 21, 2020 at 1:02 AM gjr80 <[email protected]> wrote:

> Looks like you are missing the pre-requisite pyserial. I’m no centos
> expert but perhaps the red hat install instructions
> <http://weewx.com/docs/redhat.htm> will help.
>
> Gary
> On Saturday, 21 November 2020 at 17:49:48 UTC+10 [email protected] wrote:
>
>> Well, I ran into a problem.....
>> I installed weewx 4.2.0 by yum:
>> rpm --import http://weewx.com/keys.html
>> curl -s http://weewx.com/yum/weewx-el7.repo | sudo tee
>> /etc/yum.repos.d/weewx.repo
>> yum install weewx
>>
>> cd /etc/weewx
>> wee_config  --config=weewx.conf
>> Using configuration file weewx.conf
>> Internal logic error in config.py
>>
>> I manually edited the weewx.conf file and added a section [Ultimeter]
>> with the following I found on the web:
>> [Station]
>>     location = "Fremont Comm Site, Salida CO"
>>     latitude = 38.446630
>>     longitude = -106.010750
>>     altitude = 11000, foot
>>     station_type = Simulator
>>     station_url = http://www.cmrg.org
>>     rain_year_start = 1
>>     week_start = 6
>> [Ultimeter]
>>     # Connection type: serial or ethernet
>>     type = serial
>>     # If the connection type is serial, a port must be specified:
>>     #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
>>     #     /dev/ttyUSB0 is a common USB port name
>>     #     /dev/ttyS0   is a common serial port name
>>     #   BSD:
>>     #     /dev/cuaU0   is a common serial port name
>>     port = /dev/serial-0
>>     # If the connection type is ethernet, an IP Address/hostname is
>> required:
>>     #host = wlip.ka0wuc.org
>>     ######################################################
>>     # The rest of this section rarely needs any attention.
>>     # You can safely leave it "as is."
>>     ######################################################
>>     # Serial baud rate (usually 19200)
>>     baudrate = 2400
>>     # TCP port (when using the WeatherLinkIP)
>>     #tcp_port = 22222
>>     # TCP send delay (when using the WeatherLinkIP):
>>     #tcp_send_delay = 0.5
>>     # The id of your ISS station (usually 1). If you use a wind meter
>> connected
>>     # to a anemometer transmitter kit, use its id
>>     iss_id = 1
>>     # How long to wait for a response from the station before giving up
>> (in
>>     # seconds; must be greater than 2)
>>     timeout = 30
>>     # How long to wait before trying again (in seconds)
>>     wait_before_retry = 1.2
>>     # How many times to try before giving up:
>>     max_tries = 50
>>     #model_type = 2
>>     # The driver to use:
>>     driver = weewx.drivers.ultimeter
>>
>> Then I ran the wee_config:
>> cd /etc/weewx
>> wee_config --reconfigure --config=weewx.conf
>>
>> Using configuration file weewx.conf
>> Enter a brief description of the station, such as its location.  For
>> example:
>> Santa's Workshop, North Pole
>> description [Fremont Comm Site, Salida CO]:
>>
>> Specify altitude, with units 'foot' or 'meter'.  For example:
>> 35, foot
>> 12, meter
>> altitude [11000, foot]:
>>
>> Specify latitude in decimal degrees, negative for south.
>> latitude [38.446630]:
>> Specify longitude in decimal degrees, negative for west.
>> longitude [-106.010750]:
>>
>> You can register your station on weewx.com, where it will be included
>> in a map. You will need a unique URL to identify your station (such as a
>> website, or WeatherUnderground link).
>> Include station in the station registry (y/n)? [n]:
>>
>> Indicate the preferred units for display: ['us', 'metric']
>> units [us]:
>>
>> Installed drivers include:
>>   0) ?               (weewx.drivers.acurite)   No module named usb
>>   1) ?               (weewx.drivers.cc3000)    No module named serial
>>   2) ?               (weewx.drivers.fousb)     No module named usb
>>   3) Simulator       (weewx.drivers.simulator)
>>   4) ?               (weewx.drivers.te923)     No module named usb
>>   5) ?               (weewx.drivers.ultimeter) No module named serial
>>   6) Vantage         (weewx.drivers.vantage)
>>   7) ?               (weewx.drivers.wmr100)    No module named usb
>>   8) ?               (weewx.drivers.wmr200)    No module named usb
>>   9) ?               (weewx.drivers.wmr300)    No module named usb
>>  10) ?               (weewx.drivers.wmr9x8)    No module named serial
>>  11) WS1             (weewx.drivers.ws1)
>>  12) WS23xx          (weewx.drivers.ws23xx)
>>  13) ?               (weewx.drivers.ws28xx)    No module named usb
>> choose a driver [3]: 5
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/wee_config", line 123, in <module>
>>     main()
>>   File "/usr/share/weewx/wee_config", line 117, in main
>>     config_mgr.run(args, options)
>>   File "/usr/share/weewx/weecfg/config.py", line 114, in run
>>     stn_info = self.get_stn_info(config_dict, options)
>>   File "/usr/share/weewx/weecfg/config.py", line 155, in get_stn_info
>>     stn_info.update(weecfg.prompt_for_driver_settings(driver,
>> config_dict))
>>   File "/usr/share/weewx/weecfg/__init__.py", line 1685, in
>> prompt_for_driver_settings
>>     __import__(driver)
>>   File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 59, in <module>
>>     import serial
>> ImportError: No module named serial
>>
>> So, at this point I'm stuck.
>>
>> Any suggestions?
>> thanks
>> rich
>>
>> On Fri, Nov 20, 2020 at 5:57 AM Tom Keffer <[email protected]> wrote:
>>
>>> It's easiest just to use the utility wee_config with the --reconfigure
>>> <http://www.weewx.com/docs/utilities.htm#Action_--reconfigure> option.
>>> It will prompt you for any needed options:
>>>
>>> *wee_config --reconfigure*
>>>
>>>
>>>
>>> On Thu, Nov 19, 2020 at 6:35 PM Rich Painter <[email protected]> wrote:
>>>
>>>> I just freshly installed CentOS 7.9 64-bit and weewx 4.2.0
>>>>
>>>> I have a Peet Ultimeter 800.
>>>>
>>>> How do I create a configuration file for this station?
>>>>
>>>> Alternative, what other "station_type" could be used to make the Peet
>>>> work?
>>>>
>>>> thanks
>>>> rich
>>>>
>>>>
>>>> --
>>>> Richard A. Painter, P.E. Retired
>>>>
>>>>
>>>> --
>>>> 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/CABh4ZQiHHndO0HuxO_2MsM%3D7aBYsu7OYKZqPmteQHMEzhDN0gA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/weewx-user/CABh4ZQiHHndO0HuxO_2MsM%3D7aBYsu7OYKZqPmteQHMEzhDN0gA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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/CAPq0zEBQfO5xATFONwB%2BBPi7UB-PSDEihXu0wUzjAZ2dew4ajQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBQfO5xATFONwB%2BBPi7UB-PSDEihXu0wUzjAZ2dew4ajQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Richard A. Painter, P.E. Retired
>>
>>
>> --
> 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/8b7189a2-c8af-4277-88f8-93b689901253n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/8b7189a2-c8af-4277-88f8-93b689901253n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Richard A. Painter, P.E. Retired

-- 
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/CABh4ZQjD84-TYte7TuazkjHQeZeR6SDzABBRXLfTQX6uwYXb1Q%40mail.gmail.com.

Reply via email to