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

SSH sensor configuration

$
0
0

Hello,
I’m trying to create a sensor with the writing speed of a RAIDZ pool via SSH command (homeassistant-ssh plugin).

The sensor doesn’t show up in entities.

I added this to configuration.yaml :

command: zpool iostat -v RAIDZ1 1 1 | grep -A 1 'RAIDZ1' | tail -n 1 | awk '{print $7}'
  sensors:
    - type: number
      name: raidz1writespeed
      value_template: >-
        {%- set write_speed = value.strip() -%}
        {%- set numeric_value = write_speed[:-1] | float -%}
        {{ numeric_value }}
      unit_of_measurement: "Mo/s"

Thanks for your help.

1 post - 1 participant

Read full topic


Use list of currently running software on Windows PC to trigger automations?

$
0
0

I have HASS.Agent installed and I want to play/pause media when my presence sensor detects/clears my presence BUT I don’t want it to perform the automation if I’m playing a game so I thought if I could use a trigger that basically says “If Steam.exe is running stop the automation”

Anybody got any ideas?

1 post - 1 participant

Read full topic

Alerts via Echo

$
0
0

First post. This community is awesome! I’m a newbie trying to send an alert notification to my Amazon Echoes.

What I’ve done:
Created an “alerts.yaml” file

Added "alert: !include alerts.yaml in configuration.yaml

Added to confirguration.yaml:
notify:

  • name: alert_alexas
    platform: group
    services:
    • service: alexa_media
      data:
      target:
      - alexa_media_kitchen_echo
      - alexa_media_bedroom_echo
      - alexa_media_living_room_echo
      data:
      type: announce

Added to alerts.yaml file:
door_to_garage_open:
name: door to garage is open
entity_id: binary_sensor.lumi_lumi_sensor_magnet_aq2_opening_2
state: “open”
message: Someone left the door to the garage open. Please close it.
done_message: The door to the garage is closed
repeat: 1
notifiers:

  • alert_alexas

What am I doing wrong?

2 posts - 2 participants

Read full topic

Integrate Micro-air-easy-touch

Add virtual RGBW light ti HA!?

$
0
0

Hi Guy’s!

I look a long time, finally I decided to ask the community ^^

Is there an easy way to add a “virtual” RGBW light to HA ?
I only need the Entity, no function!

I want to visullize it like a normal RGBW Lamp in HA and work with it in Nodered.

I thought about add a rgbw mqtt light, but it will not work…

I hope you can help me!

Thanks!! :wink:

1 post - 1 participant

Read full topic

Automation trigger for Tapo Cams

$
0
0

I am using the Tapo Control integration but am having a hard time figuring out how to trigger an automation based on a person alert or even motion alert for that matter. I cannot find an entity to trigger off of. You’d think the Person Detection entity would be it but the values are for sensitivity. What entity do you all trigger an action off of for person alerts?

I am running Tapo Control 6.0.1 and Tapo app 3.8.115 on a C120 camera with 3rd party compatibility enabled.

Thanks

1 post - 1 participant

Read full topic

Zigbee2MQTT Failed Set-Up

$
0
0

Hi, I normally find my own way with these issues but am totally stumped.

I am trying to set-up a zigbee2MQTT configuration and then transfer my existing zigbee network to it. Unfortunately I am stuck at just getting zigbee2MQTT working. I have done the following:

  1. Deleted my existing zigbee network
  2. installed the add-ons mqtt & zigbee2mqtt. Created a new user mqtt-user, set the config:
mqtt:
server: mqtt://core-mosquitto:1883
user: mqtt-user
password: xxxxxxxx

Serial:
port: >-
  /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_1c8427bc4b12ef1186e775b8bf9df066-if00-port0
adapter: ember
  1. started Zigbee2MQTT
  2. Error:
[2024-12-20 21:59:47] error: 	z2m: Error while starting zigbee-herdsman
[2024-12-20 21:59:47] error: 	z2m: Failed to start zigbee
[2024-12-20 21:59:47] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-12-20 21:59:47] error: 	z2m: Exiting...
[2024-12-20 21:59:47] error: 	z2m: Error: Adapter EZSP protocol version (8) is not supported by Host [13-14].
    at EmberAdapter.emberVersion (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1426:19)
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:688:9)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1598:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:161:27)
    at start (/app/index.js:154:5)

Things I have tried:

  1. using EZSP as the adaptor - get more errors: Failed to get 45df7312_zigbee2mqtt logs, network error
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x7cc6b6fffef68cae/connection_state/config', payload '{"device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x7cc6b6fffef68cae_connection_state_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x7cc6b6fffef68cae/restart_required/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"device_class":"problem","enabled_by_default":false,"entity_category":"diagnostic","name":"Restart required","object_id":"zigbee2mqtt_bridge_restart_required","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x7cc6b6fffef68cae_restart_required_zigbee2mqtt","value_template":"{{ value_json.restart_required }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/button/1221051039810110150109113116116_0x7cc6b6fffef68cae/restart/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/restart","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"device_class":"restart","name":"Restart","object_id":"zigbee2mqtt_bridge_restart","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"payload_press":"","unique_id":"bridge_0x7cc6b6fffef68cae_restart_zigbee2mqtt"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/select/1221051039810110150109113116116_0x7cc6b6fffef68cae/log_level/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_template":"{\"options\": {\"advanced\": {\"log_level\": \"{{ value }}\" } } }","command_topic":"zigbee2mqtt/bridge/request/options","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"entity_category":"config","name":"Log level","object_id":"zigbee2mqtt_bridge_log_level","options":["error","warning","info","debug"],"origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x7cc6b6fffef68cae_log_level_zigbee2mqtt","value_template":"{{ value_json.log_level | lower }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x7cc6b6fffef68cae/version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"entity_category":"diagnostic","icon":"mdi:zigbee","name":"Version","object_id":"zigbee2mqtt_bridge_version","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x7cc6b6fffef68cae_version_zigbee2mqtt","value_template":"{{ value_json.version }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x7cc6b6fffef68cae/coordinator_version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:chip","name":"Coordinator version","object_id":"zigbee2mqtt_bridge_coordinator_version","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x7cc6b6fffef68cae_coordinator_version_zigbee2mqtt","value_template":"{{ value_json.coordinator.meta.revision }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x7cc6b6fffef68cae/network_map/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"enabled_by_default":false,"entity_category":"diagnostic","json_attributes_template":"{{ value_json.data.value | tojson }}","json_attributes_topic":"zigbee2mqtt/bridge/response/networkmap","name":"Network map","object_id":"zigbee2mqtt_bridge_network_map","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/response/networkmap","unique_id":"bridge_0x7cc6b6fffef68cae_network_map_zigbee2mqtt","value_template":"{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0x7cc6b6fffef68cae/permit_join_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"device_class":"duration","entity_category":"diagnostic","name":"Permit join timeout","object_id":"zigbee2mqtt_bridge_permit_join_timeout","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x7cc6b6fffef68cae_permit_join_timeout_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{ iif(value_json.permit_join_timeout is defined, value_json.permit_join_timeout, None) }}"}'
[2024-12-20 21:51:52] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/switch/1221051039810110150109113116116_0x7cc6b6fffef68cae/permit_join/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/permit_join","device":{"hw_version":"EZSP v8 6.10.3.0 build 297","identifiers":["zigbee2mqtt_bridge_0x7cc6b6fffef68cae"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.42.0"},"icon":"mdi:human-greeting-proximity","name":"Permit join","object_id":"zigbee2mqtt_bridge_permit_join","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0x7cc6b6fffef68cae_permit_join_zigbee2mqtt","value_template":"{{ value_json.permit_join | lower }}"}'
[2024-12-20 21:59:11] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}'
[2024-12-20 21:59:11] info: 	z2m: Disconnecting from MQTT server
[2024-12-20 21:59:11] info: 	z2m: Stopping zigbee-herdsman...
[2024-12-20 21:59:11] info: 	zh:controller: Wrote coordinator backup to '/config/zigbee2mqtt/coordinator_backup.json'
[2024-12-20 21:59:11] info: 	z2m: Stopped zigbee-herdsman
[2024-12-20 21:59:11] info: 	z2m: Stopped Zigbee2MQTT
  1. Using my Skyconnect dongle instead of my sonoff - same errors (this is on the latest firmware)
  2. Updating my Sonoff Firmware - but cannot get it to update. a) Tried the online tool using Windows - get an error saying it cannot determine existing firmware b) Tried SecureCRT but again despite clicking into boot mode it would not respond despite the LED flashing green. C) tried using silicon Lab flasher.

It is a brand new dongle (arrived from amazon yesterday - so I assume it has a decent firmware on it?)

Where do I even go next? What do I try?

1 post - 1 participant

Read full topic

Core energy cards/graphs not always displaying data in custom dashboard

$
0
0

I have energy configured and working perfectly in the stock/core Energy dashboard (in the HA sidebar).

When I create by own dashboard using the stock energy cards, sometimes it works and other times the charts are empty. I can’t seem to find why this is.

When this happens, if I check the core energy dashboard - the data is showing correctly.

2 posts - 1 participant

Read full topic


Need automation to check device activity in the past

$
0
0

I have a dehumidifier installed in my crawlspace under the house. It’s powered via an esphome smart plug. I’m looking for advice for an automation that would send a notification if the dehumidifier hasn’t run for more than 12 hours. The smart plug monitors current so easy to determine if the device is currently running but I don’t know how to create a trigger using the entity history?

Probably would also need to send a notification if the smart plug is not available (power failure).

3 posts - 2 participants

Read full topic

How to change the dashboard header colors from the default blue

$
0
0

How do I change the header colors in a theme? I’ve found several posts on here with different tags in the theme.yaml files, but none of them seem to work. This is what I have now (which doesn’t work):

livingroom:
  primary-color: yellow
  primary-background-color: darkgray
  primary-text-color: lightgray
  primary-text-size: "2px"
  primary-header-background-color: yellow
  primary-header-text-color: black
  #cards
  card-background-color: black
  card-font-size: "2px"

1 post - 1 participant

Read full topic

Event to binary sensor conversion

$
0
0

Hello,

I need a bit help to get the example of the documentation running.

template:
  - trigger:
      trigger: event
      event_type: my_event
    binary_sensor:
      - name: Event recently fired
        auto_off: 5
        state: "true"

My event:

I tried to change “my_event” to “press”. But this doesn’t work.

1 post - 1 participant

Read full topic

Presenting Sonoff SWV water valve to HomeKit

$
0
0

I’ve been using a Sonoff SWV water valve for a while and want it be recognised as a water valve / irrigation accessory via HomeKit bridge.

It currently presents as a switch, which is fine and works in Apple Home, but I’m not able to set a running time in the same way I can with my Eve water valves. The result is that I end up turning it on and forgetting to turn it of…

Where do I start with configuring the switch as a valve and passing that property to Apple Home through HomeKit bridge?

1 post - 1 participant

Read full topic

Dashboard Cards Not Updating

$
0
0

I don’t recall this being a thing historically, not sure if an app update is the issue or an iOS update.

When I change the status of a light, fan, HVAC etc… it’s very common for the page not to reflect the new status. I have to pull down in app to update. This only Impacts the companion apps.

I’m running mushroom and standard Lovelace cards. I haven’t migrated to Sections dashboard.

Any suggestions on what is causing the refresh issue?

1 post - 1 participant

Read full topic

Simple sprinkler on/off via http

$
0
0

Hi,

I’m very new to home assistant and the first device i’m trying to setup is a remote relay board which turns sprinklers on and off. I think i’ve managed to set one of the relays up in configuration.yaml but, I have no idea how i can then trigger it via the home assistant interface.

I’ve found documentation on how to set it up in configuration.yaml - but no idea where to from there, it doesn’t appear in devices or integrations in the home assistant interface? I’m not sure if this suggests it doesn’t work, or i’m supposed to look elsewhere?

Any help even if it’s pointing me at the correct documentation would be much appreciated.

Here’s my configuration.yaml:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

switch:
  - platform: command_line
    switches:
      axis:
        friendly_name: 'Sprinkler'
        command_on: 'curl -k "http://192.168.1.48/?relay1=off"'
        command_off: 'curl -k "http://192.168.1.48/?relay1=on"'

3 posts - 2 participants

Read full topic

ZHA Regularly "Losing Connection to Radio"

$
0
0

Over the last 2 weeks-or-so, I am having to restart HA every 2-4 days to get ZHA going again. The logfile reports the following:

21T09:44:50.389735+08:00>>

2024-12-21 09:44:50.427 DEBUG (MainThread) [zigpy.application] Connection to the radio has been lost: <NcpFailure(code=<NcpResetCode.ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT: 81>)>

2024-12-21 09:44:50.437 DEBUG (MainThread) [homeassistant.components.zha.helpers] Connection to the radio was lost: ConnectionLostEvent(event_type=‘zha_gateway_message’, event=‘connection_lost’, exception=<NcpFailure(code=<NcpResetCode.ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT: 81>)>)

2024-12-21 09:44:50.450 DEBUG (bellows.thread_0) [zigpy.serial] Waiting for serial port to close

I presume this error means HA can’t talk to the coordinator (and hence downstream matters of my zigbee network are irrelevant to the problem)

My setup is:

  • Pi4B running HA (which is running very recent HAOS, Core etc - but not the absolute latest)
  • SkyConnect coordinator on a 3m USB3 extension cable connected to a USB 2 port on the Pi4B. The coordinator is 1.5m from any electronics.

1 post - 1 participant

Read full topic


Media repeat not working in automation

$
0
0

I am trying to create a simple automation triggered by a button, to clear the sonos queue, set the volume, play a playlist and set it to repeat. It all works, except the repeat.

alias: Bedtime Button
description: ""
triggers:
  - domain: mqtt
    device_id: 54ed6d96131d81dedd0f27e5e529f29b
    type: action
    subtype: single
    trigger: device
conditions: []
actions:
  - action: media_player.clear_playlist
    metadata: {}
    data: {}
    target:
      device_id: 16a59a2e07c898bbd11ff956889af992
  - action: media_player.volume_set
    metadata: {}
    data:
      volume_level: 0.15
    target:
      device_id: 16a59a2e07c898bbd11ff956889af992
  - action: music_assistant.play_media
    metadata: {}
    data:
      media_type: playlist
      enqueue: play
      media_id: Bedtime
    target:
      device_id: 1eeca358c95a20c099ffb48977d0fc2b
  - action: media_player.repeat_set
    metadata: {}
    data:
      repeat: all
    target:
      device_id: 16a59a2e07c898bbd11ff956889af992
mode: single

The repeat action seems pretty simple, but I am not sure why it’s not working. Anyone else run into this problem?

2 posts - 2 participants

Read full topic

Get Daily Max/Min Temperature from Weather

$
0
0

As the Attributes of the DWD Weather Integration have been updated my Template Sensor fetching todays highest temperature stopped working.

- trigger:
    - trigger: time
      at: "00:00:01"
    - trigger: homeassistant
      event: start
    - trigger: event
      event_type: event_template_reloaded
  action:
    - action: weather.get_forecasts
      data:
        type: daily
      target:
        entity_id: weather.ingolstadt
      response_variable: weather_data
  sensor:
    - name: "Max temp"
      unique_id: max_daily_temp
      state: >-
        {{ weather_data.forecast[0].temperature }}
      unit_of_measurement: "°C"
    - name: "Min temp"
      unique_id: min_daily_temp
      state: >-
        {{ weather_data.forecast[0].templow }}
      unit_of_measurement: "°C"

Whilst this is the output of weather.get_forecasts:

weather.home:
  forecast:
    - datetime: "2024-12-21T00:00:00Z"
      cloud_coverage: 100
      condition: cloudy
      evaporation: null
      fog_probability: 4
      precipitation_duration: 7860
      precipitation_probability: 68
      pressure: 1025.4
      sun_duration: 6300
      sun_irradiance: 2430
      uv_index: null
      visibility: 7900
      wind_gust_speed: 35.2
      wind_bearing: SW
      temperature: 5
      templow: -2
      dew_point: 1
      wind_speed: 20.4
      precipitation: 0.3
    - datetime: "2024-12-22T00:00:00Z" [...]

Can anyone help me in how I am fetching the results wrongly?

1 post - 1 participant

Read full topic

Matter devices just stopped working

$
0
0

Hi all - I am a newbie to HA and been using it for the past 3 months. everything was going well until I updated to one of the recent new versions. Now it seems like a lot of my ‘Moes Matter G10 lightbulbs’ just stopped working and are unavailable.

Initially I set them all up directly through ‘add matter device’ in HA rather than initially through the Moes app, so have no other way to connect to them.

I am not sure as to how to solve this with the different lights, and why the matter integration is not working for me. Is there anyone that can give me guidance on what to check for or steps to help resolve the issue. thanks.

1 post - 1 participant

Read full topic

Assist Pipeline executes without error but action does not happen

$
0
0

Testing my new assist pipeline I can successfully get “ok nabu” to turn on specific lights. But, if I try, for example, “ok nabu, turn on all lights” it says “done” but nothing actually happens. The ESP32Box is in the dining room, its assigned to the dining room area and the lights (4 of them) are all assigned to the dining room.

Looking at the raw debug log, i see the execution of the verbal command, but the data / targets/ success and failed lines are all blank.

conversation_id: null
device_id: null
prefer_local_intents: false
processed_locally: false
intent_output:
  response:
    speech:
      plain:
        speech: Okay.  Dining room lights on.
        extra_data: null
    card: {}
    language: en
    response_type: action_done
    data:
      targets: []
      success: []
      failed: []
  conversation_id: 01JFMASCFPP1KDDGY3HGXQ62A4

I cannot figure out where the problem lies. Any suggestions?

1 post - 1 participant

Read full topic

Switch case

$
0
0

Hi all,

I’m stuck templating.
The goal is to get the valve opening degree set based on helper value that is a delta temp.

Example:

Case
states(‘sensor.dt_kensil’) == 1
set number.“{{ trigger.entity_id }}”_valve_opening_degree to 24
states(‘sensor.dt_kensil’) == 2
set number.“{{ trigger.entity_id }}”_valve_opening_degree to 32

I’m looking at https://community.home-assistant.io/t/is-there-a-case-statement-or-equivalent-when-using-templates/553155 as a possible solution but i get a ‘None’ result

{% set d = { 'Green': 0, 'Yellow': 1, 'Orange': 2, 'Red': 3 } %}
{{ d.get( states('sensor.dt_kensil') ) }}

even if i do


{% set d = { 'Green': 0, 'Yellow': 1, 'Orange': 2, 'Red': 3 } %}
{{ d.get(0) }}

Where i expected to get ‘Green’

Can somebody point me in the right direction or suggest a better approach?
Thanks!

2 posts - 2 participants

Read full topic

Viewing all 105697 articles
Browse latest View live


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