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
A unique name for the register.Example: measure.voltage
The key of the MQTT message.Example: DCV_V
The path to the readings in the MQTT message.Example: readings
The path to the key in the MQTT message.Example: param
The path to the value in the MQTT message.Example: value
Indicates whether the value includes the unit.
Example