Naming Conventions
While not mandatory, it is recommended to adopt the following naming conventions for clarity and usability:- Read Operations: Prefix register names with
measure.to indicate that the register is used for measurement purposes.
Required Parameters
string
required
A unique name for the register.Example:
measure.voltagestring
required
The key of the MQTT message.Example:
DCV_Vstring
required
The path to the readings in the MQTT message.Example:
readingsstring
required
The path to the key in the MQTT message.Example:
paramstring
required
The path to the value in the MQTT message.Example:
valuebool
required
Indicates whether the value includes the unit.
Example
mqtt_address_map.json