Commit graph

81 commits

Author SHA1 Message Date
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
0c62bf16df Add ifdefs for all prints. Remove example folders 2024-03-28 17:01:02 +02:00
Brett Christensen
2f6f166280
Update mqtt.cpp
fix SOC real in mqtt
2024-02-22 08:49:16 +11:00
Brett Christensen
ff18c2fc4a
Merge branch 'main' into mqtt-cleanup 2024-02-21 12:20:09 +11:00
Daniel
3fb362af09 Revert MQTT naming 2024-02-20 21:45:49 +02:00
Daniel
032a0d75ee Rewrite part 1 2024-02-19 00:44:04 +02:00
Brett Christensen
6985fbea49 Update mqtt.cpp 2024-02-14 21:53:44 +11:00
Brett Christensen
41b6551465 Update mqtt.cpp 2024-02-14 21:42:47 +11:00
Brett Christensen
efe5b80474 use static casting in mqtt 2024-02-14 16:34:55 +11:00
Brett Christensen
a74ae258c1 Merge branch 'main' into mqtt-cleanup 2024-02-13 18:57:54 +11:00
Brett Christensen
920786a356 add hostname to mqtt ids. Use arduinojson library 2024-02-13 18:40:53 +11:00
Cabooman
760fc8a60d ffs 2024-02-12 10:12:35 +01:00
Cabooman
7702774af6 Update mqtt.cpp 2024-02-12 09:44:28 +01:00
Cabooman
fe0502e66f Cell voltage min/max decimal fix 2024-02-12 09:42:49 +01:00
Brett Christensen
d3300f3dfa fix battery voltage and current 2024-02-10 17:19:05 +11:00
Brett Christensen
711aeded0c precommit fixes 2024-02-09 16:33:48 +11:00
Brett Christensen
dff9788b96 well I hope this fixes the build 2024-02-09 16:25:20 +11:00
Brett Christensen
8e38e8562f fix mqtt auto 2024-02-09 14:12:11 +11:00
Brett Christensen
9f68296f5f fixing autoconfig 2024-02-09 10:55:49 +11:00
Brett Christensen
91c7a001cc publish common info autoconfig 2024-02-09 08:58:45 +11:00
Cabooman
ba2f1c6561 Removed battery specific MQTT data 2024-02-03 23:57:11 +01:00
Cabooman
3747a468c5 Pre-commit 2024-02-03 22:35:07 +01:00
Cabooman
5fef88504c Pre-commit 2024-02-03 22:31:18 +01:00
Cabooman
13bfdcc33b Centralizations and mods for it 2024-02-03 22:27:25 +01:00
Cabooman
c31c53e856 Changes after review comments 2024-02-03 19:11:43 +01:00
Cabooman
8f00633563 Discovery+comments 2024-02-02 13:29:10 +01:00
Cabooman
12b83e7605 Pre-commit 2024-02-01 22:29:30 +01:00
Cabooman
620db2cc33 Wrapping up the POC
Increased the msg buffer to allow cell voltages to be transmitted (at least Leaf). Tested OK
2024-02-01 22:25:21 +01:00
Cabooman
527bc19649 Some precommit fixes 2024-01-30 09:18:03 +01:00
Cabooman
957a91e55e Loop function added, generic timer added, message buffer increased (you never know) 2024-01-30 07:36:43 +01:00
Cabooman
bf37f655df Iniital commit 2024-01-29 22:39:51 +01:00