Commit graph

194 commits

Author SHA1 Message Date
lenvm
c6e09c8610 update handle_inverter() to update_values(), to better reflect its function 2023-11-12 12:29:29 +01:00
lenvm
9e663fa166 split handle_can() into receive_can() and send_can() 2023-11-12 12:25:39 +01:00
lenvm
23797e7f7c reorder functions at bottom of Software.ino, to reflect order in main 2023-11-12 12:15:32 +01:00
Daniel
8c88352c5f Rewrite max/min voltage to save memory 2023-11-11 22:47:48 +02:00
lenvm
6500d2aa76 move files to directories where they belong to 2023-11-11 14:28:51 +01:00
lenvm
e1c84e32f4 update name of ESP32 CAN library from ThomasBarth-ESP32-CAN-Driver to miwagner-ESP32-Arduino-CAN
- this change is implemented as the README.md file states that the miwagner/ESP32-Arduino-CAN is used in a slightly modified form
2023-11-11 13:45:46 +01:00
lenvm
1ae7d51ea9
Merge pull request #84 from lenvm/feature/github-action-compile-hardware-combinations
Add GitHub Actions to compile all hardware combinations
2023-11-10 21:56:13 +01:00
Daniel
c99a2984f1 Remove unused value from USB print 2023-11-10 22:45:36 +02:00
Daniel
a98a25bc19 Change timeout value for contactors 2023-11-10 22:42:25 +02:00
lenvm
3b03d27931 add workflows for GitHub Actions to compile different hardwares
- comment out all #define macros related to batteries and inverters in USER_SETTINGS.h
- remove workflow to compile arduino sketch, as the sketch does not compile without defining the #define macros
- add workflow to compile all batteries in combination with the inverter communication protocol: BYD_MODBUS
- add workflow to compile all inverter communication protocols in combination with the battery: NISSAN_LEAF_BATTERY
- add workflow to compile all combinations of batteries and inverter communication protocols. This workflow can be triggered manually.
2023-11-10 21:30:38 +01:00
lenvm
43c46bfb35 fix error in functions used for chademo battery 2023-11-10 19:23:10 +01:00
lenvm
2a8101709e fix syntax error in notification about PYLON CAN being used 2023-11-10 19:22:53 +01:00
lenvm
6b6bf57804 run clang-format for all files except libraries in this repository 2023-11-08 23:38:41 +01:00
Daniel
f9af5ba108 Remove fault blocking CAN send 2023-11-08 23:12:08 +02:00
Daniel
ea1132fb02 Add amperage restriction for BYD CAN 2023-11-08 23:09:45 +02:00
Daniel Öster
3e5f72f6f9
Merge pull request #80 from lenvm/feature/naming-consistency
Update file naming and macro naming for consistency, add missing notifications for PYLON_CAN and CHADEMO_BATTERY
2023-11-08 22:53:42 +02:00
lenvm
a2aaadfc1d add macros to inform user if CHADEMO battery or PYLON inverter is used 2023-11-07 23:37:26 +01:00
lenvm
f7eee59ef6 reorder macros alphabetically 2023-11-07 23:37:24 +01:00
lenvm
4607fa9e25 rename filenames and macros such that they are consistent 2023-11-07 23:18:30 +01:00
Daniel
fafb08f9d7 Uncomment constantly active debug 2023-11-07 18:27:10 +02:00
Daniel
6abaedfb01 Add LFP voltage limit support 2023-11-07 18:27:09 +02:00
Daniel
7c117915e2 Add Tesla errors from 0x3AA message 2023-11-07 18:27:09 +02:00
Daniel
ce12ebe3d7 SOC% real now visible in log 2023-11-07 18:27:09 +02:00
lenvm
3d0a1c4185 reorder includes 2023-11-06 21:15:12 +01:00
lenvm
606f49d548 add devboard folder 2023-11-06 21:15:06 +01:00
lenvm
8a1d3c1da5 add lib/eModbus-eModbus 2023-11-06 21:02:50 +01:00
lenvm
86decfbc51 add lib/pierremolinaro-acan2515 2023-11-06 21:02:50 +01:00
lenvm
ead4b805e2 add lib/ThomasBarth-ESP32-CAN-Driver 2023-11-06 21:02:47 +01:00
lenvm
2118ab4d75 add lib/adafruit-Adafruit_NeoPixel 2023-11-06 20:38:59 +01:00
lenvm
fc0c71975d add inverter folder 2023-11-06 20:38:57 +01:00
lenvm
a3583b6897 add battery folder 2023-11-06 20:25:44 +01:00
Daniel
b8cdff88ee Bare minimum Sofar CAN implemented 2023-11-05 18:32:19 +02:00
Daniel
dd1efb8405 Add skeleton for SOFAR can 2023-10-25 23:46:41 +03:00
Daniel
aeef5b3f83 Add ID ending with 1 2023-10-25 22:33:56 +03:00
Daniel
56cdca30e6 Merge branch 'main' into modbus-luna2000 2023-10-25 10:38:01 +03:00
Daniel Öster
44f0587573
Merge pull request #71 from dalathegreat/imiev-fixes
Imiev fixes
2023-10-24 19:47:50 +03:00
Daniel
3ebc8a4f3d Update text 2023-10-24 19:43:47 +03:00
Daniel
df61680b8b Add warning if BMU missing 2023-10-24 19:38:51 +03:00
Daniel
634c9c95b4 Fix scalings of values 2023-10-24 19:30:31 +03:00
Daniel
38349bd955 Fix cell voltages 2023-10-24 17:15:52 +03:00
Daniel
a62aae95a1 Fix kWh identifier for BYD CAN 2023-10-22 12:46:19 +03:00
Daniel
e7629b971d Fix compilation error on Tesla 2023-10-16 13:24:23 +03:00
Daniel
12dbd662b8 Fix notes on SMA 2023-10-16 13:23:59 +03:00
Daniel
d856f6487b CAN send test 2023-10-13 20:33:32 +03:00
Daniel
00674b0678 Add Ah calculation 2023-10-12 22:53:09 +03:00
Daniel
7aa08fe248 Map more values 2023-10-12 15:28:43 +03:00
Daniel
97959b6fb9 Add correct SMA messages 2023-10-12 13:05:56 +03:00
Daniel
5f4d0324aa Add SMA skeleton 2023-10-12 10:39:27 +03:00
Daniel
9e07ec78f8 Improve debug printouts 2023-10-08 21:09:06 +03:00
Daniel
590b483fea Raise baud rate for USB to 115200 2023-10-08 21:08:44 +03:00