Quantcast
Channel: Configuration - Home Assistant Community
Viewing all 108708 articles
Browse latest View live

Automation help with HVAC and windows

$
0
0

I’m trying to get the following automation to work and it is not triggering when I try to manually test it or when I test the conditions. Wondering if anyone sees anything wrong.

- id: '1592440753887'
  alias: Notify - Something Open While HVAC
  description: ''
  trigger:
  - device_id: bf583bb3cc7245d58075a8b9c3a8330e
    domain: binary_sensor
    entity_id: binary_sensor.hank_electronics_ltd_hkzw_dws01_door_window_sensor_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 0f586698c6b8418798f5a071eb59d657
    domain: binary_sensor
    entity_id: binary_sensor.basement_main_window_left_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 13effdf21ea74dee8c43fdb2902d4533
    domain: binary_sensor
    entity_id: binary_sensor.basement_main_window_middle_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 1ee06de77b274022b8f7e16159fd5219
    domain: binary_sensor
    entity_id: binary_sensor.basement_main_window_right_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: ad87adad6c5e4b2cabb98042b796bd1f
    domain: binary_sensor
    entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor_3
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 290981f87e06416ca58aba85e733608e
    domain: binary_sensor
    entity_id: binary_sensor.ecolink_door_window_sensor_sensor_5
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: de0909d77ba74a9fa24171f46b591ed2
    domain: binary_sensor
    entity_id: binary_sensor.front_ecolink_door_window_sensor_sensor_frontdoor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 7c22aa17a456421e8d97134506d32add
    domain: binary_sensor
    entity_id: binary_sensor.ecolink_door_window_sensor_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: a38a85aa600c4d908cf5eea1defe0bc7
    domain: binary_sensor
    entity_id: binary_sensor.fibaro_system_unknown_type_0702_id_2000_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: e2663cdf1999445eb067fac8999a5eca
    domain: binary_sensor
    entity_id: binary_sensor.smartthings_multiv4_da600601_ias_zone
    platform: device
    type: turned_on
  - device_id: 098245bb99d946e59bdc997a8af87d41
    domain: binary_sensor
    entity_id: binary_sensor.kitchen_sink_window_sensor
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 810f4d4768304972aafb2a5ad9c8cc46
    domain: binary_sensor
    entity_id: binary_sensor.samjin_multi_c0d60301_ias_zone
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: opened
  - device_id: 94b3b67364dd4f67986036d3102fc423
    domain: binary_sensor
    entity_id: binary_sensor.ecolink_door_window_sensor_sensor_2
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  - device_id: 26c3f6312cd6407083a319292d9dcdad
    domain: binary_sensor
    entity_id: binary_sensor.master_bedroom_side_window_89280c01_ias_zone
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: opened
  - device_id: d080c6daa9aa44a385df6ca52dbb4ec2
    domain: binary_sensor
    entity_id: binary_sensor.hank_electronics_ltd_hkzw_dws01_door_window_sensor_sensor_2
    for:
      hours: 0
      minutes: 2
      seconds: 0
    platform: device
    type: turned_on
  condition:
  - condition: template
    value_template: '{{state_attr(''climate.hallway'',''hvac_action'') == ''heating''}}'
  - condition: template
    value_template: '{{state_attr(''climate.hallway'',''hvac_action'') == ''cooling''}}'
  action:
  - data:
      message: '{{trigger.to_state.attributes.friendly_name}} is open and the house
        is {{states.climate.hallway.attributes.hvac_action}}'
      title: Something is open
    service: notify.notify

1 post - 1 participant

Read full topic


Cannot discover google mini cast

$
0
0

I rebuilt my HASSIO installation. Everything works great but for the life of me I cannot get HA to discover my google cast devices.

Yes, they are on the same subnet 192.168.1.X

I try to add the integration and it says no google cat devices found on network.
I tried manually adding cast and devices in configuration file and after restarted still does not add them.

What am I missing? I’m running on virtualbox but that shouldnt matter as this worked on my last installation.

1 post - 1 participant

Read full topic

Roomba / invalid config

$
0
0

Hi everyone, very new to HA and getting things setup. Trying to add my roomba 670 but the UI is stating I have an invalid config. here’s the snippet of running the config check

Testing configuration at /config
Failed config
  roomba: 
    - Invalid config for [roomba]: expected str for dictionary value @ data['roomba'][0]['blid']. Got 316702442223640. (See /config/configuration.yaml, line 22).

here’s the snippet of m roomba config:

roomba:
  - host: 10.180.20.30
    blid: <removed>
    password: <removed>
    continuous: false
    delay: 5

I used the python tool to grab my blid and password

1 post - 1 participant

Read full topic

Sonoff T1 light switch not listed in devices

$
0
0

Hey Guys,
I know this is such a newby question but havent been able to find the answer any where…

I have had T1 switches installed for 2-3 years… works great… until itead pulled IFTTT which brought me to home assistant a week ago.

With the front end (UI) of HA, I have been able to sort out most of my devices though my T1 switches are not listed in devices, only entities… there for it gives me alot of limitations with automations…

Is there something I have done wrong? is this a firmware or HA issue?? is this just in my head??

2 posts - 2 participants

Read full topic

It's possible to easily play a Spotify playlist with the scene service

$
0
0

Not sure this goes here, not sure whether it’s been documentated already either. It’s possible to play a spotify playlist easily with the scene service. Example:

- service: scene.apply
  data:
    entities:
      media_player.spotify:
        state: playing
        media_content_type: playlist
        media_content_id: spotify:playlist:45nn32nMJKe2jke2kj2kDKknw
        source: Speaker

I’ve been able to run the source call alongside the playlist which makes it a lot more convenient than calling two services (select_source and play_media)

I have not managed to get the shuffle to work though

1 post - 1 participant

Read full topic

Change motion sensor icon

$
0
0

Hi,

I have motion sensors via openzwave and other ways. The zwave ones give me a motion and a burglar one. I like that burglar icon and want to change the others as well. Is that possible?

This one
SmartSelect_20200620-074506_Home Assistant

Instead of this one
SmartSelect_20200620-074518_Home Assistant

1 post - 1 participant

Read full topic

Zooz ZSE40 MultiSensor sending Detected multiple times on startup

$
0
0

I have a Zooz ZSE 40 MultiSensor tied to a counter, to keep track of the number of times motion was detected. Unfortunately, I’ve found that this particular sensor will send 2 or 3 burglar 0x08 notifications every time I restart HA (and the network does a new query). I have to use this to create a template bianary, since it doesn’t have one itself that works. Has anybody else experienced this? If I weren’t using it for a counter, it wouldn’t be a problem (and probably wouldn’t even have noticed it). Anybody know if this is typical zwave sensor behavior on startup? Logs show it initially setting state to 0x00, which I assume it gets from the previous state cache, then a couple of Detected’s are reported for no apparent reason. While running, it seems to act as you would expect - no false positives.

1 post - 1 participant

Read full topic

Automation for area

$
0
0

I have installed a Victron inverter, I monitor for mains failure currently and want to be able to switch off sonoff’s I’ve added to an area called “non critical”.

I have an automation currently that does this per device, i.e. when mains fails I switch of each device individually but it’s a lot easier for me to have this area and add the devices to the area and then be able to tell it to switch off all devices in that area.

I have played around with the automations and cant seem to find a way to do this so not sure if it is possible.

Actually while typing this I started looking at scenes and by the look of it I could create an on and off scene for these devices.

I’ll leave this here as would like to know if the area automation is possibly and also think this may be a useful thread for others.

1 post - 1 participant

Read full topic


Turn on / off all lights

$
0
0

Hi all,

normally I used to call light.turn_on/off without entity parameters to switch all my lights.

Now there seems to be a new attribute area_id and my first impressions are:

  • I can’t call the service without entity or area_id any more - at least one is expected.
  • Calling an area_id with light.turn_on does…nothing and area_id is also not in the documentation for the service.

Where can I find detailed information about that? What can I do to just switch on / off ALL lights in future without grouping them or passing them as parameters?

Kind regards

1 post - 1 participant

Read full topic

LCN Thermostat / Change Temperature

$
0
0

Hi Everyone,

as beeing new to HA i was hpoing for some help in regards to setting up LCN. I successfully manged to add all light and was able to obtain the Temperature in the Room.

sensors:
- name: Temperature Office
address: myLCN.s0.m45
source: var3
unit_of_measurement: °C

I am really struggeling to set the temperature. In my configuration this is configured as follows

temp

I would like to creat a Thermostat in HA that allows me to change the Temp … like below…

thermostat

I tried with automation… but i don’t get it.

automation:
trigger:
action:
service: lcn.var_rel
data:
entity_id: Temperature.Office.TargetValue
address: myLCN.s0.m45
variable: r1varsetpoint
value: 10
unit_of_measurement: °C

help would highly be apriciated.

1 post - 1 participant

Read full topic

Forum and picture previews when posting?

$
0
0

Is it just me or do we no longer get previews of pictures pasted into posts on the forum?

It seems to have stopped (for me) after that forum outage a few days ago.

2 posts - 2 participants

Read full topic

All in one unit, light switch, motion sensor, temp sensor?

$
0
0

Hello,
New here I was looking at openhab however HA looks much better for my needs.
We are starting our self build and I am currently designing the smart home in the UK. Is anyone aware of a light switch, that has a built-in motion sensor (to auto turn on the light, be good if it could double up for the alarm when armed hey!) and temp sensor doe the room? It would be ideal as less wiring!
What smart light switches are you using?
Thanks,
Rick

1 post - 1 participant

Read full topic

Replacing devices

$
0
0

I am replacing several zwave devices with sonoff basics. Is there an easy way to do this so that I do not have to manually update each entry in various yaml files and node-red flows? Currently I’m using the switch.zwave_### and switch.sonoff_### naming convention, where ### is the device number. Was there a better naming convention that I should have used to prevent this from happening?

1 post - 1 participant

Read full topic

Video Surveillance SW - Docker

$
0
0

Hi,

I have a Xiaomi Dafang with Dafang Hacks CFW installed. Now I want to integrate it with my HA setup with the following requirements:

  • SW must run locally with no cloud attachment in a Docker Container since I am running HA on a Synology NAS
  • I want motion detection and event triggers on HA (For now I have motion detection disabled on the Xiaomi Cam since i think it would be better to have it done on the SW to cause less load on the cam)
  • Live Stream directly on HA
  • PTZ controll on HA
  • Ideally integration to save the recordings or at least the motion detection stills on Synology (via SMB/NFS share?)

Taking this in account what option do you recommend?
I have seen MotionEye, Zoneminder and Synology Surveillance Station.

Thanks a lot!

2 posts - 2 participants

Read full topic

Openzwave: Qubino 2 Relay Flush - 3 instances

$
0
0

Why does my qubino show me 3 instances for 2 relays where 2 react to the same relay?

1 post - 1 participant

Read full topic


Austin,TX help with Konnected/HA install

$
0
0

I’m struggling to get my Konnected/Home Assistant setup going. I’d like to pay someone with experience in these two systems to come out and help me get it all buttoned up and working correctly. My wife is getting impatient. I like in the north austin metro area between Georgetown and Liberty Hill. PM if you or someone you know can help please.

1 post - 1 participant

Read full topic

No Access to Frontend via IP Address, Only SSH, IP ping Successful

$
0
0

Several days ago I had a prolonged power outage. After, I was no longer able to access HA via frontend IP address using either the internal IP, hassio.local, duckdns address, or HA phone app. I assumed a corrupt SD on Raspberry Pi 3 B+ and restored a backup successfully, but it did not restore webpage function. I am able to SSH to the device and an IP ping is successful. I can view and edit config files via Samba. Here is my HTTP config (previously working).
Screenshot (266)

Ha core check shows intact config file. Attempted on multiple browsers (Firefox, Edge, etc). No success.

I checked the IP provider gateway and the public IP address is unchanged. All port forwarding is unaltered. Console command ‘ha dns info’ shows proper host dns address. Screenshot (262)

When I initiate console command ‘ha core restart’, the following error appears in the log:
TypeError: _update() got an unexpected keyword argument ‘external_url’

Does anyone have any suggestions on how I can regain access to the frontend? I have no control over any devices with this issue. Please and THANK YOU!!!

1 post - 1 participant

Read full topic

Modbus Digital Inpunt and Digital Output

$
0
0

I bought the following test equipment.

It is set up and working

My goal would be to connect your inputs and outputs as follows.
The digital inputs on switches.
And the digital outputs on ordinary lamps.

When I turn on the lamps directly through the Home Assistant panel, they receive the command instantly.

When I turn on the lamps by the switches that activate the digital inputs, which are the triggers for changing the state of the digital outputs, the activation of the lamps takes time.

For the researches that I did the Home Assistant the minimum time to search for modbus updates is 1 s so the delay

Does anyone have any idea how to get around this problem

1 post - 1 participant

Read full topic

Re-install or Change IP On Custom Component? (Lutron)

$
0
0

I upgraded to a Unifi Network. My IoT network used to be 192.168.20.0/24 , and now it is 192.168.15.0/24 . My Lutron Hub is picutred here and I’m wondering - can I just edit the IP in this JSON? Or do i have to uninstall / re-install the custom component

1 post - 1 participant

Read full topic

Help With Wemo Insight History Carrd

$
0
0

I have a Wemo Insight plug that allows me to track wattage. When I add this to my 0.111.4 HA card I only get the on/off history. How to I get Lovelace to show an actual graph of wattage user over time?

TIA

Steven

1 post - 1 participant

Read full topic

Viewing all 108708 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>