shimmeringbee / controller

Implementation of home automation controller (a.k.a hub and gateway), initially focusing on Zigbee devices, written in Go.

Home Page:https://shimmeringbee.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading state into ZDA on load can cause events to be lost.

pwood opened this issue · comments

If a large ZDA state is loaded into ZDA on start of the controller, there is nothing yet consuming the ReadEvent function, thus the channel can get full and messages can be lost.

We need to figure out how to change the API/loading process to prevent this being an issue, the current bodged solution is just a very large channel.

This is handled by ZDA now, loading is performed after controller results control.