Background: HA promotes the creation of a single topic per metric. This can result cumbersome to consume for other application. This PR introduces a $STANDALONE environment variable based on which topics are either split (original implementation) or aggregated.
Add a $STANDALONE environment variable
When the variable is set to a truthy value, aggregate metrics into four common topics:
Background: HA promotes the creation of a single topic per metric. This can result cumbersome to consume for other application. This PR introduces a
$STANDALONE
environment variable based on which topics are either split (original implementation) or aggregated.$STANDALONE
environment variable{device_name}/sample
{device_name}/cell_voltages
{device_name}/temperatures
{device_name}/meter