Thomas Basler
498afe377b
Remove extra semikolon
2024-12-30 00:06:08 +01:00
Thomas Basler
bcf4b70dc9
Fix: cpplint errors
2024-10-15 19:11:17 +02:00
Thomas Basler
6a7bed0ecf
Code Refactoring: Add inverter reference to each command
...
Instead of just adding the target_address to a command this patch adds a reference to the whole inverter instance
2024-05-16 19:54:09 +02:00
Thomas Basler
d6494fa791
Add const keyword to method parameters
2023-12-12 00:21:14 +01: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
22d9b128b9
Fix: Move setting of CMD_PENDING state into the right order
2023-08-04 23:44:18 +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
Thomas Basler
a7e9aaa862
Move reference to the radio instance into the inverter instance
...
This is required to support different radios for different inverters
2023-04-15 10:55:47 +02:00
Thomas Basler
7da782c4ef
Hoymiles Lib: Added flags to inverter to enable/disable polling and commands to the inverter
2023-02-18 15:51:46 +01:00
Thomas Basler
d4c838a16e
BREAKING CHANGE: Prometheus API!
...
Added additional field to the prometheus api which identifies a channel by it's type. That means that e.g. channel 0 exists for type AC and DC.
This commit also introduces a additional field in the statistics byte assignment table. This field identifies whether a channel is on the AC or DC side. MQTT and WebAPI is still compatible with the previous design.
2023-02-06 19:51:10 +01:00
Thomas Basler
5feefed14e
Added missing copyright information
2022-12-14 22:37:37 +01:00
Thomas Basler
dd7babb448
Added a timeout of 5ms to detect current time.
...
This prevents false positives when a interrupt occours during the reading of the time
2022-11-14 20:19:38 +01:00
Thomas Basler
0a577f8002
Allow a maximum limit of 100 if limit type is relative
2022-10-11 23:28:22 +02:00
Thomas Basler
da0998c809
Implement inverter restart by mqtt topic
2022-10-09 13:16:06 +02:00
Thomas Basler
4031b71d7d
Implemented resend of PowerCommand
2022-10-04 18:12:55 +02:00
Thomas Basler
0fd714b165
Implemented first few classes for power control
...
TurnOn and TurnOff
2022-10-04 18:12:55 +02:00
Thomas Basler
6cbcfacac6
Renamed several methods from Sample to Simple
2022-10-03 13:14:31 +02:00
Thomas Basler
c8c6b2a978
Renamed DevInfoSample to DevInfoSimple
2022-10-02 17:01:46 +02:00
Thomas Basler
754913368a
Implemented way to periodically fetch the current limit from the inverter
...
The fetch is only executed at least 4 minutes after the last set command.
Otherwise it would generate a entry in the event log (ID 2)
2022-09-30 18:34:30 +02:00
Thomas Basler
3153ee4993
Implemented getTimeout method in AlarmDataCommand
2022-09-30 18:34:30 +02:00
Thomas Basler
a707ab501d
Implemented method to check whether the last command was successfull
...
This also allows to retransmit the command after specific time if not successfull
2022-09-30 18:34:30 +02:00
Thomas Basler
2376da1722
Create function to set ActivePower on inverter level
2022-09-30 18:34:30 +02:00
Thomas Basler
950b211fd5
Set getLocalTime timeout to 0 to prevent watchdog triggers
...
This happens especially when no WiFi is configured and the user enters the NTP info page
2022-09-19 20:45:44 +02:00
Thomas Basler
c28a532bf1
Added base classes for SystemConfigPara
2022-09-09 18:41:07 +02:00
Thomas Basler
528c56eaa6
Added parser and commands for hardware version and part nr
2022-08-10 20:12:52 +02:00
Thomas Basler
8715320282
Implemented DevInfo command
2022-08-10 19:03:02 +02:00
Thomas Basler
4413b603e3
Replace inverter_transaction with new command classes
2022-07-30 00:37:54 +02:00
Thomas Basler
5bb9acdbc6
Refactored Hoymiles Lib: Move statistics parser into separate class
2022-07-12 18:27:56 +02:00
Thomas Basler
b9bb753906
First try to implement Alarm Log fetching
2022-07-08 18:22:35 +02:00
Thomas Basler
56f764d10f
Fixed queue handling and added event log count
2022-07-04 19:36:58 +02:00
Thomas Basler
c4e911cecf
Add very simple method differ between requests
...
The last request is required to use the right parser for the received payload as the package type is not encoded in the received data
2022-06-30 21:14:58 +02:00
Thomas Basler
65fb13fa41
Better detection of invalid dates (no NTP sync)
2022-06-27 21:06:54 +02:00
Thomas Basler
ab6261da92
Move the whole stats request into the inverter class
...
This enables in future releases so send multiple requests for e.g. MI inverters
2022-06-27 19:26:16 +02:00
Thomas Basler
7a0394151a
First implementation of TX queue
...
This is required to implement some features of e.g. MI Inverters or to read the event log of HM inverters
2022-06-27 19:09:52 +02:00
Thomas Basler
db0a3da803
Generate a second class abstraction to support different inverter types in future
2022-06-24 17:49:14 +02:00