monitor icon indicating copy to clipboard operation
monitor copied to clipboard

Feature Request: Include Timestamp in Payload for Reporting Start/End Messages

Open greg-nyc opened this issue 5 years ago • 0 comments

Currently, when Monitor has PREF_MQTT_REPORT_SCAN_MESSAGES set to true, Monitor posts to the appropriate departure and arrival topics, as expected. I have created sensors in Home Assistant to track when a departure or arrival scan started and completed. I can, for example, compare the trigger timestamp for an automation that posts an arrival scan request with the scan start timestamp without having to SSH into the pi hosting Monitor. Because there is no timestamp in payload, I have to set up two sensors for each topic--one that's subscribed to the topic and a second to read when the first sensor was last changed.

As a user, I would like to see timestamps in the payload of the PREF_MQTT_REPORT_SCAN_MESSAGES so that I can incorporate that timestamp data into sensors. That way, I could set the MQTT sensor value to the timestamp.

greg-nyc avatar Aug 13 '20 00:08 greg-nyc