Update birdnet_to_mqtt.py

This commit is contained in:
Alexandre
2025-01-09 10:06:55 +01:00
committed by GitHub
parent 04340d64c3
commit d9434cb487

View File

@@ -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