need a suggestion to condition the difference between indoor and out door weather for exaple cooler in summer and sunny in winter so that it leaves to a notification to encourage going out
1 post - 1 participant
need a suggestion to condition the difference between indoor and out door weather for exaple cooler in summer and sunny in winter so that it leaves to a notification to encourage going out
1 post - 1 participant
I have tried the influx DB integration and it worked but I seem to be getting pretty much all my entities fed into the DB.
How doe the include/excludes work?
For instance, if I include a domain do all the entities in that domain get fed to the DB or do I have to also include the required entities as well? which is what I would expect. However it seems that everything is included in an included domain.
See my entry in the config here…
#influxdb:
api_version: 2
ssl: false
host: 10.101.202.246
port: 8086
token: GIke85EdppVMglNyrtrDYnLY1Q-H4GSltNI4TowP7S7xZqgVmFfHC_T7Pf4Hm8W3uZuZbm8E-AZIyc3ZMOCUCQ==
organization: reynolds
bucket: octopus
tags:
source: HA
tags_attributes:
- friendly_name
default_measurement: units
exclude:
entities:
- zone.home
domains:
- persistent_notification
- person
include:
domains:
- sensor
- binary_sensor
- sun
entities:
- binary_sensor.octopus_energy_a_2359165f_intelligent_dispatching
- binary_sensor.octopus_energy_electricity_21l3530001_1012350035843_off_peak
- sensor.octopus_energy_electricity_21l3530001_1012350035843_current_rate
- sensor.octopus_energy_electricity_21l3530001_1012350035843_current_demand
- sensor.octopus_energy_electricity_21l3530001_1050002490326_export_current_rate
- sensor.octopus_energy_electricity_21l3530001_1050002490326_export_previous_accumulative_consumption
- sensor.octopus_energy_gas_e6s14501262061_2969223610_current_rate
- sensor.octopus_energy_gas_e6s14501262061_2969223610_current_consumption
1 post - 1 participant
Hello together,
I’m completely new to HA and I’m testing some integrations and features atm.
I searched the net, docs and forum - maybe the wrong way - and maybe that’s why I can’t find a solution/answer for my (stupid?) queston.
I’d like to have the possibility to make a calculation and pass input parameters to this calculation. As always the calc should give a return parameter/result.
I have lots of sensors giving me temperature values. Each sensor has its own name and value, for sure. With this as input I want to do some calculation. But I don’t want to create a helper for each sensor with the same calculation. I want one calculation helper, pass the temp-value to this helper and get the result.
For example:
Input:
sensor_temp1 - value1
sensor_temp2 - value2
sensor_temp3 - value3
output:
sensor_temp_calc1 - result1
sensor_temp_calc2 - result2
sensor_temp_calc3 - result3
How can I achieve this?
A good way to handle my problem would be that a calculation can be applied “on-the-fly” in sensor settings.
So there would be no need for a helper.
Is there an (HACS) integration, add-on or something else available?
Many thx in advance.
BR
2 posts - 2 participants
I tested all above… (config.file; adapter: zstack or dekonz… )
[2024-11-01 15:12:45] error: | z2m: Error while starting zigbee-herdsman |
---|---|
[2024-11-01 15:12:45] error: | z2m: Failed to start zigbee |
[2024-11-01 15:12:45] error: | z2m: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions |
[2024-11-01 15:12:45] error: | z2m: Exiting… |
i need help thx
2 posts - 2 participants
Hello. I’m a long time SmartThings user looking to make the jump. I’m a first time HA user so be easy on me.
I’m unable to get my Google devices to do TTS. I’ve confirmed that tts works out of my computer speakers, it just doesn’t seem to work for my Google speakers. I go into the device, click on the media button, click on text-to-speech, click on any of the three options, enter the text and click “say”. My google device flips over to the Default Media Receiver and the progress bar starts moving showing that it’s playing live audio so I know it’s connected…but no sound comes out. I can get it to play radio stations just fine, it just seems to be the TTS.
Any help would be appreciated.
EDIT: I was able to find the logs and I’m getting the following, I’m guessing there is a config problem with the IP because that doesn’t look right at all?:
Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:405
integration: Google Cast (documentation, issues)
First occurred: 3:40:21 PM (6 occurrences)
Last logged: 3:54:23 PM
3 posts - 2 participants
I’m migrating from Homeseer, which uses VB as their scripting language. I’m pretty computer sophisticated, but having problems getting started in HA. I’ve looked at the HA Help section, and found a few youtube tutorials (but unfortunately, HA must have changed enough in the last year that the steps don’t really match anymore).
Is there someplace with a tutorial that covers the various tools for automation and how to create them in the current version of HA?
2 posts - 2 participants
Hello together, i use Apexcharts to display the composition of our homes energy usage. However when i exit the edit-mode of the dashboard, the Graph breaks.
It is supposed to look like this:
[am only alllowed to post one picture so immagine a nice stacked area graph]
But it instead looks like this:
When i look at the browser console apex charts throws a lot of Errors and warnings.
Clearing my Browser cache also doesnt help unfortunatly.
Any help or any hints would be greatly appreachiated as i cant seem to find any alternatives to apex charts, which provide a stacked area graph.
2 posts - 2 participants
I get stuck in a popup loop after account login on the nabucasa site. Help?
1 post - 1 participant
Hello all
I added a led zigbee bulb to ha
In Z2M dashboard I can see the led with all its properties, including setting color. When I toggle the switches there it works
See pictures
However in the device that was created by mqtt integration, I can only turn led on or off
See picture
Any idea why I can’t have all led controls?
Do I need to configure something manually.
1 post - 1 participant
I’m trying to simplify the entities card, to clear up some clutter.
I have several batteries, each with their own BMS. At present I use one ‘Entity Card’ for each
What I’m trying to achieve is something like this - Is it possible? Any examples?
Thanks!
1 post - 1 participant
Hi all
Im new to HA and I am trying to set up Power Flow Card Plus to replicate the “right now” view I get on my Solarman app.
I have downloaded v0.2.4 through HACS but I cant see how to take it to the next step and configure it.
I have tried to add to Dashboard but the dialogue box say “No view in this dashboard”. I have tried to paste the relevent code from the notes into Terminal but it says “Command Not Found”.
I feel like I am missing a step, but cant figure out what it is .
I have searched but cant see this topic covered before.
Help truly appreciated!
Thanks!
1 post - 1 participant
Saw this on haasio homepage and wonder how I get the “title” with the icon and the sensors?
1 post - 1 participant
Hi,
I’d like to trigger my minisplit a/c heating/cooling only when the room temp falls outside certain boundaries. So that the units are not blowing 24/7.
So i’d like two automations, one that switches the mode to cooling when the room temp is 1.5C above the current setpoint (i have an input number as my setpoint, that is sent to the a/c and also a diesel heater, simultaneously) and another automation that triggers heat mode when the room temp falls 1.5C below the setpoint.
I have been trying to understand all the options here:
But my mind is getting scrambled.
I would appreciate some pointers to better understand the correct approach
1 post - 1 participant
Hello. I need some help with my code. I want to list the light that goes unavailable in my group.light_status. Below is what I have. It kinda works, but it does not list the next light that goes unavailable.
{% set list = state_attr(('group.light_status'), 'entity_id') %}
{% if states.light | selectattr('entity_id', 'in', list) | selectattr('state','eq','unavailable') | list | count >=1 %}
{% set light = states.light | selectattr('entity_id', 'in', list) | selectattr('state','eq','unavailable') | map(attribute='entity_id') | sort(attribute='last_changed') | last %}
{{ light }}
{% endif %}
group:
light_status:
- light.wc_1
- light.g_1
- light.h_1
- light.c_1
- light.s_1
- light.l_1
- light.k_1
1 post - 1 participant
I have a water leak sensor setup to inform me over my speakers if moisture is detected. I would like to have that automation run until the sensor doesn’t sense anymore moisure. I have tried the repeat option in the “building block” option,but I must be missing something. Help is appreciated.
1 post - 1 participant
I created an animation that shuts down the lights in my study if there’s no motion for 5 minutes (the no motion is the triggering event). However, I only want it to begin if the time is after 5 p.m. (this is an And If statement) Problem is, at 4:30 I may trigger the no motion and then the animation doesn’t do anything because it’s not 5:00 p.m. The animation then never checks again for no motion at 5:00 p.m. because after that point there hasn’t been any “no motion” and thus, it never triggers.
Any ideas?
1 post - 1 participant
Hello,
I have roller blinds controlled by KNX, each time I reload the KNX integration, reload the yaml configuration or restart Home Assistant, they are all opening.
my configuration for each is as below:
- name: "Volet Salon"
move_long_address: "2/0/1"
stop_address: "2/1/1"
position_address: "2/2/1"
position_state_address: "2/3/1"
travelling_time_down: 30
travelling_time_up: 30
device_class: blind
What could be making this problem and what can be done to avoid this as if for any reason something is restarting when I’m away these would stay open.
Thank you.
2 posts - 2 participants
Current situation
I have four automations that control my Zigbee switches (on, off, continuous on, continuous off) and all four automations have a list of unique_id matching a certain light.
alias: Switch on button
description: ""
triggers:
- event_type: zha_event
event_data:
command: "on"
trigger: event
conditions:
- condition: template
value_template: "{{ target is not none }}"
actions:
- target:
entity_id: "{{ target }}"
action: light.turn_on
mode: single
variables:
config: # This is the list (shortened version)
bc:33:ac:ff:fe:6d:ff:39:1:0x0006: light.silicon_labs_ezsp_gameroom
bc:33:ac:ff:fe:6d:ff:39:2:0x0006: light.silicon_labs_ezsp_livingroom
unique_id: |
{{ trigger.event.data.unique_id | default }}
target: |
{{ config.get(unique_id) }}
I’ve shortened the list to only two lines so it doesn’t take up a whole bunch of text.
The problem
Every time I add a new switch or a new light, I have to manually update this list for every four of my automations (and maybe more in the future). This can be a tedious task. Especially when I’m adding a lot of new lights or when I’m making a small adjustment. That means my work is quadrupled each time.
Desired situation
What I want is to create a global list of some sort that contains the unique_id and light. All automations can then pull the data from that global list so that I only have to add/remove switches and lights from one place in my HA installation.
What I have tried
I have tried Googling the issue but no one seems to have a list like mine and ChatGPT isn’t very helpful either. I was told on Discord to add the following piece of code in my configuration.yaml file:
- template:
sensor:
- name: Lights List
unique_is: lights_list
attributes: >-
list: [
{ "bc:33:ac:ff:fe:6d:ff:39:1:0x0006": "light.silicon_labs_ezsp_gameroom" },
{ "bc:33:ac:ff:fe:6d:ff:39:1:0x0008": "light.silicon_labs_ezsp_gameroom" }
]
And to edit my automation like so:
variables:
unique_id: "{{ trigger.event.data.unique_id | default }}"
mappings: "{{ (state_attr('sensor.light_mappings', 'list') | list)[trigger.event.data.unique_id'] }}"
target: "{{ mappings.get(unique_id) }}"
Which resulted in the following error:
Message malformed: invalid template (TemplateSyntaxError: unexpected char “'” at 84) for dictionary value @ data[‘variables’][‘mappings’]
2 posts - 2 participants
I’m trying to setup simple guest access to my Home Assistant instance for guest users in my house by simply scanning a QR code.
I user Meraki wireless and have the QR code configured to log the user onto my guest network and then direct users to a splash page which redirects them to my Home Assistant URL. I’ve appended the URL with the guest dashboard name and a long lived token associated with a limited guest account I’ve created.
Currently the QR code lands the user at the login page but the long lived token does not appear to be automatically logging the user in.
Any thoughts or tips as to why this might be?
Thanks!
1 post - 1 participant
Is it correct that all KNX devices should be added manually to the yaml file, specifying the assignment and addresses ?
I currently have a hub in the KNX integration
Tunneling @ 15.15.255 - KIPI @ 192.168.0.252:3671
and one luminaire, I don’t know how it appeared, all other devices I added via yaml
And if it is necessary only through yaml, is it possible to add KNX device in yaml with the indication of the room where it is located ?
so far I have done this
i.e. the grouping is based on the device destination, but I think it would be more convenient to group everything by rooms.
1 post - 1 participant