Comments (14)
I'm looking for the same ability. Lights means everything Hue basically gets duplicated, but my GE Z-wave in-wall dimmer is only avail through homeassistant (usb device ownership).
Instead of an exclude, maybe a specific include by entity_id?
from homebridge-homeassistant.
https://github.com/home-assistant/homebridge-homeassistant/blob/master/index.js
I think that I can wire it in manually with something like this.. pseudocode at best, haven't gone home to try it yet.
var allowedLight = new Boolean();
switch (entity) {
case "light.ge_switch_2":
case "light.ge_dimmer_3blah":
allowedLight = true;
break;
default:
console.log("Light is NOT in the allowed list");
}
if (entity_type == 'light' && allowedLight) {
accessory = new HomeAssistantLight(that.log, entity, that)
}else if (entity_type == 'switch'){
from homebridge-homeassistant.
this is working for me.
console.log(entity.entity_id);
if (entity_type == 'light' && entity.entity_id == 'light.ge_12724_3way_dimmer_switch_level_4' ) {
console.log(entity.entity_id);
console.log("Light is allowed, configuring");
accessory = new HomeAssistantLight(that.log, entity, that)
from homebridge-homeassistant.
+1 on this. I have a bunch of mqtt switches in HA that are dummies primarily used for logic that I really don't want in Homebridge. In fact sometimes when I muddle my words "read drink too much" and Homebridge misinterprets my command HA goes haywire as it tries to turn on/off switches that shouldn't be touched. What would be neat is a way of flagging assets in HA that are automatically sucked in by the plugin rather than sucking in everything. I wish I knew .js I would give that code a go.
from homebridge-homeassistant.
Can't you pair the HomeBridge with HomeKit and then manually remove devices you don't want in a third-party app like Home?
from homebridge-homeassistant.
Well using Apple's Home app, I can't see where you can remove individual accessories. You can preclude them from showing up as a status on the main page of home or you can not add them to favorites but that's about it, they still appear. I created a room for all the stuff I don't need and put all the switches in there but being able to control what goes in would be a better solution.
from homebridge-homeassistant.
is this on npm already?
from homebridge-homeassistant.
Not yet, you can get the latest by running npm install -g home-assistant/homebridge-homeassistant
.
from homebridge-homeassistant.
Cannot get Homebridge to exclude items from home-assistant. I did add the customise in confuguration.yaml file of HA.
from homebridge-homeassistant.
Can you confirm the version of the plugin you're using and paste in your customize config for your devices that you are trying to ignore?
from homebridge-homeassistant.
im using HA 0.30.2 and my config file is like this.
homeassistant:
customize:
switch.aeotec_zw096_smart_switch_6_switch_2:
friendly_name: Second Bedroom switch
light.aeotec_zw098_led_bulb_level_4:
friendly_name: Bedroom Floor Lamp
customize:
light.hue_white_lamp_5:
homebridge_hidden: true
from homebridge-homeassistant.
sorry.
homeassistant:
customize:
switch.aeotec_zw096_smart_switch_6_switch_2:
friendly_name: Second Bedroom switch
light.aeotec_zw098_led_bulb_level_4:
friendly_name: Bedroom Floor Lamp
customize:
light.hue_white_lamp_5:
homebridge_hidden: true
from homebridge-homeassistant.
Your indention there looks off, be sure it's nested under the appropriate keys in the YAML. Also, is that in the same file. I'm not sure you can have 2 customize
keys. Try this:
homeassistant:
customize:
switch.aeotec_zw096_smart_switch_6_switch_2:
friendly_name: Second Bedroom switch
light.aeotec_zw098_led_bulb_level_4:
friendly_name: Bedroom Floor Lamp
light.hue_white_lamp_5:
homebridge_hidden: true
from homebridge-homeassistant.
works like a charm !!!! - aweome buddy - thanks !!!!
from homebridge-homeassistant.
Related Issues (20)
- Notifications in home app only shows up when home app open HOT 2
- MQTT Cover Tilt ( 0 - 100 % in Homekit ) HOT 3
- Binary Sensor missing categories
- Home Assistant tries to set temperature to Celsius HOT 1
- Blinds/shutters state not updating in the homekit
- Homekit integration issue
- Feature - read password from external file
- Home Assistant can't readd homekit Accessory HOT 1
- Home App turns off heating
- MQTT Fan "low" speed not usable via Homebridge HOT 1
- Missing device classes break homebridge HOT 1
- Air Quality (BME680) HOT 3
- Config.json to Home Assistant HOT 5
- [HomeAssistant] Failed getting devices: Error: connect ECONNREFUSED 192.168.1.101:8123. Retrying... HOT 1
- What is the difference between Homebridge and HomeKit component plugins? HOT 3
- Does this work on Hassbian? HOT 2
- Light sensor: home assistant passes type "lm" which doesn't match type "lux" HOT 3
- Only able to select 2 fan speeds when I have 3 in Home Assistant. HOT 5
- problems with logging granularity
- RFXtrx Cover status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-homeassistant.