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

Clearing sensor state on android mobile app

$
0
0

For the last notification (sensor.phone_last_notification), it only pushes an updated state when the state changes.
I have an automation to declare the status over TTS when the notification comes through, however the notification is the same every time, therefore HA isn’t seeing the subsequent notifications as state changes.
Is anyone aware of a way to clear the last_notification state on the phone to null? I tried setting the state to null in developer tools and the mobile app just pushed the last_notification state update again.

I also tried sending the HA app a notification to update the last_notifcation status, but it doesn’t seem to be capturing notifications from the HA app.

Any suggestions or guidance would be greatly appreciated!

1 post - 1 participant

Read full topic


Official Alexa Integration vs. the Custom Alexa Media Player

$
0
0

I almost exclusively use the Alexa Media Player for TTS and notifications. If I remove the custom integration and install the official integration will I retain the TTS capability?

It’s not clear in the documentation for the Alexa Integration. I noticed in my logs the warning about using a custom integration could cause issues with HA and would prefer to use the official integration if I can still use the TTS function.

Thanks,

Robert

1 post - 1 participant

Read full topic

How to change radio path in ZHA

$
0
0

I have migrated from a custom Home Assistant install to a Hassio install on a Raspberry Pi.

I copied over the config folder and things seem to work in general, but the hardware path to the Zigbee radio has changed, so all my Zigbee devices are unavailable.

I REALLY don’t want to remove the ZHA integration and re-add it, as I would have to add all my Zigbee devices again (i have a LOT).

I can’t figure out where the path to the radio is stored, and it doesn’t seem like it can be reconfigured from the GUI.

Is there any way to update the radio path in ZHA without deleting and re-creating the integration?

2 posts - 1 participant

Read full topic

Struggling with templates (again!)

$
0
0

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

1 post - 1 participant

Read full topic

Network Traffic?

$
0
0

Is there a way I can see home much data HA is using on both my iPhone and Home network? Thanks

2 posts - 2 participants

Read full topic

ASUSWRT device tracking is not working when restart HA

$
0
0

Today, I just upgraded HA version to HA2021.1.0. When I first restarted HA, asuswrt was running normally. Then I updated the built-in integration configuration of BMW. After restarting again, the asuswrt was invalid & appeared the error message above

The Problem:

There is an issue with ASUSWRT integration.
Every time after HA is updated, ASUSWRT can work normally when it is restarted for the first time. However, if HA is restarted artificially after that, ASUSWRT will fail to work normally due to errors

The ENV info:

Supervisor
Version:2020.12.7
Newest Version:2020.12.7
Channel:stable
Operating System:Debian GNU/Linux 10 (buster)
Docker version:20.10.1

Also attach
The system health information:

System Health
version: 2021.1.0
installation_type: Home Assistant Supervised
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.7
os_name: Linux
os_version: 5.4.79-v8+
arch: aarch64
timezone: Asia/Shanghai

GitHub API: ok
Github API Calls Remaining: 4970
Installed Version: 1.9.0
Stage: running
Available Repositories: 714
Installed Repositories: 28

host_os: Debian GNU/Linux 10 (buster)
update_channel: stable
supervisor_version: 2020.12.7
docker_version: 20.10.1
disk_total: 117.0 GB
disk_used: 8.2 GB
healthy: true
supported: true
supervisor_api: ok
version_api: ok
installed_addons: Samba share (9.3.0), MariaDB (2.2.1), MQTT Server & Web client (1.2.0), Node-RED (7.2.11), TasmoAdmin (0.13.1), Bookstack (0.6.3), Log Viewer (0.9.1), AirSonos (2.4.1), Let’s Encrypt (4.11.0), NGINX Home Assistant SSL proxy (3.0.1)

dashboards: 1
mode: storage
views: 8
resources: 18

The Error logs:

Logger: homeassistant.setup
Source: components/asuswrt/init.py:85
First occurred: 上午10:32:11 (1 occurrences)
Last logged: 上午10:32:11

Error during setup of component asuswrt
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 213, in _async_setup_component
result = await task
File “/usr/src/homeassistant/homeassistant/components/asuswrt/init.py”, line 85, in async_setup
await api.connection.async_connect()
File “/usr/local/lib/python3.8/site-packages/aioasuswrt/connection.py”, line 77, in async_connect
self._client = await asyncssh.connect(self._host, **kwargs)
File “/usr/local/lib/python3.8/site-packages/asyncssh/misc.py”, line 182, in await
return (yield from self._coro)
File “/usr/local/lib/python3.8/site-packages/asyncssh/connection.py”, line 5451, in connect
conn, _ = yield from create_connection(None, host, port, **kwargs)
File “/usr/local/lib/python3.8/site-packages/asyncssh/connection.py”, line 5107, in create_connection
yield from auth_waiter
asyncssh.misc.DisconnectError: Disconnect Error: Connection lost

Is there a problem with the version of aioasuswrt again?

1 post - 1 participant

Read full topic

Unifi Device Tracker - Device reading home when away

$
0
0

Hello,

I have recently (within the last two versions) run into a strange issue with the unifi device tracker where when I am away from the house, randomly throughout the day my phone (and other phones that are way) will briefly go unavailable and then read home for exactly 5 minutes before going back to being away, this is obviously throwing off quite a few of my automations. Has anyone else experienced anything like this. Is there a fix for it?

1 post - 1 participant

Read full topic

Lights turned on randomly

$
0
0

Today a bunch of my lights turned on at the same time seemingly randomly: https://i.imgur.com/r1flOKr.png

It is a pretty random grouping of lights, not even all the same tech and they all say ‘turned on by Home Assistant Cloud’. Also, there is no other event that happens that would have triggered as can been seen in the log.

How can I troubleshoot how that happened?

1 post - 1 participant

Read full topic


How do I use media_player.play_media Cast Bell Fibe TV using HA

$
0
0

I am trying to cast bell five tv.

I can cast from my phone and a bunch of data shows up on the state.

volume_level: 1
is_volume_muted: false
media_content_id: CNNHD
media_duration: -1
media_position: 5385.261652946472
media_position_updated_at: '2021-01-08T04:42:18.575150+00:00'
media_title: CNN HD
app_id: 460F1032
app_name: Fibe TV
entity_picture_local: >-
  /api/media_player_proxy/media_player.familytvchromecast?token=d05a96ac0f8cfb429f3268103b028b5aba6056159605d0488775c7dfc8666076&cache=b5a16111106bba24
friendly_name: Family Room Chromecast
entity_picture: >-
  //vcm.nscreen.iptv.bell.ca/api/artwork/v3/artworks/channel-logos/FIBE_CNNHD/5fd2bfbac2aacb000111fc38/768x576-scale@fit(200).png#LOGO_MONOCHROME
supported_features: 152463

I want to use this info to cast, but inputting the data in a media_player.play_media doesnt work.

Any ideas if this is possible?

Is there some other data i need to record to emulate this stream in a service call?

1 post - 1 participant

Read full topic

Can integration be detected and automized?

$
0
0

Hello, I’m a complete new noob into the world of HA since just a few weeks back but see the amazing potential of this software for controlling my home.
And have a question that I am unsure on how to do and wonder if someone skilled in HA can hint and guide me on.

I have an issue where my Homekit controller lose connection now and then…(yeah. that is an issue in itself that will be solved with a future update, but that’s not what I want to achieve now… :slight_smile: )

Question: When HA detect a specific Homekit, can this be scripted in HA to automatically be detected, setup and paired with the hard-coded pin code and a notification sent to me?
(yes, a temporary workaround to restore Homekit when it lose connection.)
I am pretty sure this can be done as I understand almost anything is possible with scripting but I am unsure on where to start looking.

Kind regards, Magnus

1 post - 1 participant

Read full topic

Yale Doorman (Verisure)

$
0
0

Trying to get my Yale Doorman doorlock into HA but it does not work properly. I have the Verisure module and what I have done is that I put the following in configuration.yaml:

Verisure:
  Username: xxx@xxx.com
  Password: xxxxxxxx
  Locks: True
  Code_digits: 6

The entity appears in the overview as “Front door” and “Unlocked” so it’s good, but when I lock the door with the knob nothing happens in HA, it is still unlocked and when I try to lock via HA I get the following error as seen in the picture , it is trying to use the SMS feature that Verisure has.

1 post - 1 participant

Read full topic

Possible to pause utility meter?

$
0
0

Hi.

I have managed to set up utility meters for my power consumption. (monthly, daily etc)
but, now to my challenge:
We are three families using our cabin.
My initial tought was to have one utility meter for each family.
start on arrival and stop when leaving the cabin.
So on year-end we could se the total yearly consumption for each family and split the power bills in a fair way.

Anyone done the same? Another approach?

1 post - 1 participant

Read full topic

Victron modbus

$
0
0

Cross posted in third party integrations.

My HA instance (M1 mac, Big Sur using rosetta) appears to work fine as it can detect and connect to devices on my network but modbus tcp will not work.
The script syntax checks out but the system won’t even generate logs.

Is there a way to test if modbus is operational?
I have followed the various threads on the subject and none helped.

1 post - 1 participant

Read full topic

Send body on rest command

$
0
0

Hi all,
I need to call a parsehub project giving a body parameter. How I can do on a restfull_command ?

I made a test with postman and it works nicely but I don’t know where to write the body start_url parameter

The wget command is

wget --no-check-certificate --quiet \
  --method POST \
  --timeout=0 \
  --header '' \
  --body-data 'start_url=https://www.example.com/ETAservice/#/it/etaservice/ID' \
   'https://www.parsehub.com/api/v2/projects/PRJID/run?api_key=APIKEY'

I find various syntax with no luck

rest_command:
  parsehub_call:
     url: https://www.parsehub.com/api/v2/projects/PRJID/run?api_key=APIKEY
     method: POST
     payload: start_url="https://www.example.com/ETAservice/#/it/etaservice/ID"

1 post - 1 participant

Read full topic

Lovelace Icon went missing

$
0
0

I noticed some of my Lovelace icon went missing. Eg mdi:cctv. Any idea?

1 post - 1 participant

Read full topic


Met.no stopped working, lots of errors but fixes fail

$
0
0

I have lots of these errors in my log -
https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:default [Try again]

5 January 2021, 6:49:54 – /usr/local/lib/python3.8/site-packages/metno/init.py (ERROR) - message first occurred at 4 January 2021, 17:13:21 and shows up 16 times

metno has stopped working, but all searches seem related to DNS - i am using OpenDns on my router and in my setup for HA, manually browsing to the site seems to work ok.

Is there a setting i have messed up, we recentky changed routers from an ISP one to a Draytek unit.

1 post - 1 participant

Read full topic

Sensor for read CPU freq

$
0
0

I have an installation of Home Assistant on a Raspberry pi 4, Supervised, the old HASSIO.
I’m running Hassio 2021.1.0, Supervisor 2020.12.7, Home assistant OS 5.9.
Since i have overclocked my RB4, i would like create a sensor to read the CPU frequence and create a graph on lovelace.
First attempt was the integration:

sensor:
  - platform: cpuspeed

but only Home Assistant Core is supported.
Then i try with this command:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
If i launch the command via terminal (internal of HASSIO or with putty) i read the cpu freq correctly so i put the command in a sensor like this:

- platform: command_line
  name: CPUfreq
  command: "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
  unit_of_measurement: "MHz"
  value_template: "{{ value | multiply(0.001) }}"
  scan_interval: 5

But the reads are uncorrect: they are always stuck at the top frequenzy (2000 Mhz in my case) and it is not true. If i launch simultaneously by terminal and by the sensor the same command
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
the first measure 6/700 Mhz (the correct value) and the sensor always 2000 Mhz.
Is there a way to read the correct cpu frequency with an Hassio installation and put it in a graph?

1 post - 1 participant

Read full topic

Understanding TTS during a google cast session

$
0
0

I have recently implemented a couple of automation’s using tts.google_translate_say. They work great except that if I am playing any media on the google device at that time, the cast totally stop after the announcement or the device gets itself in a mess which means restarting the cast anyway.
I’m not sure if the implementation should work like this as it seems rather flawed. Perhaps I haven’t implemented correctly. Any advice appreciated.

1 post - 1 participant

Read full topic

Switch media_player only off works

$
0
0

Hi!

i have several switches but in one of them (LG TV on/off) only half of the switch works: turn_off.

turn_on doesnt work.

switch:
  - platform: template
    switches:
        television:
          value_template: "{{ is_state('media_player.tv', 'on') }}"
          turn_on:
            service: media_player.turn_on
            data:
              entity_id: media_player.tv
          turn_off:
            service: media_player.turn_off
            data:
              entity_id: media_player.tv

Any idea? thanks!

4 posts - 2 participants

Read full topic

Going from OZW on HA Supervised to OZW in external container

$
0
0

I’m currently running HA Supervised in a VM in unRAID. And to get some control over the config files and to be able to test modifications, I’m thinking about removing the OpenZWave (beta) addon, and running ozwdaemon in an external container.

But how can I do this? In the documentation I read that in a HA Core installation you need the MQTT integration with an external MQTT broker (I have Mosquitto running in an external container also), and the OpenZWave integration. But I have HA Supervised. Can I just remove the OpenZWave addon, and use the method meant for Core installation?

This means that my Z-Wave system will consist of the following:

  • HA Supervised running in a unRAID VM
  • ozwdaemon running in a external container
  • mosquitto running in an external container
  • MQTT integration added to HA, which points to the mosquitto container
  • OpenZWave (beta) integration, which points to the ozwdaemon container

Is this correct?

1 post - 1 participant

Read full topic

Viewing all 107720 articles
Browse latest View live


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