Commit graph

110 commits

Author SHA1 Message Date
87ea9aa668
Improve logging a bit
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 23s
/ build-artifacts (x86_64-unknown-linux-gnu) (push) Failing after 10s
/ build-artifacts (x86_64-unknown-linux-musl) (push) Failing after 16s
2024-05-10 13:09:27 +02:00
3c70ae1da3
Add strict mode and defaults for GET tagged schedules 2024-05-06 16:27:42 +02:00
f9ad8f9399
Improve api schema 2024-05-04 18:35:19 +02:00
f23bb48fa1
Add docker files 2024-05-03 14:19:14 +02:00
bc47ca1b67
Update dependenies 2024-05-03 13:32:03 +02:00
b5157623ca
Fix actions workflow
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 16s
/ build-artifacts (x86_64-unknown-linux-gnu) (push) Failing after 10s
/ build-artifacts (x86_64-unknown-linux-musl) (push) Failing after 14s
2024-05-02 22:14:39 +02:00
8616c70f21
Add filter by controller uid in macro execute 2024-05-02 21:24:31 +02:00
02c613e0fd
Revert "Add sql transactions"
This caused the error "locked database".
This reverts commit 9823511b62.
2024-05-02 19:33:25 +02:00
9823511b62
Add sql transactions 2024-05-02 13:30:14 +02:00
455ca50695
Replace api.v1.yaml with json variant 2024-05-02 02:32:47 +02:00
ea09061b29
Fix minor bugs 2024-05-01 01:48:19 +02:00
b742f0f8d6
Split project (keep core)
Some checks failed
/ build-artifacts (arm-unknown-linux-gnueabihf) (push) Failing after 9m27s
2024-04-30 10:38:01 +02:00
9bc75b9627
Rename emgauwa-lib to emgauwa-common 2024-04-30 08:44:33 +02:00
6340cfd5c7
Remove to pkl project 2024-04-30 01:50:43 +02:00
83c65c00fe
Add pre-ci release-binary creation 2024-04-29 18:32:16 +02:00
ace4face5a
Improve configuration 2024-04-29 04:19:02 +02:00
71498256f6
Update sqlx handling 2024-04-29 02:09:29 +02:00
661b5004e8
Add macros 2024-04-29 01:11:52 +02:00
51aa0d3c99
Rename ControllerUid to a more general EmgauwaUid (for macros) 2024-04-28 02:29:34 +02:00
07d3322c5a
Add null driver 2024-04-28 01:38:57 +02:00
4ed1cd3182
Add drivers for gpio and piface 2024-04-28 01:13:22 +02:00
61a3c6093b
Add relay pulse functionality 2024-04-26 16:15:24 +02:00
e2f3d7b82a
Rename request models 2024-04-26 02:14:47 +02:00
ccc30dcdaf
Add function to update reconnecting controllers 2024-04-26 01:46:55 +02:00
0b0350da0e
Add waiting for next period 2024-04-26 00:00:42 +02:00
6f2deb38e1
Fix some clippy issues 2024-04-25 19:47:43 +02:00
ab7090f2c5
Add relays websocket 2024-04-25 19:45:22 +02:00
27739e2b71
Add handler in AppState to handle relay states 2024-04-25 17:21:54 +02:00
55617dbd7c
Add handler for relay states 2024-04-25 14:10:32 +02:00
82f2d49dc6
Replace the send() with do_send() method the prevent being stuck 2024-04-25 02:12:25 +02:00
b2e9c6b27a
Fix some clippy issues 2024-04-25 01:41:53 +02:00
8a83602d6a
Add basic exchange of relay states 2024-04-25 01:31:47 +02:00
0460e838bc
Add is_on functions 2024-04-24 03:03:21 +02:00
6414083af0
Add app_state reload util and add handler for weekday change 2024-04-24 02:34:03 +02:00
97d9222a39
Add function to update schedules for relays WsAction 2024-04-24 01:49:02 +02:00
dd850766fd
Add notification to controllers on schedule change 2024-04-24 01:29:47 +02:00
3b00001859
Add some fixes and debug stuff 2024-04-24 01:29:07 +02:00
45e128361a
Add handler for relays (and schedules) in controller 2024-04-23 01:43:32 +02:00
55a352f85a
Add secondary check to prevent empty tags from being created 2024-04-22 04:26:25 +02:00
e950a33e98
Add swagger-ui 2024-04-22 03:41:41 +02:00
51c42d5202
Improve env handling a bit 2024-04-19 18:37:30 +02:00
bb76e3db4d
Improve tag endpoint 2024-04-19 18:21:14 +02:00
8215461e0d
Update API schema to include weekday for macro execute 2024-04-16 22:57:13 +02:00
525eb21649
Improve config (json) file creation 2024-03-28 03:19:15 +01:00
1d4e9efa15
Try to fix the threading
Add explicit tokio::spawn in controller
Add an arbiter for the app_state in core
2024-03-28 01:23:49 +01:00
6d31e1e2c9
Fix handling of user and group in default config and errors 2024-03-04 16:28:20 +01:00
79327d2efa
Remove the _local directory again 2024-03-04 16:09:03 +01:00
3d66ca2472
Add more debugging and fix some 2024-03-03 22:39:28 +01:00
b2ff632e64
Improve config system
Add pkl to generate configs
2024-02-18 19:50:22 +01:00
8785186dfa
Add notifier to break relay loop 2023-12-07 04:30:33 +01:00