zha-toolkit

🧰 Zigbee Home Assistant Toolkit - service for "rare" Zigbee operations using ZHA on Home Assistant

GPL-3.0 License

Stars
181

Bot releases are visible (Hide)

zha-toolkit - v0.7.15 🧰 binds_get, refactored code.

Published by github-actions[bot] over 2 years ago

Changes

  • #16 Script Example to read multiple attributes, quality improvements. @mdeweerd
  • #17 Add binds_get @mdeweerd
  • Schema for conf_report.
  • conf_report_read: WIP (zigpy bug);
  • Moved "custom" methods to _user.py as example;
    • Also removed from services
  • Add zigpy & radio versions to event data
  • Refactored common code to find cluster, attribute name
  • Example to read multiple attributes from Basic Cluster to CSV & state.
  • Quality: extra tools, update to comply with checks.

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.14...v0.7.15

zha-toolkit - v0.7.14 🧰 Fix zcl_type references, fail_exception option

Published by github-actions[bot] over 2 years ago

Changes

Functional:

  • #15 Added fail_exception parameter to raise an exception when success is False;
  • #15 Fixed zcl type references (some types are called like uint16_t and others int16s);
  • Improved priority of parameters types (for parameter checks);

Documentation:

  • Added attr_write example with template.

Internal:

  • Refactored the way services/commansd are called (reduce repetition);
  • Prepare bind methods to add more bindable clusters;
  • README.md formatted (improves readability when opening as text).

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.13...v0.7.14

zha-toolkit - v0.7.13 🧰 Improve `scan_device` filename, `zha_device` output sort, `fail_exception`

Published by github-actions[bot] over 2 years ago

Changes

  • scan_device filename improved: better partial IEEE address (#12), include selected endpoint (list); @mdeweerd
  • Sort zha_device list according to 'csvlabel' - cope with absent values for sorting.
  • zha_device sorting. @mdeweerd
  • Add 'fail_exception' to generate service exception on "failure" @mdeweerd
  • Extend documentation (service screenshot); @mdeweerd
  • Extend services.yaml (UI parameters); @mdeweerd

⭐️ Thank you so much for helping out to keep this integration awesome

@mdeweerd, @dcoder42

What's Changed

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.12...v0.7.13

zha-toolkit - v0.7.12 🧰 Add zha_devices + named attributes + attr_type detection

Published by github-actions[bot] over 2 years ago

Changes

  • #11 Add zha_devices + named attributes + attr_type detection @mdeweerd

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.11...v0.7.12

zha-toolkit - v0.7.11 🧰 Improvements regarding service definitions & CSV output

Published by github-actions[bot] over 2 years ago

Changes

  • #10 Improvements regarding service definitions & CSV output @mdeweerd
zha-toolkit - v0.7.10 🧰Add numeric attr_id value to scan_device results

Published by github-actions[bot] over 2 years ago

Changes

  • #9 Add numeric attribute type to scan result,
  • Add scan_device and conf_report to services.yaml to get options in UI.

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.8...v0.7.10

Changes

  • misc_reinitialize to force reinitialisation of the device as if it freshly joined.
  • 'attr_read' and 'attr_write' use the tries paramter.
  • Extra services defined in services.yaml (for UI configuration)
  • Accept CancelledError on retries
  • Accept out clusters in the device definition for reading attributes as if there have corresponding in clusters
  • Better handling of attribute read during attr_write, especially if read_before_write is false
  • Parameter definitions for individual services (for parameter validation)
  • #8 Add more types for attributes (uint and int types) @mdeweerd

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.0...v0.7.8

zha-toolkit - v0.7.7 🧰 misc_reinitialize, accept CancelledError, more commands added to service definitions.

Published by github-actions[bot] over 2 years ago

Changes

  • misc_reinitialize to force reinitialisation of the device as if it freshly joined.
  • 'attr_read' and 'attr_write' use the tries paramter.
  • Extra services defined in services.yaml (for UI configuration)
  • Accept CancelledError on retries
  • Accept out clusters in the device definition for reading attributes as if there have corresponding in clusters
  • Better handling of attribute read during attr_write, especially if read_before_write is false
  • Parameter definitions for individual services (for parameter validation)

Full Changelog: https://github.com/mdeweerd/zha-toolkit/compare/v0.7.0...v0.7.7

zha-toolkit - v0.7.0 🧰A service for each internal command, 'user.py' for user commands.

Published by github-actions[bot] over 2 years ago

Changes

  • Each internal command is now available using either 'service.execute' or 'service.COMMAND' where COMMAND is a command like attr_write, attr_read, ... .
  • Fully specified attr_write and attr_read in services.yaml so that UI configuration is more concise and clearly indicates required options.
  • Added a default implemetation to make the addition of future commands easier with less code, and avoiding restarts after updates.
  • Added the possibility to call commands in local/user.py which is a gread tool to develop your personal commands and/or more general commands you might propose for integration to zha-toolkit.
  • Commands, services and parameters are now all defined as constants in the code.
zha-toolkit - v0.5.11 🧰 Write attribute values to CSV file

Published by github-actions[bot] over 2 years ago

Changes

  • Options to write attribute values to CSV file
  • Refactored string constants to constants for strings.
zha-toolkit - v0.5.10 🧰 Fixed uninitialized msg in attr_write due to bad indentation.

Published by github-actions[bot] over 2 years ago

Changes

  • Fixed uninitialized msg in attr_write due to bad indentation.
zha-toolkit - v0.5.9 🧰 Fix for error message in logs that is actually debug information.

Published by github-actions[bot] over 2 years ago

Changes

  • Fix for error message in logs that is actually debug information.
zha-toolkit - v0.5.8 🧰Added alternative methods for rejoin command for testing.

Published by github-actions[bot] over 2 years ago

Changes

  • Added alternative methods for rejoin command for testing.
zha-toolkit - v0.5.7 🧰

Published by github-actions[bot] over 2 years ago

Changes

  • Corrected name for refactored rejoin function
zha-toolkit - v0.5.6 🧰 handle_join & rejoin moved to misc.py to automate reload

Published by github-actions[bot] over 2 years ago

Changes

  • handle_join & rejoin moved to misc.py to automate reload
  • Code lines limited to 79 characters
zha-toolkit - v0.5.5 🧰 Workaround for zigpy limitation on zcl_cmd

Published by github-actions[bot] over 2 years ago

Changes

  • Workaround for zigpy limitation on zcl_cmd (no tries for CustomCluster command).
zha-toolkit - v0.5.4 🧰

Published by github-actions[bot] over 2 years ago

Changes

  • rejoin ZDO call replaced with working one;
  • More info for certain calls in event data (bind, unbind)
zha-toolkit - v0.5.3 🧰 zcl_cmd update, scan_devices update

Published by github-actions[bot] over 2 years ago

Changes

  • zcl_cmd uses common method for parameters, and does automatic endpoint selection.
  • scan_device accepts endpoint parameter to limit discovery to those endpoints - only endpoints known by ZHA are possible at this time.
zha-toolkit - v0.5.2 🧰Improved `scan_device`

Published by github-actions[bot] over 2 years ago

Changes

  • Improved scan_device: corrected reporting of ACL, and added result to event data.
zha-toolkit - V0.5.1

Published by mdeweerd over 2 years ago

Badges
Extracted from project README
hacs_badge zha_installs Version pre-commit Open ZHA-Toolkit inside your Home Assistant Community Store (HACS). Open your Home Assistant instance and show the Daily Backup Blueprint pre-filled. Open your Home Assistant instance and show the Daily Backup Blueprint pre-filled. Open your Home Assistant instance and show your service developer tools. Open your Home Assistant instance and show the blueprint import dialog with the Daily backup blueprint pre-filled. Open your Home Assistant instance and show the blueprint import dialog with the ZNP Daily backup blueprint pre-filled.
Related Projects