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

Using a "Template Number Value" instead of static number

$
0
0

Chaps
I need your help. Lets be honest, I’m just not very good at YML

OK, what am I trying to achieve. I have various security cameras that trigger outside floodlights. They work perfectly when we have good weather. Introduce a heavy rain shower and they introduce a lot of false positives. I am able to configure the sensitivity of these cameras using HA

Solution. I have a counter that tracks the number of motion detections within a certain time period. If that crosses a certain thresh-hold within a certain time, it triggers an automation where I decrease the motion sensitivity of the camera. I can do this with a STATIC number, what I would like to do is use a “Template Number” to gradually reduce the sensitivity.

This is my automation to reduce the sensitivity with a FIXED NUMBER (20)

triggers:
  - trigger: time_pattern
    minutes: /30
conditions:
  - condition: numeric_state
    entity_id: counter.counter_reolink_patio_motion_detected
    above: 25
actions:
  - device_id: 569573b6d0276d50b0ef488f8310016c
    domain: number
    entity_id: 4e60c6037eb655ff299c8018a27e31d4
    type: set_value
    value: 20
mode: single

I have created a TEMPLATE NUMBER that reduces 10 from the current cameras motion sensitivity
number.template_number_reolink_patio_motion_sensitivity_minus_10

{{ states('number.reolink_garden_motion_sensitivity') | float(0) - 10 }}

I’d like to use that template result in my automations actions instead of manually setting it to a fixed number and I just can’t figure out how to do it (If it’s even possible)

Thanks for any help or telling me I’m doing this the wrong way

Brucey

3 posts - 2 participants

Read full topic


How do you set value in a sensor and retain it.. each reboot looses it

$
0
0

hi im trying to make some Last month Entity Power usage… and i set automation to run at the end of the month at 23:59:00 now it basicly works i can get it to set the state… but when i reboot home assistant it sets it to unavliable

here is the templates

        - name: "Last Months Power Usage Total"
          state: "{{ states('sensor.last_months_power_usage_total') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_total') }}"

        - name: "Last Months Power Usage On-Peak"
          state: "{{ states('sensor.last_months_power_usage_on_peak') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_on_peak') }}"
        - name: "Last Months Power Usage Mid-Peak"
          state: "{{ states('sensor.last_months_power_usage_mid_peak') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_mid_peak') }}"
        - name: "Last Months Power Usage Off-Peak"
          state: "{{ states('sensor.last_months_power_usage_off_peak') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_off_peak') }}"

        #############################################
        #### Last Months Electricity Usage Costs ####
        #############################################
        - name: "Last Months Power Usage Total Cost"
          state: "{{ states('sensor.last_months_power_usage_total_cost') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_total_cost') }}"

        - name: "Last Months Power Usage On-Peak Cost"
          state: "{{ states('sensor.last_months_power_usage_on_peak_cost') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_on_peak_cost') }}"
        - name: "Last Months Power Usage Mid-Peak Cost"
          state: "{{ states('sensor.last_months_power_usage_mid_peak_cost') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_mid_peak_cost') }}"
        - name: "Last Months Power Usage Off-Peak Cost"
          state: "{{ states('sensor.last_months_power_usage_off_peak_cost') }}"
          availability: "{{ has_value('sensor.last_months_power_usage_off_peak_cost') }}"

and my automation is

alias: Energy - Set Last Month's Power Usage
description: ""
triggers:
  - trigger: time
    at: "23:59:00"
conditions:
  - condition: template
    value_template: "\"{{ (now() + timedelta(days=1)).day == 1 }}\""
actions:
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_total
      state: "{{ states('sensor.current_monthly_consumption')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_on_peak
      state: "{{ states('sensor.energy_import_hydro_one_monthly_on_peak')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_mid_peak
      state: "{{ states('sensor.energy_import_hydro_one_monthly_mid_peak')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_off_peak
      state: "{{ states('sensor.energy_import_hydro_one_monthly_off_peak')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_total_cost
      state: "{{ states('sensor.current_monthly_consumption')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_on_peak_cost
      state: "{{ states('sensor.energy_import_hydro_one_monthly_on_peak_cost')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_mid_peak_cost
      state: "{{ states('sensor.energy_import_hydro_one_monthly_mid_peak_cost')}}"
  - action: python_script.set_state
    metadata: {}
    data:
      entity_id: sensor.last_months_power_usage_off_peak_cost
      state: "{{ states('sensor.energy_import_hydro_one_monthly_off_peak_cost')}}"
mode: single

what am i doing wrong that its buggering up my sensor on reboot
its acting like a switch going connected and unavliable when it looses wifi connection
here is screen shot of one of them

1 post - 1 participant

Read full topic

Need Some Help w/Some Small(ish) Edits to My Dashboard Please

$
0
0

First of all, thanks to everyone who has contributed in this forum. It’s been a rollercoaster of a ride but using lots of info I found online (including this forum) I’m finally seeing my HA mobile dashboard look more and more like what I had pictured in my mind’s eye.

Here’s my mobile device dashboard as it appears currently:


Largely a meld of a few different dashboards that I’ve seen, taking elements of each that I like.

There’s a few smaller design tweaks I’d like to make but I’m not quite sure how to go about them. I’ve poked around a bit but I’m afraid to do much more than I’ve already attempted so I figured I’d get some help from the experts. I’ll list them in number format below and invite anyone who thinks they’ve got a solution for one (or all of them) to reply with the details needed to make it happen.

  1. I’d like if I had the ability to add the humidity next to the temperature for each card. I think that most of these would be the same device that the temp is currently pulling from but I’ve got a mixture of sensor types in each room so I may need the ability to add a humidity from a 2nd device, if that makes sense.


    …it might also make sense to reduce the temperatures displayed to whole #'s only to free up a few character spaces for the humidity so it doesn’t get too busy/cluttered. Same thing for the humidity in terms of whole #'s are all I need to display.

  2. Not all of my area cards have a full 3 buttons to populate. I tried to delete 1 or 2 of them but it appears as though the dimensions of the card are indexed off of there being three buttons. How can I remove one (or two) of these buttons w/o changing the size of the card itself?

The code for the entire dashboard is pretty lengthy so I’m not sure if I should post all of it or not. If that’s frowned upon or goes against forum etiquette, let me know. If someone wants to provide guidance on what portion(s) would need to be modified I can share, as necessary. I can also just drop it all here if that’s customary protocol for something like this.

I looked in to code for one of the cards and tried modifying a few things but didn’t find anything that worked. Here’s the code for one of those cards for reference:

type: custom:button-card
template: room_card
name: Garage
icon: mdi:garage-variant
tap_action:
  action: navigate
  navigation_path: garage
entity: sensor.motion_sensor_air_temperature_2
custom_fields:
  btn:
    card:
      type: vertical-stack
      cards:
        - type: custom:button-card
          template: room_button
          entity: cover.garage_door_opener_double
          icon: mdi:garage-variant
          tap_action:
            action: toggle
        - type: custom:button-card
          template: room_button
          entity: cover.garage_door_opener_single
          icon: mdi:garage
          tap_action:
            action: toggle
        - type: custom:button-card
          template: room_button
          entity: switch.garage_overhead_light
          icon: mdi:ceiling-light-outline
          tap_action:
            action: toggle
styles:
  img_cell:
    - background: dimgray

I assume it’s the template portion of code that needs to be modified(?) to make these changes but I’m not sure where or how. Please let me know on how to go about making these tweaks or if there’s anything else I need to provide.

Thanks!

1 post - 1 participant

Read full topic

How do I install previous version?

$
0
0

Hello.
My Z-Wave integration stopped working after an update tonight. How can I install the previous version? Should I install a backup file? Or is there something else I can do?

3 posts - 3 participants

Read full topic

Ping Z-Wave Device To See If It's Unavailable

$
0
0

I have a smart switch connected to a GFCI outlet. I want to determine if the circuit has been tripped, causing the outlet to stop providing power. I was thinking that I could just check to see if the smart switch became unavailable. It doesn’t have a battery so I would expect it to become unavailable when power is removed. I think I know how to check this status. What I’m struggling with is how to force it to change status as soon as power disappears (or soon after). Right now, the status shows “alive” long after I unplug it. I thought about using the z-wave ping but that seems to require the device ID For the life of me, I can’t seem to figure out how to determine that. I’ve seen several other posts about this but none of them match the HA I am using.
I’m also not sure if this is the right approach either. Basically, I want to send something to the switch periodically that causes it to update its node status so I can check it.
Sorry if this has been answered. I searched but couldn’t find a solution that seemed to fit. I’d appreciate some guidance.
I have the latest version of HA and would like to use Node Red although if an automation is a lot easier, I could do that too.

10 posts - 3 participants

Read full topic

Z-Wave Controller locked in exclusion

$
0
0

I’m using a Z-Net controller and was trying to exclude a device. The device may not have been on the network in the first place. For whatever reason, my controller is stuck in exclusion and will no longer control any Z-Wave devices.

The message I see from the Z-Wave JS is

Your Z-Wave controller is now in exclusion mode
Follow the directions that came with your device to trigger exclusion on the device

The Cancel Exclusion button does not work.

How can I fix this?

Thanks

1 post - 1 participant

Read full topic

Another “can’t get command line sensor” to work

$
0
0
  • I am running HA on HA Green in Supervisor mode.
  • I have a file integration that correctly adds a date/time stamp to a file /config/text.txt
  • I want to read the last 5 entries into a sensor so I can display these in a card on a dashboard
  • I have the following code in my configuration.yaml
sensor:
  - platform: command_line
    name: downstairs_log
    command: "tac /config/test.txt | head -n 5 || echo 'Error reading file'"
    value_template: "{{ value }}"
    scan_interval: 60
  • I have tested the command in SSH and it works as expected
  • I have checked the logs for references to “command_line” and “downstairs_log” and can’t see anything unusual, even with command line debug logging on.
  • I can see this in the logs “ 2025-04-25 07:09:06.047 INFO (MainThread) [homeassistant.components.sensor] Setting up command_line.sensor”
  • When I go to the entities and search for sensor.download_log with no other filters, I can’t find it as I would expect.

Any suggestions on what to do next?

Thanks

Matt

1 post - 1 participant

Read full topic

More space between icon and Primary tekst in custom:mushroom-template-card

$
0
0

Hi,

I would like to have a bit more space between the icon on the button and the primary text. I have tried everything but unfortunately I or chatgpt can’t seem to get this to work. Does anyone know a solution?

This is my current code:

type: custom:mushroom-template-card
primary: Woonkamer
icon: mdi:sofa
layout: vertical
grid_options:
  columns: 4
  rows: 2
secondary: ""
tap_action:
  action: navigate
  navigation_path: /db-mobiel2025/woonkamer
hold_action:
  action: none
double_tap_action:
  action: none
badge_icon: |
  {% if is_state('light.woonkamer_tellen', 'on') %}
    mdi:lightbulb
  {% else %}
    mdi:lightbulb-off
  {% endif %}
badge_color: |
  {% if is_state('light.woonkamer_tellen', 'on') %}
    green
  {% else %}
    black
  {% endif %}
card_mod:
  style: |
    :host {

    }
    ha-state-icon {
      --mdc-icon-size: 64px !important;
    }
    mushroom-shape-icon {
      --shape-color: transparent !important;
      --shape-color-disabled: transparent !important;
    } 
    mushroom-badge-icon {
      margin-right: -30px;
      margin-top: -15px;
      --badge-icon-size: 20px;
      --badge-size: 30px;
    }

1 post - 1 participant

Read full topic


Alarmo - friendly name to TTS

$
0
0

Hey there!

I’ll start off by saying, I’m extremely new to this stuff, helped along by ChatGPT and year old reddit/HA forum posts.

My issue is pretty straight forward. I’m setting up Alarmo, and when a the alarm is triggered, i want to have TTS deliver a message on my speaker - which works. What does NOT work, is trying to get the “friendly name” of the device that triggered the alarm.

I want the TTS to be like “DEVICE NAME has been opened.” on a loop until i disable it.

Here is the code!

alias: Loopende TTS Alarm
mode: single
fields:
  sensor_id:
    description: Entity ID of the triggered sensor
sequence:
  - variables:
      sensor_name: >-
        {{ state_attr(trigger.entity_id, 'friendly_name') or trigger.entity_id
        }}
  - repeat:
      while:
        - condition: state
          entity_id: input_boolean.alarm_tts_loop
          state: "on"
      sequence:
        - data:
            entity_id: media_player.sovevaerelsespeaker
          action: media_player.turn_on
        - data:
            entity_id: media_player.sovevaerelsespeaker
            volume_level: 0.5
          action: media_player.volume_set
        - data:
            entity_id: media_player.sovevaerelsespeaker
            message: "{{ sensor_name }} er blevet åbnet. Tjek venligst"
          action: tts.cloud_say
        - delay: "00:00:10"

1 post - 1 participant

Read full topic

How do I remove the "rtsp_to_webrtc" intergration?

$
0
0

The “rtsp_to_webrtc” is constantly discovered on my Integrations page. All I see is the option to “Add”. The three-dot menu only shows “Documentation”. How do I remove it for good?

1 post - 1 participant

Read full topic

Card_mod background color

$
0
0

I’ve been messing with this for hours. I’m trying to get the background to change based on which button is selected. So if “Basement” is selected, I want the background of the card to change to a different color. It just remains white. I saw there was an issue with this in card_mod, so it was downgraded to 3.4.4 (not 3.5). I re-downloaded it but still no luck. I can get all the chips to change but I need to color them individually. Any help would be appreciated.

views:
  - title: "Remote Control"
    path: "remote_control"
    cards:

    - type: custom:mushroom-chips-card
      chips:
        - type: template
          entity: media_player.basement_tv_universal_remote
          content: Basement
          tap_action:
            action: call-service
            service: input_select.select_option
            target:
              entity_id:
                - input_select.tv_remote
            data:
              option: Basement
          icon: mdi:home-floor-b
          icon_color: purple
          card_mod:
            style: |
              ha-card {
                --chip-background: {{ 'green' if is_state('input_select.tv_remote', 'Basement') else 'red' }};
              }

        - type: template
          entity: media_player.living_room_tv_universal_remote
          content: Living Rm
          tap_action:
            action: call-service
            service: input_select.select_option
            target:
              entity_id:
                - input_select.tv_remote
            data:
              option: Living Room
          icon: mdi:sofa
          icon_color: purple

1 post - 1 participant

Read full topic

Z2M randomly stopped working with SLZB-06P7

$
0
0

For some reason HA just stopped connecting to my SLZB-06P7 with the following error code:

[22:56:38] INFO: Preparing to start...
[22:56:38] INFO: Socat not enabled
[22:56:38] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-04-24 22:56:39] info: 	z2m: Logging to console, file (filename: log.log)
[2025-04-24 22:56:39] info: 	z2m: Starting Zigbee2MQTT version 2.2.1 (commit #unknown)
[2025-04-24 22:56:39] info: 	z2m: Starting zigbee-herdsman (3.4.11)
[2025-04-24 22:56:39] info: 	zh:zstack:znp: Opening TCP socket with 192.168.1.14:6638
[2025-04-24 22:56:39] info: 	zh:zstack:znp: Socket connected
[2025-04-24 22:56:39] info: 	zh:zstack:znp: Socket ready
[2025-04-24 22:56:39] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-04-24 22:56:40] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-04-24 22:56:58] error: 	z2m: Error while starting zigbee-herdsman
[2025-04-24 22:56:58] error: 	z2m: Failed to start zigbee-herdsman
[2025-04-24 22:56:58] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-04-24 22:56:58] error: 	z2m: Exiting...
[2025-04-24 22:56:58] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/.pnpm/zigbee-herdsman@3.4.11/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
    at Controller.start (/app/node_modules/.pnpm/zigbee-herdsman@3.4.11/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:104:13)
    at start (/app/index.js:149:5)

I’ve made sure that the SLZB-06P7 is on, it is reachable from the network, and is functioning well. I’ve restarted it, and I’ve re-flashed the firmware. I’ve also restarted HA, and I’ve restarted Z2M about a million times and it still has the same error. I’ve checked the configuration and it’s all correct but it’s still not working.

Here is my HA version

Core 2025.4.3
Supervisor 2025.04.0
Operating System 15.2
Frontend 20250411.0

And the SLZB-06P7 is on version 2.8.5.dev7.

Has anyone else encountered this error and know how to fix it?

1 post - 1 participant

Read full topic

Homekit covers failing, lights work on the same device

$
0
0

I have had an issue for the past few weeks I’ve been trying to track down and figure out how to effectively troubleshoot. For the past few years I’ve run Ha on a multihomed setup with an iot side and a lan side. I have MDNS setup to broadcast outside the iot network but I don’t allow any other traffic that isn’t brokered through the HA server. This has been an effective setup for a few years until about a month ago when all my garage interfaces stopped working. They are all ratgdo devices with two being traditional esphome garage door setups and the third being a swing arm gate using the mqtt binary. All of the devices\ covers show unresponsive inside of the home.app. The lights however be controlled without issue. I figure something changed but tracking it down inside the homekit bridge is proving difficult and websearches haven’t been very fruitful in how to troubleshoot this side of things.

1 post - 1 participant

Read full topic

Condition Template evaluating false when dev tools evaluates true

$
0
0

I have the following conditional template in an automation:

value_template: >-
  "{{(state_attr('automation.waste_collection_yellow_bin_collected',"last_triggered")
  == none) or not
  (state_attr('automation.waste_collection_yellow_bin_collected',"last_triggered")|
  as_datetime|as_local()).day==now().day }}"

That is always evaluating to false, but if I copy paste the same template into the dev tools, it evaluates to true as expected.

Does anyone have any ideas why I am getting different behavior between the automation engine and dev tools?

3 posts - 2 participants

Read full topic

Rest_command and help with parsing the response

$
0
0

I am trying to use use rest_command (RESTful command) to GET tide data for my location. I have the basics working and it is returning the following data in the response variable (tide_data)

{'content': '{\n\t"results": {\n\t\t"current_time": 1745554800,\n\t\t"next_high": {\n\t\t\t"time": 1745569620,\n\t\t\t"height": 1.72\n\t\t},\n\t\t"next_low": {\n\t\t\t"time": 1745591460,\n\t\t\t"height": 0.46\n\t\t}\n\t}\n}', 'status': 200}

I have been able to use “{{ tide_data.status }}” to return 200

I can also use “{{ tide_data.content }}” to return

{
"results": {
"current_time": 1745554800,
"next_high": {
"time": 1745569620,
"height": 1.72
},
"next_low": {
"time": 1745591460,
"height": 0.46
}
}
}

But I can’t work out how to access / map the data within the results of the content.

I have tried “{{ tide_data.content.results.current_time }}” and many variants of this!

I think I am doing something stupid so any help appreciated.

1 post - 1 participant

Read full topic


Frustrating first week with HA Voice Assistant, how to troubleshoot?

$
0
0

So, we bought three HA Voice Preview Edition boxes and placed them around the house (kitchen, office and living room). They work great and the integration with HA is excellent (as expected). We are using Swedish as language so we rely on the HA Cloud for parsing.

But, we are two persons in the house-hold and how we address HA using voice is slightly different and in 40% of our prompts the answer from Assist is “Sorry, I do not understand”. Some prompts like “turn up the volume” are very tricky to get right, etc. etc.
To alleviate the frustration and bring back the wife-approval needle back into green I wonder if there is a way to enable more detailed logging to:
a) understand how our prompts are handled and why they fail
b) to enable me as a programmer to add to the development of Swedish voice Assist in HA

Thanks,
/Mattias

1 post - 1 participant

Read full topic

Shelly: Entity renaming is resetted after some time

$
0
0

I have one Shelly Device which is behaving weird in home assistant.
I renamed the whole device to:
OG Schlafzimmer Rolladen Garten

Then I renamed the cover entity from:
og_schlafzimmer_rolladen_garten_cover_0
to
og_schlafzimmer_rolladen_garten

But after some time og_schlafzimmer_rolladen_garten is not available anymore. Instead the entity is name og_schlafzimmer_rolladen_garten_cover_0
Even if I rename it again it is renaming itself to its default name.

What could I do to prevent this behaviour? What causes this issue?

4 posts - 2 participants

Read full topic

Is it possible to close a port e.g.502 opened on startup solar.yaml config, LIVE

$
0
0

Hi,

Is it possible to run a modified yaml file live from HA, via a button or something, without using settings & restarting HA, full or just configs.

I am reading modbus information for my data logger & Solis solar inverter.
Get all the data great (using fboundy github excellent work).

It opens port 502 on HA startup in config.yaml & solis.yaml.

However 502 can only be accessed by one method at a time, So HA has control.

I would like to open the same port & inverter information using python script & pymodbus but it is refused as already open.

Ideally would like to click on a HA page & e.g. press a button & this port & inverter close & cease to read the information. I would think if possible by reloading a yaml but guess this is very unlikely to work without a restart?
Ideally an option then to reload without a restart.

I suspect I am asking something impossible & unusual but would be great.

My other option & not too keen on, is I think the inverter/data logger can send mqtt information, use this somehow to be sent to HA to read the information as if coming from the inverter direct. I don’t have mqtt server set up yet (not sued before) Not sure yet if this ties up the port also or if can be relatively easily read into HA.

Thanks I/A

1 post - 1 participant

Read full topic

Sonoff POW ring - DC Current

$
0
0

Good day everyone.

I have a 3KW solar inverter, but not a smart inverter like a Victron. So I’m trying to see if it’s possible to read the DC current and Voltage with something like a Sonoff POW ring to switch appliances when there is enough solar energy.

Is it possible or must I try a different route?

1 post - 1 participant

Read full topic

Cannot have Zigbee2MQTT connecting to SLZB-06M

$
0
0

Hello,
I’m new to Home Assistant. I’ve installed it on a RPI on my LAN. and also installed Mosquitto and Zigbee2MQTT addons. I have a SMLight SLZB-06M (firmware version is 2.7.1) but I do not manage to have Zigbee2MQTT connect to this one.
My configuration is this:

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt: {}
serial:
  port: tcp://192.168.1.17:6638
  baudrate: 115200
  adapter: ember
  disable_led: false
advanced:
  transmit_power: 20

On Zigbee2MQTT side, I get those logs:

[08:29:33] INFO: Preparing to start...
[08:29:33] INFO: Socat not enabled
[08:29:34] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-04-25 08:29:37] info: 	z2m: Logging to console, file (filename: log.log)
[2025-04-25 08:29:37] info: 	z2m: Starting Zigbee2MQTT version 2.2.1 (commit #unknown)
[2025-04-25 08:29:37] info: 	z2m: Starting zigbee-herdsman (3.4.11)
[2025-04-25 08:29:38] info: 	zh:ember: Using default stack config.
[2025-04-25 08:29:38] info: 	zh:ember: ======== Ember Adapter Starting ========
[2025-04-25 08:29:38] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2025-04-25 08:29:38] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-04-25 08:29:38] info: 	zh:ember:uart:ash: Socket ready
[2025-04-25 08:29:38] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-04-25 08:29:38] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-04-25 08:29:38] info: 	zh:ember:uart:ash: Port closed.
[2025-04-25 08:29:40] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-04-25 08:29:40] info: 	zh:ember:uart:ash: Socket ready
[2025-04-25 08:29:40] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-04-25 08:29:41] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-04-25 08:29:41] info: 	zh:ember:uart:ash: Port closed.
[2025-04-25 08:29:43] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-04-25 08:29:43] info: 	zh:ember:uart:ash: Socket ready
[2025-04-25 08:29:43] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-04-25 08:29:43] info: 	zh:ember:uart:ash: Port closed.
[2025-04-25 08:29:45] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-04-25 08:29:45] info: 	zh:ember:uart:ash: Socket ready
[2025-04-25 08:29:45] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-04-25 08:29:46] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-04-25 08:29:46] info: 	zh:ember:uart:ash: Port closed.
[2025-04-25 08:29:48] info: 	zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-04-25 08:29:48] info: 	zh:ember:uart:ash: Socket ready
[2025-04-25 08:29:48] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2025-04-25 08:29:49] error: 	zh:ember:uart:ash: Port Error: read ECONNRESET
[2025-04-25 08:29:49] info: 	zh:ember:uart:ash: Port closed.
[2025-04-25 08:29:50] error: 	z2m: Error while starting zigbee-herdsman
[2025-04-25 08:29:50] error: 	z2m: Failed to start zigbee-herdsman
[2025-04-25 08:29:50] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-04-25 08:29:50] error: 	z2m: Exiting...
[2025-04-25 08:29:50] error: 	z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
    at EmberAdapter.initEzsp (/app/node_modules/.pnpm/zigbee-herdsman@3.4.11/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:672:19)
    at EmberAdapter.start (/app/node_modules/.pnpm/zigbee-herdsman@3.4.11/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1538:24)
    at Controller.start (/app/node_modules/.pnpm/zigbee-herdsman@3.4.11/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:104:13)
    at start (/app/index.js:149:5)

And on the SLZB side I get this

taskZB | Client limit has been reached!

I do not really understand as I do not have any other devices connected from what I know.
Any idea of the possible causes of this problem ?
Thank you for you help.

2 posts - 2 participants

Read full topic

Viewing all 106533 articles
Browse latest View live


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