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

Google tss will not say new stuff ;-)

$
0
0

Hi Team

Can some one give me a small hint…

Trying to setup a doorbell - got an Ikea switch (zigbee by zha) working. It activates an automation that calls a sonos script.
Works fine.

But, I can’t get sonos - google tts to say the new sentence -“some one by the door” :wink: It can only get it to say ‘Your husband coming home!’. I have been using the tts for a long time, when the windows opens. This works fine.

In the log I see this message:

Logger: homeassistant.components.tts
Source: components/tts/__init__.py:172
Integration: Text-to-Speech (TTS) ([documentation](https://www.home-assistant.io/integrations/tts), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+tts%22))
First occurred: 10:52:26 PM (3 occurrences)
Last logged: 11:16:41 PM

* Error on init TTS: No TTS from google_translate for 'Your husband coming home again!'
* Error on init TTS: No TTS from google_translate for 'Some one at the door'

I have read that adding baseURL solves this problem…
I have added this:

# Text to speech
tts:
  - platform: google_translate
    base_url: http://192.168.2.85:8123

Samme result.
Seems like, google tts is no longer working, and the ‘old’ stuff that works is because it is cached ?

Running latest HA.


System Health

Home Assistant Core Integration

version: 0.118.4
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.6
os_name: Linux
os_version: 5.4.77
arch: x86_64
timezone: Europe/Copenhagen

Home Assistant Cloud

logged_in: true
subscription_expiration: December 4, 2020, 1:00 AM
relayer_connected: true
remote_enabled: true
remote_connected: true
alexa_enabled: true
google_enabled: true
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok

Hass.io

host_os: HassOS 4.17
update_channel: stable
supervisor_version: 2020.11.0
docker_version: 19.03.12
disk_total: 30.8 GB
disk_used: 17.1 GB
healthy: true
supported: true
board: ova
supervisor_api: ok
version_api: ok
installed_addons: ESPHome (1.15.3), Node-RED (7.2.11), Samba share (9.3.0), Visual Studio Code (2.9.0), Portainer (1.3.0), Mosquitto broker (5.1), InfluxDB (3.7.7), Grafana (5.3.1), chrony (1.1.2)

Lovelace

dashboards: 2
mode: storage
views: 18
resources: 7

Looking forward for a hint - or to use some other tts ?

/Jorn

2 posts - 2 participants

Read full topic


Automations EvoHome - Merge into one Automation

$
0
0

Hi All, been around one month now and I would like to Merge all my single Automation into one, I like a Clean dash, plus this should work so I can change it quickly.

So far I have the following:

platform: state
entity_id: climate.hall,climate.play_room,.....
attribute: preset_modes
to: temporary

---
entity_id: trigger.entity_id # I think this is wrong, I have tired with '' and {{}} nothing works.
setpoint: >-
  {{ state_attr(trigger.entity_id,
  'status').setpoint_status.target_heat_temperature }}
duration:
  minutes: 60

I tried to run this in a template but triggers are not support, so fair I get getting, I have another action to ping me a message if it works, but nothing for this.

I would like the Action to check what the trigger and found and run based on that, I think this should be possible but I feel like I am missing something really simple, could someone point me in the right direction?

Thanks all.

1 post - 1 participant

Read full topic

How to make HA recover after Internet connection interruption?

$
0
0

I had an internet connection interruption for about 15 minutes today a few hours ago. It’s back up now, but since then, none of my automations (all built in Node-RED) are working and I can’t reach my HA instance the normal way (I access through the Nabu Casa ingress). Fortunately I’m home so I’m able to remote into it and reboot…but if I was away from home, this would have completely killed my automations and I would have no way to recover.

After rebooting the server (a VirtualBox VM) everything’s fine. How can I make sure that it can recover on its own after an interruption like this?

1 post - 1 participant

Read full topic

Tuya device appears in Tuya app but not Tuya integration

$
0
0

I just bought this OSOWOO Water Detector.
I was able to add the device to the Tuya app but I cannot get it to appear in the HA Tuya integration.
(I current have 11 Tuya devices in the app that do appear in the HA integration)

1 post - 1 participant

Read full topic

Sonoff not discovered on HA despite connected

$
0
0

Hey guys,

I’ve tried it all…or almost.
I’ve read most of the posts related to this difficulty, but haven’t found a solution so far. I’ll try and share below the context to see if can come to a solution:

HA
|Version |0.118.4|
|Installation Type |Home Assistant OS|

Mosquitto Broker Version: 5.1
Here’s the log, showing that both the sonoff and HA have connected

Sonoff Version: 8.5.1(lite)
Module: Sonoff Pow (6) "I’ve tried R42 as well, but still…nothing discovered on HA
I’ve set it setotion19 to ON

I’ve tried it back and forth, but nothing.

I appreciate any help.

Regards,
Antonio

1 post - 1 participant

Read full topic

Can view mesh?

Mqtt light doesn't work

$
0
0

I have a couple wifi lights that flashed tasmota version 8.1.0. They are connect to local mqtt sever and set to auto discovery. The mqtt is integrated to HA so the lights are appeared in HA.

All lights work fine exception one of them. I can turn it on but click it again doesn’t turn it off. Also the light card doesn’t change to the on state. I open the detail by click the three dot on the top right corner of the light card(see below), if I click the switch to turn it on, the switch will automatically set back to off after a few seconds.

I have set the retain flags as below:
SwitchRetain Off
ButtonRetain On
ButtonRetain Off
PowerRetain On

Control the light from the tasmota ui works fine. What could be the issue and how to fix it?

1 post - 1 participant

Read full topic

Stream to Google Hub without Nabu Casa

$
0
0

Hi,

I’ve setup my stream devices and google assistant, everything works great. I’ve followed that document: Google Cast BlueIris Cameras with Home Assistant!

Now, when I ask Google to show me the camera, I get a Not connected error about Nabu Casa. I would like to be able to stream without Nabu Casa. Is that possible with Home Assistant?

Thanks

1 post - 1 participant

Read full topic


influxDb / Home Assistant Debugging Advice

$
0
0

I am using HassOS on a RPi4. I installed the AddOn of InfluDB via Supervisor and followed the installation instructions (https://www.home-assistant.io/integrations/influxdb/) for creation of user and database in InfluDB plus updating the configuration.yaml with the infuxDB section. I look at the Home Assistant log and InfluxDB log and neither contain errors. The Home Assistant log with Influx debug logging enabled reports that data is being sent to Influx but not seeing data in Influx. What can I look at to figure out this disconnect?

InfluxDB configuration

auth: true
reporting: true
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
envvars: []
log_level: debug

Home Assistant Configuration

influxdb:
  host: a0d7b954-influxdb
  port: 8086
  database: homeassistant
  username: homeassistant
  password: xxxxxxxxxxxx
  max_retries: 3
  default_measurement: state

From the Hass Log:

2020-12-01 21:07:01 DEBUG (influxdb) [homeassistant.components.influxdb] Wrote 4 events.
2020-12-01 21:07:10 DEBUG (influxdb) [homeassistant.components.influxdb] Wrote 4 events.
2020-12-01 21:07:23 DEBUG (influxdb) [homeassistant.components.influxdb] Wrote 1 events.
2020-12-01 21:07:31 DEBUG (influxdb) [homeassistant.components.influxdb] Wrote 5 events.
2020-12-01 21:07:40 DEBUG (influxdb) [homeassistant.components.influxdb] Wrote 4 events.
2020-12-01 21:07:57 DEBUG (influxdb) [homeassistant.components.influxdb] Wrote 1 events.

From InfluDB Log:

Add-on: InfluxDB
Scalable datastore for metrics, events, and real-time analytics
-----------------------------------------------------------
Add-on version: 3.7.9
You are running the latest version of this add-on.
System: HassOS 4.16  (aarch64 / raspberrypi4-64)
Home Assistant Core: 0.118.4
Home Assistant Supervisor: 2020.11.0

[20:53:29] INFO: Starting NGinx...
time="2020-12-01T21:07:08-05:00" level=debug msg=Request component=server method=GET remote_addr="127.0.0.1:49530" url=/api/hassio_ingress/7Im6aohvX-q8pgEy3wB7tMC5-bYsD72Vt96zYCadMqo/src.3999f023.css
time="2020-12-01T21:07:08-05:00" level=info msg="Serving assets" component=server method=GET remote_addr="127.0.0.1:49530" url=/src.3999f023.css

image

image

Any help and where to look would be appreciated. I must be missing something subtle since there are very few posts on this integration.

1 post - 1 participant

Read full topic

All z wave devices randomly start timing out

$
0
0

I have been running a z wave in the standard home assistant integration, and I have about 90 devices. I have been having an intermittent issue with my z wave network in that it will be working fine for several hours, or even days, until all of the sudden, the entire network will stop responding. When I look at the logs, it will list all devices as timing out.

If I stop and then restart then network, then it will start working again. I’m not sure exactly why it is happening, or if it is a symptom of a software issue, a z wave stick issue, or something in the middle. If anyone has seen this issue before and has any insight, I would certainly appreciate it.

My setup right now: Latest version of Home assistant, running on an unraid docker, using the standard z wave integration, my z wave stick is a Nortek HUSBZB-1. The z wave stick is on an extension cable away from the main server.

1 post - 1 participant

Read full topic

Display "sub attribute"

$
0
0

Hello,

I try to display in a map (entity or other) some of the information contained in sub entity of this entity.

Of course I didn’t find anything…

Thank you for your help.

entity: switch.schedule_94325e
state: waiting

entries:
  - 0DT0000T0200A0C01
  - 0DT0200T0400A1C01
  - 0DT0400T1000A2
  - 0DT1000T1300A3C01
  - 0DT1300T2359A3C01
actions:
  - service: set_temperature
    entity: climate.daikin
    hvac_mode: heat
    temperature: 21
  - service: set_temperature
    entity: climate.daikin
    hvac_mode: heat
    temperature: 19
  - service: set_temperature
    entity: climate.daikin
    hvac_mode: heat
    temperature: 18
  - service: set_temperature
    entity: climate.daikin
    hvac_mode: heat
    temperature: 22
conditions:
  - entity: input_boolean.thermostats_ac_on_off
    match_type: is
    state: 'on'
  - entity: input_boolean.thermostats_away
    match_type: is
    state: 'off'
next_trigger: '2020-12-02T10:00:00+01:00'
friendly_name: AC Normal
icon: 'mdi:calendar-clock'

1 post - 1 participant

Read full topic

Z-wave Node configuration/parameter read only - list of value

$
0
0

Hi,

Trying to set param 121 to 17 but my node config options are listed in read only: (contrary to a lot of printscreen over the forum)

So I try to set via developper tools/ Service:
image

I have this error:

Failed to call service ozw/set_config_parameter. 
New value is not a valid option 
([{'Value': 0, 'Label': 'Disabled'}, {'Value': 256, 'Label': 'Basic Set'}, {'Value': 16, 'Label': 'Sensor Binary Report'}, {'Value': 272, 'Label': 'Basic Set and Sensor Binary Report'}])

Not to sure how to format the value so it will take it.

1 post - 1 participant

Read full topic

Alexa: Notify me of new HA version

$
0
0
alias: HA Update Notification (Announce)
description: ''
trigger:
  - type: motion
    platform: device
    device_id: e8bf9866093a11eb91e14fbce81191bd
    entity_id: binary_sensor.motion_office
    domain: binary_sensor
condition:
  - condition: state
    entity_id: binary_sensor.updater
    state: 'on'
action:
  - service: media_player.volume_set
    data:
      volume_level: 0.5
    entity_id: media_player.echo_dot
  - service: notify.alexa_media_echo_dot
    data:
      message: >-
        I've noticed that a new version of Home Assistant {{
        state_attr('binary_sensor.updater', 'newest_version') }} is now
        available.
      data:
        type: announce
mode: single

1 post - 1 participant

Read full topic

Error setting up entry Z-Wave for zwave

$
0
0

My Z-wave has been working fine until today. I have tried multiple reboots but keeping getting this error

Error setting up entry Z-Wave for zwave
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/openzwave/option.py", line 78, in __init__
    raise ZWaveException(u"Can't find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: "Zwave Generic Exception : Can't find device /dev/ttyACM0 : ['NoneType: None\\n']"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/zwave/__init__.py", line 368, in async_setup_entry
    options = ZWaveOption(
  File "/usr/local/lib/python3.8/site-packages/openzwave/option.py", line 81, in __init__
    raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: 'Zwave Generic Exception : Error when retrieving device /dev/ttyACM0 : [\'Traceback (most recent call last):\\n\', \'  File "/usr/local/lib/python3.8/site-packages/openzwave/option.py", line 78, in __init__\\n    raise ZWaveException(u"Can\\\'t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\\n\', \'openzwave.object.ZWaveException: "Zwave Generic Exception : Can\\\'t find device /dev/ttyACM0 : [\\\'NoneType: None\\\\\\\\n\\\']"\\n\']'
Connection lost. Reconnecting…

I recently updated to 0.118.4, I’m not sure if that has anything to do with it, but I used “Check Home Assistant Configuration” before updating and didn’t get any errors.

Any idea why I’m having this issue?

2 posts - 2 participants

Read full topic

Help accessing host ssh server on hassio

$
0
0

Hi everyone,

I’m struggling to regain access to host ssh server on hassio.

I had it configured in the past, and it suddenly stopped working, I suspect with some update of the core system.

Now I’m dedicating time to regain access but I seem to be unsuccessful in doing so.

So far I’ve tried to:

  • Import files from Supervisor > System > Host System, from a USB key called labelled CONFIG that holds just the authorized_keys files with my public key in it.
  • Manually editing the /root/.ssh/authorized_keys file on the hassio overlay partition, mounting the SD directly on my system

None of the activities worked and I’m out of ideas. I’ve already checked the permissions on both /root/.ssh and /root/.ssh/authorized keys and they are as expected

What else should I check? Or is there a way to reinitialize this? Maybe if I manually delete files and folder and then force a new import?

thank you

1 post - 1 participant

Read full topic


DuckDNS error on generating certificates

$
0
0

Hi all,
My first post in this forum. Ik try to set up SSL. My DuckDNS is working fine. I am able to reach my HA outside the LAN, but the add-on gives an error on startup

Processing …

Consequence is that my configuration.yaml is giving an error on the location of the certificates (the PEM files) and so I am not able to activate SSL.

I have tried reinstalling duckDNS, flushing the DNS, but it doesn’t seem to work. Any suggestions?

1 post - 1 participant

Read full topic

Controlling TV via python script does not work: Error 2

$
0
0

Hello,

I have a python script which configures the background light of my television. If I call it via SSH on my Raspberry Pi which is running Home Assistant everything works like a charm:

python3 tv_brightness.py

I want to go a step further and want to run it via a Lovelace button, but this is not working. The error message is:

Logger: homeassistant.components.shell_command
Source: /usr/src/homeassistant/homeassistant/components/shell_command/init.py:113
Integration: Shell Command
First occurred: 1. Dezember 2020, 21:28:05 (6 occurrences)
Last logged: 11:15:24

Error running command: python3 "tv_brightness.py", return code: 2

NoneType: None

type: button
name: Fernseher dunkel
show_state: false
tap_action:
  action: call-service
  service: script.dark_tv
  service_data:
    entity_id: script.dark_tv
icon: 'hass:television'

/config/scripts.yaml:

turn_off_tv:
    sequence:
      service: shell_command.tv_off
      
dark_tv:
    sequence:
      service: shell_command.tv_dark

/config/configuration.yaml:

shell_command:
  tv_off: python3 -m samsungctl --host=192.168.x.x --name HomeAssistant KEY_POWEROFF
  tv_dark: python3 "tv_brightness.py"

The configuration.yaml contains a shell_command with the name “tv_off” which is working in contrast to “tv_dark”. The difference is that tv_off is only a single call to a python-module instead of a script.

I tried to chmod tv_brightness to 777 but this isnt helping. I also tried to place the files in different paths. Currently they are in /home/pi/.local/bin but I tried to place them in /usr/share/hasio/homeassistant/scripts also without luck.

The contents of the script tv_brightness.py can be runned manually via SSH so it can’t be the problem here.

Is there anything I am missing? Any suggestions?

1 post - 1 participant

Read full topic

Does anyone have a working LetsEncrypt addon config

$
0
0

As per title please.

I have no idea how to setup a config for this. I usually get a reminder from LetsEncrypt to remind me that my cert is going to expire, so i just use certbot command line to request a renew, but I have to turn off my webserver so that LetsEncrypt can challenge on port 80.

How might this get crafted in the addon config please?

1 post - 1 participant

Read full topic

Time_pattern to set every odd and even minute?

$
0
0

Hi guys,

I want two automations, one which runs every odd minute (e.g. 13:01, 13:03, 13:05) and one that runs every even minute (10:20, 10:22), for the whole day.

I tried things from Cronguru, but that doens’t work. Any ideas how to accomplish this?

1 post - 1 participant

Read full topic

How to play mp4 live feed in android tv

$
0
0

Hi!

I’m trying to play live feed in an android tv (XIAOMI MI BOX S) using media_player.play_media but I can’t get it.

The source live feed is like this:
https://geodeswowa3player.akamaized.net/vcg/definst/assets3/2020/11/19/7C20C768-C1D1-441E-A526-7ADF414AEEF1/hls.smil/playlist.m3u8

anyone have experience with this? Thanks!!

1 post - 1 participant

Read full topic

Viewing all 106385 articles
Browse latest View live


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