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

Home Assistant Yellow Radio firmware

$
0
0

Hi there, I keep getting an update available for Home Assistant Yellow Radio firmware that popped up a few weeks ago.
According to the update popup it is for EmberZNet Zigbee
Installed version 6.10.3.0
Latest version 7.4.4.1
with a point to the release notes Release v2025.04.04-1 · NabuCasa/silabs-firmware-builder · GitHub
However it is the first time ever I get this update and it seems quite a big version jump.
I am currently running on * Core2025.4.2

  • Supervisor2025.04.0
  • Operating System15.2
  • Frontend20250411.0

The update keeps failing with this error message
Failed to perform the action update/install. Failed to flash firmware

Does anyone has encountered similar issues and a possible fix?

1 post - 1 participant

Read full topic


Several automation in one

$
0
0

Good morning
I would like to create several automations in 1 to avoid having too many for the same thing
-I would like when my switch is turned on it turns on the light
-I would like that when my switch turns off it turns off the light
-I would like that when my light is turned on it turns on the switch
-I would like that when my light turns off it turns off the switch
I managed to do it with 4 automations which takes up space
Sincerely

8 posts - 7 participants

Read full topic

Values of Automation variables in traces?

$
0
0

Can someone help where in the automation traces I can find the values of variables I defined in automations. E.g.

Where can I find the value of variable respone? So far I couldn’t find it in the traces.

action: google_generative_ai_conversation.generate_content
metadata: {}
data:
  prompt: >
    <redacted>
response_variable: response
enabled: true```

2 posts - 2 participants

Read full topic

Help for integrate ZG-101Z in tuya-local

$
0
0

Hello, i want to request the integration of the smart button ZG-101Z in tuya-local.
I have read the data from tuya platform:

{
  "result": [
    {
      "active_time": 1742886980,
      "bind_space_id": "210626xxx",
      "category": "wxkg",
      "create_time": 1742886980,
      "custom_name": "XXXX",
      "icon": "smart/icon/ay157243613457092I4D/164298963395309e2c9b8.png",
      "id": "bf13dc204c15e90b50mxwk",
      "ip": "",
      "is_online": true,
      "lat": "46.17",
      "local_key": "",
      "lon": "11.14",
      "model": "-",
      "name": "ZC-YED-一键无线开关 2",
      "product_id": "ja5osu5g",
      "product_name": "ZC-YED-一键无线开关",
      "sub": true,
      "time_zone": "+01:00",
      "update_time": 1742887007,
      "uuid": "bf13dc204c15e90b50mxwk"
    }
  ],
  "success": true,
  "t": 1744802070XXX,
  "tid": "f7a565561ab311f0a1480a15xxxxxxxx"
}

{
  "result": {
    "properties": [
      {
        "code": "switch_type_1",
        "custom_name": "",
        "dp_id": 1,
        "time": 1744795201877,
        "type": "enum",
        "value": "single_click"
      },
      {
        "code": "battery_percentage",
        "custom_name": "",
        "dp_id": 10,
        "time": 1744794539451,
        "type": "value",
        "value": 100
      },
      {
        "code": "mode",
        "custom_name": "",
        "dp_id": 11,
        "time": 1744794538981,
        "type": "enum",
        "value": "wireless_switch"
      },
      {
        "code": "scene_preset",
        "custom_name": "",
        "dp_id": 14,
        "time": 1742886980675,
        "type": "string",
        "value": ""
      }
    ]
  },
  "success": true,
  "t": 1744802070XXX,
  "tid": "f7a565561ab311f0a1480a15xxxxxxxx"
}

i need so to create an yaml file:

name: Tuya smart button
products:
  - id: bf13dc204c15e90b50mxwk
    model: ZG-101Z
entities:
  - entity: switch
    class: switch
    dps:
      - id: 1
        type: enum
        name: switch
        mapping:
  - entity: sensor
    class: battery
    category: diagnostic
    dps:
      - id: 10
        type: integer
        name: sensor
        unit: "%"
  - entity: number
    class: none
    dps:
      - id: 11
        type: enum
        name: mode
  - entity: scenes
    class: none
    dps:
      - id: 14
        type: string
        name: scene

i have some doubts expecially for the dps 10 & 11. Someone can help me ?
First time i’m trying to integrate a new tuya device.

Thanks

1 post - 1 participant

Read full topic

HA triggering Shelly switches randomly and bricking them

$
0
0

Everything had been working properly with my HA set up until this morning when I realised that Shelly switches were turning themselves on/off out of nowhere. I isolated the issue to Home Assistant as when I unplugged my Raspberry Pi, the problem went away.

I’ve attached an example of what the log shows. Any idea? It ended up bricking my Shelly’s and I had to set them back up one by one so I’m thinking of stopping using HA until I can get to the bottom of this.

Thanks in advance for helping!

3 posts - 2 participants

Read full topic

Z-Wave devices turning on randomly

$
0
0

I’m having a strange issue over the last day or so. My z-wave plug in switches have started randomly turning on (mostly lights, but one is a dust extraction system in my workshop that draws a lot of power and could potentially overheat if I didn’t notice). It looks like all devices turn on at the same time as if they’re getting an ‘all-on’ signal.

I can’t see any pattern to it, and eventually I’ve just pulled my z-wave usb dongle out so that home assistant isn’t even in the mix.

Coincidentally, at the same time I had some zigbee issues where devices dropped off the network and needed re-adding (wall sockets, environment sensors, light switches)

Could this be some kind of RF interference? I don’t have any z-wave groups set up apart from on our thermostat. Any ideas on how I can trace this issue?

1 post - 1 participant

Read full topic

Cant seem to get visability to work for battery

$
0
0

I am trying to get the battery indicator for some Zigbee sensors to only show if the battery is less than 25% however this config doesnt work no matter what I change the value to.

1 post - 1 participant

Read full topic

Movie and Shows for Voice Assistant

$
0
0

Hi. I would like my Home Assistant to be able to do a little more. I would like it to answer topics related to TV available series etc. Whenever I ask a question about a movie I get a return that there is no internet access. On a daily basis I use JustWatch Tv Streaming Service how to add HA Voice access to my JustWatch account can anyone help ?

2 posts - 2 participants

Read full topic


Solis EPM3-5G Plus External Communication

$
0
0

Hi everyone,

I’m working with a Solis EPM3-5G-Plus device connected to multiple Solis grid-tie inverters via its Comm-INV RS485 port, where it acts as a Modbus RTU master for power curtailement purpose. I also have a server configured as a Modbus RTU master , which I initially tried to connect to the same RS485 bus via the Comm-INV RS485 port.
My goal is to read and write Modbus data from the EPM , and indirectly control and monitor the inverters through it . However, this setup results in timeouts and communication failures , likely due to having two masters on the same RS485 bus (EPM / REVPI server) .
I discovered that the EPM has a dedicated RS485 RJ45 port typically used for monitoring (normally via a WiFi/GPRS datalogger). What confuses me is that Solis provides a Modbus register map for the EPM that includes read/write operations , which implies that the EPM can be externally controlled . I’ve successfully tested this by communicating only with the EPM using a RevPi (RevPi as master, EPM as slave) via the Comm-INV port.
My question is:
Can the RS485 RJ45 monitoring port be used to connect an external Modbus RTU master (like the RevPi or any other server) to access EPM data and send commands, so that the EPM functions both as a slave (on the monitoring port) and a master (on the Comm-INV port) , assuming no Solis datalogger is connected?
Has anyone achieved this successfully? Are there any specific settings required in the EPM to enable this functionality?
Thanks in advance!

1 post - 1 participant

Read full topic

Dashboard backup restore

$
0
0

I accidentally did something wrong and now my dashboard is fucked up. Everything is gone. I did not click done, but never the less it’s gone. Hours of work simple away. I did restore a backup but no way the keeps empty. What can I do. The standard backups are encrypted so no way to get to a single file. The lovelace file in .storage is the same so nothing there.

1 post - 1 participant

Read full topic

Simple time counter

$
0
0

I thought I would simply create this automation but it seems to be much more difficult then I expected.

When my media player starts playing the entity changes from ‘idle’ to ‘playing’. When this happens I want a counter to start so I can actually see how long the media player is playing. When the media player stops playing (changes to idle) the counter can stop.

Solutions I found are mostly with two (or more) helpers, with multiple automations, with history stats, timers that count down (not up), counters that increment every second (and need to be formatted into minutes) etc.

Is there a more simple solution where I can start counting in seconds/minutes/hours and stop (and reset)?

1 post - 1 participant

Read full topic

MQTT with Solar assistant

$
0
0

I have Home assistant on a raspberry Pi 5
I have Solar assistant on a Pi3b
I have a usb Sonoff Zigbee 3.0 Dongle
both on same network

I had solar assistant integrated with HA before and was all good until i bought a sonoff 3.0 dongle and integrated Zigbee2MQTT, i kind of clueless about MQTT and couldn’t integrate the sonoff dongle with MQTT when i had solar assistant connected, i deleted solar assistant and managed to get the dongle working (all fine) now when i try to reintegrate my Pi3b with solar assistant i have the same issue as before where i cant set up a new MQTT integration or mosquito broker.

I have followed the guide on the solar assistant site but it shows how to set up MQTT and mosquito from scratch but haven’t had any luck.

I’ve tried to use a “bridge” but seem to hit problems with that as not understanding it is probably not helping.

1 post - 1 participant

Read full topic

Can't load state history

$
0
0

Hi guys!
After wrong configuration on configuration.yaml (HA couldn’t load) I restored previous backup of configuration.yaml.
Since than moment I lost history graphs (Core 2025.3.3, Frontend 20250606.0) while I can correctly read sensors and view history double-clicking on card.
What’s wrong?
Both chatgpt and deepseek tell me there is nothing wrong.
I am running HA under debian through docker.
I also set all files and subfolders with chmod 777 without success.
Sqlite3 tells me database is ok and not corrupted.
Any suggestion?
Thanks.

1 post - 1 participant

Read full topic

Ollama local llm function call not working

$
0
0

I have the local llm conversation integration setup for ollama. I ask it to turn off the office ceiling light. Here is what is returned

It knows what i am trying to do, but the function call is not actually executing. There is nothing in the log. I have use tools turned on. I have tried this current storm model, llama3.1:8b-instruct-q8_0, and llama3.1:8b. I can not for the life of me get this to work. I have tried direct to ollama, i have tested using the extended openai conversation integration and connecting through openwebui and proxying to ollama. I can not seem to find any combination that is letting me get both conversational bot and home control.

Does anyone have any suggestions on how to get local llm actually working that can do conversational stuff too? Or suggestions on why ollama integration doesn’t execute functions?

3 posts - 2 participants

Read full topic

Calendar Woes

$
0
0

I’ve got two calendar related issues. The first is that the states for my calendars aren’t accurately reflecting if I’m busy or not. Then, up until about an hour ago I was able to view my calendars in the Calendar section of HA. Now when I navigate to Calendar I receive the error “Error while loading page calendar.” I’ve Googled this error and searched this forum, but couldn’t find anything similar.

I’ve got 4 calendars total, 2 Google (1 work, 1 personal) and 2 Apple (1 personal, 1 shared with the wife). My Google work calendar seems to be reporting correctly throughout this entire experience while the others are not. I created test events on my 3 non-work calendars with varying degrees of success.

Testing and Troubleshooting:
1) Restarted HA several times
2) Created test events on each non-work calendar
3) These test events weren’t picked up until I rebooted HA again, but only my personal Google calendar and eventually my shared Apple calendar reflected that I was busy, my personal Apple calendar still shows I’m free.
4) Restarted HA a couple more times
5) No change and still can’t view the Calendar section, but once my personal Google calendar event was over the state reflected I was free with a state of “off” as it should.
6) I validated that my personal Apple calendar is still set to be publicly available.
7) Rebooted the HA VM

I am expecting that there’s a short period between creating an event and HA recognizing that an event has been created, seems to be a couple minutes in testing, so no complaints on this bit. But when 10-30 minutes have passed and my calendars still aren’t entirely accurate, that’s the part that makes me think they aren’t working correctly.

I’ve looked through all the settings, but don’t see any calendar specific options that may for instance let me restart the calendar portion of HA without having to reboot the entire server.

Any suggestions for getting visibility into my calendars again and having my calendars be reflected accurately?

1 post - 1 participant

Read full topic


Help me "Config flow could not be loaded: {"message":"Invalid handler specified"}"

$
0
0

After updating home assistant to lastest version it just screw me totally and now my Tapo P115 doesn’t work… NOR I can add it!.

It says “Config flow could not be loaded: {“message”:“Invalid handler specified”}” When i try to add Tapo Back… Well this is my lesson in future to never ever update home assistant again. I am totally pissed and filled with rage right now.

5 posts - 2 participants

Read full topic

Ready by or Prewarm routine for triggering heating in advance of set time

$
0
0

I want to implement a Ready By routine. Some might call it prewarm but my search for “prewarm” here only came up with one not very relevant post and “Ready By” is barely mentioned either. Except here Hive ready by type automations - #2 by Solar2

Hive’s description of the function is: “Ready By will learn how long it takes for your home to heat up. This means the time you set in your schedule should be the time you want it to be warm by and we will get it ready by then.”

A colleague tried it before on a Pi based Hive “copy” with a Google calendar and it’s not easy, as the software has to look ahead every say one minute for several hours to see what ON events are coming up. Then work out when to start the boiler and zone valves based on current temperature and the thermal mass of the building. He used a fixed thermal mass, like 4C rise per hour, based on experiment.

I need a 5 hour look ahead but Hive only does 1 hour.

Using the OFFSET option in TRIGGER I guess I can offset the ON events by 5 hours and then add a condition based on prewarm time = (set temperature – current temperature) / thermal mass. THEN at the offset trigger time IF temperature in room is less than set temperature turn ON before the set time by this amount of prewarm time. Needs a separate routine for each zone as the thermal mass will be different; between 30 mins and 5 hours prewarm time in my application. Not seen a Blueprint that includes all this. Is there one?

But Hive is more clever in that it works out this thermal mass based on past history. And if it does it correctly it should reassess the result every month or two ( or continuously) as it varies with the outside temperatures, as external heat losses are higher and wall temperatures are lower in the winter. Anyone tried this with a HA?

1 post - 1 participant

Read full topic

Brightness Automation Not Triggering other Lights

$
0
0

Hello Everyone,

I’m new to home assistant and have VERY limited skills coding. I thought I had my automation setup correctly but for whatever reason when I go into “Traces” it seems the automation is starting halfway through the process and skipping the actual trigger and just simply turning the lights on and off with no automation. Any ideas as to what I did wrong?

The automation is so that when one, or both, lamps are set to 100% brightness to automatically turn on some additional rarely used lights in the room… 99% and below, turn those lights off.

alias: Master Bedroom Couch Lights On
description: >-
  This automatically turns the couch lights on if the lamps are turned to 100%
  brightness
triggers:
  - trigger: state
    entity_id:
      - light.katies_lamp
      - light.michaels_lamp
    attribute: brightness
    to: "100"
conditions:
  - condition: time
    after: "08:00:00"
    before: "21:00:00"
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
actions:
  - type: turn_on
    device_id: d788825b906be264c428541e0e3e318c
    entity_id: 854e6bb3dc62917063412c9ef9f658c9
    domain: light
    brightness_pct: 100
  - type: turn_on
    device_id: de64b34c5f5724c3586881fa123754b4
    entity_id: 08e8ba9ab43b2101909cdee9aeae5f70
    domain: light
    brightness_pct: 100
mode: single

Any advice would be greatly appreciated! LOVING home assistant so far and just getting started!

5 posts - 2 participants

Read full topic

Automation to update input_number with entity sometimes works

$
0
0

I have an automation configured to trigger when a sensor entity goes above an input number helper. Sometimes it does work, sometimes it does nothing, even though the trigger conditions have been met.

alias: track_max_solar
description: Maximum all-time instantaneous production
triggers:
  - trigger: numeric_state
    entity_id: sensor.hoymiles_pv_pv_power
    above: input_number.max_solar_power
conditions: []
actions:
  - action: input_number.set_value
    target:
      entity_id: input_number.max_solar_power
    data:
      value: "{{ states('sensor.hoymiles_pv_pv_power') }}"
  - action: input_datetime.set_datetime
    metadata: {}
    data:
      datetime: >-
        {{
        as_datetime(states.sensor.hoymiles_pv_pv_power.last_changed).astimezone()
        }}
    target:
      entity_id: input_datetime.max_solar_power_datetime
mode: single

In the log, I see that it worked a few minutes ago:

But it should have worked again since, because the entity value is above the input number’s value - 8.85 is greater than 8.8362.

Is it something to do with string vs. float?

1 post - 1 participant

Read full topic

Unifi Network Client VPN and go2rtc

$
0
0

I have Unifi network VPN setup, using Client VPN and using OpenVPN (NordVPN)

If I route HA traffic though it I get the following errors regularly:

turnc ERROR: 2025/04/16 16:24:24 Fail to refresh permissions: CreatePermission error response (error 400: Bad Request)

I opened a github issue but it seems like its my VPN causing the issues.

Has anyone else got HA routing through Unifi’s Client VPN and using cameras ? (I’m also using Unifi cameras and Unifi Protect)

I have tried TCP and UDP settings in the OpenVPN settings.

Thanks

2 posts - 2 participants

Read full topic

Viewing all 105527 articles
Browse latest View live


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