discoverwithout a config file to determine the variable name and units.
discoverwithout a config file, it will print out ALL the variables, units and values for the particular Modbus, Inverters or AD module(s).
log. You can do a
discoverwithout 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. The config file defines which variables need to be collected, what names they appear on the the Ardexa cloud, units and scaling. Example config file as follows:
#is a comment line, and will be ignored
Typecan be either:
Meteocontrol Variable Namename MUST be as it appears in the logger, when doing a
discovery(without a config file)
Scalecan be empty
discoverfirst to see which variables are available, before developing the config file.
ip_addressThis is an IP address like 192.168.1.4
--auth_file. This is a file with 2 lines, first line is
useridand second line is
password. This is optional. Most meteocontrol sites don't use authentication
--config_path. This is the config file location
inv_addresses= List of inverter addresses using commas and hyphens, e.g.
1-4,6,10-20. Using range of
0will mean no inverters will be queried. Default address is
-1(ie; no inverters will be read)
io_modules_addresses= Range of IO modules, starting at address 0. e.g.
1-4,6,10-20. If you want to read just IO Module 0, the argument is
--io_modules_addresses 0-0. Default address is
-1(ie; no IO modules will be read)
modbus_modules= Range of Modbus modules, starting at address 0 e.g.
1-4,6,10-20. If you want to read just Modbus Module 0, the argument is
--modbus_modules 0-0. Default address is
-1(ie; no modbus modules will be read)