Commit Graph

81 Commits

Author SHA1 Message Date
Gregor Reitzenstein
8442a3d29d Slowly getting there 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
743de370ab Silences the dead cap'n proto code warnings 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
62e1e9276f Splits off MachineDB 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
7b9d3cd560 ununimpl API impl 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
4339537ec9 Make compile with tests 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
2027d9696e Make compile 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
d304ff40d4 Adds permission type 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
cd609df85f Further ideas on database restructure 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
72a9d8c639 Moves databases around a touch 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
c25983d48c Start Database restructure 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
f997c93c23 More work on the API implementation 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
87102b9f5d More Schema updates 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
91a17e6b57 Updates rsasl 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
36745683e0 Updates schema 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
691338aca7 Move signal handler away from tokio 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
ce8ba084d5 Remove in-promptu test code 2020-09-18 13:20:04 +02:00
Gregor Reitzenstein
9d7ba0eeda MachineDB dump/load 2020-09-18 13:14:24 +02:00
Gregor Reitzenstein
026aa40019 Look ma, an event network! 2020-09-18 12:34:18 +02:00
Gregor Reitzenstein
7a876a538d Status commit 2020-09-17 21:12:30 +02:00
Gregor Reitzenstein
e0c1ce868d Make Actuator trait non-async 2020-09-17 16:05:46 +02:00
Gregor Reitzenstein
173ef6d055 Ensure the task polling a shelly stream gets woken up if shelly is subscribed to something 2020-09-17 16:01:56 +02:00
Gregor Reitzenstein
33d9d76755 Cleanup 2020-09-17 15:47:41 +02:00
Gregor Reitzenstein
f4d5a70841 Actually make the shellies switch 2020-09-17 15:45:43 +02:00
Gregor Reitzenstein
4bd62216e2 Subscriber is Actuator now 2020-09-17 15:36:42 +02:00
Gregor Reitzenstein
0ea9177e14 Moves actuators to be coroutines 2020-09-17 15:34:35 +02:00
Gregor Reitzenstein
7e6748ad15 Error is not Send ¯\(ツ)/¯ 2020-09-17 14:34:57 +02:00
Gregor Reitzenstein
c943e78cc6 Move modules back to threadpool 2020-09-17 14:32:53 +02:00
Gregor Reitzenstein
267ff63016 Improves lifetimes to be more ergonomic 2020-09-17 11:57:45 +02:00
Gregor Reitzenstein
637490bd75 Add sensors registry to global registries 2020-09-17 11:46:05 +02:00
Gregor Reitzenstein
fc1480314f Adds Sensors registry 2020-09-17 11:43:55 +02:00
Gregor Reitzenstein
406cebadb8 Sensor implementation draft 2020-09-17 11:20:55 +02:00
Gregor Reitzenstein
2686ea112f Refines machines 2020-09-17 10:51:51 +02:00
Gregor Reitzenstein
5bd5cd57df Using events 2020-09-17 10:18:02 +02:00
Gregor Reitzenstein
053cf5498a rustc is forgiving but I still don't like it 2020-09-17 09:10:10 +02:00
Gregor Reitzenstein
f53b4eac8e Adds an event network draft 2020-09-17 09:01:00 +02:00
Gregor Reitzenstein
9e7b18e742 Writing down ideas for event networks and their handling 2020-09-15 17:17:00 +02:00
Gregor Reitzenstein
da5452f90f Signal deduping 2020-09-15 17:04:13 +02:00
Gregor Reitzenstein
245bb7962e Status needs to impl Copy for Signal 2020-09-15 16:37:50 +02:00
Gregor Reitzenstein
ca826de5de Clarify ideas on the machine interface 2020-09-15 16:35:37 +02:00
Gregor Reitzenstein
940a5d4fe0 Make compile 2020-09-15 15:34:36 +02:00
Gregor Reitzenstein
e1c5a009ad Machines are a event transformer in a complex event networkwhile . 2020-09-15 15:29:55 +02:00
Gregor Reitzenstein
7ffa2933e5 Remove old interface 2020-09-15 14:49:22 +02:00
Gregor Reitzenstein
13e784cf7a Simple machine lmdb interface 2020-09-15 14:48:59 +02:00
Gregor Reitzenstein
4fde079986 Move MachineDB into LMDB 2020-09-15 14:41:50 +02:00
Gregor Reitzenstein
76ccddb4cb Improves access::init documentation 2020-09-15 14:34:48 +02:00
Gregor Reitzenstein
c742fb0a5d Better configuration stuff 2020-09-15 14:31:10 +02:00
Gregor Reitzenstein
ff981a768b Actuator draft that is actually implementable 2020-09-15 11:38:15 +02:00
Gregor Reitzenstein
73c24456d4 Registries draft 2020-09-14 10:37:51 +02:00
Gregor Reitzenstein
eb4e164c79 Don't fail if the dump directories already exist
e.g. because of a previous dump
2020-09-11 10:34:18 +02:00
Gregor Reitzenstein
d4ed885dc7 Implements loading of roles and users 2020-09-11 10:18:43 +02:00