Commit graph

37 commits

Author SHA1 Message Date
b70c6bd8e2
Implement proper DB migrations. Add support for logging electricity sags and swells. Preliminary work on supporting BE and LU specific variables.
All checks were successful
Build Docker image / build (push) Successful in 1m2s
Build Golang packages / release (push) Successful in 2m14s
2024-07-26 22:02:47 +02:00
7f1c425868
Fix DB -> db.
All checks were successful
Build Docker image / build (push) Successful in 1m5s
Build Golang packages / release (push) Successful in 1m58s
2024-07-25 23:25:30 +02:00
7b01faa277
Move initial configuration to separate loadConfig function. Add support for HA options.json.
All checks were successful
Build Docker image / build (push) Successful in 1m8s
Build Golang packages / release (push) Has been skipped
2024-07-25 23:00:09 +02:00
d04d86a1e1
Update doc. Fix TimescaleDB integration. 2024-03-20 00:42:34 +01:00
a9b42c481e
Disable create index as timescaledb doesn't seem to like it.
All checks were successful
Build Docker image / build (push) Successful in 57s
Build Golang packages / release (push) Has been skipped
2024-02-22 13:20:17 +01:00
68ed34472d
Fix DB error.
All checks were successful
Build Docker image / build (push) Successful in 58s
Build Golang packages / release (push) Has been skipped
2024-02-22 13:16:57 +01:00
be4cb4b1bb
Add storage comparison to no optimisations
All checks were successful
Build Docker image / build (push) Successful in 59s
Build Golang packages / release (push) Has been skipped
2024-02-22 12:43:29 +01:00
d6bc9aaa43
Remove old TODO. 2024-02-22 12:25:45 +01:00
212a328d52
Added calculations for storage requirements. Adapt D, R, F, Fl, D1-3, R1-3 to only store on-change.
Some checks failed
Build Golang packages / release (push) Has been skipped
Build Docker image / build (push) Failing after 1m25s
2024-02-22 12:18:11 +01:00
ac512a898b
Fix syntax error in create_hypertable.
All checks were successful
Build Docker image / build (push) Successful in 1m8s
2024-02-21 13:23:35 +01:00
11792f8c53
Add timestamp index. Allow to add TimescaleDB after initial setup.
All checks were successful
Build Docker image / build (push) Successful in 1m13s
2024-02-21 11:17:09 +01:00
7abe076fd2
Make using TimescaleDB optional.
Some checks failed
Build Docker image / build (push) Has been cancelled
2024-02-20 18:04:30 +01:00
68e7f28f81
Fix formatting issue Payload struct comment.
All checks were successful
Build Docker image / build (push) Successful in 56s
2024-02-20 16:55:12 +01:00
dbb8319752
Added comment to parseDSMRTimestamp.
Some checks failed
Build Docker image / build (push) Has been cancelled
2024-02-20 16:54:22 +01:00
a72897655b
Add comment to updateFieldIfChanged. 2024-02-20 16:52:09 +01:00
f6cefb4ca2
Add debugging code for DB inserts.
All checks were successful
Build Docker image / build (push) Successful in 54s
2024-02-20 16:44:57 +01:00
396b7d67b4
Slight code rearrangement. Capitalise log levels.
All checks were successful
Build Docker image / build (push) Successful in 57s
2024-02-20 16:37:25 +01:00
3986ae1c1e
Added log level configurable through env vars.
All checks were successful
Build Docker image / build (push) Successful in 55s
2024-02-20 16:31:51 +01:00
38691f4e85
Try resolving pointer error.
All checks were successful
Build Docker image / build (push) Successful in 55s
2024-02-20 16:23:41 +01:00
4aa065ee82
Add more logger code.
All checks were successful
Build Docker image / build (push) Successful in 53s
2024-02-20 16:19:01 +01:00
f5fe3f5080
Introduce log/slog to add log levels.
All checks were successful
Build Docker image / build (push) Successful in 55s
2024-02-20 16:05:33 +01:00
703310f305
Remove completed TODO remark. Optionally support .env files.
All checks were successful
Build Docker image / build (push) Successful in 1m4s
2024-02-20 15:50:50 +01:00
2a92510c32
Improve documentation.
All checks were successful
Build Docker image / build (push) Successful in 59s
2024-02-18 18:10:12 +01:00
82954046c2
Improve documentation.
All checks were successful
Build Docker image / build (push) Successful in 1m7s
2024-02-18 18:04:29 +01:00
ddfc896960
Fix printing pointer instead of value for changed values.
All checks were successful
Build Docker image / build (push) Successful in 1m6s
2024-02-18 18:02:07 +01:00
cfbd22d259
Add debugging code for update only on change.
All checks were successful
Build Docker image / build (push) Successful in 1m14s
2024-02-18 17:56:06 +01:00
666bf5700e
Improved documentation.
All checks were successful
Build Docker image / build (push) Successful in 1m8s
2024-02-18 15:39:55 +01:00
2844bd89d1
Added documentation to Payload struct.
All checks were successful
Build Docker image / build (push) Successful in 1m15s
2024-02-18 15:10:37 +01:00
66ad959ada
Add logic to only log meter readings on change. Otherwise, insert NULL.
All checks were successful
Build Docker image / build (push) Successful in 1m17s
2024-02-18 14:50:01 +01:00
8673fabccd
Implemented additional logic req
All checks were successful
Build Docker image / build (push) Successful in 1m2s
2024-02-17 18:56:09 +01:00
5be69f9baf
Add AutoReconnect setting for MQTT client.
All checks were successful
Build Docker image / build (push) Successful in 4m46s
2024-02-17 16:54:24 +01:00
71e579b14c
Add auto reconnect function.
All checks were successful
Build Docker image / build (push) Successful in 49s
2023-12-06 13:51:14 +01:00
7d04a97109
Fix db error .
All checks were successful
Build Docker image / build (push) Successful in 47s
2023-12-05 18:04:49 +01:00
fe1d1b5635
Explicitly add tzdata.
All checks were successful
Build Docker image / build (push) Successful in 47s
2023-12-05 18:00:10 +01:00
6e40c8b56b
Fix err.
All checks were successful
Build Docker image / build (push) Successful in 46s
2023-12-05 17:55:39 +01:00
1015670704
Disable godotenv.
Some checks failed
Build Docker image / build (push) Failing after 43s
2023-12-05 17:54:04 +01:00
5801910be2
First commit.
Some checks failed
Build Docker image / build (push) Failing after 25s
2023-12-05 17:37:50 +01:00