|
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 |
|
|
83c1f033d5
|
Add AppState to Controller and split up models
|
2023-12-07 01:32:20 +01:00 |
|
|
8dc9072fe8
|
Rename AppServer to AppState
|
2023-12-05 21:57:00 +01:00 |
|
|
6f8d63e7be
|
Fix bugs and add controller action for controller ws
|
2023-12-05 16:11:40 +01:00 |
|
|
8b1affd8c7
|
Fix small bugs in updating relays
|
2023-12-05 03:12:47 +01:00 |
|
|
e2cd84b136
|
Set options on request types
|
2023-12-05 02:41:43 +01:00 |
|
|
2a82cf79c4
|
Move request models
|
2023-12-05 01:51:06 +01:00 |
|
|
b3228ea6b5
|
Replace expect usage with Result
|
2023-12-05 01:42:19 +01:00 |
|
|
9394a1ae52
|
Refactor more stuff
|
2023-12-04 23:59:26 +01:00 |
|
|
5a7b2de0ea
|
Refactor errors and some other stuff/fixes
|
2023-12-01 18:27:04 +01:00 |
|
|
8d996888bd
|
Add endpoints for tags
|
2023-11-30 03:31:35 +01:00 |
|
|
c8f40284ef
|
Add feature to import missing schedules
|
2023-11-30 02:40:28 +01:00 |
|
|
6400b7745c
|
Improve controller endpoint and model
|
2023-11-30 01:43:56 +01:00 |
|
|
2f51ebf91e
|
Add junction between relays and schedules
|
2023-11-30 00:57:03 +01:00 |
|
|
a90ea25b87
|
Refactor initialization of on/off schedule
|
2023-11-29 17:55:49 +01:00 |
|
|
5b54f40ec0
|
Add cache option to from_db_model functions
|
2023-11-29 17:13:15 +01:00 |
|
|
5e738501dd
|
Fix bugs to align with tests
|
2023-11-29 15:59:44 +01:00 |
|
|
fdca5b7277
|
Add fmt options and move handlers
|
2023-11-29 14:49:48 +01:00 |
|
|
50bcac2a1b
|
Add log-init-function and websocket retry
|
2023-11-29 01:03:04 +01:00 |
|
|
6536ff0792
|
Add connected controllers hashmap for controller-ws
|
2023-11-28 20:20:12 +01:00 |
|
|
6459804e1f
|
Improve active handling for controllers
|
2023-11-28 00:19:15 +01:00 |
|
|
ec461a1a14
|
Refactor drop privileges method
|
2023-11-27 19:36:53 +01:00 |
|
|
7ed3a9e52d
|
Add ability to drop privileges after binding to port
|
2023-11-27 17:36:44 +01:00 |
|
|
3b596de06f
|
Add ControllerWsAction
|
2023-11-27 17:21:40 +01:00 |
|
|
cb47dcda5c
|
Add trait for db_model to model conversion
|
2023-11-27 15:09:14 +01:00 |
|