Unable to Read Hardware Type; Raise Weewxioerror

Knowing that y'all have the Compact receiver yous should after connexion is working set in your weewx.conf to record generation = software.

Regards

(This postal service was terminal modified: 22-02-2020, 23:34 past lamda.)

Hello thanks for your respond:
My Receiver is Pro2 Meaty.
I test WD --> Weewx on Debian ten VM Proxmox.
The serial port selection is skilful.
For info, I televerse Arduino sketch with the (aforementioned) good port. So I remember that is expert. For Driver, I don't know. Perhaps, but IDE Arduino is ok.
Adjacent; I have these messages on debug Weewx:
Feb 22 23:09:58  local weewx[1038]: vantage: No <ACK> received from panel
Feb 22 23:09:58 local weewx[1038]: vantage: DMPAFT endeavor #3; error: No <ACK> received from Vantage panel
February 22 23:09:58 local weewx[1038]: vantage: Getting all annal packets
February 22 23:09:58 local weewx[1038]: vantage: Rude wake up of console successful
Feb 22 23:09:58 local weewx[1038]: vantage: No <ACK> received from console
February 22 23:09:58 local weewx[1038]: vantage: DMPAFT try #iv; error: No <ACK> received from Vantage console
Feb 22 23:09:58 local weewx[1038]: vantage: DMPAFT max tries (4) exceeded.
February 22 23:09:58 local weewx[1038]: engine: Primary loop exiting. Shutting engine down.
Feb 22 23:09:58 local weewx[1038]: engine: Defenseless WeeWxIOError: Max tries exceeded while getting archive data.
Feb 22 23:09:58 local weewx[1038]:     ****  Waiting 60 seconds then retrying...

weewx.conf to tape generation = software.
weewx version = three.9.2

Thanks

It still tries the DMPAFT command which is not supported past the Compact receiver - this is the comand to read the logger.

Did you restart WeeWx after configuring the conf file. Possibly you just reboot the whole VM but to exist sure.

Because according to your logs both systems are at present talking to each other.

Regards

@engolling
Of grade for the reboot ...
Regards

Did it alter annihilation?

If WeeWx stops polling the log data it should exist fine for y'all.

(This postal service was last modified: 23-02-2020, 01:39 by lamda.)

@Engolling => Lamentable I don't empathise your answer.

I modify the engine.py in weewx

line 511:

def startup(self, event): # @UnusedVariable
"""Called when the engine is starting up."""
# The engine is starting up. Unless the user has specified otherwise, the main task
# is to practice a take hold of up on any information still on the station, but not yet put in the database.
# The engine is starting up. If hardware record generation has been specified,
# the main task is to practice a grab up on whatever
# data nevertheless on the station, but not still put in the database.
if self.record_generation == 'hardware':
# Non all consoles can practice a hardware catchup, and then be prepared to grab the exception:
endeavor:
self._catchup(self.engine.console.genStartupRecords)
except NotImplementedError:
pass

Problem about Catch up .

So now no catch up and information technology's similar ok .

Exercise you have the solution to add " DMPAFT " in receiver software ?
Regards.

(23-02-2020, 00:41)lamda Wrote: ...

Exercise you lot accept the solution to add together " DMPAFT " in receiver software ?
...

The Pro2 Compact doesn't take the hardware data logger chip, and then answering to the DMPAFT command, tin't be implemented in software.
The only vantage of the hardware data logger is for systems which are asunder from the estimator well-nigh of the time, otherwise it is nearly non necessary.

I'm not an adept in WeeWx, but I believe you don't demand to change engine.py in weewx, setting it to not use the hardware data logger tin can exist done in the Weewx config
Past default the original Davis weather condition stations don't have the hardware data logger, and the WeeWx software is able to work with them.

Hi lamda,

for me information technology worked with those settings in WeeWx.conf.

Code:

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

[Vantage]
# This department is for the Davis Vantage series of weather stations.

    # Connection type: serial or ethernet
#  series (the classic VantagePro)
#  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
type = serial

    # If the connexion blazon is serial, a port must exist specified:
#   Debian, Ubuntu, Redhat, Fedora, and SuSE:
#     /dev/ttyUSB0 is a common USB port name
#     /dev/ttyS0   is a mutual serial port name
#   BSD:
#     /dev/cuaU0   is a common serial port name
port = /dev/ttyACM0

    # If the connection type is ethernet, an IP Accost/hostname is required:
host = ane.2.iii.4

    ######################################################
# The balance of this section rarely needs any attention.
# Y'all can safely exit it "as is."
######################################################

    # Serial baud charge per unit (commonly 19200)
baudrate = 19200

    # 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 yous 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 = 4

    # How long to wait before trying again (in seconds)
wait_before_retry = i.ii

    # How many times to endeavor before giving up:
max_tries = iv

    # Vantage model Blazon: one = Vantage Pro; 2 = Vantage Pro2
model_type = 2

    # The commuter to use:
driver = weewx.drivers.vantage

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

As y'all already know you have to change your device.

Code:

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

#   This department is for configuring the archive service.

[StdArchive]

    # If the station hardware supports data logging then the archive interval
# volition exist downloaded from the station. Otherwise, specify it (in seconds).
archive_interval = lx

    # If possible, new archive records are downloaded from the station
# hardware. If the hardware does not support this, then new archive
# records will exist generated in software.
# Set the post-obit to "software" to force software tape generation.
record_generation = software

    # Whether to include LOOP data in hi/low statistics
loop_hilo = True

    # The data binding used to save annal records
data_binding = wx_binding

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

This should practice the play a trick on.

It is besides described here: http://weewx.com/docs/usersguide.htm#StdArchive

As long equally it tries to download something from the logger with the DMPAFT comand it is notwithstanding configured not correctly.
I can confirm - and I have also tried myself that it works without logger and DMPAFT command.

If everything is running fine there is no need to alter some of the WeeWx internals.

Regards,
engolling

Hi,
To not modify engine.py;
Nosotros can use no_catchup in department StdArchive:

[StdArchive]

    # If the station hardware supports data logging then the archive interval
# will exist downloaded from the station. Otherwise, specify it (in seconds).
archive_interval = 300

    # If possible, new archive records are downloaded from the station
# hardware. If the hardware does not support this, then new annal
# records will be generated in software.
# Set the post-obit to "software" to force software record generation.
record_generation = software

    # Whether to include LOOP data in hello/low statistics
loop_hilo = True

    # The data bounden used to save archive records
data_binding = wx_binding

    no_catchup = Truthful

Regards.

Do you know what WeeWx is trying when information technology wants to "Catchup" even if tape generation is ready to software?

Comments

Popular posts from this blog

Uc Browser For Samsung B313E Java - Uc Browser For Samsung B313E Java - নিয়ে নিন UC Browser ...

Asio Control Panel No Hardware Detected

Skeeter Doug : Nicktoons - Doug - Skeeter Was Black! - YouTube