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

0.106.0 custom:mini-graph-card, blank UI editor

$
0
0

@bikemike wrote:

I updated to 0.106.0 this evening. All of my previously defined custom:mini-graph-card elements are no longer displaying. When I click the Configure UI button, all elements disappear. If I click Raw configuration editor, I can see everything defined, but they still do not appear via the UI editor. Essentially a blank screen with the header at the top and side menu.

I confirmed the /local/mini-graph-card-bundle.js?v=0.9.2 file still exists and it does. My custom:simple-thermostat seems to be working fine, so maybe something is amiss with the mini-graph-card? Not sure why this would come up now though and do not see anything specific in the release notes which would cause this.

[Update] Removed all the references to custom:mini-graph-card, now the UI paints and the editor works as anticipated. Must be something with the graph card, but this seems odd.

Posts: 6

Participants: 2

Read full topic


Is it possible to control Duplicati?

$
0
0

@mitchell wrote:

Either in HA or Node red.

I have Duplicati running on another machine and i ideally want to start a back up on an event.

Ie. If motion is detected, start a backup

Posts: 1

Participants: 1

Read full topic

Upgraded to Home Assistant 0.105.5 now Sonoff Tasmota cannot switch to on

$
0
0

@thang_vu wrote:

Hi,

Can someone help me ? After upgrade to HA 0.105.5, I cannot control all my switches anymore, slide the switch to on, it would slide over to “on” position momentarily then fall back to “off” while it haves no effect on the Sonoff devices. Check configuration ran fine with “green” status. Any idea why ? Thanks.

TV.

Posts: 2

Participants: 1

Read full topic

Recommendations to monitor motioneye movie creation and serve to telegram up up

$
0
0

@champ26 wrote:

Hi community,

Looking for some insight. I am not a coder, more a tinkerer…

I recently set up motioneye because I was looking for a better way to detect activity through my cameras. I have this tuned in exceedingly well and it gets the job done just fine. I also trigger doods for certain cams and send me a snapshot with image analysis, but now, with motioneye being so dialed in, I really don’t even need it to filter events more.

What I’m trying to do is make it easier to serve up the last created video clips from motioneye to telegram, so I have more context on the go quickly than just a single snapshot.

I can easily detect properly and create the clips in motioneye.

I also did some googling and figured out how to do a simple python script to look at the motioneye folder for the most recent mp4 and then copy it to a folder that Hass could easily access and serve up to telegram. What I don’t know how to do is when to check for a new file. Ideally it would be after receiving an event that a file was created.

Where I’m stuck is how to automate the copy process.

Ideally, here is what I want to do.

When a new movie file is created by motioneye add-on, copy it and rename it to CAMERANAME-latest.mp4 to a folder Hass can easily access.

How could I monitor the motioneye movie clip creation and once that is done copy it to a new place?

I wondering how would be best to accomplish this. I saw motioneye has the ability to run a command when a new media file is created.

Maybe a curl command there to trigger an input Boolean in HA. Then have HA do an automation on that input Boolean to

  1. Run Script to copy /rename clip
    1a. I saw there is a shell command integration, but not sure if that is the best. I tried this pointing to the hosts location for python and the script, but the docker Hass instance on that host doesn’t seem it can access it. The logs are pretty minimal so not sure where it’s failing.

  2. Send clip to telegram

Last, maybe this isn’t best served by HA. I figured I’d start here as having HA and Hassio add-ons I’d try to keep it in the family. I’m also open to other options like maybe appdaemon is a fit for this? I just don’t which way to go

Any input greatly appreciated!

Posts: 1

Participants: 1

Read full topic

Notify.Mobileapp stops working when trigger.entity_id is added

$
0
0

@Arsenal10108 wrote:

I am trying to write a single automation that will notify me via push notification on Android HA app.
It will notify me just fine with basic text in quotes but as soon as I try to add the trigger.entity_id into the message service data it breaks it.
Here is my YAML

- id: '1582292442297'
  alias: Notify me when Garage door Opens
  description: ''
  trigger:
  - entity_id: 
      - binary_sensor.little_garage_door
      - binary_sensor.big_garage_door
    from: closed
    platform: state
    to: open
  condition: []
  action:
  - data:
      message: '{{trigger.entity_id}} has been opened'
      title: Alert
    service: notify.mobile_app_pixel_3

Posts: 2

Participants: 2

Read full topic

(some) icons no longer change with state change

$
0
0

@mattvirus wrote:

First observed in 105.5, also observed in 106

zwave lights and tasmota lightbulbs classified as “light” properly change icon when state changes
image
image

but tasmota plugs and devices configured as “switch” do not…
image
image

image

switches are manually configured for mqtt in switches.yaml, which is included in main configuration.yaml, as i have done for years. Worked fine until 105.5, and not working in 106.

any ideas?

Posts: 1

Participants: 1

Read full topic

433 RF Rolling Codes / EZ Wand

$
0
0

@Darbos wrote:

Does anyone know of a device that can send RF with rolling codes? I’ve tried Harmony and broadlink pro.

It’s for ezwand.

Posts: 1

Participants: 1

Read full topic

Energy meter Orno51x and modbus

$
0
0

@Booster wrote:

Hi,
I change platform from Openhab to Home Assistant, but my problem is to set energy meter orno 51x via modbus in HA,

In OH2 my cfg see like that

serial.home_freq.connection=/dev/ttyUSB0:9600:8:even:1:rtu:150:1000:none:none
serial.home_volt.connection=/dev/ttyUSB0:9600:8:even:1:rtu:150:1000:none:none

poll=5000
serial.home_freq.type=holding
serial.home_freq.id=1
serial.home_freq.start=20
serial.home_freq.length=2
serial.home_freq.valuetype=float32

serial.home_volt.type=holding
serial.home_volt.id=1
serial.home_volt.start=14
serial.home_volt.length=6
serial.home_volt.valuetype=float32

In HA i have only this

modbus:
  type: serial
  name: hub
  methos: rtu
  port: /dev/ttyUSB0
  baudrate: 9600
  stopbits: 1
  bytesize: 8
  parity: N

And error

Invalid config for [modbus]: [methos] is an invalid option for [modbus]. Check: modbus->modbus->0->methos. (See /config/configuration.yaml, line 261).

someone can help me finish the configuration so that I can get the data from the energymeter?

Posts: 5

Participants: 2

Read full topic


Restart button

This entity does not have a unique ID

$
0
0

@boyderama wrote:

Hello all,

I am getting “This entity does not have a unique ID” on a few switches.

Where can I set these ID’s?

Many thanks
Boyd

Posts: 2

Participants: 2

Read full topic

How can I find my hardware on RPI3?

$
0
0

@Birger wrote:

I have an RPI3, more or less. It has a different PCB but the specs are RPI3 and it swallowed the HA software I put on a micro SD and it works without problems. It has two USB, WiFi, LAN and HDMI. It also has a Z-wave (Sigma design), a 433 MHz (RFlink I think) and some LEDs mounted direct on the PCB.

Hardware info from the HA cli looks like this.
(Sorry, if I didn’t manage to paste the picture)
image

Anyone who can give advice how to find out the path to my hardware? Thanks in advance.

//Birger

Posts: 1

Participants: 1

Read full topic

False automation triggering (occasionally)

$
0
0

@majdzik84 wrote:

I have automation that lets me know when the door is open for a long time. It works correctly, but once in a while (randomly) I get a fake notification.

I noticed the problem mainly with binary_sensor.drzwi_frontowe (maybe because they are most often used).

On the screens you can see that the notification was sent 10 minutes after closing the door (and not after 10 minutes when the door is still open)

Does anyone know why this is happening?

  - alias: Otwarte drzwi zewnętrzne
    trigger:
      - platform: state
        entity_id: binary_sensor.drzwi_frontowe
        from: 'off'
        to: 'on'
        for: '00:10:00'
      - platform: state
        entity_id: binary_sensor.drzwi_kotlownia
        from: 'off'
        to: 'on'
        for: '00:10:00'
      - platform: state
        entity_id: binary_sensor.drzwi_garaz
        from: 'off'
        to: 'on'
        for: '00:30:00'
    action:
      - service: script.notify
        data_template:
          title: "Wykryto otwarte drzwi zewnętrzne"
          message: "Zamknij drzwi {{ trigger.to_state.attributes.location }}, godzina {{ now().strftime('%H:%M') }}."
          tag: "notification-door-opened"

Posts: 1

Participants: 1

Read full topic

How do I add "X minutes ago" to motion sensor card?

$
0
0

@erikp wrote:

I’d like to be able to see the current state of my motions sensors, and also how long ago they changed state (basically the last time someone triggered a motion).

So something like the attached picture, but for a couple of motion sensors.

image

Image source: https://developers.home-assistant.io/docs/frontend_add_card

Any advice? None of the default cards seem to have this as a GUI option.

Posts: 5

Participants: 2

Read full topic

2 Pifaces config in Hassio

$
0
0

@19roland70 wrote:

I have now 1 RPi 4 with 1 Piface.
I would connect a second Piface but I don’t know how I must program this in yaml.
If I number further then Input7 I get an error.
Must I set the address from the Piface somewhere in the configuration file.
Can anyone give me a solution to fix this problem ?

Posts: 5

Participants: 2

Read full topic

Help with Corona Scrape Sensor

$
0
0

@Johann_Edelmuller wrote:

can someone help me to set up a sensor for Austria?
I just can’t get anywhere on my own.

#######################################################################
### CORONA Virus ###
#################### 
  - platform: scrape
    scan_interval: 1800
    resource: https://www.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6
    name: Corona Virus Österreich
    select: .ember815.feature-description.ember-view

https://www.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6

Posts: 3

Participants: 2

Read full topic


Automation works but YAML is ugly

$
0
0

@ha-username wrote:

I’m using demultiplexers to publish topics for various sensors. Here’s one example:

- alias: OMG Pilight Elro demultiplexer
  id: 1a9a1234b34641c09824f583c33fd9f5
  trigger:
    platform: mqtt
    topic: home/OpenMQTTGateway_ESP8266_RF/PilighttoMQTT
  condition:
  - condition: template
    value_template: '{% if trigger.payload_json.protocol==''elro_800_contact'' %} true
      {% endif %}'
  action:
  - service: mqtt.publish
    data_template:
      topic: '{{ ''homeassistant/binary_sensor/'' + trigger.payload_json.protocol|string + trigger.payload_json.message.systemcode|string + trigger.payload_json.message.unitcode|string + ''/state'' }}'
      payload: 'ON'
  - service: mqtt.publish
    data_template:
      topic: '{{ ''homeassistant/binary_sensor/'' + trigger.payload_json.protocol|string + trigger.payload_json.message.systemcode|string + trigger.payload_json.message.unitcode|string + ''/config'' }}'
      payload: '{"name":"{{trigger.payload_json.protocol|string}}{{trigger.payload_json.message.systemcode|string}}{{trigger.payload_json.message.unitcode|string}}", "device_class": "motion", "state_topic": "homeassistant/binary_sensor/{{trigger.payload_json.protocol|string}}{{trigger.payload_json.message.systemcode|string}}{{trigger.payload_json.message.unitcode|string}}/state"}'

How can I make this shorter? Can I assign variables in the condition somehow? Any other code conventions I should be aware of?

Posts: 4

Participants: 3

Read full topic

Interpreting "Check Home Assistant Configuration" Add-on Results

$
0
0

@Tangston311 wrote:

I’m currently on 100.1 and looking to upgrade to .106 and ran a check in the Check Home Assistant Configuration add-on and it spit out the following results which I’m having difficulty interpreting…do the question marks mean something is wrong on that line? Is there something else that I’m just not seeing here?

Appreciate the help,

Successful config (partial)
  scene:
    - platform: homeassistant
      states: ?
        - entities: ?
            light.exterior_breakfast_nook_outdoor_sconces: <state light.exterior_breakfast_nook_outdoor_sconces=off @ 2020-02-27T20:24:39.771889+00:00>
            light.exterior_front_porch_sconce: <state light.exterior_front_porch_sconce=off @ 2020-02-27T20:24:39.770015+00:00>
            light.patio_patio_awning_lights: <state light.patio_patio_awning_lights=off @ 2020-02-27T20:24:39.772582+00:00>
            light.patio_patio_sconces: <state light.patio_patio_sconces=off @ 2020-02-27T20:24:39.773026+00:00>
            switch.exterior_landscape_lights: <state switch.exterior_landscape_lights=off @ 2020-02-27T20:24:39.769544+00:00>
            switch.exterior_library_outdoor_sconces: <state switch.exterior_library_outdoor_sconces=off @ 2020-02-27T20:24:39.768934+00:00>
          id: sunrise_activities
          name: Sunrise Activities
    - platform: homeassistant
      states: ?
        - entities: ?
            light.kitchen_kitchen_cabinet_pucks: <state light.kitchen_kitchen_cabinet_pucks=on; brightness_pct=2 @ 2020-02-27T20:24:39.780174+00:00>
            light.kitchen_kitchen_pendant: <state light.kitchen_kitchen_pendant=on; brightness_pct=50 @ 2020-02-27T20:24:39.780723+00:00>
            light.living_room_living_room_lamp: <state light.living_room_living_room_lamp=on; brightness_pct=20 @ 2020-02-27T20:24:39.781203+00:00>
          id: morning_routine
          name: Morning Routine
    - platform: homeassistant
      states: ?
        - entities: ?
            light.walkway_walkway_dining_kitchen_cans: <state light.walkway_walkway_dining_kitchen_cans=on; brightness_pct=6 @ 2020-02-27T20:24:39.798774+00:00>
            light.walkway_walkway_kitchen_cans: <state light.walkway_walkway_kitchen_cans=on; brightness_pct=6 @ 2020-02-27T20:24:39.798131+00:00>
          id: low_scene_transition
          name: Low Scene Transition

Posts: 2

Participants: 2

Read full topic

Smart doorbell, chime is zooming

$
0
0

@Bollux wrote:

Hi guys,

I’m trying to make my doorbell smart with @frenck s tutorial:

I have done everything the tutorial says, and everything works, except if i turn on the power switch on the transformer, the chime is making a zooming noise. When i push the doorbell button, it does ring the chime.

Could the problem be related to the relay board, or did i wired it wrong?

Posts: 1

Participants: 1

Read full topic

SimpliSafe Error after Updating Hassio

$
0
0

@brian1917 wrote:

I just updated Hassio to HassOS 3.11 and am now getting this error with SimpliSafe:

2020-02-27 15:47:41 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry XXXX@gmail.com for simplisafe
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 215, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 222, in async_setup_entry
    await simplisafe.async_init()
  File "/usr/src/homeassistant/homeassistant/components/simplisafe/__init__.py", line 482, in async_init
    self.systems = await self._api.get_systems()
  File "/usr/local/lib/python3.7/site-packages/simplipy/api.py", line 235, in get_systems
    self._request, self._get_subscription_data, system_data["location"]
  File "/usr/local/lib/python3.7/site-packages/simplipy/system/__init__.py", line 150, in __init__
    ] = self._generate_system_notification_objects()
  File "/usr/local/lib/python3.7/site-packages/simplipy/system/__init__.py", line 251, in _generate_system_notification_objects
    for raw_message in self._location_info["system"]["messages"]
KeyError: 'messages'

Anyone else seeing this/know how to resolve?

Posts: 3

Participants: 2

Read full topic

Zwave not reliable

$
0
0

@Canedje wrote:

I’m runnig Home Assitant now for 2 weeks.
Running on a Raspberry Pi4B 4Gb.
I do have a conbee II Zigbee Dongle and a Zwave.me zwave dongle.
After sometime at least once a day non of the zwave devices are reacting anymore or very slow (reacting after 20 seconds or so)
I do need to do a reset of HA to get the system started again running for some time.
I do not see very busy network on OZW.
If I look to the PIRS in Overview they stil recieving signals going on and off.
If I do try to switching by hand on overview in Lovelace. The devices don’t react.
I do use about 30 devices: the most Fibaro and Neo Coolcam
Any ideas what to do?

Zigbee is giving no problem.

If I do decide to install an other type Zwave dongle do I need to pair al devices again? Or is the zwcf file takes care of the pairing?

Posts: 1

Participants: 1

Read full topic

Viewing all 109599 articles
Browse latest View live


Latest Images

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