MCPcopy Index your code
hub / github.com/cozylife/hass_cozylife_local_pull

github.com/cozylife/hass_cozylife_local_pull @0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.0 ↗ · + Follow
46 symbols 186 edges 8 files 32 documented · 70%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CozyLife & Home Assistant

CozyLife Assistant integration is developed for controlling CozyLife devices using local net, officially maintained by the CozyLife Team.

Supported Device Types

  • RGBCW Light
  • CW Light
  • Switch & Plug

Install

  • A home assistant environment that can access the external network
  • clone the repo to the custom_components directory
  • configuration.yaml
hass_cozylife_local_pull:
   lang: en
   ip:
     - "192.168.1.99"

Feedback

  • Please submit an issue
  • Send an email with the subject of hass support to info@cozylife.app

Troubleshoot

  • Check whether the internal network isolation of the router is enabled
  • Check if the plugin is in the right place
  • Restart HASS multiple times
  • View the output log of the plugin
  • It is currently the first version of the plugin, there may be problems that cannot be found

TODO

  • Sending broadcasts regularly has reached the ability to discover devices at any time
  • Support sensor device

PROGRESS

  • None

Core symbols most depended-on inside this repo

_refresh_state
called by 6
custom_components/hass_cozylife_local_pull/light.py
control
called by 4
custom_components/hass_cozylife_local_pull/tcp_client.py
get_sn
called by 3
custom_components/hass_cozylife_local_pull/utils.py
_reconnect
called by 2
custom_components/hass_cozylife_local_pull/tcp_client.py
_get_package
called by 2
custom_components/hass_cozylife_local_pull/tcp_client.py
_only_send
called by 2
custom_components/hass_cozylife_local_pull/tcp_client.py
query
called by 2
custom_components/hass_cozylife_local_pull/tcp_client.py
get_pid_list
called by 2
custom_components/hass_cozylife_local_pull/utils.py

Shape

Method 36
Function 7
Class 3

Languages

Python100%

Modules by API surface

custom_components/hass_cozylife_local_pull/tcp_client.py17 symbols
custom_components/hass_cozylife_local_pull/light.py14 symbols
custom_components/hass_cozylife_local_pull/switch.py10 symbols
custom_components/hass_cozylife_local_pull/utils.py2 symbols
custom_components/hass_cozylife_local_pull/udp_discover.py1 symbols
custom_components/hass_cozylife_local_pull/test.py1 symbols
custom_components/hass_cozylife_local_pull/__init__.py1 symbols

For agents

$ claude mcp add hass_cozylife_local_pull \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page