Thomas Basler
f689fedf4e
Hoymiles Lib: Remove hard coded Serial output
...
The serial port for output of debug information can now changed during runtime
2022-12-19 20:52:12 +01:00
Thomas Basler
5feefed14e
Added missing copyright information
2022-12-14 22:37:37 +01:00
Thomas Basler
0d350b14bb
Migrated _rxBuffer from CircularBuffer to queue
2022-11-28 18:25:50 +01:00
Thomas Basler
36abaeee12
Moved pin assignment outside the hoymiles library
...
Allows setting the pins during runtime and not just using the defines
2022-11-27 12:07:25 +01:00
Thomas Basler
0d619e780a
Prevent null pointer exception
...
It could occur that the command queue contained commands for inverters which are already deleted.
Therefor it has to be checked that getInverterBySerial returns a valid inverter
2022-11-10 18:32:28 +01:00
Thomas Basler
e762abd18f
Show RF chip type in SystemInfoView
2022-10-12 00:17:40 +02:00
Thomas Basler
05d9ce4590
Output channel for RX messages
2022-10-08 18:14:43 +02:00
Thomas Basler
20b799b630
webapp: Show NRF24 connection status
2022-10-06 23:29:17 +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
67e0d0274d
Code cleanup: Remove not required comments
2022-10-02 15:44:33 +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
26268479fb
Fix #96 and #95 : Reworked handling of inverter editing
2022-08-24 02:53:34 +02:00
Thomas Basler
6c088a9898
Implemented channel hopping on TX frequencies
...
Every sent package changes the frequency
2022-08-04 20:10:44 +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
857e4a3671
Remove RequestType and place handling of response in the command class
2022-08-03 18:50:34 +02:00
Thomas Basler
a73707380f
RequestFrameCommand can now be configured individually for each command
...
If the return value equals nullptr, a retransmit is not performed
2022-08-02 21:14:41 +02:00
Thomas Basler
0d26337575
Fixed retransmit count
2022-07-30 11:59:01 +02:00
Thomas Basler
4413b603e3
Replace inverter_transaction with new command classes
2022-07-30 00:37:54 +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
4259df9ee6
Hoymiles Lib: Allow configuration of all pins
2022-07-12 18:42:52 +02:00
Thomas Basler
b9bb753906
First try to implement Alarm Log fetching
2022-07-08 18:22:35 +02:00
Thomas Basler
4f2d705314
Added possibility to override pin assignments
2022-07-08 18:20:36 +02:00
Thomas Basler
56f764d10f
Fixed queue handling and added event log count
2022-07-04 19:36:58 +02:00
Thomas Basler
0f75c4a6a4
Introduced some pin defines
2022-07-02 11:58:31 +02:00
Thomas Basler
54b7673f1a
Replace magic numbers by some constants
2022-06-30 18:58:55 +02:00
Thomas Basler
e9e5c715f5
Remove duplicated variable
...
The content of _activeSerial is also available in currentTransaction.target
2022-06-27 21:56:55 +02:00
Thomas Basler
10de26bcb8
Better handling of rerequest of complete packets
2022-06-27 19:37:03 +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
Thomas Basler
8d2b71cd04
Implemented resend of whole requests
2022-06-20 20:47:21 +02:00
Thomas Basler
5221c80d36
Added channel 40 to RX channel list
2022-06-19 12:53:33 +02:00
Thomas Basler
865d00d3d0
Code cleanup
2022-06-18 12:26:37 +02:00
Thomas Basler
bab5beb170
Move strings from RAM to Flash
2022-06-15 22:21:50 +02:00
Thomas Basler
9bfe6a9e63
First simple implementation of polling algorithm
2022-06-15 19:23:47 +02:00
Thomas Basler
d9d6c3b27d
Find inverter on fragment receive
2022-05-31 19:37:28 +02:00
Thomas Basler
87da5ef63d
Renamed packet_t to fragment_t and implemented fragment crc check
2022-05-31 18:53:45 +02:00
Thomas Basler
0d07e3e09f
WIP: Very rough first draft of Hoymiles library
2022-05-30 21:50:08 +02:00