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

Digital Photo Frame with HA features

$
0
0

@tiszavolgyi wrote:

Hello,

I am planning to make a digital photo frame, using a Raspberry Pi connected to a 27" monitor. The goal would be to

  • play images randomly from a folder
  • if there is movement on one of the cameras, show the camera for a few seconds
  • sometimes show some sensors data randomly between pictures (e.g. all the temp and humidity sensors on one screen)

I have a motion sensor in the room where this frame will be. I am planning to turn off the screen if there is no movement in the room for a while. I am planning to do this simply with a smart plug.

Any suggestions, ideas on how to approach this goal? Do you think I can do this with a dedicated dashboard and views?

Thank you for your input in advance!

Posts: 1

Participants: 1

Read full topic


Entities and hass.io, where are they stored?

Some templating help appreciated

$
0
0

@ashscott wrote:

I have a message:

        data:
          title: "Koi pond..."
          message: "...main pump has stopped"

and would like the word “stopped” to change between stopped, blocked and started based on the state of three separate input_booleans.

Where do I start with this?

I know that it needs to be along the lines of:

“… main pump has (if input_boolean.main_pump_stopped, “stopped”, else if input_boolean.main_pump_blocked, “blocked”, else_if input_boolean.main_pump_running, “started”)”

I struggle with the correct template syntax and formatting and haven’t yet found an idiots guide.

Any help will be much appreciated.

Posts: 1

Participants: 1

Read full topic

System_log: events are not fired despite "fire_event: true"

$
0
0

@socrates wrote:

Hello everyone!

I’m setting up a SYSLOG server for my network ( guess I’m a little bit spoiled from work :wink: ) and I would like to have the HASS information also within syslog.

As far as I can see, there is no direct way to achieve this.

But I did stumble on the “system_log” feature, which can be used to fire events.

#** Ref: https://www.home-assistant.io/integrations/system_log/

system_log:
  fire_event: true


#** Log events to LOCAL (!) syslog
#** This does NOT send all messages from Logger to Syslog. It only allows you to
#** use notify.syslog2graylog to send messages like "push notifications" to syslog
notify:
  - name: syslog2graylog
    facility: local0
    platform: syslog
#**/


automation:
  - alias: Log errors to syslog
    trigger:
      platform: event
      event_type: system_log_event
#    condition:
    action:
      - service: notify.syslog2graylog
        # data_template:
        #   title: lalatitle
        #   #message: '{{ trigger.event.data.message }}'
        #   message: '{{ trigger.payload }}'
#        data_template:
        data:
          #message: '{{ trigger.event.data }}'
          message: "ss"

I played around a lot in order to get this work… hence all the lines with ‘#’.

I can get a message to syslog by using the Service notify.syslog2graylog from Lovelace. But it never gets fired from the automation.

What am I missing here? Any insights?

Thanks in advance!

Posts: 1

Participants: 1

Read full topic

Rest_command problem

$
0
0

@MikeS wrote:

Hi there, i am quite new to REST commands and am struggling to get something working.
I am in a beta testing group for Slide a controller for curtains (great by the way, not sponsored :wink: )

I am trying to set up a rest_command so i can use their local API but have been struggling for quite some time.

When i use Postman i can control the curtains, this is what the code looks like:
curl --location --request POST '192.168.68.208/rpc/Slide.SetPos' \ --header 'Authorization: Digest username="user", realm="iim", nonce="undefined", uri="/rpc/Slide.SetPos", algorithm="MD5", response="1eb8e0084bd3717c98bd9a668d73264d"' \ --header 'Content-Type: application/json' \ --data-raw '{ "pos": 0.1 }'
In my configuration.yaml i put following, tried i don’t know how many different setups but keep getting: Error. Url: http://192.168.68.208/rpc/Slide.SetPos. Status code 401.
This is an authentication failure…

rest_command: setcurtainpos: url: 'http://192.168.68.208/rpc/Slide.SetPos' method: POST headers: Content-Type: 'application/json' Authorization: 'Digest username="user:jRD85b2H", realm="iim", nonce="undefined", uri="/rpc/Slide.SetPos", algorithm="MD5", response="1eb8e0084bd3717c98bd9a668d73264d"' content_type: 'application/json' payload: '{"pos": 0.0"}'

Does anybody have a clue of what (probably stupid) thing i am doing wrong?

Many thanks!

Posts: 1

Participants: 1

Read full topic

Hive door sensors and plugs

$
0
0

@donpearson01 wrote:

And chance anyone has got the hive door sensors working with the conbee 2 deCONZ?

Just got mine today hoping it would work and clearly not…
I know it works with the motion sensors.

Also the hive plugs as well, any way I can get them working?

Or am I going to have to get Zigbee2mqtt running as well, I’d rather not as I’ve just get this nice expensive £40 cobee 2 when the cheap one seems to do everything I want.

Looks like I’m going to send the cobee back and get the cheap cc2531 instead.

So far a little disappointed :frowning:

Thanks for your help.

Posts: 1

Participants: 1

Read full topic

How to "feed" the esphome text sensor with messages from Home Assistant?

$
0
0

@Dreamoffice wrote:

Hello
i have the MAX7219 Matrix Display flashed with ESPhome. now i struggeling in how to provide the text sensor the messages, for example “garage door open” or “washingmachine finished” or, or…
can someone point me in the right direction how to deal with this???

br dave

Posts: 1

Participants: 1

Read full topic

Actionable notifcations do not work away from home

$
0
0

@_Mike wrote:

I have some actionable notifications set up, which work perfectly when I am home. When I leave home, I receive the iOS push alert but the action I select does not seem to fire. Is this because I do not use Home Assistant Cloud?

Posts: 1

Participants: 1

Read full topic


Easiest software for ESP32 RF receiver and sender (and would be nice to be able to use BLE too)

$
0
0

@grashugger wrote:

What software is the easiest to use for an ESP32 with RF receiver and sender? I have tried ESPHome and ESPeasy, but neither were great for me. Adding new sensors was always a hassle and happened through exposing the RF sensor readings so I could manually add a sensor in Home Assistant. I’d rather have the RF sensors automatically created in the ESP than in Home Assistant.

What set-ups do you use, and are you happy with it?

Posts: 1

Participants: 1

Read full topic

Picture elements card label color

$
0
0

@Hellis81 wrote:

I can’t seem to get the color to change.

elements:
  - entity: sensor.battery_level
    style:
      left: 52.8%
      top: 67%
      color: > # different attempts:
        {% if states('sensor.battery_level') | int > 90 %} return rgb(0,255,0)  
        {% if states('sensor.battery_level') > 80 %} rgb(0,255,0)
        {% if states('sensor.battery_level') | int > 90 %} return 'rgb(0,255,0)'  
        # and what I believe is all combinations of them
    tap_action:
      action: toggle
    type: state-label
image: local/LGH crop.png
panel: true
type: picture-elements

Or is it impossible?

Edit.
This however works:

elements:
  - entity: sensor.battery_level
    style:
      left: 52.8%
      top: 67%
      color: rgb(0,255,0)  
    tap_action:
      action: toggle
    type: state-label
image: local/LGH crop.png
panel: true
type: picture-elements

Posts: 1

Participants: 1

Read full topic

Nabu Casa Home Assistant Cloud - "Couldn't update the setting. Check your connection." in Google Home

$
0
0

@Jimbobaloobob wrote:

I have set up Nabu Casa Home Assistant Cloud and can use the remote control URL without issue. When I try and link Google Home to Home Assistant Cloud by Nabu Casa it prompts me to allow access, says signing in and then shows linking account. However, at this point it comes up with “Couldn’t update the setting. Check your connection.” and nothing appears in the Linked accounts list.

If I go into my google account in a browser and check in security I can see that it is showing as linked.

I’ve tried unlinking it and going through the process again but it makes no difference.

I read that some people have had issues with the username being entered in a different case so I’ve checked that and it is identical - keep coming back to that error.

Please can someone help me with this, it’s driving me mad!

Thanks in advance,

Jim

Posts: 1

Participants: 1

Read full topic

Problem with UZB-Stick on Bootup

$
0
0

@grooveagent wrote:

Hi Everybody,
I have a problem with my UZB-Stick on a Raspberry 3B+. I have the original power supply and already tried another power supply and a powered USB-Hub. There is no other hardware connected to the pi. But I have the Problem that my UZB-Stick is not recognized when I power down / up my Raspberry. The LED of the stick goes on…then off for short time(power-drop?) and then goes on and just keeps blinking (~1Hz) whereas if everything works fine, there is no blinking.

The workaround is to power up the Raspberry without the stick…then plug in the stick (blinks 3 times with 1Hz and then LED goes off) and make a restart of HomeaAssistant server. After that it shows up in my hardware
/dev/serial/by-id/usb-0658_0200-if00
/dev/ttyACM0

When it is not recognized, both lines are missing under serial.

Do you have an idea, what I could do about this? I am a Linux noob - are there log-files I could provide to analyse the problem?
Is it a problem of the UZB-Stick?
Or is it a problem of my Pi with power-supply during Bootup?

Thank you!

Posts: 1

Participants: 1

Read full topic

Release 111.0 with mini-media player

$
0
0

@Dixey wrote:

Don’t know if it was just me but… I had to reinstall the mini-media player after upgrading to 111.0. Everything else went flawlessly.
(pi3b+, HasOS 4.10, supervisor 227)

Posts: 1

Participants: 1

Read full topic

ZWave to native api (like esphome)

$
0
0

@jarrettv wrote:

I’ll be setting up my zwave network in a few months and it looks like the current best strategy is ZWave2Mqtt running as a separate service. Is that still recommended?

Based on the reliability and speed of esphome devices, has anybody considered a zwave to native api service?

Is this essentially what the built in zwave integration does?

Posts: 1

Participants: 1

Read full topic

X-10 device control not working after 111.0 change to pyinsteon

$
0
0

@glyndon wrote:

Up to 110.7, control of X-10 devices (switches, lights) was working.
There’s a noted change in the release notes, but the entity IDs are still there, and the log shows activity when attempting to operate an x-10 switch or light, but the device does nothing.
I’ve power-cycled the Insteon PLM itself, and of course restarted HA numerous times.
What details or logs can I supply to help diagnose?

Posts: 1

Participants: 1

Read full topic


Custom Thermostat Card in Lovelace

$
0
0

@xbonnaire wrote:

Hi everyone,

First I must say that Home Assistant is a great software and I really appreciate all the features it offers.

I have recently bought a new low consumption heating panel, which can be controlled through the Tuya platform. Due to a main bug in this platform, I can only control my panel using the heating_mode: auto or heating_mode: off with a climate service call. It is impossible to get the actual temperature from the panel and also impossible to set the target temperature. All is working fine from the Tuya app on my phone. As I can only switch ON or OFF the panel with the Tuya integration, I decided to build my own thermostat using Node-Red and a Xiaomi Aqara sensor for the temperature. My red-node flow is working perfectly to control the panel.

Now what I want to do is to build a card for lovelace with the following look.

I have installed the custom button-card with HACS, as it seems to be a good option to do this. However, I cannot figure out how to use the grid feature to make my custom thermostat. Maybe with a combination of vertical and horizontal stacks, but I don’t want any border around each item of my thermostat card.

So any idea or help to build such a custom thermostat card will be appreciated.

Thanks for your help.

Posts: 1

Participants: 1

Read full topic

Problems setting Insteon after been beta tester

Daikin Skyfi and 0.111.0 - first time use - no zones detected

$
0
0

@poundy wrote:

I’m a new HA user and have been waiting for the 0.111.0 update to land so I could set up the SkyFi integration. If it matters, running on a bright shiny new RPi4, with HassOS 4.10, python_version 3.7.7, supervisor 227, and just installed version 0.111.0 this morning AU time.

I can’t be sure of the model of skyfi I have as it was never sold with a code - but from https://www.home-assistant.io/integrations/daikin/ it should be the AU SkyFi unit (the very early one, now discontinued, that the SkyFi app works against). This one presents the zones in the app, and they can be toggled.

When I set up the integration once the update was applied, I can now see the unit, can see it’s on or off, can see the internal and external temperature sensors, so that’s all good… but what I can’t see is zones. The above link says that the integration should expose switches, but mine aren’t detected.

Not really knowing much about HA nor the integration, not really sure how to start diagnosing from here - happy to take suggestions!

cheers
Brett

Posts: 2

Participants: 1

Read full topic

Problems with a template not providing expected results in Lovelace card

$
0
0

@brucek1642 wrote:

I am trying to use a template in button card but not getting the expected results. I think it is because the the result of the template is not a proper string.

This is how I want the results to end up

tap_action:
  action: url
  url_path: 'http://172.16.0.176'

Except that I want the url entry to come from a template. These are the three versions I have tried in the developer template tool and they all seem to work fine there, but not as the url_path in button card.

{{ "http://"~state_attr('sensor.tuyad7_status', 'IPAddress')}}

{{'http://'}}{{state_attr('sensor.tuyad7_status', 'IPAddress')}}

http://{{ state_attr('sensor.tuyad7_status', 'IPAddress') }}

Any ideas ?

Posts: 1

Participants: 1

Read full topic

Sun based automation help?

$
0
0

@cam.wynd wrote:

I’ve got all my hardware working finally, but I could use some help on the automation side.

I’ve got my front hall monitored by a motion sensor, that successfully turns on the light when motion is seen, which is good. What I can’t figure out is how to have this happen only a half hour before sunset until a half hour after sunrise. I have this in the automation:

after: sunrise
after_offset: '+00:30:00'
before: sunset
before_offset: '-00:30:00'
condition: sun

But it doesn’t have any impact on time of day triggering. Can anyone suggest where I’m going wrong?

Thanks.

Posts: 2

Participants: 2

Read full topic

Viewing all 96092 articles
Browse latest View live


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