MaxWeb Logger

Purpose

Purpose of this plugin is to read from Maxweb loggers.

Usage

Note the following:
  • Do not try to run the plugin any more frequent than 5~10 minutes. Reading from a MaxWeb logger is slow.
  • Pay attention to the unit scaling. This will vary between MaxWeb units.
  • Variable names will change, again depending on the MaxWeb installation. Run a discover without a config file to determine the variable name
There must be a config file when running log. When running discover, a config file is optional. The config file defines which variables need to be collected, what names they appear on the the Ardexa cloud, units and scaling. Example file as follows:
# Ardexa Table Name, Ardexa Source Name, Ardexa Variable Name, Maxweb Variable Name, Type, Units, Scale
solar, inverter-01, AC Current 3, 1_IAC 3, decimal, A, 1
solar, inverter-01, DC Voltage 1, 1_UDC 1, decimal, V, 1
solar, inverter-01, DC Voltage 2, 1_UDC 2, decimal, V, 1
solar, inverter-01, DC Voltage 3, 1_UDC 3, decimal, V, 1
solar, inverter-01, AC Power, 1_Power AC, decimal, W, 1
solar, inverter-01, DC Power 1, 1_PDC1, decimal, W, 1
NOTES:
  • Anything that starts with # is a comment line, and will be ignored
  • The Type can be either: decimal, integer, bool, keyword
  • The Maxweb Variable Name name MUST be as it appears in the logger, when doing a discovery (without a config file)
  • Units and Scale can be empty
You can do a discover without a configuration file. In this case, all the variables are displayed. along with the current value. If you have a configuration file when running discover, then the variables of interest are displayed, and everything else is ignored. ALWAYS run discover first to see which variables are available, before developing the config file.

Arguments

  • IP Address = ..something like: 192.168.1.4
  • Authentication File. This is a file with 2 lines, first line is userid and second line is password
  • {Configuration File full path} groups the items of interest, and is required for logging data (as above)
  • --new: If this is set, it will try to interrogate the devices via the URL http://.../device_settings.php rather than http://.../device_monitor.php. Toggle this value if the plugin doesn't respond to a discovery.
Copy link
Outline
Purpose
Usage
Arguments