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

Zigbee2mqtt invalid repository

$
0
0

Home Assistant OS 2022.4.6
I tried to add zigbee2mqtt integration, following the instructions found here GitHub - zigbee2mqtt/hassio-zigbee2mqtt: Zigbee2mqtt Home Assistant add-on but when I add the repository to supervisor i get an error “invalid repository”

In the log

Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:120
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 22:31:49 (1 occurrences)
Last logged: 22:31:49
Failed to to call /supervisor/options - Invalid Add-on repository!

Maybe I’m missing something but I found a similar error on this forum back in 2021, but it was a little different (there was an error in the url)

Anyone knows how ti fix this problem?

1 post - 1 participant

Read full topic


Not Urgent: ZHA Network Went Down Today

$
0
0

Today my Zigbee Network went down but came back up. I don’t have a great explanation as to why but I still had a window up from when it happened and I can at least report the error and the steps taken:

I had been working in HA all day but primarily in automations. There was a Zwave update earlier today and I immediately applied it and thought nothing of it. I continued working throughout the day and I made a few backups in the process; the house and code all seemed fine for 6-8+ hours while I was doing testing. Then I noticed some automations weren’t firing and it was because all my zigbee sensors appeared stuck.

Ok, it’s not the first time this has happened so let’s just reboot. Reboot didn’t help, reboot host didn’t help. I backed up to my most recent backup which was only 1.5 hours prior. Restored the backup but the ZHA network was still unresponsive.
This is the errors:

Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:182
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 7:10:30 PM (2 occurrences)
Last logged: 7:11:29 PM

Couldn't start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 182, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.9/site-packages/bellows/zigbee/application.py", line 132, in startup
    self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)
  File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 83, in initialize
    await ezsp.reset()
  File "/usr/local/lib/python3.9/site-packages/bellows/ezsp/__init__.py", line 98, in reset
    await self._gw.reset()
  File "/usr/local/lib/python3.9/site-packages/bellows/uart.py", line 223, in reset
    return await asyncio.wait_for(self._reset_future, timeout=RESET_TIMEOUT)
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

and

Logger: homeassistant.config_entries
Source: config_entries.py:366
First occurred: 7:10:30 PM (1 occurrences)
Last logged: 7:10:30 PM

Config entry 'Zigbee Network' for zha integration not ready yet; Retrying in background

I thought maybe it was the Zwave update from earlier that could’ve caused issues with my zigbee (I have a Nortek HUSBZB-1. So I reverted to the Zwave before the backup. When I did that my ZHA was still down but now so was my ZWave. When I reapplied the Zwave update, the Zwave network came back but ZHA was still down. At this point I was starting to get into a panic because I’m faced with the possibility of losing several hours of work by trying to restore further.

But before I did that I came to the forum and searched. The error only pops up sporadically over the last few years and it seems to be some sort of transient issue. The second post I read was from 2019 and it said to disconnect/reconnect the stick while the CPU is in a restart. As soon as I did that, everything came back.

Naturally I’m elated but now I’m left wondering if this is something that could’ve been prevented but after the restores I figured I had lost the errors but I saw later I had a window that still had the error from earlier as I’m sure the error will be important in figuring out what the problem is. I’m not necessarily looking for more answers, but I do want to report an occurrence that seems to sporadically happen to ZHA especially given the recent challenges. At the very least, if it happens to somebody else, there will be a newer thread for them to reference the resolution/workaround steps. I don’t think the zwave update had anything to do with it; just coincidence.

If anybody has a deeper explanation than what I found of “eh, it happens from time to time and unplugging the stick helps” I’d be happy to learn more. If there’s additional info I can provide to help DX the root cause, let me know.

1 post - 1 participant

Read full topic

Google Calendar integration - additional calendars in 2022.4.6

$
0
0

I upgraded from 2021.11.5 to 2022.4.6 and have found that some of my google calendars are now missing. I had added my own calendar shares as follows (in addition to my ‘default’ calendars):

- cal_id: b50ab6celc2nh4kj0119cbvsnhoaivne@import.calendar.google.com
  entities:
  - device_id: bombers_footy
    ignore_availability: true
    name: Bombers Footy
    track: true

But this no longer shows up in HA. I’ve re-checked the IDs in google. Any ideas?

1 post - 1 participant

Read full topic

IOS sound nofications - not working

$
0
0

I’m trying to get a notification working with sound on my iPhone, however the only time it actually plays the sound is when i have the phone unlocked at looking at it.

this is the notification code:

service: notify.mobile_app_iphone
data:
  title: Leak detected
  message: '''Leak detected by sensor {{ trigger.from_state.attributes.friendly_name }}'''
  data:
    push:
      sound:
        name: "US-EN-Alexa-Water-Detected-Generic.wav"
        critical: 1
        volume: 1

the critical notification shows up on the screen when the phone is locked but no sound. i do get a chirp sound on my watch but nothing from the phone, unless the phone is unlocked.

I have all notifications options enabled in iOS settings.

anyone have any ideas/suggestions?

2 posts - 2 participants

Read full topic

Converting degrees C to F

$
0
0

I have been using my Fujitsu Mini splits with HA for a while now, and its recently become less than reliable trying to control them from HA. Which lead me to a github article that instructed on setting up python and mqtt. I am using HA in docker-compose on my rpi4.
Now i have mqtt set up and it works great to control the mini splits, but it seems the sensors in the mini splits report temperature in Celsius, the odd and confusing thing is that the temp is labeled F in the thermostat. I have seen examples such as: Convert celsius to fahrenheit in sensor - #6 by autooat but i dont know how to properly follow the example given or where they are talking about adding the code and such, just as more info on this the device for the new mqtt thermostat is: climate.ac000w002915637

Ideally what i would like to do would be create a thermostat that could be used and would display this all in F.

Thank you.

1 post - 1 participant

Read full topic

Picture Entity not updating

$
0
0

I’m having an issue where my picture entity cards stop updating after a few seconds. I’m using zoneminder with some IP cameras and have them in HA with the integration but when I set them up with a picture entity card in Lovelace set to live mode they only show a live feed for a few seconds then begin to only update every few minutes. I’ve even tried making them into their own dashboard with a panel card but the result is the same. I just want a constant live feed of my cameras. Please let me know if there is another way to achieve this, thank you!

1 post - 1 participant

Read full topic

Cannot Delete Scripts or Automations

$
0
0

Hello all-

I am having an issue that I cannot seem to fix. I have been searching high and low and nothing seems to work.

I installed an integration through HACS called weatheralerts. It didn’t really work for what I thought it was so I removed it. However, it created some automations and some scripts that I cannot remove. When I click on the script edit button, I get a popup that says “Only scripts inside scripts.yaml are editable.” The automation edit button has a line through it and says something about read-only.

I have rebooted multiple times and I still cannot delete these entries. Any ideas? Surely I am not stuck with them.

Thanks,
Scott

3 posts - 2 participants

Read full topic

Smartvuhome bulbs

$
0
0

Hi, I have a couple of smartvuhome bulbs that i have working. They connect to the Wifi and I can control them with the phone but I don t see any way to control them with Home Assistant.
Can anyone tell me how to do this ?
Or are they not suitable for HA.

2 posts - 2 participants

Read full topic


Scrape data from multiple site, merge with CSV and display daily relevant details

$
0
0

Hello,
I am trying to find the easiest and most efficient way to fetch and display daily relevant details for my family and is looking for guidance regarding the right “architecture”.

My requirements are the following:

  1. Fetch and consolidate timeboard information from multiple websites
    => Websites display their timeboard using different formats:
    • Monday 08:00-18:00 for weekly schedule
    • Mo, 25.04.22 08:00-18:00 for daily schedule
  2. Consolidate data from (1) with CSV for non fetchable information
    => I receive yearly calendar in PDF and sometimes paper and I guess that creating a CSV once a year is the easiest.
  3. Display information based on the day of the week using a lovelace card

I tried scrape and multiscrape but don’t see how I can fetch data from multiple URL and then merge with a CSV to then only display the daily relevant information.

Any guidance will be highly appreciated.

1 post - 1 participant

Read full topic

Zigbee Two Way Light Switching no neutral and wall switches

$
0
0

Hello,
I have a light controlled by two switches and have installed an Aquara Single Switch T1 no neutral (Single Switch Module T1 (No Neutral)) with an Aquara Move detector to turn on/off the light. The setup works perfectly but if someone use the wall switch button the whole setup fails until the button is pressed again.
I noticed that there is no more electricity where I have installed the Aquara Switch T1 device when the wall switch button at the other end is pressed.
I would like to keep the wall switch. Have you got any idea?

1 post - 1 participant

Read full topic

HomePod not available after restart

$
0
0

It is not possible to play sounds after the HomePod had a power outage or an update.

After I let Siri play music on it, it is available in HA. How can I „wake“ the HomePods with HA?

1 post - 1 participant

Read full topic

Is it possible to set entity area via python script?

$
0
0

Hello everyone,
I have a whole bunch of entities for which it is forbidden to set the entity via yaml (e.g. MQTT entities).
Rather than going through all of them 1 by 1, I was wondering if it is possible to set their area via python script?

All of these entities have their area in their entity_id anyway, so it is easy to find them in the UI, but it is a pain to set them all via the UI.

I thought that a script would solve this in milliseconds but I am not sure if HA allows this and if so, how it is done.

Thank you all once again for your support! :slight_smile:
Alex

3 posts - 2 participants

Read full topic

How to create a sensor that shows a state based on a condition

$
0
0

Hi,

for my Garage card I would like to add a sensor that shows if the car is charging or not.
End of charging is defined by "if sensor.lynkco01_power < 50 watts for longer than 30 s" in my notification automation.

How can I use this condition to create a new sensor that shows an indicator if the car is charging or not?

2 posts - 2 participants

Read full topic

How to use Sonoff TH16R2 with generic thermostat

$
0
0

I’m having trouble with controlling the switch component of my TH16R2.

Home assistant is installed on a linux machine using HassIO - 2022.4.6

I have set up the generic thermostat as follows

climate:
  - platform: generic_thermostat
    name: Bedroom
    heater: switch.sonoff_10012a2bca
    target_sensor: sensor.sonoff_10012a2bca_temperature
    min_temp: 5
    max_temp: 25
    hot_tolerance: 0.5
    initial_hvac_mode: heat
    ac_mode: false

However, on the dashboard the thermostat is visible, shows the room temperature, shows the set temperature but has no effect on the switch at all - if the flame icon is on or not.

I also have an entity card on the dashboard showing the switch and the measured temperature but turning that switch on results immediately in the switch turning off - again, independant of the set temp on the thermostat.

This behaviour is strange to me. I have no automations set up but I presumed (maybe incorrectly) that the thermostat would operate the switch?

Mike

1 post - 1 participant

Read full topic

Adding yet another rf bridge to hass

$
0
0

I have allready a zigbee bridge (Lidl Silvercrest hacked) and a sonoff zigbee bridge (wifi to zigbee flashed with tasmota running zigbee2mqtt) both integrated in Hass.
Is it possible to ad a third bridge (sonoff rf 433 bridge flashed with tasmota)??
And how to do it.
Which protocol mqtt??

Thanks in advance.

2 posts - 2 participants

Read full topic


Tasmota keeps rediscovering old device

$
0
0

Tasmota keeps autodiscovering a device i used to have configured with it, but now is managed by ESPhome. How do i prevent it from popping up ?

1 post - 1 participant

Read full topic

ZigbeeMqtt warning messages in supervisor log

$
0
0

Is this normal ?

22-04-24 08:49:22 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:49:22 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:49:22 WARNING (MainThread) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:49:22 WARNING (MainThread) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:49:22 WARNING (MainThread) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'external_converters' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'devices' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'groups' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'homeassistant' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-24 08:54:25 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2mqtt```

1 post - 1 participant

Read full topic

Heaters Turn On / Off based on voltage and Grid input

$
0
0

I am trying to have my heaters working only when I have excess solar power

I want them Turning on only when their is Grid power and when Grid input is below 100w

I want them to Turn off when their is no Grid Voltage 200 - 300V and when Grid input is over 100w

am I missing something that is stopping it watching the power states
I can flip of the grid connection off and its still running the heater from battery same as if I turn on the device it stays on even when its drawing over 200w

alias: Barra Heaters Off
description: 'Sonoff Bara Heaters '
trigger:
  - type: power
    platform: device
    device_id: 27cb64ba41eadc07fe39d6c5d9157002
    entity_id: sensor.stairs_inverter_power
    domain: sensor
    above: 100
condition: []
action:
  - type: turn_off
    device_id: 353fb2d011f47ed4bccd98cc316e40ab
    entity_id: switch.sonoff_1000f0cce5
    domain: switch
mode: single
alias: Barra Heaters On
description: ''
trigger:
  - type: power
    platform: device
    device_id: 27cb64ba41eadc07fe39d6c5d9157002
    entity_id: sensor.stairs_inverter_power
    domain: sensor
    below: 100
condition:
  - type: is_voltage
    condition: device
    device_id: 27cb64ba41eadc07fe39d6c5d9157002
    entity_id: sensor.stairs_inverter_voltage
    domain: sensor
    above: 200
    below: 300
action:
  - type: turn_on
    device_id: 353fb2d011f47ed4bccd98cc316e40ab
    entity_id: switch.sonoff_1000f0cce5
    domain: switch
mode: single

1 post - 1 participant

Read full topic

Problems with deCONZ. Should I switch to ZHA or ZZH?

$
0
0

I’ve been using Conbee II with deCONZ on HA for over a year and everything works just fine until it always just ends up not working anymore. The lights start flickering when controlling a group or everything stops working completely. Restarting deCONZ both on supervisor side (addon) and on the integrations usually fixes the problems. Sometimes I end up rebooting the whole raspberry. Needless to say it’s pretty frustrating.

I have maybe 30 lights, a bunch of remotes, some trådfri motion detectors and some temperature sensors and leak detectors. Ikea Trådfri, Ledvance, Aqara (temp and leak sensors) and Nedis climate sensors.

I need my light groups to work and I do have plenty of automations that I’d rather not create from scratch if it can be avoided.

Will I shoot myself in the foot by switching to ZHA or ZZH if I want more reliability? Or is there something I could do to make deCONZ more reliable.

1 post - 1 participant

Read full topic

How testing if light is unavailable

$
0
0

I have a LEDVANCE Classic A 60 bulb connected to a traditional light switch. The integration with HASS is through the zigbee2mqtt interface. Everything is working as expected. I now would like to get a message when somebody turned the traditional light switch to off, so that the HASS commands cannot work anymore (No communication to HASS due to missing power on the bulb). Somewhere I have read, that it can be done through testing the state for ‘unavailable/available’. But I only can test states only for brightness,… etc, but not for available or unavailable.
How can this testing be done?
Thanks for any advice.

1 post - 1 participant

Read full topic

Viewing all 99593 articles
Browse latest View live


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