So I am trying to figure out how to capture all my energy usage with this and record it all in home assistant, what should I set as the settings and what do I add to the energy monitor part of home assistant?
1 post - 1 participant
So I am trying to figure out how to capture all my energy usage with this and record it all in home assistant, what should I set as the settings and what do I add to the energy monitor part of home assistant?
1 post - 1 participant
I can create automatons, scenes, scripts through CURL but trying to figure out how to create / modify helpers like input_select seems to have me stumped.
I’ve tried exploring /api/config/input_select/config with no success
1 post - 1 participant
Hi,
I want to integrate contaclip modbus into my HASS, notwithstanding this I fight with the function of modbus, I have the suspicious that my contaclip modbus works only with 8Bit register, currently HASS modbus integration support only 16 correct?
greetings
Simon
1 post - 1 participant
I want HA to change my Blue Iris profile based on alarm status. I have 3 basic scenarios:
HA Alarm Disarmed → BI Profile Disarmed
HA Armed Home → BI Profile Armed Home
HA Armed Away → BI Profile Armed Away
I know I can create 3 automations that trigger based on the alarm status, like this:
- id: '1640757348755'
alias: Blue Iris Profile Change
description: ''
trigger:
- platform: state
entity_id: alarm_control_panel.home_alarm
to: Armed night
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.blueiris_profile_armed_home
mode: single
Can I create one automation that just sets the BI profile based on what state the HA alarm is in?
2 posts - 2 participants
Hi There,
I travel away from my home very often, but keep a close eye on the HA system while away. One thing that bugs me is that because I’m in a different time zone to the home where HA is running that everything that Im seeing on the Phone or PC browser at the away location is based on the machines (client) local time. So then I have to add or subtract the time difference.
I would like to know if there is a way to avoid this and always see the HA instance in the actual Home location time? It would be great if in the Configurations/general settings that an option to “Use HA instalation time zone for viewing” would be available.
I checked the Android app settings under the user name and there is a “Time Format” options but all are related to the device local time and not the HA instalation time.
Or have I missed something and there is an option to do this already, either in the existing settings or by yaml file configurations?
2 posts - 2 participants
Hi! The last days i have had some problems with my tuya lights. The lights is on in the smart life app, but in home assistans it shows as off. But then I switch it on and off the lights turn off.
Some out there that has the same problem?
I use this integration
1 post - 1 participant
I was using my Nest Doorbell with the prior “Nest” integration. Now I’m converted to the unified Google Authentication with my Nest Doorbell.
I had an automation that would unlock my door when the nest doorbell detected a phone arrive at home and within 5 minutes a person detected by the doorbell.
The problem now, is that the Google/Nest integration no longer has a status of binary sensor to monitor and instead uses events, specially the “nest_event” and the type of “camera_person”. What I’m wondering is, how can I re-create my template to wait for this event type to occur before it proceeds?
This is the current template.
{{ is_state('binary_sensor.front_door_camera_person_detected','on')}}
How could this be adjusted to listen for the correct event and give me a “true” when it’s detected.
The reason for the “wait for template” is so that I can limit the amount of time I’m willing to wait for all things to be true before unlocking the front door.
Thank you in advance.
1 post - 1 participant
I currently list turned on lights and switches using a marked down card, but I want to make it more readable by grouping them based on their area, but I cannot figure out how to list all configured areas. Does anyone has an idea how to do so?
The next (easy) step is to combine the output with this solution:
Unless there is a better (less “cpu intrusive”) way to achieve the goal of course.
1 post - 1 participant
Hi,
i’m quite new with HA, i’ve played a little with DateTime Sensor in configuration.yaml with Studio Code.
Then i want to insert a AddOn but the the Addon Stays empty (white). So does Terminal or Raspberrymatic …
So i’ve booted the HA on my PI4 but does not help.
If opening the LOG this message appears: Error while loading page logbook.
So i opened the notifications on the lower left panel and found several entrys but this may cause the problem?
Can't read Supervisor data:
09:08:06 – (WARNUNG) Home Assistant Supervisor
Client error on /host/info request Cannot connect to host 172.30.32.2:80 ssl:default [Connect call failed ('172.30.32.2', 80)]
09:08:06 – (FEHLER) Home Assistant Supervisor - Die Nachricht ist zum ersten Mal um 09:07:30 aufgetreten und erscheint 7 mal
Connection pool is full, discarding connection: 192.168.1.100
09:07:52 – (WARNUNG) /usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py - Die Nachricht ist zum ersten Mal um 09:07:22 aufgetreten und erscheint 43 mal
[547046390464] The system cannot restart because the configuration is not valid: File configuration.yaml not found.
09:07:35 – (FEHLER) Home Assistant WebSocket API
The system cannot restart because the configuration is not valid: File configuration.yaml not found.
09:07:35 – (FEHLER) Home Assistant Supervisor
Failed to to call /supervisor/available_updates -
09:07:30 – (FEHLER) Home Assistant Supervisor
Unhandled exception
09:07:18 – (FEHLER) /usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py - Die Nachricht ist zum ersten Mal um 09:07:18 aufgetreten und erscheint 2 mal
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/__init__.py:599
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 09:07:35 (1 occurrences)
Last logged: 09:07:35
[547046390464] The system cannot restart because the configuration is not valid: File configuration.yaml not found.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 599, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: File configuration.yaml not found.
2 posts - 1 participant
Is it possible to lock the max temp so it only can turn up to 25c
this dont work
service: deconz.configure
data:
entity: climate.termostat_i_tv_stuen
field: /config
data:
max_temp: 25
5 posts - 2 participants
It’s a mistery for me, but I have (the last 2 days ?) refressing problems on my computer and android phone. HA is installed on a Odroid device.
F.e. I do an restart of HA on my computer : he does the restart but suddenly it’s frozen
After a while I do an refresh (F5 in chrome) and everyting is fine.
Another example : I have a button to stop my aircon’s in my living. When I click on it, the aircon effectively stops, but on screen nothing happens
I push again refresh (F5) and the screen is alright again
On my android phone I opened the same screen before pushing the stop button and here also the same problem. I have to close HA and recall it to have the good screen.
It’s not always : I turn on my aircon’s (button 21) and I see immediat turning the fan’s on my screen.
It seems a kind of caching problem, I don’t know
2 posts - 2 participants
Hi, need a little help on templates.
I have a template I only update daily, at midnight. I then use this number in other calculations. It works as expected, however I have the problem that after a restart the sensor is shown as “unavailable” until next midnight.
Here is the template sensor
- trigger: ## Daily at midnight
- platform: time
at:
- "00:00:01"
sensor:
- name: "Utility El usage Day increasingtotal temp-number"
state: >
{{ states('sensor.develco_zhemi101_f21a021b_smartenergy_metering_summation_delivered') }}
I have tried to find a way to update a helper from the sensor, as this will keep the state after a reboot, however can not figure out how
I have tried with a template that also update at restart. It works, however the number will be wrong, as it is not from midnight (will show the number from restart time)
I have tried using a utility sensor, and have the number comming form “laststate”. This works, however takes up a lot of space in the DB, for only this one small number (utility sensor will update every time the original entity updates, which is a lot)
Ideas? I can not figure out how to do this in a simple way
Easiest solution would be a automation updating a “helper”. However I can not figure out how.
1 post - 1 participant
Good morning,
I am working in YAML mode and I have a problem with the automation file configuration. Inside the configuration.yaml file I have inserted the line
automation:! Include automations.yaml
in order to insert the automations in a single file. The problem is that for my clarity I had inserted particular formatting and comments in the automation file, but every time I go to reopen it all my comments and formatting has disappeared. It is likely that HA prioritizes automations entered via UI and overwrites existing ones in my file, but setting the YAML mode shouldn’t it do the opposite and leave me my formatting? Is there any way to solve the problem?
Thanks in advance.
4 posts - 3 participants
I am using Aeotec Z stick gen5 with firmware 1.0 and Z wave JS. I have had the stick connected to my RPI and then around 1 meter from the Danalock V3. Then I went to the Z wave JS configuration and added a device. It found the lock, but it seems “dead”, as I cannot control the lock and it doesn’t update status either.
Have I added it incorrectly or is the firmware on the z stick not sufficient. I cant seem to update it by some reason.
1 post - 1 participant
Hi,
I have a utility meter that counts daily power consumption.
It is based on a sensor that counts total power consumption (no resets or similar, just increasing).
If I look at todays and yesterdays value, it looks good.
But if I look at other time frame it looks very strange.
Is this expected behaviour that I don’t understand, or is there something wrong with the sensor?
If I remember correctly, when I looked at this a while back ago, I would see multiple lines as in the first picture, with a reset at every midnight.
1 post - 1 participant
(TLDR at bottom)
So today I planned to migrate everything to Z-wave JS. Sadly it failed (but thanks to a backup I was back up and running the old way in 2 minutes so that was great!).
The one’s it migrated also only got the name Node1 - Node 43, not really usefull to know what they do (the names showed correctly in the list “this will be migrated” though).
Currently I am still using the first Z-wave implementation with the Aeotec Gen5 stick and it works fine and stable for years now. But I recently bought 2 extra sensors (Aeotec Multisensor 7 and and Aeotec Tri-sensor).
For some reason these don’t seem to work with the old integration. At least I can’t get them to work. They link just fine, but the tri-sensor doesn’t report anything correctly and the Multi-sensor is linked but device type unknown. The other values it reports are also incorrect.
I was holding off to migrate to Z-wave JS because I have 85 devices and 456 entities on Z-wave. Compatibility should be fine I think as the devices are all visible in the device database of Z wave JS (Fibaro Dimmer 2, RGBW and blind controllers, Aeotec power meters, a tri- and multisensor, nothing exotic)
Now I figured, the Multisensor 7 probably doesn’t fully work with the Gen5+ stick anyway.
Can I buy a Aeotec Gen7 stick (compatible according to the documentation), link that to Z-wave JS and use my new sensors on Z-wave JS. Meanwhile keeping the Gen5 stick in the old integration and keep using that.
That would give me a lot more room to migrate everything piece by piece over time instead of needing to get it done in one day.
Anyone that performed this type of migration? I’ve already red some posts of people trying to get a backup of the Gen5 stick on the Gen7 stick but that’s not possible so I’m not even going try that (same with the backup-stick changing to main stick method).
TLDR:
Migration to Z-wave JS failed. Restore went fine so no issue. Can I use a Gen7 stick in Z-wave JS while keeping to use my Gen5 stick in the old integration, to migrate everything slowly over time?
1 post - 1 participant
Is it possible to restore a home assistant configuration to a different device? I want to install Home Assistant on a Pi4 but it might be a while before I can get this. In the meantime, I can get it up and running on a spare PC but I’d like to be able to export the configuration and import it on to the Pi when I eventually get this. Is this possible? What’s the easiest way to do this?
2 posts - 2 participants
Hello!
I have Sunricher switches with Friends of Hue functionality and am using Deconz to integrate them to hassio.
After adding them to/with deconz I can find them as devices in Hassio and add them as triggers in automations, but they do not trigger the automation. They do not show up as entities or under developer tools. I cannot, or do not know how to see if the signal from them is even registered.
How do I get them to work with automations or become entities?
1 post - 1 participant
hello guys,
after having read a lot posts and tried many configurations, here I’am to ask for a help.
SETUP:
Home Assitstant Version
FrigateProxy Version 1.3
Frigate external Docker image: 0.9.4
SCOPE:
Send email notifications with snapshots attachment triggered from frigate object detection
CONFIGURATION
as for now everything seem to be running, except that I don’t see the image/s attached to the email that are sent correctly.
The automation is configured with a MQTT trigger on frigate/events topic to retrieve the event ID triggered from the frigate object detection system.
here is the code:
- id: '1640686723123'
alias: AUTOMATION-MOTION-DETECTION-EMAIL
description: ' '
trigger:
- platform: mqtt
topic: frigate/events
payload: "CAM1 #!input 'camera'
value_template: '{{ value_json[''after''][''camera''] }}'
variables:
frigateid: '{{ trigger.payload_json[''after''][''id''] }}'
camera: '{{ trigger.payload_json[''after''][''camera''] }}'
camera_name: '{{ camera | replace(''_'', '' '') | title }}'
object: '{{ trigger.payload_json[''after''][''label''] }}'
label: '{{ object | title }}'
entered_zones: '{{ trigger.payload_json[''after''][''entered_zones''] }}'
type: '{{ trigger.payload_json[''type''] }}'
condition: []
action:
- service: notify.NOTIFICATION_EMAIL
data:
title: ALERT!
message: Alert motion detection
data:
html: >
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Intruder alert</title>
</head>
<body>
<div>
<div>
<h1>Intruder alert at Camera: <b>{{ camera_name }}</b></h1>
</div>
</div>
<div>
<div>
<div>
<img src="http://<frigateIP>:5000/api/events/{{frigateid}}/snapshot.jpg" />
</div>
<div>
<h2 ENd message />
</div>
</div>
<br>
</div>
</body>
</html>
mode: single
I want to add that I configured another notify service that uses the SMTP component and it is configured with a local mail server (and relay) written in JS… and, guess…, the email contains the image attached that I can check from the web GUI; when it relays externally the email, the attachment is not present anymore; believe me, I do not understand when using a public SMTP server the image is not attached, in both cases, or using SMTP Public server or relaying the email through a SMTP Public server.
looking at the Home Assistant SMTP component python code it seems that component needs the image/s to be retrieved from the FS (as described in this topic) other than the HTML code.
Is there a way to load the image form an URL? or a way to attach to the email an image triggered from frigate (external server)?
I do the same with the Telegram Notification and I’m able to receive the notification with the snapshot attached.
any help and/or suggestions will be appreciated and thank you in advance.
1 post - 1 participant
I was including new devices this morning. Had an issue with on of the devices and wanted to reset it. I accidently reset my Aeon Z-Stick Gen5+ losing all my devices (mainly Fibaro dimmers).
Now that I want to repair the devices, the stick does not include anything. None of my devices will pair anymore.
Anyone else here have the same experience before and fixed this? Or does anyone else have tips to solve this?
1 post - 1 participant