You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the example 'subscribe to state changes', while the connect and device info returns pretty fast, once subscribe_state is called, it tends to buffer for ~20s before returning bunch of state updates at once.
This seems to happen when the ESPHome device is streaming data frequently. When there is less frequent data sent (say, only one sensor with a 3s update time), the delay becomes very short.
This happens on Windows 10, Windows 11, and WSL in Windows 10 (though in WSL, the buffering time is lower, but still quite significant). There seems to be no perceptible buffer delay in Linux (as a virtual machine on a Windows 10 host).
The text was updated successfully, but these errors were encountered:
Running the example 'subscribe to state changes', while the connect and device info returns pretty fast, once subscribe_state is called, it tends to buffer for ~20s before returning bunch of state updates at once.
This seems to happen when the ESPHome device is streaming data frequently. When there is less frequent data sent (say, only one sensor with a 3s update time), the delay becomes very short.
This happens on Windows 10, Windows 11, and WSL in Windows 10 (though in WSL, the buffering time is lower, but still quite significant). There seems to be no perceptible buffer delay in Linux (as a virtual machine on a Windows 10 host).
The text was updated successfully, but these errors were encountered: