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

433Mhz Remote Code Keeps Changing

$
0
0

@ethanthekiwi wrote:

My goal is to be able to use a 433Mhz Etekcity remote to control various things in Home Assistant so I can turn off a lamp at night without having to yell at a voice assistant. I don’t actually want to use the 433Mhz power outlets (I’ll use WiFi plugs instead since they can report their current state) just the remote.

I first tried setting up the Sonoff RF Bridge with Tasmota following Dr Zzs’ guide. Once I set that up and pressed the “1 On” button repeatededly, I get non-unique values in data and some of the other fields if they matter.

01:28:41 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:28:41","RfReceived":{"Sync":6060,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:28:45 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:28:45","RfReceived":{"Sync":6060,"Low":220,"High":590,"Data":"505532","RfKey":"None"}}
01:28:48 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:28:48","RfReceived":{"Sync":6060,"Low":220,"High":600,"Data":"505500","RfKey":"None"}}
01:28:54 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:28:54","RfReceived":{"Sync":6060,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:28:58 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:28:58","RfReceived":{"Sync":6050,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:29:02 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:29:02","RfReceived":{"Sync":6020,"Low":220,"High":600,"Data":"505533","RfKey":"None"}}
01:29:04 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:29:04","RfReceived":{"Sync":6050,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:29:06 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:29:06","RfReceived":{"Sync":6060,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:29:08 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:29:08","RfReceived":{"Sync":6050,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:29:11 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:29:11","RfReceived":{"Sync":6060,"Low":220,"High":590,"Data":"505500","RfKey":"None"}}
01:29:13 MQT: tele/Sonoff_rfbridge/RESULT = {"Time":"2020-03-28T01:29:13","RfReceived":{"Sync":6070,"Low":210,"High":600,"Data":"505530","RfKey":"None"}}

This forum post suggested trying ESPurna instead of Tasmota, but when I tried to upload the firmware via Tasmota’s web interface (even with SetOption78 1) I would get an error, Upload buffer miscompare. When I tried flashing via the pins, it felt like pressing the reset button wasn’t putting it into flashing mode, tried several times and kept getting Failed to connect errors.

So then I tried a different tack and hooked up a MX-05V to an ESP8266 running ESPhome. But when I press “1 On”, I get different codes each time.

[05:26:54][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=5 data='1000110000'
[05:31:58][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=6 data='101001001'
[05:56:17][D][remote.rc_switch:243]: Received RCSwitch Raw: protocol=5 data='11111101'

So am I doing something wrong somewhere? Or does this mean I probably can’t use this particular Etekcity remote? Is there a better way to simply get a few buttons that I can push to trigger things in Home Assistant (so far I’ve only got WiFi devices)?

Posts: 2

Participants: 2

Read full topic


Amazon rekognition

$
0
0

@jak123uk wrote:

Hey, just after some guidance and information from people that might be using Amazon Rekognition. I’m aware that it can detect objects and faces, and then you can in theory Assign a name to the face. So could I say that once it “learns someone’s face” I could create an automation for it to only open my door lock if the face is above a certain accuracy % ?
Thanks in advance!

Posts: 1

Participants: 1

Read full topic

Google Home Events as a trigger

$
0
0

@Dexter1759 wrote:

Hi All,

I set up Home Assistant and Node-Red a little while back but haven’t really done anything with it. One of my primary goals is to set up custom automation based on Nest Camera Events, e.g. “if person detected in a specific zone between certain hours, then do this…”.

Unfortunately, my timing of buying the Nest cameras was terrible, I have a Nest account, not a Google account, but was too late to set up any automations using the old method.

I noticed in Google Home app, if I transfer my Nest account over to Google, I can get Nest Cam Events in my Google Home feed. Does anyone know if this is/can be sent to/used by HA?

I would even be willing to try out Home Assistant Cloud for the simplicity and security of linking the two together if it works. I’m a pretty techy guy, but my Sky router won’t let me add any port forwarding and the customer service is a PITA when it comes to technical issues.

Apologies if I waffled on or posted this in the wrong place. I’m just a noob looking for some help and direction.

Posts: 1

Participants: 1

Read full topic

Changing state of light

$
0
0

@irwin wrote:

Dear community,

I’m working on getting my home assisant work with curl-scripts. I want to POST a JSON-string where I can turn my light on. I use the following line in a bash file:

curl -X POST -H "Authorization: Bearer ABCDEF" -H "content-type: application/json" -d " {\"state\": \"on\"}" http://xxx.xxx.xxx.xxx:8123/api/states/switch.light_tl

In the home assisstant you can actually see the script is working (the slider turns on) but when I execute the script the light won’t turn on. Is there something wrong with my curl command?

Thanks for the help in advance,

Posts: 2

Participants: 2

Read full topic

How to use a status attribute in LoveLace card

$
0
0

@RienduPre wrote:

Hi,

I searched through many posts, but could not find a solution that worked ( or maybe I’m just too unexperienced)

I have this entity
Schermafbeelding 2020-04-23 om 14.25.00

And wanted to show the Uptime in a LoveLace card.
By default it shows the state (good)
Schermafbeelding 2020-04-23 om 14.21.04

What do have to do to show other items like the uptime?

thanks in advance

Posts: 2

Participants: 2

Read full topic

Battery level and LQI not accessible for certain devices

$
0
0

@NMe84 wrote:

I have six of the same Zigbee-enabled TRVs. For some reason only one of them updates its battery level and LQI. The others show this:

fhiB2V4EKV9iqxbdZ1COpIGr
yrCTiS562zngBiT6G7KP7e1F

Note the “This entity is not currently available” message in the first screenshot and the icons and lack of values in the second. The single device (as said, of the same type and model) that does work, looks like this:

1Sf6N9MbX5wBq4wFNujDfYBz

This is the information the device shares in the zigbee2mqtt topic in my MQTT broker:

{
  "local_temperature": 20,
  "occupied_heating_setpoint": 5,
  "unoccupied_heating_setpoint": 16,
  "pi_heating_demand": 0,
  "linkquality": 31,
  "current_heating_setpoint": 5,
  "eurotronic_host_flags": {
    "mirror_display": false,
    "boost": false,
    "window_open": true,
    "child_protection": false
  },
  "system_mode": "off",
  "eurotronic_system_mode": 17,
  "eurotronic_error_status": 0,
  "battery": 100,
  "battery_low": 0
}

So it’s clearly sharing the information on that level. Home Assistant’s topic in MQTT looks like this for the relevant devices:

The top device (the one ending in 7c6e) is the one that’s working, the others only report and expose their climate settings. From what I can tell this means that the device’s existence as well as its current state are being shared with HA.

To clarify, I can read and adjust the heat on all six devices, so they are working and reporting their temperatures correctly. I just can’t see their battery levels and LQI in HA.

Some details that might be relevant:

  • I changed the name of the device to something human-readable, as you can see.
  • When prompted I told HA to update the entity names as well.
  • My zigbee mesh network currently consists of a coordinator, 14 routers and 18 non-router devices.
  • When I load the device page the list of entities, the battery and LQI entities show up immediately, though without values and with the eye icon instead of their respective ones. The climate entity shows up a little later sometimes.

Is there anyone who has any idea what I screwed up?

Posts: 1

Participants: 1

Read full topic

List of all my integrations

$
0
0

@SpacemanSpiff wrote:

Hi,
quick question: is there a way I can quickly get a list of all the integrations that have been set up in my Home Assistant? Both via yaml as via frontent.
thx

Posts: 1

Participants: 1

Read full topic

Playlists missing in Sonos source list

$
0
0

@Mati24 wrote:

Hello,

I can see all radios of My Sonos, but not all playlist, like in Spotify. I tried to delete them and add them again, restart hass and sonos players, but not better. I see 1/3 spotify playlist, 1/2 sonos playlist.

Someone have an idea ?

Thanks

Posts: 1

Participants: 1

Read full topic


Automation action only if an entity was in previous state for set time

$
0
0

@brendan wrote:

Sorry if this has been asked before. I am struggling with this one.
Basically, I have a presence detection based on NMAP and Location, but sometimes it messes up.
What I want is a information on how to do a condition where it will only fire if away had been on for ten minutes minimum prior to switching back to home.

ie: house_mode previous state away for greater than 10 mins before changing to home then proceed.

I hope I made sense.
Is this possible?

Posts: 1

Participants: 1

Read full topic

Update fails - docker

$
0
0

@une18 wrote:

Ubuntu server - Docker - HA

I have done 3-5 updates, by just pressing the update button and it worked just fine. Now I get errors.


Now getError: Unknown Error, see logs!

20-04-23 13:39:13 ERROR (SyncWorker_13) [supervisor.docker.interface] Can’t install homeassistant/qemux86-64-homeassistant:0.108.8 -> 500 Server Error: Internal Server Error (“Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution”).
20-04-23 13:39:13 WARNING (MainThread) [supervisor.homeassistant] Update Home Assistant image fails

20-04-23 13:44:55 ERROR (SyncWorker_8) [supervisor.docker.interface] Can’t install homeassistant/amd64-hassio-supervisor:219 -> 500 Server Error: Internal Server Error (“Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution”).
20-04-23 13:44:55 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor fails!

What is going on?
for some reason I have 2 Docker images

but container is created based on 1

Posts: 1

Participants: 1

Read full topic

Move "sensor data" from configuration.yaml to config/sensor>sensor.yaml

$
0
0

@jm35 wrote:

hi,
I’d like to make things cleaner so I’ve tried to move my “sensor data” from my configuration.yaml file to a file in a subdirectory config/sensor>sensor.yaml

in my configuration.yaml it was :
sensor:
  - platform: template
    sensors:
      weather_temperature:
        friendly_name: "Temperature Exterieure"
        unit_of_measurement: 'degrees'
        value_template: "{{ state_attr('weather.home', 'temperature') }}"
`
then i remove that and i add :  
sensor: !include_dir_merge_named sensor/

in my sensor.yaml file, i put :

- platform: template
  sensors:
    weather_temperature:
      friendly_name: "Temperature Exterieure"
      unit_of_measurement: 'degrees'
      value_template: "{{ state_attr('weather.home', 'temperature') }}"

when i check my config ==> configuration valid !

but in the UI i get a message :  entity not available 

remark : i've done the same cleaning for input_number , input_select ... and for them it works perfectly.
why it doesn't work for sensor ?

many thanks for your help

Posts: 6

Participants: 3

Read full topic

Using scripts with Goole Assistant

$
0
0

@a94marbo wrote:

Hi
I am having som trouble getting my vacuum script to work over Google assisant.
This is the scrpit:

vacuum_livingroom:
        alias: "dammsug varddagsrum"
        sequence:

          - service: vacuum.send_command
            data:
              entity_id: vacuum.xiaomi_vacuum_cleaner
              command: app_zoned_clean
              params: [[31646,17100,36950,25560,1]]

It works in HA, I can run the script, it starts a zoned clean up in the right area.
I have exposed it to Google assistant in the Home Assistant Cloud config and it shows up in Google Home. I have named it “clean livingroom” in Google Home.

But… When I say “hey google, clean livingroom” it just starts a general full clean if docked, or resumes whatever it did if not docked, like cleaning a zone.

It seems that everything should work, but it doesnt… Aany ideas?

Posts: 1

Participants: 1

Read full topic

Customizing entities - changing friendly names

$
0
0

@euromem wrote:

Hi Folks,
I am sure someone on these forums has an answer for me as I have been completely unable to change the name of an entity after scouring this forum and following the instructions @ https://www.home-assistant.io/docs/configuration/customizing-devices/.
My situation: I am trying to change the name of the SleepNumber bed occupancy sensor & icon.

I have tried the following situations from docs linked above:

  1. Go to Configuration > Entities > and locate sensor “binary_sensor.sleepnumber_firmness_control_sleepiq_dual_boxed_XXXX_is_in_bed” and there is a no edit pencil icon on the right of the list. Clicking on the entity brings up the settings dialog box for entity. Click the filter icon top right opens a second dialog box where I click on the wheel/cog which takes me back to the previous dialog box.
  2. Customization: I have enabled Advanced Mode for my profile and chosen the binary sensor and Choose “Pick an attribute to override”. I chose “other” and entered “friendly_name” and entered a shorter name. Hit save. Reload core and then just for kicks, restart HA.
  3. I created a file customize.yaml and entered the following in it:
homeassistant:
  name: Home
  # etc

  customize:
    binary_sensor.sleepnumber_firmness_control_sleepiq_dual_boxed_XXXX_is_in_bed:
      friendly_name: XXXX in Bed

and I entered the following in my configuration.yaml file:

customize: !include customize.yaml

but every time I start HA and go to run the config validation it gives me an error “Configuration invalid”

I have even tried just taking the customize portion from the customize.yaml file and pasting it directly in my configuration.yaml file.
I cannot figure out how to get this changed.
The last thing I have done is go to Developer Tools > States and choose binary_sensor.sleepnumber_firmness_control_sleepiq_dual_boxed_XXXX_is_in_bed and entered the code and hit save state.

friendly_name: 'SleepNumber Firmness Control, SleepIQ, Dual,Boxed Adam Is In Bed'
device_class: occupancy

None of the above items have worked so far.
Can anyone please help me out here and let me figure this out as it displays the entire sensor entity on the Lovelace card instead of a simple friendly name.
Many many thanks.

Posts: 2

Participants: 2

Read full topic

Netdata with basic authentication

$
0
0

@danlo315 wrote:

Hello - I am having trouble connecting to my netdata. I have a couple of VPSs that I have netdata running. Because they are on VPSs I am using http basic authentication behind reverse proxies. How do I connect to them using the netdata platform?

For example, my host would be https://example.com/netdata

Thanks.

Posts: 1

Participants: 1

Read full topic

Cover arrows, how to change them?

$
0
0

@ladaowner wrote:

basically I have some curtains that open vertically and the current cover arrow icons makes no sense.

Screenshot 2020-04-23 at 16.36.47

how do I change the arrows to look like this? Or something better?

Guessing a custom card might be needed.

Screenshot 2020-04-23

Posts: 2

Participants: 2

Read full topic


Using Linear WT00Z-1 Accessory Switch to trigger HA events

$
0
0

@turtleboy133 wrote:

Right now there’s no available events listed in HA that allow me to detect when the WT00Z-1 has been toggled. However, when you look at the output log (see below), there’s clearly some communication from the WT00Z-1 (node 004).

2020-04-22 18:26:38.845 Detail, Node004,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x04, 0x03, 0x20, 0x01, 0x00, 0xd4
2020-04-22 18:26:38.846 Detail,
2020-04-22 18:26:38.846 Info, Node004, Received Basic set from node 4: level=0.  Sending event notification.
2020-04-22 18:26:38.846 Detail, Node004, Notification: NodeEvent

Any advice on how I can trigger automations when the WT00Z-1 switch is pressed? The WT00Z-1 has two entities associated with it (light and switch). If I set up an automation (see below the log) to be triggered by the light and/or switch turning on/off, nothing shows up in the logbook.

- id: '1587650634356'
  alias: New Automation
  description: ''
  trigger:
  - device_id: 168512246b354055afe5461b1323bf6f
    domain: light
    entity_id: light.master_bedroom_accessory
    platform: device
    type: turned_off
  - device_id: 168512246b354055afe5461b1323bf6f
    domain: light
    entity_id: light.master_bedroom_accessory
    platform: device
    type: turned_on
  - device_id: 168512246b354055afe5461b1323bf6f
    domain: switch
    entity_id: switch.master_bedroom_accessory_switch
    platform: device
    type: turned_off
  - device_id: 168512246b354055afe5461b1323bf6f
    domain: switch
    entity_id: switch.master_bedroom_accessory_switch
    platform: device
    type: turned_on
  condition: []
  action:
  - data:
      message: Switch
      name: Toggling of switch detected
    service: logbook.log

Posts: 2

Participants: 2

Read full topic

Joining 2 HA instances running in different houses in 1 Lovelace

$
0
0

@FunkyBoT wrote:

I would like to see experiences of people who already has done it. I could not find information about it here.
Ways to join the networks (OpenVPN, Wireguard, PPTP), bridging MQTT servers and recreating sensor in the other end and better ways of doing all of this.
All experiences are welcome.

Posts: 1

Participants: 1

Read full topic

How to call a script with alexa, and evaluate the input?

$
0
0

@membersound wrote:

I’ve already set up emulate_hue and successfully trigger a script as follows:

emulated_hue:
  listen_port: 80
  expose_by_default: false
  entities:
    script.testscript:
      name: "Testscript"
      hidden: false
 
testscript:
  sequence:
    - service: notify.mobile_app_me
      data:
        title: "Alexa Input Test"
        message: "how can I get the input here??"

how can I read the input in my script (eg ‘on’ or ‘off’ based on the speech command somebody gave alexa?)

Posts: 1

Participants: 1

Read full topic

Adding A Pico Remote

$
0
0

@Pashovski wrote:

Just got a new Pico remote and am trying to add it. I have a bunch of lutron dimmers working, and most importantly I have the Pro Bridge. I did not install the integration with the Custom Component - i just put in the HomeKit code into the Homekit Integration. Do i have to delete the HomeKit Integration and use the custom component?

Posts: 2

Participants: 1

Read full topic

Template switch not showing up

$
0
0

@wabbastang wrote:

Trying to create a switch to enable manual control of my house fan via Ecobee. I cannot get the switch to show up in HA anywhere. Read high and low and seems like anyone else who had this problem had a yaml formatting error, but it checks out as valid, also copied/pasted numerous other people’s “working” code, can’t get it. I can intentionally muck up the formatting and make it throw an error, so it’s evaluating the code. I built a simple “test” switch in case something with the ecobee was throwing it off, won’t work either. Been in and out with formatting, extra indenting, anything I could change but still have it validate with no luck. Any ideas welcome!!

configuration.yaml
switch: !include switches.yaml

switches.yaml

- platform: template
  switches:
    test_switch:
      friendly_name: "Test switch"
      value_template: "{{ is_state('switch.desk_lamp', 'on') }}"
      turn_on:
        - service: switch.turn_on
          data:
            entity_id: switch.desk_lamp
      turn_off:
        - service: switch.turn_off
          data:
            entity_id: switch.desk_lamp

- platform: template
  switches:
    thermostat_fan_mode:
      friendly_name: "Thermostat Fan Mode"
      value_template: "{{ states.climate.my_ecobee.attributes.fan_min_on_time | int > 10 }}"
      turn_on:
        - service: ecobee.set_fan_min_on_time
          data:
            entity_id: climate.my_ecobee
            fan_min_on_time: 60
      turn_off:
        - service: ecobee.set_fan_min_on_time
          data:
            entity_id: climate.my_ecobee
            fan_min_on_time: 10

Posts: 2

Participants: 2

Read full topic

Viewing all 105625 articles
Browse latest View live


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