Commit graph

462 commits

Author SHA1 Message Date
Matt Holmes
d9167c3cc7 Moving mqtt loop to new task with lower priority than wifi and http to limit impact of mqtt load on wifi and http performance. 2025-03-09 18:33:14 +00:00
Daniel Öster
a50a20ca1c
Update Software.ino 2025-03-07 21:05:26 +02:00
Daniel Öster
a0c336879d
Update Software.ino 2025-03-07 20:57:04 +02:00
Daniel Öster
51b0e80132 Move millis() check into datalayer 2025-03-06 22:45:42 +02:00
Daniel Öster
873c5e249e Remove loop, simplify events section 2025-03-06 21:59:48 +02:00
Daniel Öster
d6e191bd7b
Update Software.ino 2025-03-04 21:27:54 +02:00
Daniel Öster
bee8b4dc95
Update Software.ino 2025-03-04 20:50:57 +02:00
Daniel Öster
2c0e5be5da Remove serial-link (double LilyGo) as an option 2025-03-04 10:15:15 +02:00
laughingguffly
6d5e25ff04 Merge branch 'main' of https://github.com/laughingguffly/Battery-Emulator into feature/bms_reset_at_with_ntp 2025-02-14 23:09:02 +00:00
Daniel Öster
77fb9d6b26
Update Software.ino 2025-02-15 00:19:11 +02:00
Daniel Öster
8b3b282a27
Update Software.ino 2025-02-14 23:36:32 +02:00
Daniel Öster
6012619869 Move back Wifi/logging tasks, so they can log properly 2025-02-14 17:37:45 +02:00
Daniel Öster
e6d53d6df5 Enable task watchdogs 2025-02-14 17:26:55 +02:00
Daniel Öster
8ecea1c309
Feature: Add charging/discharging limiting reason to Webserver (#874)
* Add limiting reason to Webserver

* Add info if settings limit charge/discharge power
2025-02-13 20:06:18 +01:00
Daniel Öster
641356622e
Merge pull request #857 from M4GNV5/feat/daly-rs485
New Battery: Daly SmartBMS Support
2025-02-12 17:49:55 +03:00
mvgalen
fe5541a639 Merge remote-tracking branch 'origin/main' into feature/automatic-precharge 2025-02-11 16:11:21 +01:00
mvgalen
c07aa7f950 Events should be initialised before everything that can generate an event. 2025-02-11 16:07:40 +01:00
Daniel Öster
fee857f2ab
Update Software.ino 2025-02-09 12:15:52 +02:00
Daniel Öster
56d5d1efab
Update Software.ino 2025-02-09 12:07:55 +02:00
laughingguffly
e84f73709d merge with main branch 2025-02-08 21:39:34 +00:00
laughingguffly
b75d5fb20f add PERIODIC BMS RESET Events 2025-02-08 14:40:09 +00:00
laughingguffly
c4eae97cda add BMS RESET event 2025-02-07 20:43:12 +00:00
Jakob Löw
5de2af3bdf
🚧 initial version of talking to DALY BMS via RS485 2025-02-05 08:58:36 +01:00
laughingguffly
401a4eb90c bms reset at 2025-02-03 21:29:43 +00:00
Daniel Öster
21bcf3cf00
Update Software.ino 2025-02-03 22:08:20 +02:00
laughingguffly
e3aa09a0a1 include ntp_time only on for bmsresetat 2025-02-03 14:16:32 +00:00
laughingguffly
e064a04a52 set the bmsResetTimeOffset intial value. This ensures bms reset will fall back to just resetting 24 hours after emulator starts if NTP fails or user doesnt set BMS-RESET-AT 2025-02-03 12:46:08 +00:00
Daniel Öster
2939944d50
Update version number for release 2025-02-02 13:56:42 +03:00
Daniel Öster
49d2bffe11
Update Software.ino to signal dev 2025-01-26 12:31:16 +02:00
Daniel Öster
759cfcf0bf
Update software version number 2025-01-26 09:47:51 +02:00
Daniel Öster
ffe583d551
Move global charger variables to datalayer (#810) 2025-01-21 09:09:03 +01:00
Daniel Öster
f0dfa67dde
Update version number to signal dev 2025-01-19 16:40:38 +03:00
Daniel Öster
a6a0f8219c
Update version number for release 2025-01-19 16:11:36 +03:00
mvgalen
9410b8732b Changes due to review comments
- Split bms_status (system status) to real_bms_status (bms status)
- Put #ifdef DEBUG_LOG around all log calls.
- Do not update bms_status (system status) directly, fire event instead from automatic precharge control
- Add Battery BMS status to webserver for MEB battery type only
2025-01-14 22:26:31 +01:00
mvgalen
fbd9fe6900 Merge remote-tracking branch 'origin/main' into feature/automatic-precharge 2025-01-14 08:40:24 +01:00
Daniel Öster
0a31337334 Move Battery2 power calculation outside SOC scaling function 2025-01-12 12:06:02 +02:00
Daniel Öster
7fadcdfbdb
Update Software.ino 2025-01-10 17:41:30 +02:00
Daniel Öster
ef3ab5c6c7
Update version number for release 2025-01-10 16:44:44 +02:00
Daniel Öster
81cf36fee4
Update version number for release 2025-01-10 16:44:26 +02:00
Daniel Öster
d14af30028 Remove unreachable RGB function 2025-01-08 18:57:59 +02:00
mvgalen
76695dad1c Fix code formatting. 2025-01-05 11:48:34 +01:00
mvgalen
af296ac88a Move logging of version/data/time to setup()
Move logging of version/data/time to setup() to ensure it is also printed to serial.
2025-01-05 11:48:28 +01:00
mvgalen
54d96a6339 Fix code formatting. 2025-01-04 22:34:20 +01:00
mvgalen
f47f5ca9d3 Move logging of version/data/time to setup()
Move logging of version/data/time to setup() to ensure it is also printed to serial.
2025-01-04 22:29:46 +01:00
mvgalen
dccfca17ea Add Automatic Precharge Control for modified HIA4V1 boards 2025-01-02 21:58:24 +01:00
Matt Holmes
f138f97905
Adding feature to log to SD Card (#708)
* Adding feature to log to SD Card

Co-authored-by: mvgalen <marijnvangalen@gmail.com>
2025-01-02 21:46:10 +02:00
Daniel Öster
850031ccf9
Update version number to signal dev 2025-01-02 13:22:23 +02:00
Daniel Öster
3bfac77fb0
Update version number for release 2025-01-02 12:37:46 +02:00
rha
3d5f03823f merge 2025-01-01 16:35:10 +02:00
lenvm
0b096010c1 reword functions in CAN communication 2024-12-29 18:30:10 +01:00