Commit Graph

24 Commits

Author SHA1 Message Date
SteWers 2bdec2d9fc [Solax X1] rework 02/2022 final 2
- removed command index
- new syntax: on demand request of IDinfo data via command `EnergyConfig ReadIDinfo`
- new syntax: on demand request of config data via command `EnergyConfig ReadConfig`
- replaced `dtostrfd()` with `%*_f`
2022-02-17 18:59:44 +01:00
SteWers 57b57dcf25 [Solax X1] rework 02/2022 final
- rework of the request cycle
- more reliable and reusable respond processing for more and further requests
- periodically request of IDinfo data to get the converters serial number and display it on the WebUI
- restructure the usage and names of variables; especially the global ones, to prevent naming conflicts
- on demand request of IDinfo data via command `EnergyConfig12 ReadIDinfo`
- on demand request of config data via command `EnergyConfig12 ReadConfig`
- many other code optimisations
2022-02-16 19:33:57 +01:00
SteWers 3679ec4c08 [Solax X1] Rework request and respond processing
Complete rework of the request cycle and the respond processing. This is more reliable and reusable for more and further requests.
Right now the serial number of the converter is requested and displayed in the WebUI.
2022-02-08 20:55:57 +01:00
SteWers a4b218b89e [Solax X1] Rework inverter-mode
- redesign inverter-mode implementation
- enhancements to solax protocol version 1.7
- few german translation fixes
2022-01-08 21:46:23 +01:00
SteWers 38886e987f Resolve RTS-timing problem
On some devices there is a timing problem with the RTS line, when not using flush.
flush does wait until all data is send: https://www.arduino.cc/reference/en/language/functions/communication/serial/flush/
2022-01-07 12:47:23 +01:00
SteWers d88110e686 Rework for PR #14305
- removed all changes in tasmota_template_legacy.h
- moved new GPIO at the end of the list in  tasmota_template.h
- removed unnecessary "flush" in xnrg_12_solaxX1.ino
2022-01-06 19:11:44 +01:00
SteWers aa7750997a RTS support and offline status (Fix#1) 2022-01-06 10:08:44 +01:00
SteWers 32cc20219a [Solax X1] RTS support and offline status 2022-01-06 09:52:27 +01:00
SteWers 9956aa59c4
Changed variable type for temperature from float to int16_t
The type of temperature is int16_t. With this change negative values are read and displayed correctly.
2022-01-04 20:18:19 +01:00
Theo Arends c4bb190e82 Add split total energy 2021-10-02 18:29:05 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 20704ab700 Refactor dtostrfd 2021-01-26 16:26:00 +01:00
Theo Arends ac054ea666 Refactor AddLog usage 2021-01-23 17:10:06 +01:00
pablozg 544f932955
Bug fixes and code refactor 2021-01-21 18:12:47 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends 58dc18844b Refactor energy func every 250mS 2020-10-30 12:45:34 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends 2705c8eb8b Fix GCC 10.1 warnings 2020-07-16 18:02:39 +02:00
Theo Arends c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends 24280bcdea Change pin handling part 2 2020-04-27 11:54:23 +02:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 7777fa08b0 Sanitize code 2019-11-20 20:53:12 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00