Liu Xiaoyi
184bc4bec5
Improve temperature logging ( #825 )
...
* Always log current temperature
* Forcefully align each ata_sct_temperature_history data point to an integer multiple of the logging interval to prevent repeated data points
Fixes #824
2026-02-05 21:35:35 -08:00
mcarbonne
bdbe13e320
Add option to discard SCT Data Table Temperature History ( #557 )
...
Fixes #494
2026-02-05 20:59:24 -08:00
Peppercorn27
b71897fa5f
fix web ui latency
...
fix web ui latency in situations where cron shedule has been reduced resulting in more data being present in influxDB than expected
2025-07-06 17:11:42 +01:00
Sam
600cd153e0
491 [FEAT] Allow disks to be hidden/archived
...
- Add archived to device type & db
- Add archive/unarchive handlers to webapp backend
- Add archive toggle & styling to webapp frontend
2025-02-21 09:25:27 +01:00
Brice Bauer
142fe06df1
Move powered_on_hours_unit to a new migration id
2024-07-22 08:37:35 -04:00
Brice Bauer
a18e2842ac
Update db migration description to match setting possible values
2024-05-08 08:43:25 -04:00
Brice Bauer
8fa32c6dd7
Add DB Migration and config/settings
2024-05-07 16:45:09 -04:00
packagrio-bot
5e6ab2290b
(v0.8.1) Automated packaging of release by Packagr
2024-04-08 04:48:11 +00:00
packagrio-bot
5977f7c7d4
(v0.8.0) Automated packaging of release by Packagr
2024-03-13 23:47:26 +00:00
packagrio-bot
5e33c33e75
(v0.7.3) Automated packaging of release by Packagr
2024-02-24 23:12:54 +00:00
Jason Kulatunga
3ea223fa8e
Merge pull request #547 from kaysond/master
...
Add support for disabling repeat notifications if the values haven't changed
2024-02-24 15:10:29 -08:00
Aram Akhavan
09f4b34bf0
fix server test
2024-02-04 11:52:30 -08:00
Aram Akhavan
f24abf254b
Add tests for not repeating notifications
2024-02-04 11:38:52 -08:00
Aram Akhavan
cc889f2a2d
fix notify tests
2024-02-04 11:38:52 -08:00
Jason Kulatunga
2aa242e364
update mockgen instructions
2024-02-04 11:38:52 -08:00
Jason Kulatunga
1c193aa043
add database interface mock
2024-02-04 11:38:52 -08:00
Aram Akhavan
01c5a7fdfe
Address review comments
2024-02-04 11:38:51 -08:00
Aram Akhavan
98d958888c
refactor common code
2024-02-04 11:38:51 -08:00
Aram Akhavan
4e5c76b259
Add support for disabling repeat notifications
...
* Add a new database function for getting the tail
* Update ShouldNotify() to handle ignoring repeat notifications if set
2024-02-04 11:38:51 -08:00
Aram Akhavan
6417d71311
Add a setting for repeating notifications or not
2024-02-04 11:38:50 -08:00
Aram Akhavan
3285eb659f
Fix some development issues
2024-02-04 11:38:50 -08:00
Thomas Way
db86bac9ef
fix(collector): show correct nvme capacity
...
Some nvme devices do not report their capacity through the usual
'user_capacity' field, instead the total capacity is reported with the
'nvme_total_capacity' field.
Fixes : #466
2024-01-23 22:02:02 +00:00
packagrio-bot
c3a0fb7fb5
(v0.7.2) Automated packaging of release by Packagr
2023-10-17 13:19:35 +00:00
Aram Akhavan
550cd59093
Fix parsing of attribute 188 on seagate drives
2023-10-14 21:39:12 -07:00
Aram Akhavan
31c2daedf7
fix smart 188 thresholds
2023-09-03 10:37:43 -07:00
packagrio-bot
ee893cc360
(v0.7.1) Automated packaging of release by Packagr
2023-04-08 23:01:22 +00:00
Jason Kulatunga
d76cdca4a5
Merge pull request #472 from adamantike/misc/add-support-for-yml-config-files
2023-04-06 17:46:03 -07:00
Michael Manganiello
932e191510
Allow configuration files with yml extension
...
If a `collector.yml` or `scrutiny.yml` configuration file is present,
use it as long as a `.yaml` version is not available too.
Fixes #79
2023-04-06 20:55:22 -03:00
Michael Manganiello
3a6c407fe7
Add support for ntfy notifications
...
Updates [`shoutrrr`](containrrr.dev/shoutrrr/) to `v0.7.1` to enable
support for [ntfy](https://ntfy.sh/ ) notifications.
Fixes #433 .
2023-04-06 17:04:48 -03:00
packagrio-bot
2e4ba44952
(v0.7.0) Automated packaging of release by Packagr
2023-04-06 05:22:42 +00:00
Jason Kulatunga
de21e611a3
fixing migration for line_stroke setting.
2023-04-05 21:06:09 -07:00
Jason Kulatunga
f94e616d8d
Merge branch 'master' into angular-refactoring
2023-04-04 21:38:57 -07:00
Saswat Padhi
cb5226f6e4
Update backend tests failing on insecure_skip_verify
2023-02-07 08:24:39 +00:00
Saswat Padhi
e07a53046f
[FEAT] Allow insecure certificates on InfluxDB
...
This change allows users to skip TLS certificate verification on their
InfluxDB server, if they wish to do so, for instance when using self-
signed certificates.
Without this change, scrutiny failed to start and paniced with a
`x509: certificate signed by unknown authority` error.
2023-02-06 22:26:40 +00:00
packagrio-bot
1c7f299b98
(v0.6.0) Automated packaging of release by Packagr
2023-01-12 00:42:30 +00:00
Jason Kulatunga
f2856e0f26
adding a healthcheck endpoint that confirms communication with influxdb and sqlite.
...
ref: #381
2022-11-30 08:25:27 -08:00
Jason Kulatunga
fb760a9f6d
make sure we print an error if the config file is invalid.
...
fixes #408
2022-11-29 22:06:42 -08:00
adripo
536b590080
feat: dynamic line stroke settings
2022-11-11 00:19:51 +01:00
Jason Kulatunga
2677796322
fixing bug. Null value for temperatures should be ignored.
2022-11-06 07:54:32 -08:00
packagrio-bot
f1e5bd3ed4
(v0.5.0) Automated packaging of release by Packagr
2022-08-04 15:11:04 +00:00
Jason Kulatunga
26b221532e
fix tests.
2022-08-04 07:56:43 -07:00
Jason Kulatunga
f823127825
simplify logger creation (move logic into a function in main packages)
...
Ensure logger creation is consistent between Web and Collector
Create logger in main, pass down to downstream functions (like gin)
In debug mode, print a copy of AppConfig
Better debugging for logger.
2022-08-03 22:51:44 -07:00
Jason Kulatunga
d41d535ab7
make sure that the device host id is provided in notifications (if available).
...
fixes #337
2022-08-03 20:55:34 -07:00
Jason Kulatunga
a1b0108503
Added PRAGMA settings support when connecting to SQLITE db.
...
When a transaction cannot lock the database, because it is already locked by another one,
SQLite by default throws an error: database is locked. This behavior is usually not appropriate when
concurrent access is needed, typically when multiple processes write to the same database.
PRAGMA busy_timeout lets you set a timeout or a handler for these events. When setting a timeout,
SQLite will try the transaction multiple times within this timeout.
https://rsqlite.r-dbi.org/reference/sqlitesetbusyhandler
retrying for 30000 milliseconds, 30seconds - this would be unreasonable for a distributed multi-tenant application,
but should be fine for local usage.
added mechanism for global settings (PRAGMA and DB level instructions).
fixes #341
2022-08-02 22:14:23 -07:00
Jason Kulatunga
3f272b36d4
adding setting to allow users to customize between binary vs SI/Metric units in UI.
...
fixes #330
2022-07-30 08:50:23 -07:00
Jason Kulatunga
94594db20a
on settings save, return the new settings.
...
update the frontend to persist settings to the database.
Using ScrutinyConfigService instead of TreoConfigService.
Using snake case settings in frontend.
Make sure we're using AppConfig type where possible.
2022-07-23 14:36:32 -07:00
Jason Kulatunga
7e672e8b8e
adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
...
Converted all settings keys to snakecase.
2022-07-23 10:19:15 -07:00
Jason Kulatunga
54e2cacb00
move frontend settings into the DB (for consistent settings handling).
...
Flattened settings object.
2022-07-23 09:32:56 -07:00
Jason Kulatunga
c0f1dfdb0b
fixing config mock.
2022-07-20 22:38:30 -07:00
Jason Kulatunga
29bc79996b
working settings update.
...
Settings are loaded from the DB and added to the AppConfig during startup.
When updating settings, they are stored in AppConfig, and written do the database.
2022-07-19 23:12:23 -07:00