Jaakko Haakana
3789d72833
Determine double battery usage in MQTT at run-time
2025-06-01 21:15:42 +03:00
Jaakko Haakana
a7261a9f34
Publish CPU temp to MQTT
2025-05-19 08:15:25 +03:00
Matt Holmes
91238f5b68
Bugfix for mqtt memory leak
2025-05-10 21:59:14 +01:00
Marijn van Galen
07a4ad7abc
Add (dis)charged_energy_Wh to datalayer and mqtt. ( #1003 )
...
- Add (dis)charged_energy_Wh to datalayer and mqtt.
- MEB: report (dis)charged_energy_Wh
- MEB: Fix SOH calculation.
- TESLA: also use the total_(dis)charged_battery_Wh in generic datalayer.
2025-03-25 19:18:20 +01:00
Matt Holmes
15b1543555
Updating mqtt topic processing to incorrect topic matching when a shorter topic than expected is used which in some situations could cause a crash
2025-03-21 17:10:47 +00:00
Matt Holmes
6109211c96
Fixes to mqtt to prevent delays when the broker is unavailable which can trigger the watchdog timer reset
2025-03-08 08:41:54 +00:00
James Brookes
bec9b04255
Fix for compilation errors in mqtt due to HA_AUTODISCOVERY
2025-02-01 10:59:06 +00:00
James Brookes
2e31739799
Fix for compilation errors in mqtt.cpp when HA_AUTODISCOVERY is commented out
2025-01-31 17:27:05 +00:00
Matt Holmes
42b1c18d01
Adding mqtt QoS config setting with a default of 0 and updating platformio to use 3.1.1
2025-01-30 21:26:01 +00:00
Matt Holmes
fc3f5b4e31
Merge branch 'main' into feature/mqtt_library_replacement
2025-01-19 21:07:32 +00:00
wjcloudy
a84a1d6580
Add Beta BMW PHEV Support ( #804 )
...
* Add Beta BMW PHEV Support
2025-01-19 20:27:57 +02:00
No-Signal
ad80874475
Adding LWT and configuring HA availability to use it and adjusting command structure to make it easier to use
2025-01-17 18:48:48 +00:00
No-Signal
3124656668
Fixing battery 2 unique_id
2025-01-15 08:24:37 +00:00
No-Signal
602242a661
Improvements for dual battery configurations
2025-01-14 22:03:03 +00:00
No-Signal
aa7d34a555
Fixes to HA auto discovery and adding additional commands
2025-01-14 21:09:53 +00:00
No-Signal
4c90898117
Restructuring code to remove duplicates and reduce flash size
2025-01-14 21:06:25 +00:00
No-Signal
ba37177382
Replacing non maintained mqtt library with ESP-MQTT
2025-01-14 21:06:25 +00:00
No-Signal
2d97b63528
Adding ability to remotely trigger a BMS reset via MQTT
2025-01-14 21:06:25 +00:00
Matt Holmes
d2d67db844
Adding ability to remotely trigger a BMS reset via MQTT and configure Device ID for multiple emulators ( #746 )
...
* Adding ability to remotely trigger a BMS reset via MQTT
* Adding comment to remove build warning
* Enabling configuration of HA Device Id to allow for multiple battery emulators in HA without collision
2025-01-08 17:53:23 +01:00
Daniel Öster
d28c59ccfc
Merge pull request #662 from No-Signal/feature/user_secrets
...
Improvement: Moving secrets from USER_SETTINGS.cpp to platformio config
2024-12-23 15:48:30 +02:00
mvgalen
c713d0a94e
Change Serial logging to flexible logging ( #690 )
...
* Add Logging class
Add Logging class which inherits from Print class, to be able to route logging to USB Serial or to memory for display in the webpage. Adds a log webpage only visible when DEBUG_VIA_WEB is defined.
2024-12-22 22:48:35 +01:00
No-Signal
8870027d75
Moving secrets from USER_SETTINGS to USER_SECRETS.h
2024-12-21 11:12:55 +00:00
amarofarinha
683e576d99
Add Support for Double-Battery in MQTT Integration
2024-11-04 18:33:32 +00:00
amarofarinha
8def605192
Replace BMS status check with CAN communication status for MQTT updates
2024-11-03 07:49:27 +00:00
amarofarinha
89e64914a7
Remove "Battery Emulator" Prefix from MQTT Sensor Names and Standardize Cell Object IDs
2024-10-28 22:27:41 +00:00
amarofarinha
93cd2083cf
Remove all unnecessary string casts
2024-10-28 17:34:18 +00:00
amarofarinha
062e9b3c5c
pre-commit fix
2024-10-28 13:27:41 +00:00
amarofarinha
e328bfd37b
compile fixes and MQTT clientId name
2024-10-28 13:24:17 +00:00
amarofarinha
dbfb0575a0
Enhance MQTT Naming Customization for Home Assistant
2024-10-28 09:57:39 +00:00
amarofarinha
e4bced9873
add mqtt
2024-10-23 01:28:19 +01:00
amarofarinha
ced16495a0
Add scaled remaining capacity calculation
2024-10-23 01:28:00 +01:00
amarofarinha
09421057c4
code style
2024-09-28 21:21:14 +01:00
amarofarinha
2a1424c969
Compilation fix - order_events declared inside wrong #ifdef
2024-09-28 08:51:50 +01:00
amarofarinha
9983d81cac
Improve MQTT Connection Resilience and Add Event Tracking for Diagnostics
2024-09-20 17:03:20 +01:00
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
9d2a3be708
Refactor: Code cleanup and optimization
2024-09-13 22:22:57 +01:00
amarofarinha
a8010abdd9
Refactor: Code cleanup and optimization without functional changes
2024-09-13 17:57:26 +01: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
882d753b71
Added additional sensors to the MQTT info topic.
2024-09-10 21:30:10 +01:00
amarofarinha
fa880a5228
Improvements in events publication to trigger
...
state change in Home Assistant.
Changed value_template and added millis to payload
2024-09-05 14:11:16 +01:00
amarofarinha
47fa46ed4e
Publish Battery Emulator Events to MQTT
2024-09-04 19:49:48 +01:00
Paul Brand
775ee36d0b
Fixes typo
...
Adds #endif comments
2024-08-28 08:46:30 +02:00
Paul Brand
ddb0623983
Adds even more code to HA_AUTODISCOVERY setting
...
Removes unused variable
2024-08-27 22:24:24 +02:00
Paul Brand
feb726162f
Adds more code to HA_AUTODISCOVERY setting
2024-08-27 22:16:03 +02:00
Paul Brand
ce93284b51
Adds user setting for Home Assistant autodiscovery
2024-08-27 13:47:33 +02:00
Frank Spijkerman
897b4e7184
Removed MQTT subscription functionality
2024-06-26 17:29:56 +02:00
amarofarinha
41e7802ff3
code formating issues
2024-05-26 20:29:39 +01:00
amarofarinha
0fd1d3d113
code formating issues
2024-05-26 18:09:05 +01:00
amarofarinha
064ff27ea7
Prevent MQTT to publish cell voltage values before they are populated
...
In addition to checking the value of the variable number_of_cells, we also test the value of the last cell, as the value of the cells can be filled some time after initializing the number of cells. This test was also added before publishing the values cell_max_voltage and cell_min_voltage since they are calculated from the cell data.
2024-05-26 15:17:00 +01:00