From d9434cb4874714bb346d283f8e16b23b80abbff8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 9 Jan 2025 10:06:55 +0100 Subject: [PATCH] Update birdnet_to_mqtt.py --- birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py index 5d6f76770..601a0fa28 100644 --- a/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py +++ b/birdnet-pi/rootfs/helpers/birdnet_to_mqtt.py @@ -52,7 +52,7 @@ def get_bird_code(scientific_name): def automatic_mqtt_publish(file, detection, path): bird = {} bird['Date'] = file.file_date - bird['Time'] = file.time + bird['Time'] = file.start_time bird['ScientificName'] = detection.scientific_name.replace('_', ' ') bird['CommonName'] = detection.common_name bird['Confidence'] = detection.confidence