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

One MPPT entities is missing since Update of the Inverter

$
0
0

I’ve made an update of my Fronius Symo 7.0-3-M Inverter and now I’m missing an entity from one MPPT Tracker.
sensor.pv2_mppt_module_0_dc_power is gone and
sensor.pv2_mppt_module_1_dc_power is present.
I have restarted the Inverter but it didn’t show up.
How can I trace this?
It said:

Diese Entität wird nicht mehr von der „sunspec"-Integration bereitgestellt. Wenn die Entität nicht mehr verwendet wird, lösche sie in den Einstellungen.

1 post - 1 participant

Read full topic


Cannot restart because the configuration is not valid

$
0
0

2025-02-19 14:14:51.420 ERROR (MainThread) [homeassistant.config] Unknown error calling script config validator - ‘NodeStrClass’ object has no attribute ‘items’
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config.py”, line 1156, in async_process_component_config
await config_validator.async_validate_config(hass, config),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/script/config.py”, line 300, in async_validate_config
for object_id, cfg in p_config.items():
^^^^^^^^^^^^^^
AttributeError: ‘NodeStrClass’ object has no attribute ‘items’

1 post - 1 participant

Read full topic

ESP Home failed update on a device

$
0
0

Hello,
Today’s update of ESP Home went fine, but now I can’t update two devices I used to be able to.
Can anyone tell me from this code what’s wrong?

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/kauf-plug-2.yaml…
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
File “/usr/local/bin/esphome”, line 8, in
sys.exit(main())
^^^^^^
File “/esphome/esphome/main.py”, line 1049, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/main.py”, line 1027, in run_esphome
config = read_config(dict(args.substitution) if args.substitution else {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/config.py”, line 1095, in read_config
res = load_config(command_line_substitutions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/config.py”, line 949, in load_config
return _load_config(command_line_substitutions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/config.py”, line 939, in _load_config
return validate_config(config, command_line_substitutions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/config.py”, line 835, in validate_config
target_platform = core_config.preload_core_config(config, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/core/config.py”, line 222, in preload_core_config
if _is_target_platform(domain):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/core/config.py”, line 184, in _is_target_platform
if get_component(name, True).is_target_platform:
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/loader.py”, line 205, in get_component
return _lookup_module(domain, exception)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/esphome/esphome/loader.py”, line 181, in _lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1206, in _gcd_import
File “”, line 1178, in _find_and_load
File “”, line 1149, in _find_and_load_unlocked
File “”, line 690, in _load_unlocked
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/data/external_components/e395f423/components/wifi/init.py”, line 106, in
cv.Required(CONF_STATIC_IP): cv.ipv4,
^^^^^^^
AttributeError: module ‘esphome.config_validation’ has no attribute ‘ipv4’

4 posts - 2 participants

Read full topic

Zigbee2mqtt restarts or antenna fails makes it restart

$
0
0

I have been running with homeassistant for more than a year with z2mqtt and it has been running really well.

I have the skyconnect antenna ZBT-1
Recently z2mqtt begins to restart for me, it looks like the antenna fails.
It happens randomly 4-10 times a day. I have moved the antenna 2 meters away from the HA green. and on a different floor than my Wifi_antenna. The 2.4ghz wifi is locked on opposit end of the frequency range of the zigbee network.

Can anyone guide me in right directions to solve this.

Clip from my log from the error begins.
[18-02-2025 16:42:41] error: zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=52:“SEND_UNICAST” Seq=217 Len=7].
[18-02-2025 16:42:41] error: zh:ember: Adapter fatal error: ASH_ERROR_TIMEOUTS
[18-02-2025 16:42:41] info: zh:ember:uart:ash: ASH COUNTERS since last clear:
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Total frames: RX=525, TX=636
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: DATA frames : RX=524, TX=111
[18-02-2025 16:42:41] info: zh:ember:uart:ash: DATA bytes : RX=10348, TX=3097
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Retry frames: RX=0, TX=1
[18-02-2025 16:42:41] info: zh:ember:uart:ash: ACK frames : RX=0, TX=524
[18-02-2025 16:42:41] info: zh:ember:uart:ash: NAK frames : RX=1, TX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: CRC errors : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Comm errors : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Length < minimum: RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Length > maximum: RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Bad controls : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Bad lengths : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Bad ACK numbers : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Out of buffers : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Retry dupes : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Out of sequence : RX=0
[18-02-2025 16:42:41] info: zh:ember:uart:ash: ACK timeouts : RX=0
[18-02-2025 16:42:41] error: zh:ember:ezsp: ERROR Transaction failure; status=NOT_CONNECTED. Last Frame: [FRAME: ID=52:“SEND_UNICAST” Seq=217 Len=7].
[18-02-2025 16:42:41] warning: z2m: Failed to ping ‘Terrasse 01’ (attempt 1/2, ZCL command 0xa4c138fd1059d326/1genBasic.read([“zclVersion”], {“timeout”:10000,“disableResponse”:false,“disableRecovery”:true,“disableDefaultResponse”:true,“direction”:0,“reservedBits”:0,“writeUndiv”:false}) failed (~x~> [ZCL to=0xa4c138fd1059d326:8847 apsFrame={“profileId”:260,“clusterId”:0,“sourceEndpoint”:1,“destinationEndpoint”:1,“options”:4416,“groupId”:0,“sequence”:0}] Failed to send request with status=NETWORK_DOWN.))
[18-02-2025 16:42:41] info: zh:ember:uart:ash: Port closed.
[18-02-2025 16:42:41] info: zh:ember:uart:ash: ======== ASH stopped ========
[18-02-2025 16:42:41] info: zh:ember:ezsp: ======== EZSP stopped ========
[18-02-2025 16:42:41] info: zh:ember: ======== Ember Adapter Stopped ========
[18-02-2025 16:42:41] error: z2m: Adapter disconnected, stopping
[18-02-2025 16:42:41] info: z2m: Disconnecting from MQTT server
[18-02-2025 16:42:42] info: z2m: Stopping zigbee-herdsman…
[18-02-2025 16:42:42] info: z2m: Stopped zigbee-herdsman
[18-02-2025 16:42:42] info: z2m: Stopped Zigbee2MQTT
[16:42:43] INFO: Preparing to start…
[16:42:44] INFO: Socat not enabled
[16:42:44] INFO: Starting Zigbee2MQTT…
Starting Zigbee2MQTT without watchdog.
[18-02-2025 16:42:53] info: z2m: Logging to console, file (filename: log.log)
[18-02-2025 16:42:53] info: z2m: Starting Zigbee2MQTT version 2.1.1 (commit #unknown)
[18-02-2025 16:42:53] info: z2m: Starting zigbee-herdsman (3.2.5)
[18-02-2025 16:42:53] info: zh:ember: Using default stack config.
[18-02-2025 16:42:53] info: zh:ember: ======== Ember Adapter Starting ========
[18-02-2025 16:42:53] info: zh:ember:ezsp: ======== EZSP starting ========
[18-02-2025 16:42:53] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[18-02-2025 16:42:53] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[18-02-2025 16:42:53] info: zh:ember:uart:ash: Serial port opened
[18-02-2025 16:42:53] info: zh:ember:uart:ash: ======== ASH starting ========
[18-02-2025 16:42:54] info: zh:ember:uart:ash: ======== ASH connected ========
[18-02-2025 16:42:54] info: zh:ember:uart:ash: ======== ASH started ========
[18-02-2025 16:42:54] info: zh:ember:ezsp: ======== EZSP started ========
[18-02-2025 16:42:54] info: zh:ember: Adapter EZSP protocol version (13) lower than Host. Switched.
[18-02-2025 16:42:54] info: zh:ember: Adapter version info: {“ezsp”:13,“revision”:“7.4.4 [GA]”,“build”:0,“major”:7,“minor”:4,“patch”:4,“special”:0,“type”:170}
[18-02-2025 16:42:55] info: zh:ember: [STACK STATUS] Network up.
[18-02-2025 16:42:55] info: zh:ember: [INIT TC] Adapter network matches config.
[18-02-2025 16:42:55] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1247ms until next broadcast.
[18-02-2025 16:42:55] info: z2m: zigbee-herdsman started (resumed)
[18-02-2025 16:42:55] info: z2m: Coordinator firmware version: ‘{“meta”:{“build”:0,“ezsp”:13,“major”:7,“minor”:4,“patch”:4,“revision”:“7.4.4 [GA]”,“special”:0,“type”:170},“type”:“EmberZNet”}’

/ Kenneth

1 post - 1 participant

Read full topic

Can this be made simpler, still learning YAML and the interface!

$
0
0

Hi,

The attached code basically shows a Bubble Slider for a light, to the right is a sub-button, shows motion icon when on and armed, background turns orange when motion detected, and double click it to turn off and show motion off icon.

So question is, 1) is there simpler logic code for this so that I can mirror it quickly for my other light switches?

  1. instead of the background turning orange, would rather just the icon did when it detects motion?

Thanks in advance…

type: custom:bubble-card
card_type: button
entity: light.dining_room
use_accent_color: false
show_state: true
show_last_changed: false
show_attribute: false
card_layout: normal
button_type: slider
slider_live_update: false
hold_action:
  action: more-info
double_tap_action:
  action: none
scrolling_effect: false
show_icon: true
icon: mdi:lightbulb
tap_action:
  action: toggle
grid_options:
  columns: 6
  rows: 1
styles: |-
  .bubble-icon { color: ${state === 'on' ?  '#FFFFFF' : '#4C4C4C'} !important;
  }
  .bubble-range-fill {
  background: rgb(84, 99, 115) !important;
  opacity: 1 !important;
  }
sub_button:
  - tap_action:
      action: none
    hold_action:
      action: none
    icon: mdi:motion-sensor
    entity: switch.hue_motion_sensor_9_motion_sensor_enabled
    double_tap_action:
      action: toggle
    show_background: false
    visibility:
      - condition: state
        entity: switch.hue_motion_sensor_9_light_sensor_enabled
        state: "on"
      - condition: state
        entity: binary_sensor.hue_motion_sensor_9_motion
        state: "off"
    state_background: false
  - entity: binary_sensor.hue_motion_sensor_9_motion
    state_background: true
    tap_action:
      action: none
    double_tap_action:
      action: none
    hold_action:
      action: none
    visibility:
      - condition: state
        entity: binary_sensor.hue_motion_sensor_9_motion
        state: "on"
  - entity: switch.hue_motion_sensor_9_motion_sensor_enabled
    show_background: false
    icon: mdi:motion-sensor-off
    visibility:
      - condition: state
        entity: switch.hue_motion_sensor_9_motion_sensor_enabled
        state_not: "on"
    tap_action:
      action: none
    hold_action:
      action: none
    double_tap_action:
      action: toggle

1 post - 1 participant

Read full topic

This is not how power works

$
0
0

Here is an example of what the History Graph card shows on my dryer’s power draw:

Note that diagonal line. That’s as if it gradually increases in power draw over the course of about a day. But that’s not what actually happened. During that diagonal line, power draw was actually at 0W, and at the end it had jumped to 100W.

I guess from the History Graph’s point of view, there is missing data and it’s attempting (badly) to interpolate steps in between. But when I go into the history for this entity, it shows the data points correctly:

So it’s almost like the History Graph is (incorrectly) assuming 0W to be “missing data” or something.

Hypothetically, if the meter was genuinely unreachable, which wasn’t the case, even then this bad attempt at interpolation wouldn’t make sense. Maybe it would for something like a light sensor, but power draw doesn’t work like that. If the power meter is unplugged, and unreachable, its connected device can’t possibly draw any power. Because, you know, it’s unplugged.

But I digress, none of that is the case. The power meter was functioning perfectly fine the whole time. It’s just the graph that’s making it look weird and incorrect.

1 post - 1 participant

Read full topic

Adding expansion_rules:

$
0
0

Hi. Is it possible to extend global expansion_rules for Sentences, with my own? Searched for it in documentation but found nothing.

1 post - 1 participant

Read full topic

How to send 2 identical IR commands on a tuya IR device

$
0
0

I have a tuya IR device that has the send feature where I can paste the command. However, it won t sent the same command twice, I have to either empty the IR to send string or send another, so I can send back the other.

Is there a way to fix it? The only thing I can think of is always clearing the IR to send on my scene, but tthi is too much

1 post - 1 participant

Read full topic


Get Graphana iframes to work via external nabu casa https: and internal http:

$
0
0

I have searched a lot, but I cannot find a solution. Perhaps somebody here can help or point me to existing resolutions…

So, I have graphana dashboards I want to integrate into HA as iframes. I also have the home assistant connect form nabu casa with my personal URL (lets call it my.url.com).

This is my graphana configuration:

plugins: []
custom_plugins: []
env_vars:
  - name: GF_SECURITY_ALLOW_EMBEDDING
    value: "true"
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem

And this is my iframe (slightly masked):

type: iframe
url: >-
  https://my.url.com/api/hassio_ingress/yqAXXXXn2JubznXXXXynVimXXXXkcXXXXvs_F_MF4wc/d-solo/feXXXXXXXXXq8d/dashboard-name?orgId=1&timezone=browser&panelId=1&__feature.dashboardSceneSolo

It works well accessing it via my external URL, it does not work via my internal IP though. I kind of understand that I might need the NGINX addon to make it work. But as I have installed the sub domain (MY.url.com) via the nabu casa mechanism, I cannot find any howto to make this work. They all seem to rely on a duckdns installation.

Thanks a lot for any hints!

1 post - 1 participant

Read full topic

Device trackers that are home showing on the map

$
0
0

hi,

It looks like a recent change maybe as it rolled out on my devices when I cleared their cache, but the devices tracker that are home now appear on the map, previously they were hidden.
Is there a way for me to get the previous behavior back ? It’s preventing the map from centering on the devices that aren’t home, making it hard to use.

Thanks

1 post - 1 participant

Read full topic

Local hosted image not displaying via public https

$
0
0

I’ve uploaded a image to my local /config/www/ folder. When trying to accessing this via my normal url https://publicdns.com/local/filename.png, I get a black page with an image that can’t be loaded. When accessing the file via http://192.168.x.x:8123/local/filename.png, the file is loaded properly.

I access my HA via https via a ngnix reverse proxy so it’s available public & privatly via the same url. The SSL certificate is stored on ngnix & the connection between the reverse proxy & HA is via http.
In my config yaml file, I’ve added the following code but it doesn’t help

homeassistant:
  allowlist_external_dirs:
    - /config/www

Anybody an idea?

1 post - 1 participant

Read full topic

New Shelly BLU TRV firmware

$
0
0

Hi,
I have just seen that there is a new firmware for Shelly BLU TRV:

Is this breaking the existing integration or will it work?
Br, Michael

1 post - 1 participant

Read full topic

What is and what isnt included in the backups?

"Run script" and default field values

$
0
0

I’ve set a default value in a boolean field, however it doesn’t seem to be passed when I use “run script” from the menu. Does this not work?


I can’t set the variables when I call this without a layered script because I’m trying to trigger it from wear os.

2 posts - 2 participants

Read full topic

Check if other Automation running in Automation

$
0
0

I wonder is it possible to check if some other Automation is running in new Automation?

I want to make a condition in automation A to trigger some action (or not trigger) only if automation B is currently running.

3 posts - 2 participants

Read full topic


Component error - path seems wrong updating HA2025.2

$
0
0

After updating to HA1025.2 Aristin integration sensor stops to work.
I received this error:
Component error: ariston - cannot import name ‘DEVICE_CLASS_CONNECTIVITY’ from ‘homeassistant.components.binary_sensor’ (/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py)

The previous path for Ariston sensor was:
homeassistant/custom_components/ariston/

How can I change HA to read the original path?
I have copied all the files into /usr/src/homeassistant/homeassistant/components as requested from the error but it doesn’t work.
PLease help me to understand what is wrong.
Regards.

1 post - 1 participant

Read full topic

Use STT input phrase in Automation

$
0
0

Is it possible to use Assist input phrase in Automation?

In Assist debug log I see

stt.speech_to_phrase
output: music off

and

conversation.home_assistant
Input: music off

The idea is to use “music off” as condition in automation.

1 post - 1 participant

Read full topic

Replace Honeywell CM927 CH controller - help

$
0
0

Hi all. Sorry if this isn’t the right place for this (although I think it might be).

I’ve got a HA Green device with the intention of controlling the central heating with it. My CH is a really old Honeywell system, using the CM927 controller. I can only find a couple of posts about this on the forum here, with one from 2020 that suggests that what I want to do should be possible. I have got the ZBT-1 dongle which I think is what I need for this, but I’m not sure where to go from here.

Any help, pointers, etc would be really appreciated.

TIA

1 post - 1 participant

Read full topic

Relay switches off after running xxx.turn_on action while it is on

$
0
0

Not sure if this category is right, but at this point I am not sure if this is relay, ZwaveJS UI or HA.
I have multiple Fibaro FGS213 relays (Single Switch 2) controlling light. I set all those as controlling light, to be able to run light actions, although I don’t think it matters as behavior is the same when I use switch actions.
My problem is - relay/light correctly switches on/off and status is displayed in HA accordingly (on both relay and light). But when I run action light.turn_on (or switch.turn_on) while light (switch) is on, it turns off. There is only one relay doing it, no other relay does it and stays on when the action xxx.turn_on is fired.
I tried re-interviewing the node, but that didn’t change anything. Anyone may have a clue why this is happening, or advice what may fix this unwanted behavior? Thanks.

1 post - 1 participant

Read full topic

Finding stream details for radio station

$
0
0

So, I’ve read a number of threads that are useful for me - I want to create a dash with a single button to press so that my sonos will play a given radio station for starters. I’ve seen a few examples which I think will get me started, but there are quite a few replies of the kind of “it’s as simple as” and then they don’t cover any details - such as here - Play one radio stream by pushing one button

The detail that is evading me is finding out the stream details - media_content_id in the case of one example I’ve seen.

Can someone tell me explicitly how I find this for a station that I’ve got set up? I can’t seem to find it in radio browser or anywhere else.

1 post - 1 participant

Read full topic

Viewing all 105842 articles
Browse latest View live


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