All Projects → Yoda-x → ha-zha-new

Yoda-x / ha-zha-new

Licence: other
update of the zha component

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ha-zha-new

ha-config-ataraxis
My Home Assistant Configs. If you like what you see, please ⭐️my repo. It would encourage me a lot 🤘
Stars: ✭ 146 (+156.14%)
Mutual labels:  zigbee, homeassistant
Home-Assistant Config
BeardedTinker Home Assistant configuration. Feel free to browse, edit, tweak, improve, criticize and suggest.
Stars: ✭ 241 (+322.81%)
Mutual labels:  zigbee, homeassistant
bruces homeassistant config
My Home Assistant Configuration
Stars: ✭ 24 (-57.89%)
Mutual labels:  zigbee, homeassistant
zigbee
Database of Zigbee devices compatible with third party gateways: ZHA, deCONZ, Zigbee2MQTT, Tasmota, ZiGate, ioBroker,
Stars: ✭ 117 (+105.26%)
Mutual labels:  zigbee, homeassistant
Tuya-v2-Supported-Devices
A collection of all of the known working Tuya v2 Devices
Stars: ✭ 30 (-47.37%)
Mutual labels:  zigbee, homeassistant
custom-brand-icons
Custom brand icons for Home Assistant
Stars: ✭ 242 (+324.56%)
Mutual labels:  homeassistant
espkyogate
Serial Bridge for Bentel Kyo Alarm System.
Stars: ✭ 22 (-61.4%)
Mutual labels:  homeassistant
HA Garage Doors
Using Home Assistant and MQTT to open garage doors
Stars: ✭ 22 (-61.4%)
Mutual labels:  homeassistant
addon-magicmirror
MagicMirror² - Home Assistant Community Add-ons
Stars: ✭ 40 (-29.82%)
Mutual labels:  homeassistant
hass-foldingathomecontrol
Homeassistant integration for FoldingAtHomeControl
Stars: ✭ 15 (-73.68%)
Mutual labels:  homeassistant
PlexMeetsHomeAssistant
Custom card which integrates plex into Home Assistant and makes it possible to launch movies or tv shows on TV with a simple click
Stars: ✭ 73 (+28.07%)
Mutual labels:  homeassistant
wlan-extcap
Wireshark extcap interface for remote wireless captures.
Stars: ✭ 31 (-45.61%)
Mutual labels:  zigbee
hassio-addons
➕ Docker add-ons for Hass.io
Stars: ✭ 33 (-42.11%)
Mutual labels:  homeassistant
awesome-zigbee
Curated List of ZigBee related stuff
Stars: ✭ 45 (-21.05%)
Mutual labels:  zigbee
home-assistant-miele
Miele integration for Home assistant
Stars: ✭ 101 (+77.19%)
Mutual labels:  homeassistant
homeassistant-microsoft-todo
The integration allows you to create tasks in Microsoft To Do from Home Assistant.
Stars: ✭ 86 (+50.88%)
Mutual labels:  homeassistant
Neon.HomeControl
Home Automation System, similar to HomeAssistant but made with .net core and ❤️
Stars: ✭ 46 (-19.3%)
Mutual labels:  homeassistant
homeassistant-jlrincontrol
An integration for JLR InControl to Home Assistant
Stars: ✭ 34 (-40.35%)
Mutual labels:  homeassistant
charger-card
A lovelace card for electrical vehicle (EV) home chargers and charging robots.
Stars: ✭ 57 (+0%)
Mutual labels:  homeassistant
HomeAssistant-Cupertino-Icons
Apple SF Symbols icons for Home Assistant! (3000+ icons)
Stars: ✭ 100 (+75.44%)
Mutual labels:  homeassistant

Never ever open the zha integration under configuration, this overwrites my bellows/zigpy

Incompatible with mainstream zigpy/bellows

quirks code in mainstream zigpy breaks compatiblilty with zha_new, please use my versions With the patch from estevez-dev my zigpy and bellows should be loaded automatic

01/26/2019

  • initial lightlink support to read out group id from remotes and controllers
  • bugfixes
  • additional device types for lights

01/13/2019

new master release, please update to hass >84.1

  • restore states from history after restart
  • more devices
  • improved stability
  • rewrote light handler, read max/min mireds from bulb if posible, get state reports from bulbs, powered-on bulbs get detected asap. -much more
  • new controller frame statistics

ha-zha-new

see wiki for tips

Breaking update

switched from old bellows to zigpy/zigpy and zigpy/bellows Most of my needed changes are in the original zigpy distro. I will create PR´s for the others. For newer features or to be save use my bellows&zigpy fork.

update of the zha component

based on the work from rcloran and others Converted to a custom_component for an easier way to test and distribute to others without changing the homeassistant code. Should be forked back to the HA codeafter testing.

NEW REMOTES

  • tested for tradfri dimmer and remotes
  • created a virtual device with On/Off, Level, Scenes(also a kind of Level for colortemp)
  • sends events upstream to HASS for scripting
    • event data
      • 'entity_id': self._entity.entity_id
      • 'channel': OnOff, Level or Scenes, it is the cluster name where a command comes in
      • 'command': the incoming comand name, eg : on,off,toggle,move, move_with_on_of...
      • 'up_down': 1 or -1 for increase descrease
      • 'step': how much up or down

NEW

  • metering/on-off support for sitecom WLE-1000 plugs with reporting
  • Aquara Water sensors as binary-sensors
  • add RSSI/LQI information in entity attributes
  • added zha_new object to monitor some parameters, which is helpful to see whats going on during pairing
    • device left
    • permit enabled
    • device joined
    • device init - settting up device in hass
    • run - normal operations

tested devices

  • xiaomi and aquara sensors
  • tradfri bulbs
  • tradfri dimmer

loadable device handler

create your own device handlers for unsupported devices, see files under custom_components/devices

use master-pre-0,61 branch for HA <= 0.60 and master- >= 0.63

pre 0.61 code - no updates

Todo

  • detect returning endpoints and update state ( mainly for bulbs), needs endpoint 0 (zdo) enabled in zha Ha component

##USAGE: check out inside your $home/.homeassistant/ directory, code needs to be in custom_component

configuration example: tradfri bulbs and dimmer need to use the template definition, xiaome sensors gets autodetected

#my current zha config with xiaomi sensors and tradfri bulbs
zha_new:
    usb_path: /dev/ttyUSB0
    database_path: /home/homeassistant/.homeassistant/zigbee.db
    device_config: 
# tradfri dimmer
    "00:0b:57:ff:fe:24:18:9f-1":
      template: tradfri_dimmer
# tradfri dimmable bulbs
    "00:0b:57:ff:fe:2d:ab:35-1":
      template: TRADFRI_bulb
    "00:0b:57:ff:fe:b2:d3:b7-1":
      template: TRADFRI_bulb

History

1/8 dev-loader branch merged into master ->added support for:

  • tradfri dimmable bulbs, not tested for the temperature bulbs, but maybe working
  • loadable device handler modules in custom_components/device/
    • to parse attribute reports
    • to initalize endpoint based on model name
  • template support, templates in device directoy
  • auto detect xiaomi sensors, tested with the xiaomi original sensors, aqara work, but some attributes are not correct ->TODO
  • added pressure sensor, works for Aqara weather sensor -> TODO: need to separate original xiaomi and aquare templates

Master branch

  • device specific modules, get loaded based on model
  • xiaomi battery and other attributes
  • working Xiaomi Door/windows sensor as binary_sensor with state updates inside HA
  • working Xiaomi HT sensors inside HA
  • use in_cluster and out_cluster to override predefined cluster_profile from bellows, that not match non_standard devices
  • configure reporting inside configuration.yaml
  • working original xiaomi motion sensor, clear detection after 20 sec, as sensor only send detection reports, but no "clear" reports
  • if a device leaves, the device gets removed from the database. Thus, you can unpair and pair a device now, without need to clear the database
  • see the zha.yaml file for configuration
  • it will create a base entity and a entity for each sensor(motion, temp, humidity, on/off)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].