baudneo / cync-lan

Local async MQTT controller for Cync / C by GE smart devices - designed for Home Assistant.
Other
16 stars 1 forks source link

When total cync devices > 20 ish, packet data can be cut off #12

Closed baudneo closed 3 days ago

baudneo commented 3 weeks ago

I have 34 cync devices, when they send data about device states, the dewvice can only send 1024 bytes at a time. This causes data structs to end in the middle abruptly, leaving an unfinished structure. We need to save the unfinished struct and append the rest of the data to it in the next read from that specific device.

Working on implementing logic to reconstruct interrupted data.

baudneo commented 3 weeks ago

This has been fixed in the migrate devices branch.

Soon the breaking change may be forced upon everyone.

baudneo commented 3 days ago

Fixed in https://github.com/baudneo/cync-lan/commit/cbad847f07ca4e78b589fd04015270f75953d41b