weathertable. By default, it will collect data every 5 minutes, but can collect at a minimum rate of
1 second, depending on the speed of the serial connection. The plugin will make
1attempt (by default) to read the data. The plugin will collect from the following types of weather stations
WS100, WS2100, WS300, WS400, WS500, WS600, WS700, and WS800. But be aware, not all variables may be collected. Please use
discoverto check the data before implementing collection to the cloud.
endpoint. This is either a serial device like
/dev/ttyS0or an IP or DNS like
bus_addresses. A Modbus address in the range 2-255. This can be a hyphenated list like
3-10or a list like
--port. This is an optional parameter used in an Ethernet gateway, and is the TCP port used for the gateway. Default is
--attempts. This is an optional parameter, and determines how many times to times to attempt to read an inverter value. Default is
--delay. This is the delay in seconds between inverter send and receive commands, AND if
attempts> 1. Fractions like
0.3can be used. Default is
--stop_on_any_command_fail. If this is specified, then any Modbus commands that fail will stop all further queries for all bus addresses and attempts.
--serial_lock. If this is set, the program can only be run one at a time (so as not to overload a Modbus device). If the device being queried is a serial device, this will automatically be set to "on". For IP addresses it is optional.
--sampling_rate. If this is defined, and the sampling rate is greater than 1, then all
SWAP16values will be collected as an average. In other words; it will take a sample at the nominated frequency. After X samples defined by
sampling_rate, a record will be written and sent to the cloud.