OpenDTU-old/lib/VeDirectFrameHandler
Bernhard Kirchen 6b8c93d2e6 polish VE.Direct HEX support
* show charge controller temperature in live view
* send hex requests right after decoding a frame. this seems to have the
  best chance of getting an answer to all requests.
* deem 0xFFFFFFFF value of network total DC power as invalid indicator.
  neither network state, nor network info, nor network mode seem to
  indicate that the charge controller is part of a VE.Smart network. for
  that reason, we revert to always querying the network total DC power
  value, but testing it for max(uin32_t) value, which seems to indicate
  that the charge controller is not part of a VE.Smart network.
* improve (verbose) logging, e.g., use _logId, and print names of
  response codes and known registers, always print error messages,
  add additional tests to prevent overly verbose messages.
* move hex protocol definitions to VeDirectData.h header
  and use enum classes
* define register addresses in enum class
* move values retrieved through hex protocol into main MPPT data struct
* do not send HEX requests if the serial interface cannot send data
* detect whether smart battery sense temperature is available
* web app: make all VE.Direct sub-cards iterable. this makes addind more
  values much simpler and saves a bunch of code in the web app.
* make VeDirectFrameHandler state a type-safe enum class
* unindent MPPT controller loop()
* whitespace cleanup
2024-04-03 16:33:15 +02:00
..
VeDirectData.cpp polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectData.h polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectFrameHandler.cpp polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectFrameHandler.h polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectFrameHexHandler.cpp polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectMpptController.cpp polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectMpptController.h polish VE.Direct HEX support 2024-04-03 16:33:15 +02:00
VeDirectShuntController.cpp VE.Direct: simplify access to data 2024-04-02 21:05:59 +02:00
VeDirectShuntController.h VE.Direct: simplify access to data 2024-04-02 21:05:59 +02:00