Author Topic: Weewx and vantage  (Read 228 times)

0 Members and 1 Guest are viewing this topic.

Offline Scobey

  • Member
  • *
  • Posts: 29
    • Scobey's Weather
Weewx and vantage
« on: May 06, 2024, 01:43:34 AM »
What is this? From systemctl status weewx

vantage.__init__(self, **config_dict[DRiver_NAME]§)
File “home/john/weewx/src/weewx/src/weewx/drivers/vantage.py”, line 536, in __init__
self.port.openport()
File “home/john/weewx/src/weewx/src/weewx/drivers/vantage.py”, line 359, in openport
  raise weewx.weeWxIOerror(ex)
whew.weeWxIOerror: (Errno -2) name or service not known
CRITICAl  __ main __ : unable to load driver: [Errno -2] name or service not known
****exiting…
weewx service: Main process exited,  code=exited status=4/NO PERMISSION

all preceeded by CRITICAL weewx engine


Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 186
    • home site
Re: Weewx and vantage
« Reply #1 on: May 06, 2024, 02:56:51 PM »
Looks like a permission error to me.

Suggest you look at https://github.com/weewx/weewx/wiki/WeeWX-Problem-Reporting-Questionnaire and https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user and especially the bottom of https://github.com/weewx/weewx/wiki/Understanding-permissions

Assuming you are running v5 it is probable that the user weewx is running as needs to be added to the proper group(s) to access the hardware.
WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture, WH34 soilTemp (pi4)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

Offline Scobey

  • Member
  • *
  • Posts: 29
    • Scobey's Weather
Re: Weewx and vantage
« Reply #2 on: May 11, 2024, 07:49:10 PM »
I’m so frustrated getting weewx to work. It is probably worth the price to pay someone to install it and the saratoga software that works on a sd card for my pi4.

I think weewx works but there is a config problem after adding the saratoga-weather software and updating weewx.conf. Really frustrating.

Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 186
    • home site
Re: Weewx and vantage
« Reply #3 on: May 11, 2024, 09:31:02 PM »
Sure, $500/hour with 5 hours pre-paid in cash and we can talk :-)

Basically nobody can help you in the absence of pretty much 'any' information other than words saying you're frustrated.  Thousands of people run weewx.  Many hundreds use a vantage.  Many people use Saratoga.  So it's definitely doable.

But without you providing any debug=1 logs as per the how do I report a problem guidelines, nobody can help you at all.

Get weewx working with nothing else added.  Then add Saratoga.  Nibble away at it.
WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture, WH34 soilTemp (pi4)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

 

anything