Skip to content

location mapping for a sensor #9

@kiwi64ajs

Description

@kiwi64ajs

Hi Guys,
I'm using mqtt2influxdb to read in temperature and humidity readings from bluetooth sensors via mqtt and it would be useful to be able to map the Bluetooth MAC address of the sensor to a user defined location string.

Is there any such configuration supported in the utility currently that would allow me to define a (key, value) pair dictionary in the config file and use that to map the sensor_id as the key and if exists, add a "location" tag with the user defined value, to the record being sent to influxdb?

Regards
Alex Shepherd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions