Commit Graph
331 Commits
Author SHA1 Message Date
Adrian Kumpf 91aa7cd01e Record address of charging station 2019-04-15 22:01:41 +02:00
Adrian Kumpf 0e7f37c991 Lookup start & end addresses when closing a trip 2019-04-15 17:23:38 +02:00
Adrian Kumpf 8876f762c1 Add Addresses 2019-04-15 15:27:36 +02:00
Adrian Kumpf 129adf17a2 Start charging if charging_state is "Starting" 2019-04-15 13:32:48 +02:00
Adrian Kumpf e038415e3d Record inside temperature 2019-04-15 13:32:48 +02:00
Adrian Kumpf 426d4d28fe Publish Summary struct via PubSub 2019-04-14 15:53:22 +02:00
Adrian Kumpf 8403fd444a End trip if shift state is "P" 2019-04-13 19:38:30 +02:00
Adrian Kumpf 9f6b25d4a9 Render LiveView summary of all vehicles 2019-04-13 19:24:30 +02:00
Adrian Kumpf 3093729021 Move create_car call into Vehicles 2019-04-13 19:24:30 +02:00
Adrian Kumpf 0d9126c77f Publish state changes via Phoenix.PubSub 2019-04-13 19:24:30 +02:00
Adrian Kumpf d9d9fc62db Insert position when starting :online state 2019-04-10 12:21:06 +02:00
Adrian Kumpf a008776cb8 Unwrap Error struct 2019-04-10 11:37:31 +02:00
Adrian Kumpf 0da13ecd1b Fix start & end range determination 2019-04-09 22:25:36 +02:00
Adrian Kumpf 74b6224f37 Log updates 2019-04-08 23:17:45 +02:00
Adrian Kumpf f5b9df4be3 Explicitly suspend / resume logging 2019-04-08 21:42:46 +02:00
Adrian Kumpf a70f78d050 Leave suspend state on wake_up 2019-04-08 18:09:47 +02:00
Adrian Kumpf 665865e380 Add wake_up & suspend calls 2019-04-08 15:46:58 +02:00
Adrian Kumpf 76208a456c Rename otp app 2019-04-07 13:42:51 +02:00
Adrian Kumpf 417b32ac6d Keep charging state if suspending did not succeed 2019-04-07 13:14:40 +02:00
Adrian Kumpf cd4a9fbbb4 Test Log 2019-04-06 18:59:56 +02:00
Adrian Kumpf ee75284a1f Calculate statistics when closing a charging process 2019-04-06 12:19:29 +02:00
Adrian Kumpf ae0db5f0af Calculate statistics when closing a trip 2019-04-06 01:15:20 +02:00
Adrian Kumpf 5a887d3de7 Add additional charging information 2019-04-05 18:37:56 +02:00
Adrian Kumpf 9052196b64 Tweak state transitions 2019-04-04 22:53:02 +02:00
Adrian Kumpf 7c25138e74 Support multiple cars & overhaul table structure 2019-04-04 22:13:33 +02:00
Adrian Kumpf f87af0877c Implement vehicle state machine 2019-04-04 15:13:54 +02:00
Adrian Kumpf ae558567dd Create charging states 2019-04-04 15:13:54 +02:00
Adrian Kumpf 9f8c846387 Create drive states 2019-04-04 15:13:54 +02:00
Adrian Kumpf e4bc0cd9e6 Create states 2019-04-04 15:13:54 +02:00
Adrian Kumpf 282338713b Create positions 2019-04-04 15:13:54 +02:00
Adrian Kumpf 3d95859dfe Initial commit 2019-03-31 14:00:40 +02:00