Commit graph

250 commits

Author SHA1 Message Date
06595b54a2 Remove iginition detection because not working too 2022-04-21 19:48:26 +02:00
c440602ada Debug hood detection 2022-04-21 19:46:23 +02:00
304d2219fe Fix charge power calculation and add pf measurements 2022-04-21 19:45:39 +02:00
63dd1e92c8 Fix web config 2022-04-21 01:11:06 +02:00
79741acc0f Readd charge efficiency 2022-04-21 01:03:56 +02:00
214638eb9d Fix web, fix user soc 2022-04-21 00:51:04 +02:00
869138633f Add switch bedween user and lbc SOC 2022-04-21 00:15:39 +02:00
061746588f Change pollstate naming 2022-04-20 23:57:48 +02:00
6a6bffced2 Add powerfactor to charge log for debug 2022-04-20 23:53:02 +02:00
3eeddf0db4 Change charge logging 2022-04-20 23:49:17 +02:00
6300314851 Add powerfactor, testing needed 2022-04-20 23:45:03 +02:00
6195129baa Add ambient air pressure 2022-04-20 23:26:00 +02:00
a7d3c42791 Implement BMS trip energy calculation 2022-04-20 22:56:03 +02:00
ede1e57238 Add metrics for using BMS as trip energy counter 2022-04-20 21:46:05 +02:00
5b510f7c50 Fix metric namings 2022-04-20 21:36:52 +02:00
fcd3f12b5b Cleap up, remove other vehicles because I am not maintaining it 2022-04-20 21:21:34 +02:00
6f87132aee Fix batt usage calc, wrong sign 2022-04-20 07:55:28 +00:00
53e66b9547 Accidentally changed wrong file in the past 2022-04-20 07:31:39 +00:00
d4bfaff4d2 Web: remove extern variable 2022-04-20 01:18:26 +02:00
987427243c Fix complie 2022-04-20 01:16:16 +02:00
df9ac30333 Fix est calc 2022-04-20 01:08:54 +02:00
56f716bbae Add TDB reference 2022-04-20 00:46:24 +02:00
a1cd7dd61f Fix ConfigChange, Debug Est Range 2022-04-20 00:39:20 +02:00
0323fc19fe Fix web settings 2022-04-19 23:34:11 +02:00
449874caa7 Init standard metrics to supress push not. at boot up 2022-04-19 23:14:39 +02:00
bfe984bb78 Change compressor hd pressure to BAR, remove debug msg 2022-04-19 23:01:03 +02:00
86a08180e5 Optimize Pollrates 2022-04-19 22:57:33 +02:00
c7995e9bcf BCM remove debug from working PIDs
Change ignition on PID
2022-04-19 22:49:07 +02:00
262ba88322 Debug trip counter from cluster 2022-04-19 22:44:31 +02:00
1fa767a5f1 Fix energy counter 2022-04-19 22:43:20 +02:00
19106cdd89 Fix pollstates 2022-04-19 02:19:55 +02:00
313ca651b4 fix minor issues 2022-04-18 23:31:52 +02:00
9a01e75f02 Fix readouts 2022-04-18 22:42:43 +02:00
5eb8a6fbf0 Fix Estimated 2022-04-18 20:58:15 +02:00
80791a2b9b Bugfix 2022-04-18 20:48:43 +02:00
5207fec284 Add cluster trip 2022-04-18 20:26:15 +02:00
0a9eee465c Bugfixes 2022-04-18 19:21:09 +02:00
5734e81f03 Try readouts for doors 2022-04-18 17:41:15 +02:00
1ec01ca1ac Web radio button (fix needed) 2022-04-18 14:32:33 +02:00
9b189303a1 Try CAN_UINT for Key Lock 2022-04-18 13:39:11 +02:00
7b6e8e3e03 Fix TPMS readout 2022-04-18 13:25:47 +02:00
0e32024133 Add battery capacity web chooser, minor fixes, add trip counter 2022-04-18 03:13:01 +02:00
c8cbbfe5a0 Add hvac compressor PIDs 2022-04-18 02:16:56 +02:00
6a2e6dd765 Fix pollstates 2022-04-18 01:18:02 +02:00
f4c78f831e Change env_on behavior, later use CAN direct 2022-04-18 01:15:42 +02:00
3a7340ecf8 Cosmetic set 12v current to zero on shutdown 2022-04-18 01:11:40 +02:00
61e3bfbced Add lock and door states 2022-04-18 01:07:32 +02:00
aabe4897a2 Remove custom mains current metric, because StandardMetric 2022-04-18 00:37:30 +02:00
a9422155c2 Slow down battery pack polls 2022-04-18 00:33:45 +02:00
df0642b78f Implement vehicle running aka on over BCM, testing needed 2022-04-18 00:32:13 +02:00
e451ec9c79 Add TPMS alerts 2022-04-18 00:27:30 +02:00
ed04762d08 Fix cabin temp readout 2022-04-17 23:17:42 +02:00
c812cea7a5 Fix readouts 2022-04-17 14:25:03 +02:00
3350c0ff1c Disable logging BMS 2022-04-17 14:14:33 +02:00
eb00521257 Faster poll rate 2022-04-17 13:53:23 +02:00
2ac9a78008 Fix values after test run 2022-04-17 13:48:30 +02:00
dfd8158a13 Fix adress of controllers 2022-04-17 13:15:50 +02:00
cc757e4c66 Add charging statistics and efficiency 2022-04-17 11:17:54 +02:00
e3f32ce7e6 Add AC charger values 2022-04-17 10:33:20 +02:00
78388403b4 Change HVAC poll rate, fix logging BCM 2022-04-17 10:09:40 +02:00
e1b674192c Add TPMS readout 2022-04-17 10:07:38 +02:00
2685cd972a Fix device adresses 2022-04-17 10:02:49 +02:00
41d76bc136 Disable logging of raw CAN packets 2022-04-17 09:53:08 +02:00
ef2fb35e05 Add calc for battery power 2022-04-17 09:43:20 +02:00
25afba9d8f Change motor rpm from INV to EVC because
of strange values
2022-04-17 09:31:26 +02:00
1e33812c92 Change LBC battery stats for later calculations 2022-04-17 09:07:18 +02:00
1c9048a4e9 Implement charge type 2022-04-17 09:03:11 +02:00
4d94ee7bcd Implement vehicle speed 2022-04-17 08:54:24 +02:00
fdb314b2f5 Poll charge state when off, because freeframes unreliable
and important PID
2022-04-17 08:49:10 +02:00
937ea9c3ae Change cable plug behavior 2022-04-17 08:25:32 +02:00
749fe7d79a Disable logging for succesful PIDs 2022-04-17 08:21:37 +02:00
5c29f7e2e8 Fix INV power calculation 2022-04-17 08:08:25 +02:00
b1baa96d2b Fix driving by using inverter status 2022-04-17 01:22:14 +02:00
2b4d5f5294 Fix tpms, fix double phrases 2022-04-17 01:16:40 +02:00
6c5bbda6a0 TPMS implement OVMS-way 2022-04-17 01:12:01 +02:00
6da38c3b9b Add one tpms pressure sensor 2022-04-17 01:08:27 +02:00
9f993bfc4d Change charge on off behavior 2022-04-17 01:03:46 +02:00
c4bda8ee68 Remove unecessary polls 2022-04-17 00:54:10 +02:00
4b28894b3a Poll odometer, because Freeframes are unreliable 2022-04-17 00:46:34 +02:00
d483b1818f Add EVC messages for replacing Free Frames.
Change to EXTFRAME for other Devices.
2022-04-17 00:44:39 +02:00
bb6c1a04f0 Lower polling rate for debug 2022-04-17 00:21:20 +02:00
3a042c4656 Fix bms cell voltage numbering 2022-04-17 00:18:26 +02:00
02fc67a5fe Stop Poll after bootup 2022-04-17 00:02:50 +02:00
a5ce9c2d2d bms temp count 2022-04-17 00:02:03 +02:00
cf5f1572c6 Log BMS because no values shown 2022-04-16 23:34:54 +02:00
3432b69207 Change charge commands because status is showing not charging 2022-04-16 23:11:29 +02:00
e77d36e85b Fix compile errors 2022-04-16 22:34:58 +02:00
e3b9cb8883 Set ISOTP STD 2022-04-16 22:28:37 +02:00
c1dc4a5c9b Fix PIDs again 2022-04-16 22:28:00 +02:00
c6d61ebaa8 Try to read UCM with ISOTP STD 2022-04-16 22:07:54 +02:00
8cbac77377 Try to initiate Debug session to get BCM to read out 2022-04-16 21:54:07 +02:00
a3df502cad Fix EVC and INV pids. Add OBD Debug session for HVAC and UCM 2022-04-16 21:43:38 +02:00
6877d46549 Fix LBC temperatures 2022-04-16 21:32:07 +02:00
afce8ca44b Fix LBC debug messages and remove packet debug 2022-04-16 21:22:38 +02:00
7deadbd711 Fix LBC debug messages and remove packet debug 2022-04-16 21:22:20 +02:00
982f1d4e0e Fix mt_bus_awake 2022-04-16 20:40:40 +02:00
c5aa9c4d93 Log fix 2022-04-16 20:06:22 +02:00
379c0d11de Add logging of bus state because of realibility problems of car state 2022-04-16 19:55:43 +02:00
a2f5a09069 Fix startup bus activity and LBC logging 2022-04-16 19:44:44 +02:00
3fbcb7015f Fix car states 2022-04-16 16:39:31 +02:00
7418f08f6f Fix temp PIDs and BMS logging 2022-04-16 15:32:15 +02:00
7d3889fbcc Implement car on of driving charging method depending on some free frames 2022-04-16 14:41:36 +02:00
464a2e4b39 Remove bus awake from poll 2022-04-16 13:41:45 +02:00
87d2b7ef53 Fix BMS web page 2022-04-16 06:00:59 +02:00
5e37f0d2ba FIx server in Init assistant 2022-04-16 05:51:01 +02:00
cf81cf2419 Fix cert 2022-04-16 05:40:19 +02:00
91147a1cba Fix own ca and server 2022-04-16 05:18:28 +02:00
dbfdc04aac Fix PIDs and add cell voltage and temperature and BMS webpage 2022-04-16 04:51:35 +02:00
71eaf7e713 Start from scratch becaus of crashing 2022-04-15 16:17:12 +02:00
4794b21784 Clean up and restruct files 2022-04-15 00:35:23 +02:00
3aae5c16a8 Fix calculation on PIDs 2022-04-14 22:54:52 +02:00
81319297ec Fix EVC pids 2022-04-14 17:55:06 +02:00
3e086fc99b Clean up and fix inverter pids 2022-04-14 17:41:40 +02:00
d81f43481b minor fixes 2022-04-14 02:06:36 +02:00
4a36ac21e2 Set bus state to enable on bootup 2022-04-14 01:48:06 +02:00
1475aacf45 Add more pids from hvac 2022-04-14 01:38:32 +02:00
01df5e29bb Remove navigation 2022-04-14 01:11:52 +02:00
8356269dd6 Add PIDs for battery and inverter 2022-04-14 01:11:37 +02:00
f2ca6c0f18 Add units 2022-04-13 23:43:05 +02:00
6d6e4cc398 Add inverter temperature 2022-04-13 23:35:46 +02:00
17149d7b7c Fix inverter status 2022-04-13 22:47:27 +02:00
4904453b00 Fix battery statistics 2022-04-13 22:46:21 +02:00
67b8238b29 Add battery average temperature 2022-04-13 22:37:45 +02:00
0387bf2d6f Fix temperature readings, misinterpreted DDT2000 XML 2022-04-13 22:31:01 +02:00
b0f76d800b Implement Car On Off behavior 2022-04-13 22:16:04 +02:00
ac65f65172 Remove unused devices 2022-04-12 23:37:59 +02:00
66548a1e80 Fix hyphen 2022-04-12 23:36:26 +02:00
d904badf77 Correct and add more PIDs 2022-04-12 23:30:29 +02:00
9548b95ee0 Fixing PIDs 2022-04-12 22:06:20 +02:00
85356d65d9 Log format typo 2022-04-12 21:33:26 +02:00
8d9fc71f58 More debugging messages 2022-04-12 21:28:46 +02:00
087b39197b Add UCC with volume for further debugging, because not EXTFRAME request gets processed 2022-04-12 20:37:40 +02:00
2ea9645a3a Modify polltimes and throttle for easier debugging 2022-04-12 20:01:59 +02:00
418ed4be9b Log every packet in verbose 2022-04-12 19:57:30 +02:00
925f8a5163 Revert back to unit16 PID like original, misinterpreted addresses 2022-04-12 19:53:42 +02:00
b393183b4a Fix PID addresses 2022-04-12 19:19:55 +02:00
00cfe30856 Revert back to Extframe 2022-04-12 02:32:56 +02:00
0dfdbe9595 Change obd session and isotp addressing. 2022-04-12 02:21:29 +02:00
5c3623b77b Set static awake because of polling only. 2022-04-12 01:58:08 +02:00
3aae954833 Formatting fix 2022-04-12 01:43:58 +02:00
8c921e45d1 Fix typo 2022-04-12 01:42:50 +02:00
a7dba9845b Add OBD2 Extended Diag Session 2022-04-12 01:41:19 +02:00
04794f2f86 Fix compile ph2 vehicle module and speed up build by disabling other modules 2022-04-12 01:26:13 +02:00
f6c805db1a First try some PIDs 2022-04-12 00:09:57 +02:00
655176c238 Clean up 2022-04-10 20:30:54 +02:00
100a16308b Fix OTA 2022-04-09 04:39:36 +02:00
e8924e14e9 Add my ota server 2022-04-09 03:48:20 +02:00
471f4f2095 Copy PH1 module and test build 2022-04-09 01:03:19 +02:00
7ff57ca4d8 Add my own server 2022-04-06 20:29:49 +02:00
e418d3ab82 Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00