11-27-2023, 08:19 AM
(This post was last modified: 11-27-2023, 08:36 AM by NicTheModder.)
(11-26-2023, 02:47 AM)admin Wrote: here is modbus standard protocol firmware BIN file for KC868-HA (not have HAv2), you can test it , any questions you can post at here.
now the firmware have fixed ID=0A, later will make it modifiable.
Dear,
Thank you for the great work.
The application worked out of the box.
For simplicity:
- kc868-ha-KCS = firmware for kc868-HA board, to work with KCS on KinCony relat boards (kcs868_component & kcs868_ha)
- kc868-ha-SP = firmware for kc868-HA board compliant with the standard ESPHome 'modbus-controller' protocol
Great difference between earlier kc868-ha-KCS and the kc868-ha-SP you wrote last week,
is that a HA board with kc868-ha-KCS firmware sends a status message on the bus when an input has changed state. It does it by himself.
A board with kc868-ha-SP, same as with other modbus-slaves, has to be read on a regular base to get information about his inputs, and the status of its outputs.
With a lot of HA-boards on the bus, this gives serious problems of collisions and data loss.
The beauty of earlier kc868-ha-KCS firmware is that it keeps traffic on the line at his lowest, since the HA board sends only a message when something changes.
It is more like a hybrid betwin a master and a slave. Y guess that the integration of an ARTERY controller on the HA board was for this purpose.
Now, with the kc868-ha-SP firmware, the HA board has lost his advantage over other IO-boards.
Hopefully you can reintegrate this functionality into the kc868-ha-SP firmware.
Sincerely yours
Nic