Skip to content

please add a "TeleRetain" option #1071

Closed
@qorron

Description

@qorron

if set, it would set the retain flag on telemetry messages.
motivation:
I'm writing a series of munin and nagios/icinga plugins that would use that data.

those scripts are just executed once and expected to terminate immediately with a result printed to stdout.
so, no time to wait for a telemetry message to show up.
the only way to work around this would be to write some sort of always running programm that lurks on the mqtt, stores the information and hands it over to a monitoring script once it is queried.

with that information retained, the script would connect to the mqtt, reads the retained information, converts it, hands it over to the monitoring system and terminates.

telemetry info could be used to monitor wifi RSSI to get a more or less realtime monitoring of your wifi coverage. e.g. create a heat map.
I'd also monitor voltages to perhaps predict PSU failure on a sonoff module.

outline: ~40 tasmota devices, ~30 of them sonoff touch.

if you think what I'm trying to do is stupid and there is a better solution, please feel free to point that out.

meanwhile, I write that for the sensor output.

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