Commit Graph

117 Commits

Author SHA1 Message Date
Thomas Basler
b02d36d042 Added IDs to identifiy inverters to DevInfoParser 2022-10-06 18:34:31 +02:00
Thomas Basler
373e1e5e8f Fixed function not used warning 2022-10-05 18:51:21 +02:00
Thomas Basler
7cede84785 Fixed uninitialized variable warning 2022-10-05 18:42:41 +02:00
Thomas Basler
d021d7529f Fix parentheses error in AlarmLogParser 2022-10-04 23:38:32 +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
66453b0854 Return correct formatted HwVersion 2022-10-03 13:58:50 +02:00
Thomas Basler
6cbcfacac6 Renamed several methods from Sample to Simple 2022-10-03 13:14:31 +02:00
Thomas Basler
b2a30621db Extended and updated event log texts 2022-10-02 23:52:35 +02:00
Thomas Basler
eef6c37de9 Beautify serial output of package log 2022-10-02 18:43:19 +02:00
Thomas Basler
18ec145dda Added command names to serial output 2022-10-02 17:17:34 +02:00
Thomas Basler
c8c6b2a978 Renamed DevInfoSample to DevInfoSimple 2022-10-02 17:01:46 +02:00
Thomas Basler
a3d9c6ae0f Fixed array size of 1 channel inverters 2022-10-02 16:04:02 +02:00
Thomas Basler
67e0d0274d Code cleanup: Remove not required comments 2022-10-02 15:44:33 +02:00
Thomas Basler
1aef350c2e Remove not required method isA() 2022-10-02 15:43:11 +02:00
Thomas Basler
2a71be06ab Fix cpplint: Adjust syntax of todo comment 2022-10-02 12:34:25 +02:00
Thomas Basler
989026d049 Fix cpplint: make one argument constructor explicit 2022-10-02 12:33:23 +02:00
Thomas Basler
862b65e844 Added method to detect whether an inverter is reachable 2022-10-01 02:16:47 +02:00
Thomas Basler
a261eb838c Added method to detect whether a inverter is producing 2022-10-01 02:00:56 +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
a8ee8afb17 Set correct timeout for DevControlCommand 2022-09-30 18:34:30 +02:00
Thomas Basler
a2880cc447 Add RX main command to structure which is passed to handleResponse
This is required because the DevControlCommands just set the first byte to define whether the request was successfull or not
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
73e2aaf8fe Implemented setting/getting of limit/type for ActivePowerControl 2022-09-30 18:34:30 +02:00
Thomas Basler
d998271944 Implemented crc16 calculation for DevControlCommand 2022-09-30 18:34:30 +02:00
Thomas Basler
cfdbf5963c Empty classes of ActivePowerControl 2022-09-30 18:34:30 +02:00
Thomas Basler
8e2aa8981f Fix #170: Update byte assignment for statistics data 2022-09-28 18:44:59 +02:00
Thomas Basler
b8f03eddfd Fixed scheduler issue
When the RF method took very long inverters where skipped
2022-09-25 17:28:50 +02:00
Thomas Basler
68fc0c2547 Extend memory to fetch all eventlog entries 2022-09-25 17:26:48 +02:00
Thomas Basler
53692bae34 Fix timeout for alarm messages 2022-09-23 19:13:08 +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
9cda41f5e9 Use uint32_t, rather than the C type long 2022-09-15 19:00:38 +02:00
Thomas Basler
c07b18a9d8 Use static_cast<float>(...) instead C-style cast 2022-09-15 18:53:41 +02:00
Thomas Basler
c43346134d Use static_cast<int>(...) instead C-style cast 2022-09-15 18:48:22 +02:00
Thomas Basler
088ba58827 Mark Single-parameter constructors explicit 2022-09-13 22:50:33 +02:00
Thomas Basler
de33b9ff88 Do not use namespace using-directives. Use using-declarations instead. 2022-09-13 21:35:51 +02:00
Thomas Basler
abcabf7fb6 Added header guard 2022-09-13 21:11:32 +02:00
Thomas Basler
b0460c7f14 Add documentation of current class hierarchy 2022-09-09 20:53:15 +02:00
Thomas Basler
b7961024a1 Fetch limit every 10 minutes 2022-09-09 20:17:52 +02:00
Thomas Basler
3e5fb00248 Fetch inverter limit at least once 2022-09-09 18:41:54 +02:00
Thomas Basler
c28a532bf1 Added base classes for SystemConfigPara 2022-09-09 18:41:07 +02:00
Thomas Basler
185fea987d Added some initializations to prevent missunderstandings and errors 2022-09-05 21:53:50 +02:00
Thomas Basler
31e56f6c2b Code hardening: introduce const keyword 2022-09-05 21:41:45 +02:00
Thomas Basler
26268479fb Fix #96 and #95 : Reworked handling of inverter editing 2022-08-24 02:53:34 +02:00
Thomas Basler
1456974616 Fix #76: Null Pointer exception when adding a inverter with unkonwn serial number 2022-08-16 19:47:51 +02:00
Thomas Basler
991838ae2c Added reactive power output and display 2022-08-10 20:40:26 +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
c3a043b1ce Improve handling of firmware data fetch 2022-08-10 19:03:02 +02:00