Is was clear, the cmd approach does not decode payloads reliably.
The modular form allows for easy tinkering.
This implements
* hoymiles protocol
* transport-layer enables for retransmit of missed fragments
* full payload decode
* device specific decoders
* transaction tracking enables decoding of different datasets
* multi-inverter support
* configuration format change to YAML (required for multi-inverter)
First PoC, lots of things have to be relocated, rewritten and exteded.
Currently only supports Hoymiles HM-600, more device decodes have to be added by
users who have the hardware.
Transform ahoy.py into a python library, implements decoding of
fragmented large payloads.
The module also allows for easier tinkering and replay testing.
Split on_receive from actual device specific decoder.
Rename decoder to hm600 because thats my dut.
Alters debug prints, remove json dump from console, makes it more readable.
Move Tx before Rx in main loop, change timing