Commit graph

72 commits

Author SHA1 Message Date
amarofarinha
eb901da385 bugfix - ordering is oposite in events page and mqtt publish 2024-09-20 09:33:38 +01:00
amarofarinha
086c3dfa29 Optimize Event Ordering by Storing Milliseconds and Handling Rollovers 2024-09-20 02:03:49 +01:00
amarofarinha
be9d993b44 Refactor Wi-Fi management / separated from webserver logic and add support for fixed IP configuration 2024-09-18 03:07:29 +01:00
Daniel Öster
db455caaf2 Make SOC missing warning with more info 2024-09-16 15:13:15 +03:00
amarofarinha
856a0838d1 Improvement: Add Battery Pause Feature for Max Charge/Discharge Power and OTA Update Optimization 2024-09-13 15:32:54 +01:00
amarofarinha
47fa46ed4e Publish Battery Emulator Events to MQTT 2024-09-04 19:49:48 +01:00
Daniel Öster
9dcc16e99c Remove EEPROM writing 2024-09-02 22:26:52 +03:00
Daniel Öster
d8b91eb34e Add event for using missing interface 2024-08-06 10:57:56 +03:00
Daniel Öster
12ec967e5d Safety tweaks for double battery 2024-07-11 19:09:21 +03:00
Daniel Öster
1f295871b9 Merge branch 'main' into feature/double-battery 2024-07-11 12:29:21 +03:00
Daniel Öster
965fbb906a Add more CAN mappings and events 2024-07-08 13:08:12 +03:00
Daniel Öster
2c434624c6
Feature: Post reset reason as Event (#335)
* Add event for all reset reasons

---------

Co-authored-by: Cabooman <81711263+Cabooman@users.noreply.github.com>
2024-06-05 23:11:06 +03:00
Daniel Öster
46267445c0
Merge branch 'main' into feature/modbus-write-event 2024-05-26 22:00:14 +03:00
Daniel
a8963bf551 Rewording and compile fix 2024-05-20 23:59:39 +03:00
Daniel
170ba8f5bb Add inverter exceeding limits event 2024-05-20 23:43:56 +03:00
Daniel
841c144ff6 Add common under/over-voltage event 2024-05-15 21:05:27 +03:00
Daniel
ca573d19e3 Add event for missing modbus comm 2024-05-14 23:12:33 +03:00
Daniel
f6f12652d6 Add safety file, move out safety checks 2024-05-13 19:45:56 +03:00
Cabooman
7d53705599 Consistent library naming 2024-04-30 21:13:39 +02:00
Cabooman
df17c49578
Merge pull request #272 from dalathegreat/improvement/event-uptimestamp
Improvement/event uptimestamp
2024-04-27 12:58:14 +02:00
Cabooman
7d11a7d4ed Getting comfy with uptime, new event timestamp done and tested 2024-04-26 23:07:33 +02:00
Cabooman
cee1e11bff Pre-commit 2024-04-26 21:53:16 +02:00
Cabooman
6943963907 Move uptime update, use uptime for event timestamp 2024-04-26 21:48:13 +02:00
Daniel
b141161d9a Add Event when automatic contactor opening happens 2024-04-26 22:26:04 +03:00
Daniel
27304e536c Update comment on HVIL 2024-04-23 23:01:08 +03:00
Daniel
605cdcc8ab Add more events for i3 to aid troubleshooting 2024-04-23 22:53:11 +03:00
Daniel
997866ef8c Tweak logic for contactor closing 2024-04-20 21:45:41 +03:00
Daniel
f83bbc35eb Minimum viable product for double battery 2024-04-20 20:39:59 +03:00
Cabooman
0fee07313a
Data layer introduction (#254)
* Active power, SOH

* Total and remaining capacity

* pre-commit, baby!

* Typo

* pre-commit wrestling

* Temp min/max

* Voltage and current

* Min/max design voltage

* BMS status, max charge/discharge, cell min/max

* BMS status cleanup

* Pre-commit, we meet again

* Cell voltages and minor fixes

* Cell number

* SOC

* Missed a spot

* Event handling moved, Wh bugs fixed, time measurements improved

* Pre-commit, old friend...

* Battery chemistry

* Update TESLA-MODEL-3-BATTERY.cpp

* Total capacity/Wh max, soem default values

* Good ol' pre-comm

* Some prio/core cleanup, docs...

* Contactor closing variables

* Max charge/discharge amps

* Data layer variable documentation

* USER_SETTINGS comments

* Charger comment

* Update datalayer.h
2024-04-15 22:26:10 +02:00
Daniel
e61956372f Fix TODOs by adding new events for LEAF 2024-04-15 21:58:49 +03:00
Cabooman
ffa7a54f20
Refactoring: Scalability and performance (#252)
Refactoring v5.7 step 1
2024-04-14 14:41:01 +02:00
Daniel Öster
63371c8b60
Feature: CAN-FD + EGMP batteries! (#244)
* ACAN2517FD lib addition, integrate support for canfd, and add initial EGMP battery capability
2024-04-08 20:45:14 +03:00
Daniel
0c984d906e Wrap usb events in ifdef to reduce cpu usage 2024-03-27 21:18:12 +02:00
Daniel
1d8fc7f0c9 Make inv-cont-open info, add CAN restart 2024-03-17 22:37:29 +02:00
Cabooman
8a12a55bb7 Minor events update on the fly
Updated some comments and the location of the magic EEPROM event log number
2024-02-26 08:17:37 +01:00
Daniel
3783a2ddf2 Add event for Solax requesting contactor open 2024-02-19 17:44:26 +02:00
Daniel
032a0d75ee Rewrite part 1 2024-02-19 00:44:04 +02:00
Cabooman
6f33d5121c Merge branch 'main' into bugfix/ota-improvement 2024-02-16 19:20:04 +01:00
Daniel Öster
a238c8b925
Merge pull request #177 from dalathegreat/feature/leaf-events
Bugfix: Clear battery events properly
2024-02-13 22:26:49 +02:00
Daniel
cc0d4ea4bf Event clearning added, LEAF safety improved 2024-02-12 23:18:06 +02:00
Daniel
362824f944 Add info messages. Fix CAN recovery 2024-02-12 22:58:52 +02:00
Cabooman
dfae055f04 Clear before Set 2024-02-12 21:29:36 +01:00
Cabooman
6589872b30 Polishing the EEPROM handling 2024-02-12 21:15:27 +01:00
Cabooman
db1e679044 Initial commit 2024-02-12 20:16:39 +01:00
Cabooman
09db1513f1 Added a TX error for CAN comms 2024-02-12 16:11:46 +01:00
Cabooman
a561e185fb Mostly documentation 2024-02-12 09:05:53 +01:00
Cabooman
9636492bef Re-enable a print 2024-02-12 01:58:52 +01:00
Cabooman
1e0740fd27 15 minuter timer for EE write 2024-02-12 01:49:09 +01:00
Cabooman
d12fe99e8e Preparing for the unit testing of events 2024-02-12 01:42:35 +01:00
Cabooman
3dfbf7b436 Event logging in EEPROM, for now 2024-02-12 01:17:00 +01:00