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

History Graph Card - refresh_interval not working

$
0
0

Hi,

does anybody else have the problem that the graph only updates when doing a refresh of the browser window?
Even going to a different view tab and back does not update the graph for me.

Thanks!

2 posts - 2 participants

Read full topic


Duck DNS - cannot access Unifi add-on on https

$
0
0

I setup DuckDNS and it’s working fine, most of the recent guides (such as this one) don’t include anything that covers the Let’s Encrypt side of things. But… from what I have read, that’s cool the DuckDNS add-on takes care of that for you, great!

One of the deals with this setup is the fact that you use the DuckDNS domain to access your HA inside AND outside, so no more local.hassio etc., that’s fine (I feel I’m lamenting the local address, but I don’t know why… :see_no_evil:).

OK so moving on to the issue, I can’t access my Unifi controller web UI when accessing HA through the secure DuckDNS domain. It takes me to:

https://*****.duckdns.org:8443/

and I get - ERR_CONNECTION_REFUSED

Unifi is installed as an add-on to HA - So do I need to setup additional port forwarding to access my Unifi setup? Or is it a case of a config change in Unifi? I changed ssl from False, to True after installing DuckDNS:

ssl: True
certfile: fullchain.pem
keyfile: privkey.pem

I have actually tried both True and False with no success. I also amended the host name in Unifi to match the DNS address - no joy. The only way I seem to be able access Unifi now is if I access HA using its IP address and port with the ‘http’ prefix, then I can get into Unifi.

My config file has the following:

http:
    base_url: https://******.duckdns.org
    ssl_certificate: /ssl/fullchain.pem
    ssl_key: /ssl/privkey.pem
    ip_ban_enabled: True
    login_attempts_threshold: 3

Weirdly, I don’t have a ssl directory when browsing in File editor, is this normal? Or is the ssl folder stored locally to the HA instance and only accessible by SSH or the local terminal?

Also another weird thing is that when I view my certificate in browser (when logged in through the DuckDNS domain), it states the author is Bitdefender …:


Bitdefender is my AV but why is it here? Shouldn’t this be Let’s Encrypt? :thinking:

I’m running version 0.113.3 in a VM through virtual box, using an EdgeRouter X SFP

Any help would be greatly appreciated as ever, thanks all.

1 post - 1 participant

Read full topic

How to create multiple actions in an automation? - Notify on Google Cast and Companion App

$
0
0

Could someone tell me what I am missing here? The automation works fine for one or the other but not both. Do I have to create two seperate automations or is there way to include both services into the one automation?

# Front Door Open        
  - alias: 'FrontDoorOpen'
    trigger:
      - platform: state
        entity_id: binary_sensor.wyzesense_77810969
        to: 'on'
    action:
      service: tts.google_translate_say
      entity_id: 
        - media_player.home
      data:
        message: 'Front Door Open'
    action:        
      service: notify.mobile_app_stevens_iphone
      data:
        message: 'Front Door Open'

2 posts - 2 participants

Read full topic

Bug? Removing a node does not remove some of its disabled entities

$
0
0

Anyone experience orphaned z-wave entities? I removed a z-wave node/device and then rebooted the host, now I have entities belonging to an unavailable device. The node disappeared from the z-wave integration’s node list. However, what remains are the entities I had disabled.

Is this a bug with HA not cleaning up properly?
Is there a way to manually clean this up now?

Note, this Aeotec Water Sensor creates 2 items on the Device list. Each “Device” represent 2 of the 4 contact pins on the physical device. Each Device has its own Alarm Type, Alarm Level, and SourceNodeID.

Here is the removed Water Sensor 4, with the remaining device and its entities:


Here is a properly working water sensor device:


Could the duplicate Device names be an issue?

1 post - 1 participant

Read full topic

Zooz ZSE19 Multiple Chimes on Single Activation

$
0
0

Hi, I have this automation:

  - id: activate_door_chime_atm
    alias: Activate Door Chime (ATM)
    description: Activate Door Chime on Entry Door Open
    trigger:
    - entity_id: binary_sensor.ecolink_door_sensor
      platform: state
      to: 'on'
    - entity_id: binary_sensor.ecolink_door_sensor_2
      platform: state
      to: 'on'
    action:
    - service: zwave.set_config_parameter
      data:
        node_id: 48
        parameter: 3
        value: 34
    - service: system_log.write
      data:
        message: Chime Activated

and randomly, it chimes multiple times when a door is opened. I find a single call to the automation in the logs, as well as my “Chime activated” system_log write, when this happens. Sometimes 1 chime, sometimes 2,3,4,6, and even 10 in a row. If I use Dev Tools to call the service with the parameters listed, it only ever chimes ONCE. Also, if I trigger the automation from the UI, it only ever chimes ONCE. I am sure the door sensors are fully separated, so no chance of them doing a multiple trigger. The fact that it doesn’t exhibit using Dev Tools, seems to eliminate the Device as the problem, and the fact that the automation triggered from the UI doesn’t exhibit, seems to rule out the action part of the automation. So, that leaves the Trigger. Does anybody see an issue with the trigger, or have any clue as to what could be causing this behavior? It’s getting pretty annoying.

1 post - 1 participant

Read full topic

Aqara Opple, paired to Zigbee2mqtt in home assistant, turns on/off all my switchs without configuration. How to deactivate that behavior?

$
0
0

I have got an Aqara Opple, 6 button controller. I paired it to my Zigbee controller in home assistant.

Without any further configuration, when I press the first two buttons every Zigbee switch will go on and the second one will turn them off.

Events are showing up in HA, but in order to use it I have to suppress that behavior.

I followed the instructions here: https://www.zigbee2mqtt.io/information/binding.html with no success.

I can’t figure out how to do it. The documentation states that I should unbind using a target device (I guess that is the group name), but there is no group name in my case.

I called the mqtt.publish service with this payload:

topic: zigbee2mqtt/bridge/unbind/control_opple
payload: control_opple
qos: 2
retain: true

I couldn’t find a way to list bound devices. And even though I know the payload is wrong, I get a “Source Undefined or not a device” error, So I don’t think I have reached the payload point yet.

Can anyone help with an example?
Thanks!

1 post - 1 participant

Read full topic

Scrape Vera XML

$
0
0

I’m trying to pull a temperature value from a vera device that can show XML data for a sensor.

This only displays the temperature value

http://[vera.ip.address]:3480/data_request?id=variableget&DeviceNum=4&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature

82.00

This is my scrape sensor

  - platform: scrape
    name: 'Vera Temperature'
    resource: http://[vera.ip.address]:3480/data_request?id=variableget&DeviceNum=4&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature
    select: "*"
    value_template: "{{ value.replace(' ', '') }}"

The only thing it shows in entities is “Unknown.”

Alternatively I can request a larger bit of XML code from the device like this, however I still can’t extract the value=“82.00” option.

http://[vera.ip.address]:3480/data_request?id=status&output_format=xml

<root Using_2G="0" LoadTime="1597358687" DataVersion="358700701" UserData_DataVersion="358699276" TimeStamp="1597524972" lights_on="0" lights_off="0" doors_locked="0" doors_unlocked="0" sensors_tripped="0" sensors_not_tripped="1" failed_devices="0" visible_devices="5" partitions_active="0" partitions_notactive="0" ZWaveStatus="1" Mode="1" LocalTime="2020-08-15 16:56:12 D">
 <startup>
 <tasks/>
</startup>
<devices>
 <device id="4" PendingJobs="0" status="-1">
  <states>
    <state id="136" service="urn:upnp-org:serviceId:TemperatureSensor1" variable="CurrentTemperature" value="82.00"/>
    <state id="137" service="urn:micasaverde-com:serviceId:HaDevice1" variable="Configured" value="0"/>
    <state id="138" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SensorMlType" value="1"/>
    <state id="139" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SensorMlScale" value="3"/>
    <state id="140" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="VariablesGet" value=""/>
    <state id="141" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ManufacturerInfo" value="0,0,0"/>
   </states>
 <Jobs/>
<tooltip display="0"/>
</device>

1 post - 1 participant

Read full topic

What's the easiest way to run an automation every hour and a half?

$
0
0

Is there a way to do this with time_pattern or should I just use a timer?

I want to trigger sprinklers every hour and a half from dawn until dusk so I’m leaning towards a timer that starts at dawn and each time it fires retrigger it again unless it is after dusk, but I’m not sure if there is a simpler way.

1 post - 1 participant

Read full topic


Network weirdness that I can't capture in a one line subject

$
0
0

Since the last few days I have been seeing all (only six) my ESPHome devices regularly lose their network connection for just a few seconds before they come back. At least I can say that the sensors become unavailable in HA.

The thing that has changed is that I migrated from Ubuntu/HA to a HA on a Proxmox VM (using the same NUC) and because I think it might be important to know, my UniFi controller is the HA add-on so the same IP address as my HA instance.

But what is really weird is that following the complete rebuild of the NUC the hostname still appears to be ‘Ubuntu’.

My Proxmox node is 'Proxmox’
image

My hostname in the Proxmox console is 'Proxmox’

But tracert shows it as 'ubuntu’
image

As does my quick and dirty network scanner

Strangely, UniFi controller shows it as having no IP address or hostname
image

image

Tomorrow I plan to reset all my Unifi network, rebuild the Proxmox NUC and start everything from scratch.

Unless of course before then someone here can offer some hints as to what on earth is going on.
Please?

1 post - 1 participant

Read full topic

Cant get ZWave to work

$
0
0

I’ve got a HUSBZB1
I started with the Open ZWave integration but when I couldn’t get my lock to work, I excluded it and installed the standard ZWave integration.
I installed my lock but not as secure so, I must exclude it and include again as secure

I created a network key HERE and added 0x before each entry.

1st issue, cannot start the Z-Wave Network
HERE is my log

I tried disabling the network key
HERE is my log with the network key disabled

I’m not opposed to uninstalling all ZWave and starting over but, I dont know how to exclude my lock

1 post - 1 participant

Read full topic

Supervisor

$
0
0

My supervisor reports:

Supervisor
Version	234
Latest version	234
You are running an unsupported installation.
System Health
arch	armv7l
chassis	
dev	false
docker	true
docker_version	19.03.5
hassio	true
host_os	Raspbian GNU/Linux 10 (buster)
installation_type	Home Assistant Supervised
os_name	Linux
os_version	4.19.93-v7l+
python_version	3.8.3
supervisor	234
timezone	America/New_York
version	0.114.1
virtualenv	false
Lovelace
dashboards	5
mode	storage
resources	17
views	6

Apparently I installed using the “supervised” method that will no longer supported.
How do install using the correct method install for the rpi4?
Can I then restore a snapshot?
Will I still be able to use a python script that relies on smbus2 or python-smbus?

1 post - 1 participant

Read full topic

Remove Nabu Alexa Automatic Adding of devices

$
0
0

Is there an option somewhere to stop Nabu automatically syncing every single sensor/script/automation I add to HA that also adds it to Alexa?
I want to only add the ones I need and not everything I add to HA. Is it possible?
I was doing some testing and now I have 100 useless entities I must remove one by one in the Alexa app

1 post - 1 participant

Read full topic

Qubino Flush Relay intermittent shows on when off

$
0
0

I have a Qubino (GOAP) ZWave relay on my Foyer Lighting.

Functionality
I have a Manual switch that can turn this relay on to illuminate the Foyer light.
It is also activated by an Automation (code below)

- id: '1573809638998'
  alias: Foyer Lighting at night
  description: Turn on Foyer Light after door switch is opened or MS6 detects motion
  trigger:
  - entity_id: sensor.front_door_3_access_control
    from: '23'
    platform: state
    to: '22'
  - entity_id: binary_sensor.aeon_labs_zw100_multisensor_6_sensor
    from: 'off'
    platform: state
    to: 'on'
  condition:
  - condition: or
    conditions:
    - after: sunset
      condition: sun
    - before: sunrise
      condition: sun
  - condition: and
    conditions:
    - condition: state
      entity_id: switch.qubino_foyer_relay_switch
      state: 'off'
  action:
  - entity_id: switch.qubino_foyer_relay_switch
    service: switch.turn_on
  - data: {}
    entity_id: switch.aeon_cpa_switch_switch_3
    service: switch.turn_on
  - delay: 00:05:00
  - data: {}
    entity_id: switch.aeon_cpa_switch_switch_3
    service: switch.turn_off
  - delay: 00:01:00
  - entity_id: switch.qubino_foyer_relay_switch
    service: switch.turn_off
  mode: single

Intermittently the status of the Qubino Relay is shown as “ON” when it’s actually “OFF”. I have to go into HA and move the blue switch to the off position. The Light is not on.
This usually happens after an automation has been triggered and conditions met. The light turns on and after the delay turn off but the switch shows as on still?

I have tried making sure that it’s not a range thing. As you can see from Image there are 4 neighbors and most are within a few meters or so.

Anyone see any issues with my automation or is this a bug in ZWave or Qubino???

1 post - 1 participant

Read full topic

Default Lovelace view based on binary sensor

$
0
0

Hello,

I have a pretty reliable method of knowing when I am in my bedroom. I would like to make it so that when I open the Home Assistant app on my phone, it immediately opens the “Bedroom” view of my main dashboard (instead of the default view for the main floor).

I use yaml to configure all of my dashboards/views and I know how I can switch it up there if I hardcode it, but I’d like to be able to do it dynamically based on my “binary_sensor.in_bedroom” sensor, or via an automation triggered by that sensor.

Does anybody know if that is possible?

3 posts - 2 participants

Read full topic

Fully customizable weather card


Incorporating Custom Cards into Lovelace

$
0
0

I’m using Lovelace in UI mode so no YAML. I have some custom cards that I would like to use. These are the custom cards for the iCloud3 configuration. I can’t figure out how to get them to work. I try creating a manual card and then copy/paste the YAML code for the card but it never works. For example, the first error always says “No card type configured”.

I’ve tried searching but haven’t really found anything helpful since most things I’ve found are for YAML mode.

1 post - 1 participant

Read full topic

Automations for ZWave "Node User Codes" in Door lock

$
0
0

I have found in forums how to set and delete user codes with automation, but what I am looking for is how to do specific things when a certain user code is used on the ZWave door lock. I have not been able to find anything on this. what is the right way to get this? Node-Red? Unfortunately in the Logbook, there isn’t anything that shows “User Code 2 was used to unlock door”. It just shows lock was unlocked. Has anyone figured this out?

1 post - 1 participant

Read full topic

TP Link HS220 separate brightness from state

$
0
0

The TP Link HS220 dimmer has a “feature” that remembers the brightness of the last use.

https://community.tp-link.com/us/home/forum/topic/159997

Last “On” state will trigger the lights to go on at what ever the setting was last set to when they were turned on. For instance if you had the lights dimmed to 50% when last turned on. Then the next time they are triggered the lights will go on to that state.

Scenes can be set to turn on or off and for devices with additonal features light the light bulbs and dimmer switch you should have the addtional option of setting brightness or color depending on the device. If you are not getting the desired results please share a screen capture so we can see what is going on and help determine a resolution.

Thank you

My goal is to have the brightness set depending on the time/sun status. It’s in a bathroom and I’d like to have the brightness be 100% during daylight hours and then set to ~30% after 2000h. My thoughts were to set scenes with the different requested states and then automate the setting of the states with the various conditions.

You can set the brightness with the “preset” function on the phone app, and the next time the state is toggled the lights will use the selected brightness level.

Can a new async function be added to do something like async_set_brightness https://github.com/home-assistant/core/blob/71a03c8ca5ec9201e94743b2c6e9dea73766709c/homeassistant/components/tplink/light.py#L168 that would allow a scene to be created for setting the brightness without turning on the dimmer switch at the same time?

1 post - 1 participant

Read full topic

Help needed with camera.play_stream and apple tv

$
0
0

hey there:)
im trying to get the play_stream service to push my camera to my apple tv -i use the apple tv beta component from hacs - but it wont work only flippi g for a short time to a black window, showing that the service call tries to push in but after 3 or 4 seconds turn back to the homescreen. anyone has experienced something similiar and knows a workaround out there?

1 post - 1 participant

Read full topic

When did HA cleanse Automations.yaml from the weekday condition?

$
0
0

Suddenly all my blinds went up on saturday and sunday morning instead of just during the week.
Looking at my automations.yaml all of the conditions I had manually put there for weekdays are gone.

5 posts - 3 participants

Read full topic

Viewing all 106239 articles
Browse latest View live


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