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

Changing the default icon of an Entity's STATE

$
0
0

I am trying to modify the default icons used for a Garage door and it’s various states. If I make no modification, everything works the way I want it to, albeit not using the icons that I want. When my garage is closed, the icon mdi:garage' is displayed when it is open the icon mdi:garage-open, when it is actually opening or closing an up or a down arrow is displayed. I would like to use instead mdi: garage-variant’ when it is closed and mdi:garage-open-variant when it is open, (the arrows are fine as is for when it is moving). It is easy to change an Entity icon, but when I do, it is used for ALL states (garage closed, open, closing, opening). How do I change the default icons of the individual states?

Thx,
fj

1 post - 1 participant

Read full topic


Templates running advanced calculations

$
0
0

Hi may I know if its possible to use more advanced mathematical operators in the templates? I have successfully use simple operators up to multiplications and to the power of x^y, but is it possible to have natural logarithms? ln(x) and e(x)?

2 posts - 1 participant

Read full topic

ZHA libraries will soon support ConBee/RaspBee backup and restore that can be used for Zigbee network migrations

$
0
0

zigpy developers are apparently working on deconz backup and there is a draft pull request for it here:

https://github.com/zigpy/zigpy-cli/pull/2

Part of that larger PR include: “Initial implementation of cross-adapter network backup/restore”.

So that means that users of ZHA with ConBee or RaspBee can soon do backup and migrations too.

At least that is how I interpret answer from puddly when posted this feature request for zigpy-deconz:

https://github.com/zigpy/zigpy-deconz/issues/177

Request for developers who own ConBee or RaspBee (deCONZ based adapters) and are depending on zigpy-deconz to consider implementing Zigbee network backup and restore tools to zigpy-deconz (or zigpy-cli) supporting “Open ZigBee Coordinator Backup Format” as already supported by both zigpy-znp and bellows radio libraries:

FYI, this open format is already used as a migration method for other types of adapters as seen here:

Note! Please understand that zigpy and the zigpy-deconz radio libraries which ZHA depends on are all free and open-source library with only volunteering developers working on them without pay so remember and you and anyone else are also are more than welcome to code the feature for it (the zigpy developers have so far been more than happy to help and other volenteering developers who are willing to step in to assist with helping to fix bugs or add features).

PS: This Open ZigBee Coordinator Backup Format is also used by the Zigbee2MQTT (Z2M) project.

PPS: This open backup format is not supported by dresden elektronik’s official deCONZ software.

1 post - 1 participant

Read full topic

Ikea Trådfri outlet switching works but no main power?

$
0
0

I recently bought a Conbee II and is using it with my raspi2. I bought some Ikea trådfri bulbs and they paired just fine. I also got an Trådfri outlet. While this device also paired fine and shows up automatically in HA there is an issue with it. When I toggle the switch in HA from on/off, the tiny blue LED on the physical switch lights up, indicating its on. However, the bulb I connected to the switch does not light up(its a regular bulb), indicating that there is no main power on the switch.

Anyone experienced the same?


LED on but no power it seems.

4 posts - 2 participants

Read full topic

Local Tuya Connection Authentication Failure

$
0
0

Hello,

I am moving from HE to HA. HE has a local Tuya integration so I am familiar with getting the backend stuff setup to make this work but I’m having some trouble. It’s definitely detecting the devices but then I hit a wall.
Steps taken:
I am on HA OS

  • Removed the cloud Tuya from HA; restart
  • Downloaded Local Tuya from HACS; restart
  • Integrations>local Tuya
  • It detects my devices. I confirm their Device ID’s are correct and select one>submit
  • Fill out the basic information. Grab the Access Secret/Client Secret: from Tuya>enter it in the local key field, confirm the device ID/IP are correct>submit>fails authentication
  • I have confirmed that the tuya cloud app is linked to my Tuya/smartlife app (just like I had to do with the HE integration. I know it says zero devices. My hubitat integration says the same thing and this still works.
  • I’ve tried this using the access secret/client secret of BOTH my HE and HA Tuya cloud apps and I get a failure each time. In my desperation, I also tried every combination of the access ID and client secret from BOTH my tuya cloud apps and I received the same results. But I know it’s supposed to be the super long one called:
    2022-01-03 11_43_39-Greenshot
  • I know that running tuya app concurrently can cause issues. It was force stopped long before any of this started.

I have tried this multiple times and I’m so close. It seems like I’m missing something incredibly trivial. It DEFINITELY sees all my devices with the correct IPs. I just can’t authenticate.

1 post - 1 participant

Read full topic

MQTT client not connected

$
0
0

Hi,

I set up MQTT in HA. If I try to send a message (in the configuration of MQTT) I receive the errormessage: “Faild to call service mqtt/publish. Error talking to MQTT: The client is currently not connected”
If I send messages with MQTT-Explorer it seems to me that everything is ok.

Actually I just want to receive messages, but it’s not working; my sensors show up like “unavailable”, thats why I was playing with the configuration and figured out the problem with the client connection, maybe its a depending problem.

My config:

mqtt:
broker: 192.178.168.36 #mqtt nas54
port: 1883
certificate: auto

sensor:

  • platform: mqtt
    state_topic: ontopic
    name: “OnTopic”
  • platform: mqtt
    state_topic: Schlafzimmer/Luftfeuchtigkeit
    name: “Schlafzimmer-Luftfeuchtigkeit”
    icon: mdi:water-percent
    unit_of_measurement: “%”
  • platform: mqtt
    state_topic: Schlafzimmer/Temperatur
    name: “Schlafzimmer-Temperatur”
    unit_of_measurement: “°C”
  • platform: mqtt
    state_topic: Schlafzimmer/Fenster
    name: “Schlafzimmrt-Fenster”
    icon: mdi:window-open
  • platform: mqtt
    state_topic: “Schlafzimmer/Batteriespannung”
    name: Schlafzimmer-Batteriespannung
    icon: mid:power-plug
    unit_of_measurement: “V”

What do I miss?

1 post - 1 participant

Read full topic

Template sensor not showing in energy dashboard

$
0
0

Hi all.
We need to combine the totals of multiple sensors to meter the kWh going into our battery system, I have created the following sensor in sensors.yaml

# Sum of all MPPT chargers + ESS kWh to create total battery in
  - platform: template
    sensors:
       total_battery_in:
            friendly_name: "Battery kWh in"
            unit_of_measurement: "kWh"
            device_class: energy
            value_template: "{{ (states('sensor.ESS_kWh')|float + states('sensor.mppt_1_yield_total')|float + states('sensor.mppt_2_yield_total')|float + states('sensor.mppt_3_yield_total')|float + states('sensor.mppt_4_yield_total')|float )}}" 

I have then added the following in customize.yaml

sensor.total_battery_in:
  unit_of_measurement: "kWh"
  device_class: energy
  state_class: total_increasing

However the sensor still does not appear on the energy dashboard.

I apologise if this seems a simple question to you all, I am very new to this and any help would be greatly appreciated.

Many thanks

1 post - 1 participant

Read full topic

No serial devices found

$
0
0

Hi.
From today when I try to update my ESP 32 configuration I can’t because don’t find serial device.
I’ve used without issue the serial device until yesterday.

Any idea?

1 post - 1 participant

Read full topic


Installed local tuya via HACS but the integration is not available in Configuration/Integrations/add integration

$
0
0

So I’ve installed the local tuya integration via HACS… which seems successful… but the integration is not showing available in Configuration/Integrations when I go to ‘add integration’… what have i done wrong?

2 posts - 2 participants

Read full topic

External_url not possible to set from UI

$
0
0

I have a super fresh 2021-12 installation from scratch.
The configuration.yaml is pretty empty:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

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

input_number:

Setup basic information - Home Assistant states, this is the way, if you want to edit stuff in UI. Which is what I want.

However my UI looks like this:

In the UI I can not set up the base_url, external_url or whateever.
duckdns and letsencrypt up and running with no issues.

Some ideas what might be wrong?

1 post - 1 participant

Read full topic

HA is unable to see google speakers on google devices

$
0
0

Hi, I’m a new user of HA. I have gone from Smartthings and transferred all my sensors to HA now. I use HA cloud (Nabu Casa). I have a problem with my two google assistant devices. My automations and devices are displayed in my google home devices and I can use google assistant to perform automations made in HA. But it looks like HA is unable to see the two google devices. (HA is unable to see google speakers on google devices).
Is there something missing in the configuration? What does it take for HA to be able to see the two google devices I have?

1 post - 1 participant

Read full topic

Some Noob questions ... some related to media_player

$
0
0

First post. Greetings. I want to get into HA, so I installed it on my Synology NAS using Docker. I’m trying to orient myself. It discovered my Yahama receiver so I played around a little bit with it.

A couple of very generic questions …

  • There seems to be some menu differences when you use Docker. There is no Hass.io store that I see in YouTube videos. Is Docker more limited or does it handle add-ons differently?
  • Related to the above, if I wanted to use a YAML editor, how would one normally do that with Docker?
  • Tried to make some automations using the “+ Add Automation” button in the configuration screen. So is that like a wizard, but most of you edit YAML files instead of using the wizard?
  • Where would you point me to read for myself how to improve my understanding of how to get started?

A couple of media_player questions. These questions stem from me trying to use the “+ Add Automation” button in the Configuration screen:

  • I have a Yamaha RX-V579 that was automatically detected. I also see it is separately listed as supported. I was experimenting and found that I could create an automation to “call service” and “homeassistant.turn_on” using a target of “RX-V579 D0139E”. Yay it works. I can also use TTS and yay it works.
  • But I wanted to try to change the input source and I’m completely lost. The most promising tried to be to use the “call service” service called “media_player.select_source” which also allows me to target the receiver. But I’ve tried a few different “source” things including HDMI1 and AV4. Nothing seems to work. I’ve played with a few other services but nothing works. Please tell me what I’m doing wrong, and more importantly, how should I have gone about assessing the right approach myself?

Thanks,
Noobitious

1 post - 1 participant

Read full topic

Read Modbus data from Garo gnm3d

$
0
0

Hi. Im trying to read correct responses from a garo gnm3d energymeter via rs485.
documentation for garo gnm3d:
(https://www.garo.se/storage/2F5C05CC57F3034D9178CF1609C9A61D3C9F2C88D08D279962CB906D3C98F1ED/0cbefe64cdbc4fff88737aaf17979044/pdf/media/aa3e752aad0c40bfaa14e62446f4e2ef/108047_5_Protocol%20GNM3D,-T%20Modbus.pdf)

Im a bit confused because the response i get is not just the value as i read the documention.
does anyone got an gnm3d connected to home assistant?
im used to just get the value in the respinse in other modbus applications.

for example reading kw register 300041 gives answer 7 110 000 640 with current setup:

 - type: serial
   name: elcentral
   method: rtu
   port: /dev/ttyUSB0
   baudrate: 9600
   stopbits: 1
   bytesize: 8
   parity: N
   timeout: 2
   sensors:
    - name: em1_kwh_raw
      slave: 1
      address: 40
      input_type: input
      scale: 10
      precision: 0
      data_type: int32      

If i for example read int16 instead (example below) i get correct values for voltage and current but not power and energy

    - name: em1_vl1
      slave: 1
      address: 0
      input_type: holding
      scale: 0.1
      precision: 1
      data_type: int16
      unit_of_measurement: 'V' ´

1 post - 1 participant

Read full topic

"bufferAppendError" from remote Raspi camera

$
0
0

Hello.

I am trying to add a live stream to my UI from a remote Raspberry Pi camera. I am able to access the live stream on http://192.168.xx.xx:8081 from other devices on my network.

For starters - I have ZERO experience with cameras, streaming

I am getting the following error when selecting the camera card in the HA UI - “Error with media stream contents (bufferAppendError)”. After some searching, I am none the wiser. Can anyone point me where to go look as I do not even know where to start.

Here is YAML config:

camera:
  - platform: generic
    still_image_url: http://192.168.xx.xx/jpg/image.jpg
    stream_source: http://192.168.xx.xx:8081/
    name: raspicam

default_config is enabled

I did not set up any still images on the remote Pi, however, a still image URL is required in YAML? Could this be it? If so, any pointers on how to do this in the Pi?

Any pointers are greatly appreciated.

Thank you

1 post - 1 participant

Read full topic

SSH & Web-Terminal/Terminal & SSH integrations - Missing?

$
0
0

Ok the dumb question of the day.

I have HomeAssistant 7.1 installed on a Raspberry pi using the 7.0 image burned to a SD card and then upgraded.

I know the supervisor tab has been moved to Configuration → Devices & Services → Add Integrations.

However for me to install HCAS so I can get Adaptive Lighting I need to enable SSH. However the official plugin “Terminal and SSH” is nowhere to be found and without HCAS configured in Home Assistant I can’t install “SSH & Web Terminal”.

So help a moron out. Am I missing something with the official plugin so it does not appear under Integrations or have I just gone blind?

1 post - 1 participant

Read full topic


Daily report + dynamic entity list (monitoring)

$
0
0

Hi!

After nearly a year on home assistant I am on a good path to a stable system.
For a more convenient way of monitoring the system, I now want to have a daily report (in slack) of entities with certain condition in a very dynamic way. For example all devices seen 24+ hours ago. Or devices with a low battery.
But I have absolutely no idea on how to implement this without template for every specific entity. I would appreciate any ideas on where/how to start.

Thanks and greetings!

1 post - 1 participant

Read full topic

Problem with Homekit YAML Configuration

$
0
0


Hi, i hope this is the right place to ask! My configuration was working perfectly until recently, I dont see how entity config is invalid.

1 post - 1 participant

Read full topic

Ezviz LAN/WAN

$
0
0

Hi, I’m new here and new on HA world.

I created my HA with a VM, for now it’s all functional.

I have a question about Ezviz.

I have 2 cameras in the same Ezviz account, one in my LAN (where I have HA running), other one in another LAN. I don’t use VPN.
I used official Ezviz integration to use both cameras.
I can activate/deactivate these, I can stream the one in my LAN by RSTP protocol.

So my question, can I stream the other camera over WAN? Or over HTTP protocol? Or I can’t in any way?

1 post - 1 participant

Read full topic

Google Casting to Stereo Pair?

$
0
0

Hi all,

Group casting seems to work for individual speakers, however, if I cast to a Stereo Pair, it does not work - is this a known limitation of the casting service?

1 post - 1 participant

Read full topic

Write registers in sma solar integration

$
0
0

Hello

I have a question to ask, if someone can help me about SMA solar integrations:

in my photovoltaic plant I have an SB5.0 + SI4.4 + Home manager 2.0:

  • With the current integrations we can only read values from the inverters and I would like to access some records of the SI4.4 to be able to indicate when to charge / discharge the battery based on the PVPC of € / kwh.
    Can you tell me how can I do it?
    or do you have any integration ready?

thank you

1 post - 1 participant

Read full topic

Viewing all 109033 articles
Browse latest View live


Latest Images

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