Commit graph

22 commits

Author SHA1 Message Date
6f8d63e7be
Fix bugs and add controller action for controller ws 2023-12-05 16:11:40 +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
c8f40284ef
Add feature to import missing schedules 2023-11-30 02:40:28 +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
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
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
8dab4b9a50
Improve database errors (NotFound -> Option) 2023-11-27 13:33:04 +01:00
be7f31906c
Refactor models names 2023-11-27 12:49:40 +01:00
734f8b291c
Add WIP relays to database and api 2023-11-26 00:54:03 +01:00
4e3df272c3
Add self-creation for controller 2023-11-25 00:39:44 +01:00
d193000aec
Add controller to database 2023-11-24 22:45:44 +01:00
32c75ad73a
Add WIP websocket to controller and refactor settings 2023-11-23 19:44:54 +01:00
ee68405874
Add settings and constants 2023-11-23 03:36:14 +01:00
d5583e86bc Apply small fixes and prepare emgauwa-controller 2023-11-22 23:40:32 +01:00