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
|
27ed4e3cda
|
BREAKING: Change power factor from percent value to value between 0 and 1
If you write these values to a database you have to update them.
|
2022-10-31 10:50:31 +01:00 |
|
Thomas Basler
|
f2a08ba503
|
Rename FLD_PCT to FLD_PF and assign UNIT_NONE
|
2022-10-31 00:43:07 +01:00 |
|
Thomas Basler
|
f741fea333
|
Move serial number formatting to inverter class
|
2022-10-29 11:22:56 +02:00 |
|
Thomas Basler
|
f21dd351ef
|
Optimize performance by removing not required string constructors
|
2022-10-29 11:22:56 +02:00 |
|
Thomas Basler
|
3ab7d9f6fe
|
Fix #246: Allow negative float values
This is required for the temperature field which can be negative as well
|
2022-10-20 18:18:36 +02:00 |
|
Thomas Basler
|
d224db4d1d
|
Fixed warning: type qualifiers ignored on function return type
|
2022-10-18 21:42:03 +02: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
|
223b7ff3ce
|
Adjusted serial parsing to detect model
There are some MI-1500 models which are compatible with the Gen3 protocol.
The adjustment takes this into account.
|
2022-10-08 18:03:56 +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
|
a3d9c6ae0f
|
Fixed array size of 1 channel inverters
|
2022-10-02 16:04:02 +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
|
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
|
8e2aa8981f
|
Fix #170: Update byte assignment for statistics data
|
2022-09-28 18:44:59 +02:00 |
|
Thomas Basler
|
68fc0c2547
|
Extend memory to fetch all eventlog entries
|
2022-09-25 17:26:48 +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
|
088ba58827
|
Mark Single-parameter constructors explicit
|
2022-09-13 22:50:33 +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
|
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
|
8715320282
|
Implemented DevInfo command
|
2022-08-10 19:03:02 +02:00 |
|
Thomas Basler
|
037f7b9caf
|
Move CRC check of multidata command from InverterAbstract to MultiDataCommand class
|
2022-08-03 19:51:10 +02:00 |
|
Thomas Basler
|
3abc7d7e3d
|
Increase max receiveable packages to 12
* Required for large eventlogs
|
2022-08-03 19:21:52 +02:00 |
|
Thomas Basler
|
081b19f9fb
|
Allow fragments without payload
This is required for several DevControl commands
|
2022-08-03 19:13:31 +02:00 |
|
Thomas Basler
|
857e4a3671
|
Remove RequestType and place handling of response in the command class
|
2022-08-03 18:50:34 +02:00 |
|
Thomas Basler
|
4413b603e3
|
Replace inverter_transaction with new command classes
|
2022-07-30 00:37:54 +02:00 |
|
Thomas Basler
|
dcc7e47b19
|
Hoymiles: Introduce init method to have a clean init on beginning
Constructor is not possible for obvious reasons
|
2022-07-18 21:30:12 +02:00 |
|
Thomas Basler
|
c6499e09bd
|
Ignore fragment number zero. Should fix #29
It seems that some inverters send packages with fragment number zero and a valid CRC. Must ignore such packets!
|
2022-07-15 22:37:42 +02:00 |
|
Thomas Basler
|
4373ee651f
|
Added YieldTotal and YieldDaily to 1 channel inverters to CH0
|
2022-07-15 18:49:17 +02:00 |
|
Thomas Basler
|
05c478d1f2
|
Added several guards and error messages
Try to prevent heap corruptions
|
2022-07-14 18:54:53 +02:00 |
|
Thomas Basler
|
e057ed3ed7
|
Fixed issue that no data in live view where shown
Happend only for inverters which didn't answer any request
|
2022-07-12 21:21:04 +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
|
dfdf8d9054
|
Added event log count to 1 channel invterers
|
2022-07-08 18:08:56 +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
|
54b7673f1a
|
Replace magic numbers by some constants
|
2022-06-30 18:58:55 +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 |
|