Commit graph

2694 commits

Author SHA1 Message Date
Daniel Öster
44efc43251
Merge pull request #303 from smaresca/smaresca/integrate-SimpleISA
Add SimpleISA library for use in measuring current/voltage
2024-05-16 21:20:31 +03:00
Daniel Öster
3b38c4b2b4
Merge pull request #301 from dalathegreat/feature/safety-cpp
New feature: Safety.cpp
2024-05-16 10:25:54 +03:00
Daniel
841c144ff6 Add common under/over-voltage event 2024-05-15 21:05:27 +03:00
Daniel
b4773d89d8 Update comments on CAN_STILL_ALIVE 2024-05-15 20:51:48 +03:00
Daniel
ca573d19e3 Add event for missing modbus comm 2024-05-14 23:12:33 +03:00
Daniel Öster
5afdfcb735
Merge pull request #294 from smaresca/bugfix/bmw-cell-voltages
Bugfix: Fix overwritten cell voltage value
2024-05-14 14:34:30 +03:00
Steven Maresca
23c7443cb2 Add SimpleISA library for use in measuring current/voltage, lightly modified from source material to support ESP32-Arduino-CAN 2024-05-14 05:14:58 -04:00
Steven Maresca
cfdec7538b remove case 0x426 from receive_can_battery(), as it is not currently known how to trigger that response from the battery 2024-05-13 18:18:04 -04:00
Daniel
ca9322aa81 Make CAN alive define instead of magic number 2024-05-13 21:42:33 +03:00
Daniel
8fa17489c1 Final compilation error fix 2024-05-13 20:27:55 +03:00
Daniel
fb6682ad15 Fix compilation error 2024-05-13 20:25:05 +03:00
Daniel
1939157c01 Fix compilation issue 2024-05-13 20:17:03 +03:00
Daniel Öster
6afcf3bd1b
Merge pull request #297 from dalathegreat/bugfix/solax-kwh
Bugfix: Correct scaling on kWh for Solax
2024-05-13 20:16:40 +03:00
Daniel
bc81c8a1cf Fix compilation error 2024-05-13 19:48:49 +03:00
Daniel
f6f12652d6 Add safety file, move out safety checks 2024-05-13 19:45:56 +03:00
odlg
8777a99f7a
Merge pull request #299 from dalathegreat/bugfix/bmw-i3-messages
Bugfix/bmw i3 messages
2024-05-12 22:04:30 +02:00
Daniel Öster
30fb23b703
Renault Kangoo: Rescale SOC, current and power (#218)
* Rescale SOC, current and power + more testing tweaks
2024-05-12 21:45:15 +03:00
Daniel
5019c64c07 Correct scaling on kWh remaining 2024-05-12 19:52:42 +03:00
Daniel Öster
e5c408fb7c
Feature: Add configurable limit to charge/discharge on BYD Modbus (#290)
* Add configurable limit to charge/discharge BYD modbus + optimizations
2024-05-12 19:47:25 +03:00
Ole
2d8e9741d6 Formatting2 2024-05-12 17:56:59 +02:00
Ole
5b75d4a58e Formatting 2024-05-12 14:26:13 +02:00
Ole
5147616e4a Prevent making false events. 2024-05-12 14:23:14 +02:00
itpr-gwis2
7cdc7181df can fd debug to Software.ino 2024-05-06 16:50:40 +03:00
Ole
8e5448a621 Only update if above 0 2024-05-06 15:03:02 +02:00
Ole
3fe2010cd2 Use max, not avg 2024-05-06 10:53:56 +02:00
itpr-gwis2
c613643f0f pre commit 2024-05-05 20:34:32 +03:00
itpr-gwis2
b62385d0ee Add can fd debug 2024-05-05 20:18:49 +03:00
Ole
a25cea07e5 Fix formatting 2024-05-05 18:53:26 +02:00
itpr-gwis2
0fa7f7f92f Add debug functions for can fd 2024-05-05 19:53:23 +03:00
Ole
e948d01020 Fixed fetching extra data and wait until data available before setting low voltage event 2024-05-05 18:48:17 +02:00
Daniel Öster
164631a65a
Merge pull request #282 from JorgenSeemann/patch-1
Update KIA-E-GMP-BATTERY.cpp
2024-05-05 14:00:21 +03:00
Daniel Öster
b864ee0b70
Merge pull request #281 from dalathegreat/improvement/ampere-value-actual-voltage
Improvement: Make amp value based on actual voltage
2024-05-05 13:59:27 +03:00
LevinSwe
18b2b727a0
Update PYLON-CAN.cpp
- Swap Status information, charge/discharge
2024-05-04 22:14:07 +02:00
Daniel
6766a296c8 Pre-commit fix 2024-05-04 20:52:40 +03:00
LevinSwe
58730a0989
Update PYLON-CAN.cpp
- Discharge offset +30k changed to 30k-
2024-05-04 17:14:49 +02:00
LevinSwe
03c5ce53af
Update PYLON-CAN.cpp
-clang
2024-05-04 16:20:05 +02:00
LevinSwe
0e50c560d6
Update PYLON-CAN.cpp
-clang
2024-05-04 15:47:27 +02:00
LevinSwe
cca59127f6
Update PYLON-CAN.cpp
-clang
2024-05-04 15:30:29 +02:00
LevinSwe
2a7c998624
Update PYLON-CAN.cpp
clang
2024-05-04 15:07:26 +02:00
LevinSwe
36acb31629
Max charge/discharge Amps calculation
- Add byte swap of all 16bit ints
- Add max charge/discharge amps calculation
- Add status bits
2024-05-04 15:04:44 +02:00
lenvm
12f2bbb544 format according to clang-format 2024-05-04 14:10:24 +02:00
LevinSwe
7bf2667e96
LeadAcid 12volt
- LeadAcid battery start voltage = 12v, in 0 the cause yellow LED if UpdateValues are set to 1000ms
2024-05-04 12:45:57 +02:00
LevinSwe
aff21e2108
Update PYLON-CAN.cpp 2024-05-04 12:36:53 +02:00
Daniel
9311621e1f Add INVERT option to temperature bytes 2024-05-03 23:45:17 +03:00
Daniel
69993d6001 Add offset on temperature 2024-05-03 23:20:00 +03:00
Daniel
745d3c6b59 Add another temperature mapping 2024-05-03 22:37:41 +03:00
LevinSwe
5780b060bd
Update PYLON-CAN.cpp 2024-05-03 10:12:48 +02:00
LevinSwe
06694e9b01
Update PYLON-CAN.cpp 2024-05-03 09:44:53 +02:00
LevinSwe
902ee44cca
Update PYLON-CAN.cpp
Update to Dala PR #284
2024-05-03 09:41:42 +02:00
Daniel
4f6120ffe2 Add div0 safeguard 2024-05-02 23:19:16 +03:00