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

Split sensor state in multiple entities - energy

$
0
0

Hi, I’m setting energy panel in my setup.
My inverter sends two entities via modbus: one for grid consumption/return and one for batteries charge/discharge.
A positive value in battery sensor means charging, a negative discharging.
The same for grid sensor (positive means returning, negative consuming).

However HA requires 4 separate entities (battery charge, battery discharge, grid consumption, grid return)
I’m searching for a way to split those negative/positive values in 4 distinct entities, each with positive values:

when “battery sensor” sends value “-1.5 kW”, “battery charging” sensor should show “0 kW” and “battery discharge” sensor “+1.5 kW” and so on.
Is there a way to do that?

Thank you for your support.

cheers!
Paq

1 post - 1 participant

Read full topic


Browser Mods Popup only one device

$
0
0

Hi,
browser mods works fine but my popups appear on every device i just want to fix it like:

so i generate this:

show_name: true
show_icon: true
type: button
tap_action:
  action: call-service
  service: browser_mod.popup
  service_data:
    title: Popup example
    card:
      type: entities
      entities:
        - entity: binary_sensor.lumi_lumi_sensor_magnet_aq2_e3184808_on_off
          name: 'Badezimmer '
        - entity: binary_sensor.lumi_lumi_sensor_magnet_aq2_4e810608_on_off
          name: Schlafzimmer
        - entity: binary_sensor.lumi_lumi_sensor_magnet_aq2_680b4808_on_off
        - entity: binary_sensor.lumi_lumi_sensor_magnet_aq2_on_off
          name: 'Terassentür '
    deviceID: this
  target: {}
entity: binary_sensor.fenster
icon: mdi:window-closed

but now nothing works ;(

Someone who can help me?

1 post - 1 participant

Read full topic

'Should be' a simple automation to turn on light based on lux and motion but proving to be difficult!

Enocean Zigbee Switches PTM216Z stop working when permit join = false

$
0
0

Hi!

I have issues with my Enocean Zigbee Switches (PTM216Z). If I disable joining new devices in zigbee2mqtt the switches stop working after a while.

Took me a while to link this issue with disable joining, but I can reproduce this easily now: disable joining and the switches will be non-functional after a few hours.

Is this behaviour by design/necessity (energy harvesting devices being weird entities and all), a bug in zigbee2mqtt or a possible misconfiguration on my end?

zigbee2mqtt: 1.18.1-1
Home Assistant Core: 2022.5.2
Home Assistant Supervisor: 2022.05.0
Home Assistant OS: 7.6
Kernel version: 5.10.103-v8

Zigbee Dongle: LAUNCHXL-CC1352R

1 post - 1 participant

Read full topic

Unable to login with Chromium in Grafana view

$
0
0

I use a RPi with touchscreen as dashboard.
To be able to use kiosk mode, I use Chromium which works fine.

One of my views is a Grafana dashboard.
On my desktop & tablet with FF, I can login to this Grafana view/dashboard.
On my desktop & RPi with Chromium, I cannot login to it.
I have looked in the Chromium settings but could not find anything that seems to be related to this issue.

Any idea why this doesn’t work?

1 post - 1 participant

Read full topic

Grouping of graphs on the history page

$
0
0

Hi,

I would like to make some graphs group differently on the history page. For example, I get disk use, memory use and bedroom humidity percentages on the same graph, which doesn’t make much sense. I would like to see them in different graphs. Is there a way to do this kind of customization on the history page, or do I just need to create a dashboard?

I don’t want to stop any items being recorded, just move them to another graph.

2 posts - 2 participants

Read full topic

Consume all the energy produced

$
0
0

how to proceed so that I can consume all the energy produced by the solar panels

2 posts - 2 participants

Read full topic

Gauge card: can it show negative numbers?

$
0
0

Hi all. I can see the latest HA version allows multiple segments to be defined. I’d like to use this to measure air temperature, but it doesn’t seem to accept negative numbers, so can only start from above freezing. Is there a way to get a gauge to show negative numbers? I’ve tried both the visial and YAML routes.

Thanks in advance!

1 post - 1 participant

Read full topic


Template lower then problem

$
0
0

Hi All,

sensor.livingroom_lux have state 11726.0

“{{ states(‘sensor.livingroom_lux’) > ‘100’ and states(‘sensor.livingroom_lux’) < ‘220’ }}”

result: TRUE

That is not correct because yes its bigger then 100 but not lower then 220

What do I not see at this simple template line?

Want replace:

  condition: numeric_state
  entity_id: sensor.livingroom_lux
  above: 100
  below: 220

to

  condition: "{{ states('sensor.livingroom_lux') > '100' and states('sensor.livingroom_lux') < '220' }}"

1 post - 1 participant

Read full topic

Ikea Tradfi LED1836G9 'not supported' in zb2mqtt

$
0
0

Hi, I have a couple of basic Ikea tradfi lightbulbs but it seems like zb2mqtt doesn’t support them. Seems a little bit crazy as they’re pretty common and simple devices. I’ve not seen anyone else with this issues posting anything so wondering if it’s just me or there’s some simple fix everyone else has seen that I’m just oblivious to.

Thanks everyone

2 posts - 2 participants

Read full topic

First Time Homematic to Homeassistant

$
0
0

Hi,
it is my first time with the Homeassistant, I want to link to My Homematic, but how?
I don´t want to run the Homeassistant and the Homematic von the same PI.

Thanks for Help

1 post - 1 participant

Read full topic

Integration with APC SmartConnect UPS

$
0
0

Team,
I’d like to read the info from my UPS… it is a APC with SmartConnect… I can see the data from the SmartConnect service online but not sure if/how I can read from HomeAssistant.
Was anyone able to connect it ?

1 post - 1 participant

Read full topic

Use variables for automation triggers & conditions

$
0
0

I want to improve the efficiency of a script that manages a fan, and avoid repeating hard coded values.

So I tried to add variables:

alias: Ventilation SDB New
mode: restart
variables:
  max_dew: 14
  min_dew: '{{ max_dew - 0.2 }}'
  max_ext_dew: '10'
  ext_dew_limit: '{{ max_ext_dew - 0.2 }}'
description: Ventilation SDB
trigger:
  - platform: numeric_state
    entity_id: sensor.sdb_dewpoint
    above: '{{ max_dew }}'
    for:
      hours: 0
      minutes: 0
      seconds: 0
  - platform: numeric_state
    entity_id: sensor.sdb_dewpoint
    below: '13.8'
    for:
      hours: 0
      minutes: 0
      seconds: 0
  - platform: numeric_state
    entity_id: sensor.exterieur_dewpoint
    below: '10'
  - platform: numeric_state
    entity_id: sensor.exterieur_dewpoint
    above: '20'
  - platform: event
    event_type: homeassistant_start
action: null

In the first ‘above’ parameter in the sample code, I have written above: '{{ max_dew }}', but the UI complains with “Message malformed: expected float for dictionary value @ data[‘above’]” . I also tried above: "{% max_dew | float %}" and other variations without success.

My intent is to reuse these variables in action conditions as well.

Is this possible? If yes, what is the right way to do it?

1 post - 1 participant

Read full topic

History exclude not working

$
0
0

Hi - just ran into a small inconsistency and would like to clarify if this is a misunderstanding from my side or a bug which i should report
I have the following section in my configuation.yaml

##    History 
history:
  exclude:
    domains:
      - automation
      - media_player
      - timer
    entities:
      - automation.anybody_device_tracker
      
## Logbook
logbook:
  exclude:
    entities:
      - automation.it_active_pingtimer_247
      - automation.max_reset_startup
      - automation.max_reset_retrigger
    domains:
      - timer

The understanding from the documentation mentioned here is, that everything in the automation, media_player and time domain should not be displayed anymore on the page http://homeassistant.local:8085/history

The same syntax for the Logbook seems to work.

I started with a new database and emptied the browser cache - no success. All element from the domains above are still displayed.

Is this a bug?

This is my system config:
System Health

version: core-2022.5.2
installation_type: Home Assistant Container
dev: false
hassio: false
docker: true
user: root
virtualenv: false
python_version: 3.9.9
os_name: Linux
os_version: 5.15.32-v8+
arch: aarch64
timezone: Europe/Berlin

1 post - 1 participant

Read full topic

Tasmotized Sonoff Pow R2/R3 not works

$
0
0

hi,
i was using sonoff pow r3 as a voltage & current sensor in automations to protect appliance from high or too low voltage also to protect the Aux generator from over loud by mange appliances according to priority, the problem was sonoff original firmware too slow to update energy readings to home assistant and some times works only when i open ewelink app, also in my case not work locally,
for that reasons i decided to tasmotize it, but instead of solving the problem it makes it bigger,
mqtt is too slow and sensors readings update takes long period of time more than 3 mints and some times stuck and never update,
the tasmota it self works fine and respond to changes in energy state instantly,
i am using Mosquitto broker add_on and tasmota integration
any idea to solve the issue ?

thanks.

1 post - 1 participant

Read full topic


Help with Tuya Remote...Another TS0044 issue

$
0
0

I bought a TS0044 Tuya 4 button switch over a month ago, connected it through ZHA and it has been working great ever since, all 4 buttons working with all 3 of their functions (single press, double press and long press). Fantastic.

I woke up the other day to the device flashing like it was in pairing mode and it would no longer work.

I repaired the device and only 1 hour later the device went back into pairing mode. This has now happened 3 or 4 times.

Has anyone else had issues with the TS0044 disconnecting from ZHA and becoming unusable?

The particular model is the TS0044 by _TZ3000_wkai4ga5

1 post - 1 participant

Read full topic

Automate smart plug with temp sensor

$
0
0

Hi, iam new to HA.
Trying to get a smart plug to turn on and of based on min-max temperature set on the temp sensor…
Does somebody know how to do this simple automation?

6 posts - 3 participants

Read full topic

ONVIF - Error opening stream (ERRORTYPE_5, Input/output error)

$
0
0

Hi!
I added my camera HIKVISION IPC-C082-G2 to home assistant via ONVIF integration

I see the static image from it but can’t open stream.

image

There is an error in log when I tryed to open stream:

Logger: homeassistant.components.stream.stream.camera.hall_mainstream
Source: components/stream/__init__.py:347
Integration: Stream ([documentation](https://www.home-assistant.io/integrations/stream), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+stream%22))
First occurred: 15:19:35 (10 occurrences)
Last logged: 15:27:05

Error from stream worker: Error opening stream (ERRORTYPE_5, Input/output error) rtsp://****:****@192.168.7.29:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1

How to resolve it?

1 post - 1 participant

Read full topic

Ignore disabled battery entity when using HomeKit

$
0
0

I get this error in the log:

Logger: homeassistant.components.homekit.accessories
Source: components/homekit/accessories.py:353 
Integration: HomeKit (documentation, issues) 
First occurred: 14:10:02 (1 occurrences) 
Last logged: 14:10:02

binary_sensor.test: Battery sensor state missing: None

I have a sensor that is mains powered, but the battery shows 0%. To avoid a message in HomeKit I disabled the entity. But I do get this error. How else should I handle this?

1 post - 1 participant

Read full topic

HA Restart - New Update

$
0
0

HI All,

I just updated my home assistant version. With all the new functionality i can’t seem to find the check config, or “restart” button an1
more. Is it “reboot host”? Can i still check the config before restarting?

Thanks.

3 posts - 2 participants

Read full topic

Viewing all 108504 articles
Browse latest View live


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