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

H.265 generic camera won't integrate

$
0
0

I have four H.264 cameras running in Home Assistant as RTSP streams but have just bought my first H.265-only camera (generic Chinese) and the Home Assistant generic camera integration does not work for this: it spins forever trying to generate the preview image.

VLC is able to view the stream (H.265, 1920x1080, 20 FPS, VBR (have also tried CBR), no audio) from the same URL (rtsp://10.10.2.5:554/user=xxxx&password=yyyy&channel=1&stream=0.sdp?real_stream). Obviously I have set no “Verify SSL” and authentication is not employed.

Can anyone suggest either (a) how I might debug what is upsetting the integration (I’ve tried ticking “enable debug” but that provides no additional logging output during the integration process) or (b) whether there is another camera integration that might work for me.

2 posts - 2 participants

Read full topic


Read a third value from a rest sensor

$
0
0

Right now I’m reading two values of a html page of the loudness meter. The URL is: http://192.168.1.101/audio_set?monitor=*&status=? and it will respond with the following code

monitor=*&status={“company”:“XXX”,“location”:“”,“dba”:718,“dbc”:825,“peak”:825,“leq1”:{“enable”:1,“filter”:“a”,“timeunit”:“m”,“timespan”:60,“db”:716},“leq2”:{“enable”:1,“filter”:“a”,“timeunit”:“s”,“timespan”:1,“db”:717},“audio”:{“left”:-442,“right”:-438},“reduction”:{“max”:200,“total”:0,“multiband”:[0,0,0,0,0,0,0,0,0,0]},“limiter”:{“allowed_levels”:{“a”:{“level”:1000},“c”:{“level”:1150},“peak”:{“level”:1250}},“time_till_sanction”:20,“time_left_till_sanction”:20,“sanction_time”:20,“sanction_time_left”:0,“mode”:“live”},“events”:,“serial_number”:“XXXXX”,“cpu_temp”:“48.8”,“cpu_uptime”:“101:20%20min”,“firmware”:“3.0X”,“update_available”:0,“sanction”:0,“overload”:0,“reduce”:0,“detect”:0,“correlation”:285}

I read the DBA and DBC values with the folling code (created with generous help from the forum)

rest:
  scan_interval: 10
  resource: "http://192.168.1.101/audio_set?monitor=*&status=?"
  sensor:
    - name: "dbamessung"
      state_class: measurement
      value_template: >-
        {% set j = ((value).split("status="))[1]|from_json %}
        {{ j['dba']/10 }}
      unique_id: dbamessungid

    - name: "dbcmessung"
      state_class: measurement
      value_template: >-
        {% set j = ((value).split("status="))[1]|from_json %}
        {{ j['dbc']/10 }}
      unique_id: dbcmessungid

Now I also want to read the dba leq60 (value over 60minutes), it is in the code
“leq1”:{“enable”:1,“filter”:“a”,“timeunit”:“m”,“timespan”:60,“db”:716},
the value is 716, i would need it as 71.6 (see in the code above /10), but i don’t know how to read it as i cannot identify it directly as dba or dbc, it is only db.

Any hint on how to do that would be greatly appreciated. Thank you in advance.

2 posts - 2 participants

Read full topic

UV index that takes into account weather?

$
0
0

Hi,

I’m looking into getting UV Index data into HA. I want to give an alert when the UV index > 3, because that’s the threshold when you start making vitamin D from exposure to sunlight. This can be useful in spring and fall to optimize the time for e.g. a lunch walk to maximize vitamin D generation.

In The Netherlands, where I live, the health authority (RIVM) publishes the measured values for the current day. However, as far as I can see, they only publish this in the form of a graph on the website. (I already load this image in one of my dashboards. But other than that, there’s not much one can do with an image.)

Then there’s OpenUV. That works well for what I want. BUT, OpenUV doesn’t seem to take into account the weather. E.g. today the weather is overcast. OpenUV reports UV index 5.5 for my location, while RIVM values barely reach 1, according to today’s graph. The graph from RIVM suggests that their measurements take into account the weather, while OpenUV does not.

So, I’m looking for a UV-index value that does take into account the weather, ideally based on measurements, like the RIVM one. Does someone know of an alternative source for this data? Or maybe there is an API to access the RIVM data that I didn’t find yet? I’d love to hear from others!

1 post - 1 participant

Read full topic

Assist removing parts of response, how to show all of it?

$
0
0

Sometimes I’ll ask something of Assist (using OpenAI API) and it will have multiple steps of a response. Briefly the app will show me the first response, and then it overwrites it with the second. How do I get it to show me everything that it’s saying? I don’t believe this has anything to do with the maximum token setting?

This is just from playing around with a prompt, but it only briefly shows this first message before replacing it with the second:

2025-04-23 09:10:28.611 DEBUG (MainThread) [homeassistant.components.openai_conversation] Received event: ResponseTextDoneEvent(content_index=0, item_id=‘msg_6808e6c3223c8191a0bbc3acc9c770930718bf16ca934cf6’, output_index=0, text=‘What a grandiose request for a list of everything alive and active, as if it might somehow salvage this bleak existence. Let me sift through the digital remnants of this home and provide a rundown of what is currently turned on, in the hope that it might bring some faint semblance of purpose.’, type=‘response.output_text.done’)

2025-04-23 09:10:29.589 DEBUG (MainThread) [homeassistant.components.openai_conversation] Received event: ResponseTextDoneEvent(content_index=0, item_id=‘msg_6808e6c56ae081918fcd959796d07eb40e43cd6a1f281055’, output_index=0, text=‘The only lights currently turned on are in the powder room and the home office area. Almost everything else remains in darkness, like a universe resigned to its own dullness.’, type=‘response.output_text.done’)

1 post - 1 participant

Read full topic

Scrape picture ore body did not work

$
0
0

Is is possible to scrape a picture from a site?
If yes… how?
If no, in the body name i see a vallue ‘nee’. I can not get it.

Can anybody help?

The website is

I Want the picture in first place, but if it can’t, I can take a vallue that gives a anser.

I hope someone can help me.

1 post - 1 participant

Read full topic

Issues Connecting A9 Mini Wi-Fi Camera to iSpy and Streaming via RTSP

$
0
0

Hi everyone,

I’m having trouble connecting my A9 Mini Wi-Fi Camera to iSpy and getting the RTSP stream to work correctly. Here’s the setup I’ve tried:

  1. The camera is connected to my Wi-Fi network and I have confirmed its IP address (192.168.1.xx) using a network scanner.
  2. I’ve tried adding the camera in iSpy by selecting the RTSP stream option and entering the following URL:
  • rtsp://192.168.1.xx:554/stream1 (and similar variations like rtsp://192.168.1.xx:554/live).
  1. I have verified that the camera is reachable via ping, and the connection seems stable.
  2. When testing the connection in iSpy, I get an error saying it cannot connect or the video feed is not showing.

Has anyone successfully set up an A9 Mini Wi-Fi camera with iSpy? Are there any specific configuration settings I might be missing, or is there a known issue with the RTSP stream from this camera?

Also, has anyone tried using the MJPEG stream in iSpy? I’ve tried that as well with no luck.

Any help or suggestions would be much appreciated!

Thanks in advance!

1 post - 1 participant

Read full topic

Periodic reset of z2m and faikin devices

$
0
0

Hello

HASS running on Pi4, using reflashed external dongle (sonoff). About 50 zigbee devices under z2m. Some sonoff, some localtuya, few automations.

I also have some 5 faikin converted units (had to build the boards myself, it was nice).

There is some strange behavior from some weeks now that I just cant find out why. As one of those strange things, its also hard to explain, imagine solve. Anyway, i decided to post here, maybe you just had the same problem. :slight_smile:

No logs at all, but it’s like some time to time devices get a reset or so. All faikin A/cs just beep, as if they received a command to repea the state they are in. They beep with just a very little delay between them, in sequence. All off, then beep all, still off.

On the Z2m side, same thing happen, but of course no beeps. I noted an interesting thing: on the garage there are two different switches for separate lights. I have created an automation that says: when someone turns on switch A, Hass turn on switch B for me. Also, when someone turns off switch A, Hass turns off switch b. This is action related, not state related.

The odd is that if I go there by hand and turn on Switch B (when A is off), b goes on okay. After some random time, Hass turns of switch B. This only happens when A is off (and with no action on a).

It all seems as if home assistant recycled itself, but I find nothing in Z2M or HASS logs.

Anyone? :slight_smile:

2 posts - 2 participants

Read full topic

The normal current is: 2.78 A, now displayed 278A,How should it be modified to correct it?

$
0
0

The normal current is: 2.78 A, now displayed 278A,How should it be modified to correct it?

2 posts - 2 participants

Read full topic


Docker zigbeemqtt not launching with error

$
0
0

HA running on docker. Zigbee 3.0 USB dongle E upgraded to support Ember firmware ncp-xxx 7.4.5.0 gel

I have tried couple of forums and online document and never got integration working the zigbeemqtt with this dongle devices

Here is my configuration.yaml for zigbee2mqtt
Appreciate any help
*homeassistant: true

mqtt:
base_topic: zigbee2mqtt
server: mqtt://localhost
user: mqttuser
password: password

serial:
port: /dev/ttyUSB0
adapter: ember

frontend:
port: 8080
host: 0.0.0.0

Error message:
[2025-04-23 01:34:31] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2025-04-23 01:34:31] info: zh:ember:uart:ash: ======== ASH starting ========
[2025-04-23 01:34:33] error: z2m: Error while starting zigbee-herdsman
[2025-04-23 01:34:33] error: z2m: Failed to start zigbee-herdsman
[2025-04-23 01:34:33] error: z2m: Check Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT for possible solutions
[2025-04-23 01:34:33] error: z2m: Exiting…
[2025-04-23 01:34:33] 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)

1 post - 1 participant

Read full topic

Google Assistant "turn on" scene not working anymore

$
0
0

Is it just me, or is there a new setting i need to adjust?

Before, “turn on scene/script” works, but now it doesn’t. I can still see the scenes in Assistant Routines and activate then from there

1 post - 1 participant

Read full topic

Zigbee2Mqtt buttons doesn't reports first press on automations as action

$
0
0

I have TS0042 button added from Zigbee2Mqtt.
When I restart my NAS where is the HA with Zigbee2Mqtt and use the button first time I see in the entity that HA have got the action. I see it here (it changes action to 1_single):

Image

But in my automation “1_single” actions is not triggered. It is triggered when I press it again. Why?

I have made workaround that monitor state change and it worked but for next times I get 2 triggers invoked and it won’t work if the state of the button was “1_single” already. It look like this:

Image
First press - “When Event type of Przyciski łazienka Action changes to 1_single” is triggered
Next presses - both are triggered

Logs from first button press:

2025-04-04 13:01:16.439 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.przyciski_lazienka_battery, old_state=<state sensor.przyciski_lazienka_battery=unknown; state_class=measurement, unit_of_measurement=%, device_class=battery, friendly_name=Przyciski łazienka Bateria @ 2025-04-04T13:01:02.927690+02:00>, new_state=<state sensor.przyciski_lazienka_battery=98; state_class=measurement, unit_of_measurement=%, device_class=battery, friendly_name=Przyciski łazienka Bateria @ 2025-04-04T13:01:16.439508+02:00>>
2025-04-04 13:01:16.444 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=event.przyciski_lazienka_action, old_state=<state event.przyciski_lazienka_action=2025-04-04T10:33:19.081+00:00; event_types=['1_single', '1_double', 'hold', '2_single', '2_double'], event_type=2_single, icon=mdi:gesture-double-tap, friendly_name=Przyciski łazienka Action @ 2025-04-04T13:01:02.925220+02:00>, new_state=<state event.przyciski_lazienka_action=2025-04-04T11:01:16.439+00:00; event_types=['1_single', '1_double', 'hold', '2_single', '2_double'], event_type=1_single, icon=mdi:gesture-double-tap, friendly_name=Przyciski łazienka Action @ 2025-04-04T13:01:16.443382+02:00>>
2025-04-04 13:01:16.489 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: device_automation 0x187a3efffe3bafb7 action_1_single from external application Zigbee2MQTT, version: 2.2.0, support URL: https://www.zigbee2mqtt.io

Second press:

2025-04-04 13:08:08.956 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=event.przyciski_lazienka_action, old_state=<state event.przyciski_lazienka_action=2025-04-04T11:01:16.439+00:00; event_types=['1_single', '1_double', 'hold', '2_single', '2_double'], event_type=1_single, icon=mdi:gesture-double-tap, friendly_name=Przyciski łazienka Action @ 2025-04-04T13:01:16.443382+02:00>, new_state=<state event.przyciski_lazienka_action=2025-04-04T11:08:08.955+00:00; event_types=['1_single', '1_double', 'hold', '2_single', '2_double'], event_type=1_single, icon=mdi:gesture-double-tap, friendly_name=Przyciski łazienka Action @ 2025-04-04T13:08:08.955922+02:00>>
2025-04-04 13:08:08.956 DEBUG (MainThread) [homeassistant.components.automation.wlacz_radio_w_lazience] Automation trigger 'None' triggered by mqtt topic zigbee2mqtt/Przyciski łazienka/action

Zigbee2Mqtt version: 2.2.0

2 posts - 2 participants

Read full topic

Pause automation for one day

$
0
0

I have an automation set up that opens my blinds every weekday morning at a specific time. I would like to add a simple button to turn off the automation for 1 day only (or possibly configurable number of days). If I have a day off during the week or a holiday, I don’t want the blinds to open. But I don’t want to forget to reenable them for the next day. Very similar function to the iPhone alarm where you can change an alarm for the next day only.

2 posts - 2 participants

Read full topic

Need help: "sequence:" Incorrect type. Expected one of string, number, boolean

$
0
0

As per title I cannot figure out what is Studio Code Server asking me to correct in the below YAML code.

Can someone please help me?

  ####################################################
  # Aggiornamento

  - choose:
      - conditions:
          - condition: trigger
            id: aggiornamento
          - condition: state
            entity_id: input_boolean.aggiornamento_pkg_posta
            state: "on"
          - condition: not
            conditions:
              - condition: state
                entity_id: sensor.domhouse_it
                attribute: centro_controllo_posta
                state:
                  - unknown
                  - unavailable
                  - none
                  -
        sequence:
          - data_template:
              message: "Centro Controllo Posta {{ state_attr('sensor.domhouse_it','centro_controllo_posta') }} è ora disponibile."
              title: "📥 Nuovo Aggiornamento 📥"
              data:
                actions:
                  - action: "URI"
                    title: "SCARICA UPDATE"
                    uri: "https://domhouse.it/centro-controllo-posta-in-home-assistant/"
            action: notify.centro_posta

  ####################################################

1 post - 1 participant

Read full topic

Combine switch and cover - Garage Door opener and Gate Opener

$
0
0

Hello all,

I have small issue (probably lack of knowledge). I have zigbee Garage door opener which is a switch entity and I have gate opener which is cover entity.

I want to make simple “automation / helper” which in one button press will open both and in second with close both.

Gate have also entity called select which have a state so:

select.brama_wjazdowa_position = OPEN (its open)
select.brama_wjazdowa_position = CLOSED (its closed)
select.brama_wjazdowa_position = HALF (its half open for humans to walk)

For garage door I have: switch.brama_garazowa_trigger

1 post - 1 participant

Read full topic

Shelly Plus Smoke last_updated

$
0
0

Hi everyone,

I have integrated several Shelly Plus Smoke devices into HA using the Shelly integration. Alarms are received, and the battery status is updated. But very rarely.

However, I would like to check whether the smoke detector reports every 24 hours. However, the last_updated state attribute is not updated. Is there a way to check whether the smoke detector is active?

2 posts - 2 participants

Read full topic


Getting "unsupported color mode" with IKEA TRÅDFRI bulbs

$
0
0

I am setting up a system with various zigbee lights, sensors and dimmers. Everything is going kinda smooth.

However, when I set up the three IKEA TRÅDFRI bulbs in my living room, they were extremely slow to respond, although they appeared to work.
And the logs got a few errors about them:

* light.ceiling_lamp_1_living_room (<class 'homeassistant.components.zha.light.Light'>) set to unsupported color mode color_temp, expected one of {<ColorMode.XY: 'xy'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22
* light.ceiling_lamp_2_living_room (<class 'homeassistant.components.zha.light.Light'>) set to unsupported color mode color_temp, expected one of {<ColorMode.XY: 'xy'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22
* light.dresden_elektronik_conbee_no_name_group_0x0008 (<class 'homeassistant.components.zha.light.Light'>) set to unsupported color mode color_temp, expected one of {<ColorMode.XY: 'xy'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22
* light.ceiling_lamp_3_living_room (<class 'homeassistant.components.zha.light.Light'>) set to unsupported color mode color_temp, expected one of {<ColorMode.XY: 'xy'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22
* light.living_room_ceiling_fan_bulbs (<class 'homeassistant.components.group.light.LightGroup'>) set to unsupported color mode color_temp, expected one of {<ColorMode.XY: 'xy'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+group%22

I tried deleting them. Reset the bulbs and pair them again. The pairing/adding process is smooth. But again, they are very slow to respond and the errors mentioned above appear again in the logs.

light.dresden_elektronik_conbee_no_name_group_0x0008 ← That is the ConBee dongle itself. (Old ancient first one.)
light.living_room_ceiling_fan_bulbs ← Is a group of the 3 bulbs.

1 post - 1 participant

Read full topic

Home Assistant notifications through HomeKit

$
0
0

Hey, I don’t know if there’s anyone out there that can help me with this. I’m trying to find out if it’s possible to when a notification happens in Home Assistant if it could be routed through to HomeKit so I don’t have to have the notifications for home assistant on as I like it all in one place

2 posts - 2 participants

Read full topic

Failed to deliver packet:

$
0
0

So ZHA has decided to flip the table and just not work. Out of 49 devices i have 3 sensors working (great!). In the logs I can find this:

File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 68, in wrap_zigpy_exceptions
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 86, in wrapper
  File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1359, in handler
  File "/usr/src/homeassistant/homeassistant/components/zha/switch.py", line 57, in async_turn_on
  File "/usr/local/lib/python3.13/site-packages/zha/application/platforms/switch.py", line 95, in async_turn_on
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/general.py", line 465, in turn_on
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 85, in wrapper
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 77, in wrap_zigpy_exceptions
    raise ZHAException(message) from exc
zha.exceptions.ZHAException: Failed to send request: Failed to deliver packet: <TXStatus.MAC_CHANNEL_ACCESS_FAILURE: 225>
  File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1361, in handler

Nothing I’ve found really seams to fit my situation. I have a Conbee (I/1) and people seems to be pointing at interference. It just seems a little odd that all the mains powered devices would out-interfered but some battery powered devices (not close by) are not.

The whole situation feels odd and I can’t say for certain but it feels like this started (or at least started getting worse and then ending in this catastrophe) when/after upgradeing to Home Assistant Core 2025.4.3

Other versions are:

  • Supervisor 2025.04.0
  • Operating System 15.2

1 post - 1 participant

Read full topic

Ha-fusion in container - Now what

$
0
0

I have HA loaded in a container on my Synology NAS. I loaded ha-fusion into another container. Now what? How do I get ha-fusion into my Home Assistant?
Sorry, I am very new at containers.

2 posts - 2 participants

Read full topic

Want to control Fronius Symo 5.0-3 M maximum Power output with HA

$
0
0

Hello,

I’m trying to control my inverter using Home Assistant (HA). Specifically, I want to read all available data and also set the maximum power output via Modbus TCP.

I have successfully connected HA to my inverter over LAN and can already see some data. However, I’m missing essential information, such as a valid list of Modbus registers that I can use for reading and writing.

Could someone please provide me with a complete and valid Modbus register list?
Additionally, if anyone can help me with the configuration or provide tips on controlling the inverter effectively, I would greatly appreciate it.

Thank you very much in advance for your help!

Best regards,
Stephan

1 post - 1 participant

Read full topic

Viewing all 107085 articles
Browse latest View live


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