Commit graph

164 commits

Author SHA1 Message Date
Daniel
f22e0fa285 Fix typo in header 2023-09-14 13:33:25 +03:00
Daniel
eeefd20970 Rewrite with central user settings file 2023-09-14 13:23:15 +03:00
Daniel Öster
120fa9b5e7
Update TESLA-MODEL-3-BATTERY.cpp
Fix sending of 221 message
2023-09-13 21:23:20 +03:00
Daniel Öster
aa5111804c
Fix overflow in max charge power
The if/if/else did not prevent overflows, this fixes the max target charge power going over 70 000 W
2023-08-28 16:09:22 +03:00
Daniel
325ef0039f Fix compilation error 2023-08-28 00:18:44 +03:00
Daniel
188812a565 Fix multiple defines, add ACAN locally 2023-08-27 22:47:11 +03:00
Daniel
284c32cda8 Catch polled temp anomalies 2023-08-27 22:03:12 +03:00
Daniel
3224876f1c Safer calculation of SOC, and logging 2023-08-27 21:51:36 +03:00
Daniel
aefc451586 Change types for defines 2023-08-27 21:37:56 +03:00
Daniel
1c2aeca73b Crude fix for define not seen 2023-08-27 14:16:08 +03:00
Daniel
43e39e6b95 Fix define 2023-08-27 12:52:50 +03:00
Daniel
98fd24892b Fix compilation issue 2023-08-27 12:49:22 +03:00
Daniel
f9ca90b20e Refactor for merge to main 2023-08-27 12:33:12 +03:00
Daniel
961e33033e Restore .h from main 2023-08-27 11:17:32 +03:00
rjsc
de36a34be8
Merge pull request #53 from dalathegreat/main
Telsa Model 3 Battery update
2023-08-21 10:19:57 +01:00
Daniel
fa4ec899ee Add serialprint about HVIL 2023-08-20 23:07:40 +03:00
Daniel
61c4a26aff Add HVIL omitting. Improve logs 2023-08-20 21:17:21 +03:00
rjsc
8497537b25
Update SOLAX-CAN.cpp 2023-08-19 00:11:33 +01:00
rjsc
2177acb5c2
Update NISSAN-LEAF-BATTERY.h 2023-08-19 00:08:18 +01:00
rjsc
12a4bcf82e
Update NISSAN-LEAF-BATTERY.h
SoC limits back in sync with main branch.
2023-08-19 00:05:12 +01:00
Daniel
7f91c449a3 Rewrite to separate modbus from .ino 2023-08-19 00:29:55 +03:00
RJSC
2a8db9dff8 * Fixed contactor PWM pins initialization
* Nissan Leaf Battery limits changed to SoC between 6% and 96% as it is used in the car
2023-08-16 23:11:38 +01:00
rjsc
beaeddcbe9
Merge pull request #49 from dalathegreat/main
Add timeout to CAN write to prevent crashing
2023-08-16 22:31:51 +01:00
Daniel
7025811c6e Add timeout to CAN write to prevent crashing 2023-08-16 23:55:28 +03:00
rjsc
233e7c741d
Merge pull request #47 from dalathegreat/main
Modbus active only when needed
2023-08-16 00:49:41 +01:00
Daniel
a453ed60f9 Add ifdefs for modbus server 2023-08-15 23:21:21 +03:00
RJSC
452a9ab439 - Added support for Dual CAN Bus Using MCP2515
- Added support for PWM on the contactors
- Added contactor on/off conrol from the inverter
- Moved #defines from Software.ino.ino to config.h to be able to use #ifdefs in SolAX-CAN.cpp
Author identity unknown
2023-08-15 20:18:05 +01:00
Daniel
33192768b4 Add decimal to LB_Current 2023-08-14 18:38:34 +03:00
Daniel Öster
12f8080862
Merge pull request #43 from dalathegreat/leaf-current-sensor
Leaf current sensor branch merged
2023-08-13 23:03:11 +03:00
Daniel
54ba616a8f Revert AZE0 back to 5C0 value 2023-08-13 22:50:07 +03:00
Daniel
2b43ea2eb8 Rewrite so ZE0 doesn't need polled tempvalue 2023-08-13 22:29:26 +03:00
Daniel
f57d407b81 Add rawtemp to F/C mapping 2023-08-13 22:03:38 +03:00
Daniel
fb7246ac13 Add inverterAllowsContactorClosing parameter 2023-08-05 11:37:31 +03:00
Daniel
b71f01053f Rewrite LED control. Add mV diff yellow 2023-08-04 23:09:54 +03:00
Daniel
022aae7ffa Initialize group poll to 1 2023-08-04 22:32:01 +03:00
Daniel
ad456ba342 Fix charge power mapping 2023-08-03 22:53:33 +03:00
Daniel
d057b18a12 Improve formatting. Remove group3 poll 2023-08-03 22:48:51 +03:00
Daniel
b373a15ea1 Add BMW i3 CAN mappings from DBC 2023-08-02 22:21:06 +03:00
Daniel
5bbc1669cb Add CAN sending logic for i3 batteries 2023-08-02 19:28:32 +03:00
Daniel
4ff907b4a8 Add skeleton for i3 battery 2023-08-02 19:06:48 +03:00
Daniel
04cd60ba79 Improve logging for LEAF 2023-08-02 18:56:35 +03:00
Daniel
4f466b531b Add function to handle min/max polled temp 2023-08-01 22:55:37 +03:00
Daniel
9f79d84c2f Add skeleton for KiaHyundai 64kWh 2023-07-31 00:45:35 +03:00
Daniel
6d27acb191 Add polling for more 7BB groups 2023-07-30 23:25:44 +03:00
Daniel
f0ee09a003 Add BYD inverter messages 2023-07-30 20:07:48 +03:00
Daniel
447ec5f0c1 Fix charge/discharge location 2023-07-30 19:59:08 +03:00
Daniel
873937133c Add initial imiev support 2023-07-28 00:16:56 +03:00
Daniel
bcab705c46 Add Blue LED state for CAN errors 2023-07-26 20:52:32 +03:00
Daniel
af7157e403 Rewrite error handling to stop sending CAN 2023-07-26 14:52:42 +03:00
Daniel
e2cec23017 Fix compilation error 2023-07-26 11:28:49 +03:00