Skip to content

Distinguish between multiple Gateways #2

@tobru

Description

@tobru

Currently, there is no way to distinguish between multiple gateways, rather than running multiple instances of RuuviBridge (what I currently do and works). I'd like to suggest teaching RuuviBridge to distinguish between multiple Gateways.

An example could be:

influxdb_publisher:
  [...]
  additional_tags:
    location: $gateway_name

gateway_names:
  XXXXXXXXXXX: LocationA
  YYYYYYYYYYY: LocationB

(That's just a partial config to show the idea)

This approach would make it mandatory to configure the Gateways to publish to a predefined format:

mytopic/$GW_MAC/$TAG_MAC

We could also find a way to make the topic format configurable, if desired.

What do you think about this idea? I'm open to refine it if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions