431 Commits

Author SHA1 Message Date
Thomas Basler
9245cb8704 Feature: Allow setting of power limit on new firmware versions for HMS inverters
See #2784
2025-08-26 17:03:40 +02:00
Thomas Basler
db3f1c0e78 Remove comment which doesn't make sense at this posistion 2025-08-23 10:37:50 +02:00
Thomas Basler
8cab3335f3 BREAKING CHANGE: WebAPI endpoint /api/limit/config requires different parameters
Due to the fact that different inverters require different type identifiers in the backend the `limit_type` parameter was changed to numbers from 0 to 3.
* AbsolutNonPersistent = 0
* RelativNonPersistent = 1
* AbsolutPersistent = 2
* RelativPersistent = 3
2025-08-07 20:44:45 +02:00
Thomas Basler
6bcaf676b8 Merge branch 'pr2675' into dev 2025-07-08 20:30:07 +02:00
Thomas Basler
c3b73877ce Add serial number prefix 114a to HMS_2CH
Fixes #2741
2025-06-26 22:55:09 +02:00
Fabian Hassel
64493b7775 Fix: Corrected typo in string 2025-05-12 22:16:01 +02:00
Thomas Basler
cfe78f7700 Fix: Allow negative reactive power for inverters..
Fix #2091
2025-05-04 16:26:54 +02:00
Thomas Basler
a397f57f90 CPU temperature: make boolean value human-readable in serial log 2025-05-04 16:26:27 +02:00
Thomas Basler
3eaff7e45c Use ESP Logging Macros for hoymiles library 2025-05-04 16:17:24 +02:00
Thomas Basler
8372deaf7c BREAKING CHANGE: Logging newline changed from "\r\n" to "\n" 2025-05-04 16:17:23 +02:00
Thomas Basler
8fa23bcca7 Use same name for CMT debug messages 2025-05-04 16:17:23 +02:00
Thomas Basler
935ef6fcd1 Fix: Prevent unpredicted behavior on overflows of millis() 2025-05-04 16:17:23 +02:00
Thomas Basler
86e5aa1576 Hoymiles Lib: Return command string directly instead of printing it to a stream 2025-04-18 11:00:13 +02:00
Thomas Basler
613f8ab5a6 Hoymiles Lib: Use pre-rendered serial number 2025-04-18 11:00:13 +02:00
Thomas Basler
e71796d451 Hoymiles Lib: Move array dumping methods in separate method 2025-04-18 11:00:13 +02:00
Thomas Basler
cb1ecd812c Hoymiles Lib: Replace lot of println by printf 2025-04-18 11:00:13 +02:00
Thomas Basler
542e755c64 Remove not required parameters from MqttSubscribeParser
index and total are only required to handle different payload fragments. This is not done here. In a further step, the correct fragment handling will be implemented outside this library.
2025-04-09 19:36:46 +02:00
Thomas Basler
1f3f275689 Use correct signature for getMaxResendCount 2025-04-09 18:48:09 +02:00
Thomas Basler
7e056ad3f9 Use the right format string on a lot of locations
This helps for a future support of arduino framework 3
2025-04-09 18:33:47 +02:00
Thomas Basler
51b676be2f Fix lint errors 2025-04-02 18:15:29 +02:00
Thomas Basler
643dff1c5a Simplify code in radio classes 2025-03-31 19:25:02 +02:00
Thomas Basler
93e4ca8092 Call getLocalTime() only once to prevent a delay of 10ms if no time is available 2025-03-29 18:15:22 +01:00
Thomas Basler
192484ff28 Reduce nested code by one level 2025-03-29 16:55:47 +01:00
Thomas Basler
615f1448de Less calculation in locked code area 2025-03-22 14:51:36 +01:00
Thomas Basler
a17cf532d4 Simplify code of weekday calculation 2025-03-22 14:45:51 +01:00
Thomas Basler
3e22669031 Simiplify code for CommandQueue 2025-03-22 14:43:00 +01:00
Bernhard Kirchen
0b798056f3 Fix: disable temperature readings for ESP32-S3
reading the temperature is flawed and leads to unexpected reboots, which
we observed more and more often recently. since the user experience is
trash if the module resets unexpectedly from time to time, it seems to
be more important to prevent reboots where ever possible rather than
keeping the temperature readings.

closes #1708.
2025-03-18 20:07:02 +01:00
Thomas Basler
e7e607ce6f Apply automatic code formatting 2025-02-07 22:57:01 +01:00
Thomas Basler
04aaa0fb5a Merge branch 'pr2513' 2025-01-24 21:08:49 +01:00
Mathieu Carbou
f01dd7c4bf fix: Make sure limit values sre consistent and not above 100%
Ref: https://github.com/tbnobody/OpenDTU/issues/25
2025-01-24 20:52:22 +01:00
Thomas Basler
08eede0f55 Feature: Add prefix 1420 to HMS-4 channel inverters 2025-01-18 23:40:42 +01:00
Thomas Basler
ebf4e921ee Merge branch 'pr2420' into dev 2025-01-14 18:38:23 +01:00
Thomas Basler
87772cb76b Feature: Add support for HERF-600 inverters
Fixes #2492
2025-01-08 17:52:33 +01:00
Thomas Basler
a0e6942537 Feature: Detect if inverter supports 'Power Distribution Logic'
The detection of 'Power Distribution Logic' is based on the firmware version for specific models and is needed to disable any means of overscaling, as it simply does not work when 'Power Distrbution Logic' is available.

Based on the code from @AndreasBoehm
2024-12-31 16:08:37 +01:00
Thomas Basler
c37397acca Fix lint errors 2024-12-30 00:16:14 +01:00
Thomas Basler
498afe377b Remove extra semikolon 2024-12-30 00:06:08 +01:00
Thomas Basler
5265c6281f Feature: Set Limit transfer only to "OK" if the queue does not contain any more commands 2024-12-15 20:45:32 +01:00
Thomas Basler
8acae28c59 Feature: New handling of command queue
Goal of this change is to  prevent a overflow in the command queue by flooding it with MQTT commands and therefor also prevent  the reading of the inverter data.

To achieve this it is now possible to specify a insert type for each  queue element.
2024-12-15 20:45:32 +01:00
Thomas Basler
2edec642fb Fix: Remove temperature readings for ESP32-S2 modules
For some reasons this leads to WDT resets on this kind of module.
This is just a workaround until another solution is found.
2024-12-14 12:36:50 +01:00
Thomas Basler
a75543c309 Feature:: Added support for HMS-450 inverters which begin with 1400 2024-12-02 22:45:50 +01:00
stefan123t
680863fb00 Update README.md 2024-11-20 08:02:07 +01:00
stefan123t
8297591853 change markdown table to github style 2024-11-20 08:00:26 +01:00
Thomas Basler
4594bcb23e Feature: Added device info for HMS-700 2024-10-26 14:51:03 +02:00
Thomas Basler
bcf4b70dc9 Fix: cpplint errors 2024-10-15 19:11:17 +02:00
LennartF22
9ee947e9b0 Hotfix to not use DMA on SPI3 of ESP32-S2
See issue #2343.
2024-10-10 02:06:51 +02:00
Thomas Basler
2659204d96 Initialize the last rssi value with -127 instead of 0 to indicate a non existing connection of no data was received yet 2024-10-06 11:08:10 +02:00
Thomas Basler
8f4b89a193 Replace format strings by platform independent macros 2024-10-05 00:50:13 +02:00
Thomas Basler
edfe06e31e Feature: Show RSSI of last received packet in radio stats
The value is also published via MQTT
2024-10-04 17:36:17 +02:00
Thomas Basler
7746d01fc0 Apply license headers and automatic code formatting to SpiManager 2024-09-26 18:47:27 +02:00
Thomas Basler
326525c961 Merge branch 'pr2306' into dev 2024-09-26 18:34:07 +02:00