frederik
3246b61c41
fix: don't send unsolicited stuff: this might break json
2024-03-14 11:55:31 +01:00
frederik
6c6247cf19
with the new analysis pipeline .wav and .wav.json do not exist at the same time. make labeling work with json alone. also tweak the timing
2024-03-14 11:55:31 +01:00
frederik
1f7aad7873
fix: write json file: spectrogram.php needs it
2024-03-14 11:55:31 +01:00
frederik
5c3b2d5691
fix: RTSP_STREAM_TO_LIVESTREAM was missing from config file
2024-03-14 11:55:31 +01:00
frederik
b7225ca1d2
fix: use hostname like the python code does
2024-03-14 11:55:31 +01:00
cdkl
a5e88f9c77
Read lat/lon from config
2024-03-14 10:42:40 +01:00
cdkl
37b023b84d
Fix sunrise/sunset scatter plots ( #16 )
...
* Fix sunrise/sunset scatters
Sunrise/sunset scatter plots are misplaced for
* Date ranges that are a subset of the entire DB date range
* Species whose first/last detections are inside the bounds of the current date range.
This fixes those problems.
* Clean up lint errors
* Fix the lint errors created by fixing lint errors
* Restore old lat/lon determination
We'll enhance this separately
2024-03-13 00:06:16 +01:00
Nachtzuster
017734037a
Merge pull request #18 from lloydbayley/main
...
Change repo in System Controls
2024-03-09 17:48:26 +01:00
Lloyd Bayley
a192039980
Update system_controls.php
2024-03-10 00:30:57 +11:00
frederik
e3b8cd134a
allow x86_64 for development purposes
2024-03-09 13:31:36 +01:00
frederik
15aaedbacc
add tflite_runtime for x86_64
2024-03-09 13:31:36 +01:00
frederik
91007f63e4
gotty multiarch
2024-03-09 13:31:36 +01:00
frederik
c8b15b65ce
Merge branch 'sqlite-timeout'
2024-03-09 13:27:10 +01:00
frederik
1d2c2d6faa
make casual git checking non-blocking-y, also check every 24h
2024-03-09 13:17:49 +01:00
frederik
ed42cbf1e2
rework deletion: we _do_ need to open read-write here
2024-03-09 13:17:49 +01:00
frederik
b0eb5e063f
add busyTimeout() to deal with concurrency. open read-write only when needed
2024-03-09 13:04:07 +01:00
frederik
90d53a3a43
ensure_db_ok (): on error: do not refresh immediately, but wait for one second. put helpers in common.php
2024-03-09 13:03:05 +01:00
frederik
be8a98bf59
fix: do not unset the session
2024-03-09 10:16:52 +01:00
Lloyd Bayley
3b4da2e2b6
Update config.php
2024-03-09 01:16:59 +11:00
frederik
0c00e6fadd
bump seaborn==0.13.2
2024-03-01 12:41:20 +01:00
frederik
b99367d298
fix deprecation warnings
2024-03-01 12:41:20 +01:00
frederik
cafe172241
fix check for vcgencmd
2024-02-28 11:52:14 +01:00
frederik
e0484b8caf
fix: make sure the UI reflects the change
2024-02-28 10:21:06 +01:00
frederik
63da546d98
stderror sometimes has useful info
2024-02-27 20:21:25 +01:00
cdkl
0448eb8134
Remote utc to localtime conversion from daily_plot.py
...
Introduction of yesterday/today handling added a bug that expresses itself on systems whose timezones are behind UTC. Specifically, the 'localtime' modifier to DATE() attempts to interpret the date to the left as UTC, and convert to localtime. The result is that in timezones behind UTC, the date selected is always 1 earlier than intended.
No timezone conversion should be done. The db data is in local time already.
Here's a demonstration of calling DATE() in various ways in North America EST:
sqlite> select DATE('now');
2024-02-26
sqlite> select DATETIME('now');
2024-02-26 17:20:46
sqlite> select DATE('2024-02-26');
2024-02-26
sqlite> select DATETIME('2024-02-26');
2024-02-26 00:00:00
sqlite> select DATE('now', 'localtime');
2024-02-26
sqlite> select DATE('2024-02-26', 'localtime');
2024-02-25 <--- this is the bug
2024-02-26 12:25:10 -05:00
frederik
819f390614
gotty: fix: forward compatibility with v1.5
2024-02-24 11:55:56 +01:00
frederik
019632232d
log the git ref
2024-02-24 11:38:25 +01:00
frederik
6da33df8e9
fix: do not error out when disk_check_exclude.txt does not exist yet
2024-02-24 11:38:09 +01:00
frederik
421575423c
fix: do not rely on /etc/timezone to get the time zone. timedatectl does not update it immediately (anymore), it only gets updated after a reboot
2024-02-24 11:31:36 +01:00
frederik
4ba418e836
fix: make sure timezone is set or we get utc
2024-02-21 17:22:18 +01:00
frederik
299c4cee28
add DATA_MODEL_VERSION to config.php
2024-02-19 16:54:25 +01:00
frederik
31e1379f14
server.py add support for Data_Model_V2
2024-02-19 16:54:25 +01:00
frederik
b4e8fee59e
cleanup loading of M_INTERPRETER
2024-02-19 16:54:25 +01:00
frederik
8b1da71398
add DATA_MODEL_VERSION to config
2024-02-19 16:54:25 +01:00
frederik
ae9cd73407
fix: do not error out on a missing blacklisted_images.txt file
2024-02-18 14:35:23 +01:00
frederik
a3a2ea6dc4
fix: avoid using escapeshellcmd() by injecting $body via STDIN. not very elegant, but keeps with the spirit of escapeshellcmd()
2024-02-18 10:59:22 +01:00
frederik
a10067cc09
fix: File Manager needs group read permissions
2024-02-17 12:47:30 +01:00
frederik
ff09690286
Merge branch 'fix_PrivacyThreshold'
2024-02-17 12:44:40 +01:00
frederik
5e18e0c803
fix: File Manager needs group read permissions
2024-02-17 12:41:44 +01:00
frederik
53633440c6
fix: when tmpfs is active, analyzing_now.txt does not exist at startup, so create it before watching
2024-02-16 10:27:16 +01:00
frederik
17ff415217
correct privacy explanation
2024-02-16 09:57:23 +01:00
frederik
f9460a429d
fix: priv_thresh is a percentage, not a fraction
2024-02-15 15:20:03 +01:00
frederik
090b41775f
preinstalling wheel, to make sure we can build a wheel for inotify: the legacy 'setup.py install' method will be deprecated with pip 23.1
2024-02-13 18:06:57 +01:00
frederik
ab8e3b1d68
add place holder stub until we figure out how to do releases
2024-02-13 18:06:57 +01:00
frederik
189ef116d0
Add ram drive support in the ui
2024-02-13 18:06:57 +01:00
frederik
a4122b5bcc
write transient files to tmpfs aka ram drive
2024-02-13 18:06:57 +01:00
frederik
35db8bcb3b
centralise transient files
2024-02-13 18:06:57 +01:00
frederik
b248ded6ed
move analyzing_now.txt to StreamData to centralise transient files
2024-02-13 18:06:57 +01:00
frederik
a16cb0e63a
security update, not clear if it is relevant, but seems to work
2024-02-13 18:06:57 +01:00
frederik
23dfa3bb99
fix: changing advanced settings was not updating on a fresh install ed. CHANNELS, RECORDING_LENGHT, ... simplify
2024-02-13 18:06:57 +01:00