helgeerbe
b461aff622
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-10-10 09:26:43 +02:00
Thomas Basler
f203a971b0
Feature: Added Descriptions for Event Log Messages as shown in #121
2023-10-09 19:38:22 +02:00
Thomas Basler
d373702d7b
Added additional ID for HMS-1000 to DevInfoParser
...
Fix #1392
2023-10-09 16:58:21 +02:00
Thomas Basler
32d91379fa
Init all data members befor pushing it into the buffer
2023-09-30 10:48:41 +02:00
Thomas Basler
d4345917da
Added additional ID for HMS-900 to DevInfoParser
...
Fix #1392
2023-09-30 10:45:49 +02:00
helgeerbe
b081845b95
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-09-19 12:28:00 +02:00
helgeerbe
9d6b459dc6
merge of v23.9.13
2023-09-18 10:46:43 +02:00
Thomas Basler
21fb10f7f2
Feature: Add one channel HMS inverter with different byte assignment
...
Fix #1148
2023-09-14 23:58:08 +02:00
helgeerbe
f7bd4a40d8
revert Revert "Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development"
...
merge of v23.9.11 broke the system. As a workaround upgrade espressif32 from 6.3.2 to 6.4.0 is skipped. See #440
2023-09-14 13:45:23 +02:00
Thomas Basler
a974e217df
Fix #1335 : Only the first inverter was set to zero at midnight via mqtt
2023-09-13 18:46:23 +02:00
helgeerbe
2eeb5f1d19
Revert "Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development"
...
This reverts commit eb1c2dbd8c , reversing
changes made to 0cb42a6424 .
merge of v23.9.11 broke the system
2023-09-12 20:18:10 +02:00
helgeerbe
eb1c2dbd8c
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-09-12 19:27:32 +02:00
Thomas Basler
3a3adb4723
Completly ignore a disabled (polling + command) inverter.
...
This leads to higher update rates on still enabled inverters.
2023-09-10 11:49:41 +02:00
Thomas Basler
8023b6620a
Fix: Ignore incomplete SystemConfigPara packages
...
Some inverters seem to transmit too less and incomplete data. These packages will be ignored now.
2023-09-07 23:10:01 +02:00
Thomas Basler
0260af9ada
Hoymiles Lib: Move semaphore handing into parser base class
2023-09-07 22:08:07 +02:00
Thomas Basler
9ac6dd6e8d
Feature: First very basic support to read the grid profile
...
The parser is still missing and requires community support to collect data.
2023-09-07 22:08:07 +02:00
Thomas Basler
1acefd8b8c
Fix: Do not resend fetch limit request if the last one failed
...
Due to side effects it is possible that the inverter receives the request but the DTU does not receive the answer. In this case the DTU would resend the request but the inverter would generate a event log entry (DTU command failed) because it received the message twice.
2023-09-05 22:09:16 +02:00
Thomas Basler
ec9af886d5
Feature: Added option to set daily yield to zero at midnight
2023-09-05 20:27:52 +02:00
Thomas Basler
55afa81cf1
Convert from FreeRTOS Semaphore to std::mutex
2023-09-02 16:46:23 +02:00
Thomas Basler
6127fbe940
Feature: Added option to set runtime values to zero when inverter becames unreachable
2023-09-02 12:22:22 +02:00
Thomas Basler
2c41be106e
Feature: Allow setting of the Reachable Threshold per inverter
2023-09-01 19:17:12 +02:00
helgeerbe
d4afc5940a
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-08-29 09:24:25 +02:00
helgeerbe
ca308d0895
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-08-28 13:12:07 +02:00
Thomas Basler
b88030f76e
Feature: Re-Request DevInfo if it contains invalid data
...
It can sometimes occour that the DevInfo request returns invalid data. Currently this is identified if the firmware build year is < 2016. In this case the package will be re-requested now.
2023-08-25 11:04:14 +02:00
Thomas Basler
4bf9083b23
Prometheus Endpoint: Publish only relevant amount of digits
...
Implemented method to return the correctly formatted field value as string
2023-08-22 11:45:14 +02:00
Bernhard Roth
6eb3c63288
Fix issue #1256 (HMS-2000-4T reactive power should be signed)
2023-08-21 11:14:24 +02:00
helgeerbe
21bbed9b8e
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-08-09 12:37:33 +02:00
Thomas Basler
188a6cf39d
Replace template by abstract class
2023-08-05 01:01:53 +02:00
Thomas Basler
22d9b128b9
Fix: Move setting of CMD_PENDING state into the right order
2023-08-04 23:44:18 +02:00
helgeerbe
5335ec1bde
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-08-04 12:21:16 +02:00
Thomas Basler
832df5a80e
Implement the command queue thread safe
...
The queue will be maybe filled from within another thread (mqtt/web) and handled from the main loop
2023-08-03 00:17:32 +02:00
Thomas Basler
be09c4052f
Fix: Ensure that only completly assembled packets are put into the command queue
2023-08-02 22:41:53 +02:00
helgeerbe
69456affce
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-08-02 19:46:35 +02:00
Thomas Basler
686112e4ee
Fix: Wrong detection of HM-300 inverters
...
Was introduced in v23.8.1; Fixes #1198
2023-08-02 18:41:25 +02:00
Thomas Basler
5bbc67bc49
Fix: Clear parser buffers to prevent random numbers if no data was received
2023-07-31 22:52:38 +02:00
Thomas Basler
ef65094181
Fix: Prevent wrong values of devinfo data because of non-atomic transaction
2023-07-31 22:27:28 +02:00
Thomas Basler
74169c3b17
Fix: Prevent wrong values of systemconfigpara data because of non-atomic transaction
2023-07-31 22:06:04 +02:00
Thomas Basler
698ecbcd53
Fix: Prevent wrong values of alarm data because of non-atomic transaction and fix calculation of getEntryCount()
2023-07-31 22:06:04 +02:00
Thomas Basler
14305a9f12
Fix: Prevent wrong values of statistics data because of non-atomic transaction
2023-07-31 22:05:22 +02:00
Thomas Basler
9821c1905b
Fix: Uninitliazed variable used before first use
2023-07-31 21:44:50 +02:00
helgeerbe
2440028d38
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-07-24 13:16:15 +02:00
Thomas Basler
658a42db80
Apply code formatter without functional changes
2023-07-22 18:00:41 +02:00
Bernhard Kirchen
f0def2ae89
Selective verbosity ( #318 )
...
* DPL: implement verbose logging switch
* MQTT: implement verbose logging switch
* power meter: implement verbose logging switch
* Hoymiles lib: implement verbose logging switch
* cpp linting: "final" makes "virtual" and "override" redundant
... however, using only "final" is not as verbose.
2023-07-18 09:57:03 +02:00
helgeerbe
633ef88296
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-07-12 13:45:19 +02:00
Thomas Basler
0ffbba0cf5
Fix: Allow sending of ChannelChangeCommand even if EnableCommands is disabled
...
This is required to successfull move the inverter to another frequency and then polling it. Without this command its not even possible to poll a inverter.
Fixes #1127
2023-07-10 18:30:59 +02:00
helgeerbe
9a4eb75160
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2023-07-02 14:32:12 +02:00
Bernhard Kirchen
8b23324693
ensure only one PowerCommand and ActivePowerCommand is queued
...
neither a PowerCommand nor an ActivePowerCommand shall be enqueued if
another one is already pending.
2023-06-30 20:03:21 +02:00
jstammi
82038d3e2d
Fix: do not calc sizes multiple times
...
tbnobody/OpenDTU/issues/1022
2023-06-28 19:26:45 +02:00
jstammi
4ae6a2b4ef
Fix: calc expected statistics packet length per parser
...
tbnobody/OpenDTU/issues/1022
2023-06-28 16:53:38 +02:00
Thomas Basler
69aa247470
Added check in statistics data that at least all required bytes are received
...
It can occour for some inverters that incomplete fragments with valid crc but less bytes are received
This was mentioned in #1084
2023-06-27 18:59:54 +02:00