Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BirdNET-Pi] timezone #1664

Open
alexbelgium opened this issue Dec 10, 2024 · 1 comment
Open

🐛 [BirdNET-Pi] timezone #1664

alexbelgium opened this issue Dec 10, 2024 · 1 comment
Labels
bug Something isn't working prevent stale Prevents stale being applied

Comments

@alexbelgium
Copy link
Owner

Description

Thank you for the reply; I got busy with work after I posted my question so I have been slow getting back to you.

There doesn't seem to be a reference to setting the timezone in the log: https://pastebin.com/EE7Mcwhb

Is this the right log?

I set the TZ to Australia/Melbourne in the config inside the BN-Pi gui, but this then kept reverting to Europe/Paris on restart. I then realised I should set it in the HA add-on config. I did also set it in the config.yaml for the add-on while trying to work this issue out.

I can now confirm that it starts referring to the correct day from 11am on. It seems (perhaps) as though it is using the correct timezone for most things, but just for the "5 most recent", "species detected today" and "new species today" it is offset by 11 hours, ie it is on GMT.

EDIT: Yes, you are correct I am using the HA add-on (and loving it).

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Addon Logs

Apologies... figured the log out. I changed the log level and get this:

[05:40:12] INFO: Setting password for the user pi

[05:40:12] INFO: Password set successfully for user pi.

[05:40:12] INFO: Setting timezone :

Timezone set to: Australia/Melbourne

... timezone set to Australia/Melbourne as defined in add-on options (BirdNET config ignored).

[05:40:12] INFO: Starting system services

[05:40:12] INFO: Starting cron service

[05:40:13] INFO: Starting dbus service

[05:40:13] INFO: Starting BirdNET-Pi services

+ my_dir=/home/pi/BirdNET-Pi/scripts

+ sudo systemctl stop birdnet_recording.service

+ services=(chart_viewer.service spectrogram_viewer.service icecast2.service birdnet_recording.service birdnet_analysis.service birdnet_log.service birdnet_stats.service)

Architecture

No response

OS

No response

@alexbelgium alexbelgium added the bug Something isn't working label Dec 10, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Element will be closed automatically label Dec 22, 2024
@alexbelgium alexbelgium added prevent stale Prevents stale being applied and removed stale Element will be closed automatically labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prevent stale Prevents stale being applied
Projects
None yet
Development

No branches or pull requests

1 participant