Dh jf fj jf DJ HC cn b h
Integration of Osram DALI IOT
Hi everyone, I’m trying to integrate in HA dali groups from OSRAM DALI IOT controller. The communication as I understand should be via MQTT.
Did somebody know how I can create entities for lighting groups of OSRAM controller?
Did you know is there plug in for easy creating of this entities?
Thanks in advance!
1 post - 1 participant
Intel GPU Accelerated Speech to Text using whisper.cpp in Docker
Like many people I have a home server with the cheapo Intel Arc A380 for Jellyfin transcoding that otherwise does nothing, so I whipped up a docker compose to run GPU-accelerated speech-to-text using whisper.cpp.
Initial request will take some time but after that, on my A380, short requests in English like “Turn off kitchen lights” get processed in ~1 second using the large-v2
Whisper model.
speech-to-phrase
can be better if you are using only the default conversation agent, but this could be useful when paired together with LLMs, especially local ones in Prefer handling commands locally
mode.
I imagine something like B580 should be able to run this and a model like llama3.1
or qwen2.5
at the same time (using the ipex image).
1 post - 1 participant
Problem with custom button card value
Hi,
I’ve a problem on a custom button card configuration, i want to change icon color with value, every day the value incremented by +1 and when the value is over 6 the icon have to change from green to red, everything work fine except when the value is 10 or more, the icon return to green, i realy don’t understand what is going on, from 1 to 6 the icon is green, from 7 to 9 the icon turn red, and what i dont understand from 10 the icon return to green …
There is the configuration :
type: custom:button-card
entity: counter.jour_depuis_dernier_rangement_bureau
icon: mdi:desktop-tower-monitor
name: Rangement Bureau
color: green
styles:
card:
- height: 200px
- font-size: 18px
- font-weight: normal
state:
- value: "6"
operator: ">"
color: red
i also try with this :
type: custom:button-card
entity: counter.jour_depuis_dernier_rangement_bureau
icon: mdi:desktop-tower-monitor
name: Rangement Bureau
color: green
styles:
card:
- height: 200px
- font-size: 18px
- font-weight: normal
state:
- value: "6"
operator: ">"
color: red
- value "9"
operator : ">"
color : red
Same problem, when it go 10 or over the icon return to green.
Sorry for my bad english.
Thank You
2 posts - 2 participants
Power Flow Card-Plus
Is it possible to remove the visible connection (red arrow)? The solar power never goes directly into the grid but always via the storage system!
2 posts - 2 participants
Templated dashboard for multiple devices
I am looking to buy about 6 NSpanel PRO devices, one for each room. All would have the same dashboard design, linked to the specific room (thermostat, lights, motion, presence) as I have all rooms identical. Each room would have different entities to interact with
Is there a way to create a templated (blueprinted?) dashboard, where:
- One can define the blueprint for the dashboard design
- One can create 6 dashboards and use this blueprint as a skeleton
- One can set the entities for each of the buttons, motions, lights, that are dashboard view specific?
Sure it is possible to create 6 dashboards and copy yaml in-between them, then modify the entity names for the light, motion, …
Having a blueprinted dashboard would allow modifications on one location to be propagated everywhere.
1 post - 1 participant
Second thread border router needed?
So I’ve been happily using a small Matter/Thread network – seven devices connected through the Open Thread Border add-on to whatever the HA Yellow has on board (/dev/ttyAMA1
). (The 40-odd Zigbee devices are using the Sky Connect.)
I’m about to update the dusty, six-year-old Apple TV to the latest model, which means I’ll have another border router in the house. Should I share the devices with this router, assuming that’s possible? Will it make the network more robust or just easier to break? What’s the latest recommendation?
3 posts - 2 participants
How to decrypt a backup in linux?
tar -xvf backup.tar
./backup.json
homeassistant.tar.gz
then how do I decrypt homeassistant.tar.gz?
tar -xvzf homeassistant.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
I then tried with password:
openssl enc -d -aes-256-cbc -in homeassistant.tar.gz -out homeassistant.tar -k "password_here"
bad magic number
1 post - 1 participant
How to use a helper or function in a URL path to make it dynamic
Hi there,
I want to be able to generate a dynamic path
This is a local picture path coming from a doorbel snapshot which I want to display on a picture card or picture entity card, but due to cache issue, the pictures are not refreshed on the dashboard, so I was told to use, at the end of the URL, and “variable” like ?v=xxxxx. By changing this variable all the time, the correct, last, new picture would be displayed.
So now I am trying to find out the correct syntax to be used in my URL path to be able for example to add the current timestap to the URL, but not succeeding.
What I have for the moment, testing from a chip card URL tap :
- type: custom:mushroom-chips-card
chips:
- type: entity
entity: person.delecole
tap_action:
action: url
url_path: https://example.com/data?v='{{now().strftime('%Y/%m/%d %H:%M:%S')}}'
but the URL that is sent is then the following one (completely wrong as it doesn’t translate):
“https://example.com/data**?v=‘{{now().strftime(’%Y/%m/%d%20%H:%M:%S’)}}%27)**”
Would you know the correct syntax to be used ?
Many thanks !
3 posts - 2 participants
Esp32 camera not updating
The last update will not install. The error code I receive is this:
“Please remove the platform
key from the [esphome] block and use the correct platform component. This style of configuration has now been removed.
platform: Esp32
board: esp32dev”
I’ve tried esp32, esp32_camera, and esp32_dev without success. Here is where the code is laid out:
esphome:
name: esp32-cam
platform: esp32
board: esp32dev
Enable logging
logger:
At the beginning of the yaml.
I don’t know what has changed and what I need to add/remove to make it work.
Marc
1 post - 1 participant
Zigbee2MQTT - Error Messages
Hello,
i my log i see this errors:
<small>2025-02-21 13:23:58</small>`zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds`
<small>2025-02-21 13:23:58</small>`zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped`
<small>2025-02-21 13:23:58</small>`zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds`
<small>2025-02-21 13:23:58</small>`zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped`
<small>2025-02-21 13:23:58</small>`zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds`
<small>2025-02-21 13:23:58</small>`zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped`
<small>2025-02-21 13:25:56</small>`zh:ezsp:ezsp: Frame changeSourceRouteHandler parsing error: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds`
<small>2025-02-21 13:25:56</small>`zh:ezsp:ezsp: Unparsed frame 0xc4. Skipped`
what is this?
my Dongle:
Sonoff ZBDongle-E, ZigBee 3.0 Gateway
1 post - 1 participant
What (actions) cannot run in parallel
Is there a list of actions that for sure cannot be run in parallel? I just did some test and the first 2 actions I tried (“write to system log” and “send event”) turned out not being able to run in parallel
Additional question: does Home Assistant ever use threads for parallel execution, or only uses context-switching?
Here's how I tested (script) (click for more details)2 posts - 2 participants
Find a matter code without access to device
Hi
I have a plug socket which is behind a kitchen unit that i installed a matter smart plug into. At some point a change was pushed and the plug fell off the network.
Now i can get a pole in to reset the plug but i dont have the pairing code.
The plug is still showing in HA but not accessible.
Is there anyway to find the plugs pairing code or am i going to have to take my kitchen apart to find the code?
Thanks
2 posts - 2 participants
Template sensor with attributes (invalid config)
I’m having issues with a template sensor that needs attributes.
sensor:
- platform: template
sensors:
matsedel_backaskolan_skarmanpassad:
friendly_name: "Matsedel Backaskolan skärmanpassad"
value_template: "1"
attribute_templates: >-
{%- set ns = namespace(json = {}, str = "") %}
{% set day = [ "Mån","Tis", "Ons", "Tors", "Fre" ]%}
{% for days in state_attr('sensor.matsedel_backaskolan_1', 'WeekState')['Days'] %}
{% set ns.str = "" %}
{% for meals in days["Meals"]%}
{% set ns.str = ns.str + " eller " + meals.name %}
{%- endfor %}
{% set ns.json = dict(ns.json, **{ day[loop.index-1] + "dag": ns.str[7:] }) %}
{%- endfor %}
{% set ns.json = dict({"0":ns.json}) %}
{%- set ns2 = namespace(json = {}, str = "") %}
{% for days in state_attr('sensor.matsedel_backaskolan_2', 'WeekState')['Days'] %}
{% set ns2.str = "" %}
{% for meals in days["Meals"]%}
{% set ns2.str = ns2.str + " eller " + meals.name %}
{%- endfor %}
{% set ns2.json = dict(ns2.json, **{ day[loop.index-1] + "dag": ns2.str[7:] }) %}
{%- endfor %}
{% set ns2.json = dict({"1":ns2.json}) %}
{{ (ns.json, ns2.json) | list}}
The output of them is:
[
{
"0": {
"Måndag": "Pastasås med kyckling och tomat eller Pastasås med soltorkade tomater och örter",
"Tisdag": "Potatisbullar med keso eller Potatisbullar med rökt hönskött eller Blodpudding",
"Onsdag": "Tomatsoppa med pasta serveras med hummus och bröd eller Dal Tikka Masala serveras med kornris",
"Torsdag": "Chili sin carne serveras med bulgur eller Chili con carne serveras med bulgur",
"Fredag": "Fisknuggets med kall mangosås och ris eller Vegonuggets med kall mangosås och ris"
}
},
{
"1": {
"Måndag": "Vi servar alltid kyckling från svenska gårdar! eller Indonesisk kycklingrätt med curry och mangochutney samt bulgur eller Veggie Penang serveras med bulgur",
"Tisdag": "Paprikasoppa med pasta serveras med färskost och bröd eller Potatis och broccoligratäng",
"Onsdag": "Fransk korvgryta serveras med bulgur eller Mexikansk böngryta serveras med bulgur",
"Torsdag": "Fiskfilé Bordelaise med potatismos eller Panerad stekt sillflundra eller Kikärtsbiff serveras med potatismos",
"Fredag": "Spaghetti med köttfärssås av nötfärs eller Spaghetti med bönfärssås eller Med kött från Sverige!"
}
}
]
I get this error:
Configuration warnings
Invalid config for ‘template’ from integration ‘sensor’ at configuration.yaml, line 842: expected a dictionary for dictionary value ‘sensors->matsedel_backaskolan_skarmanpassad->attribute_templates’, got '{%- set ns = namespace(json = {}, str = “”) %}\n {% set day = [ “Mån”,“Tis”, “Ons”, “Tors”, “Fre” ]%}\n {% for days in state_attr('sensor.matsedel_backaskolan_1', 'WeekState')['Days'] %}\n {% set ns.str = “” %}\n {% for meals in days[“Meals”]%} \n {% set ns.str = ns.str + " eller " + meals.name %}\n {%- endfor %} \n {% set ns.json = dict(ns.json, **{ day[loop.index-1] + “dag”: ns.str[7:] }) %}\n {%- endfor %}\n \n {% set ns.json = dict({“0”:ns.json}) %}\n \n …
I have also tried replacing the last line with:
"0": {{ ns.json }}
"1": {{ ns2.json}}
What have I done wrong?
I also tried following this example here:
Template - Home Assistant
1 post - 1 participant
Struggeling with variables
I am new here at the HA forum (and HA in general), so forgive me for stating obvious things.
Tried this script:
sequence:
- variables:
text_to_speak: Alarm is on
- if:
- condition: state
entity_id: alarm_control_panel.location_hjemme
state: disarmed
then:
- variables:
text_to_speak: Alarm is of
- action: tts.speak
metadata: {}
data:
cache: true
media_player_entity_id: media_player.kitchen
message: "{{ text_to_speak }}"
target:
entity_id: tts.home_assistant_cloud
I know I could get what I want using Jinja2, but I wanted to make a script with just the bare minimum of Jinja2.
I found out that variables are scoped, but shouldn’t there be a YAML statement to update a variable. Because variables are behaving a lot like a constant IMHO.
Can this be done in “pure” YAML, or should I just accept the fact that it only can be done with Jinja2?
4 posts - 2 participants
How to create a simple toggle switch for a input boolean
I’d like to create a simple toggle switch like this:
No name, no icon, just the sole switch as above.
The only way I could do it was using the entities
card.
However, it won’t allow me to to style it correctly. Example:
type: entities
entities:
- entity: input_boolean.my_input_boolean
name: " "
icon: None
grid_options:
columns: 2
Will give me this:
It is close, but not there yet.
I tried using other cards, like entity
, but I can’t find make it use the toggle switch like above. Example:
type: entity
entity: input_boolean.my_input_boolean
name: " "
icon: None
grid_options:
columns: 2
Gives me this:
Not even close.
Any suggestions?
Thanks a lot!
1 post - 1 participant
Problem with login Tailscale on VM HASS OS
I have the following configuration:
HASS as an OS on a virtual machine in proxmox.
Add-on: Tailscale
Zero config VPN for building secure networks
Add-on version: 0.25.0
You are running the latest version of this add-on.
System: Home Assistant OS 14.2 (amd64 / qemux86-64)
Home Assistant Core: 2025.2.4
Home Assistant Supervisor: 2025.02.1
Problem:
Tailscale - when trying to authorize from HASS (I click login in addon) - it gives “failed to login” error.
At the same time, the second virtual machine on Hype-V: immediately authorized without any problems
Could you tell me how to solve the problem?
1 post - 1 participant
Dell Wyse 5070 - Bluetooth
Does anyone know how to have Bluetooth accessible in Home Assistant using the Dell Wyse 5070? Thin client.
I have the Bios option for Wifi/Bluetooth turned on and the Bluetooth Integration but I can’t seem to get it to find anything? Or even register its there?
Any help would be really appreciated.
1 post - 1 participant
Change color of card based on text number
Hi,
Im using the nightscout integration to keep track of my blood sugar numbers. I would like the card to change colors based on my glucose numbers. example:
1 to 150 = Green
151 to 250 = Yellow
251+ = Red
Im using card_mod and I have found this code:
card_mod:
style: |
ha-card {
font-size: 25px;
{% if is_state('sensor.example_sensor', 'on') %}
background-color: green;
{% else %}
background-color: red;
{% endif %}
}
is it possible for it to read the numbers on the card so it can display the colors? Any help would be greatly appreciated.
1 post - 1 participant
Issue Removing Matter (BETA) Devices and Entities
Hi everyone,
I’m having trouble removing Matter (BETA) devices and entities from my Home Assistant system. I’ve already taken the following steps:
- Added shell commands and automations to delete Matter entities.
- Tried to remove entities and devices directly via the API.
- Installed an SQLite Web Add-On and executed SQL queries to delete Matter entities and devices from the database.
Despite these efforts, the Matter entities and devices reappear after a restart.
Steps Taken and SQL Queries:
DELETE FROM states WHERE entity_id LIKE '%matter%';
DELETE FROM state_attributes WHERE shared_attrs LIKE '%matter%' OR shared_attrs LIKE '%_TZ3000_imaccztn%';
None of these queries have yielded the desired result. Does anyone have any suggestions or solutions for this issue?
Thanks in advance for your help!
1 post - 1 participant