Skip to content

walthowd/ha-constant-modifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ha-constant-modifier

This is a custom component for Home Assistant that can be used to modify, patch or overwrite constants in other components. Authored by @puddly

Installation

To install, place the constant_modifier in your Home Assistant configuration directory under the custom_components folder

Configuration

Add to configuration.yaml any constants you need to modify. For example

constant_modifier:
  homeassistant.components.websocket_api.http:
    MAX_PENDING_MSG: 4096
    PENDING_MSG_PEAK: 2048

  zhaquirks.xiaomi:
    MotionCluster.reset_s: 5

Note

This component was created to battle the issue of "Client exceeded max pending messages" when the websocket queue fills in Home Assistant. This seems to be an uncommon issue when using Node-RED and node-red-contrib-home-assistant-websocket in large installations.

About

Custom component for Home Assistant to modify constants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages