home-assistant-ecosystem / home-assistant-cli

:computer: Command-line tool for Home Assistant
Other
437 stars 68 forks source link

Allow for configurable larger websocket responses #411

Open johntdyer opened 9 months ago

johntdyer commented 9 months ago

Appears the default response size is 4mb, and for larger installs this fails with an error that's not really clear as to the true nature of the problem ( #394 ). This PR adds HASS_WS_MAX_MESSAGE_SIZE env variable which can be increased in either kb or mb

export HASS_WS_MAX_MESSAGE_SIZE=5MB
johntdyer commented 9 months ago

I have been unable to get the tests to pass on my M1 Mac... any help would be appreciated there