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

Automation with Xiaomi Motion Sensor and Sonoff with Tasmota

$
0
0

@Pawko wrote:

Hi guys,

After a lot of try and error I managed to add xiaomi gateway and flashed sonoff switch into HA.

Now I’m trying to make simple automation with xiaomi motion sensor and lights connected to sonoff switch. I’ve tried with node-red tutorials and HA automation to make it work but no luck.

I have decided to do it in node red and those are two options that i tried.

[{"id":"94cabccd.e116f","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"b850c9fe.974278","type":"server-state-changed","z":"94cabccd.e116f","name":"sensor","server":"18ba1fad.acec7","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.motion_sensor_158d000309fabe","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":70,"y":80,"wires":[["ce470a2e.02f678"],["6d293437.10707c"]]},{"id":"ce470a2e.02f678","type":"api-call-service","z":"94cabccd.e116f","name":"Bathroom Light On","server":"18ba1fad.acec7","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"switch.tasmota","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":730,"y":60,"wires":[[]]},{"id":"6d293437.10707c","type":"ha-wait-until","z":"94cabccd.e116f","name":"","server":"18ba1fad.acec7","outputs":2,"entityId":"binary_sensor.motion_sensor_158d000309fabe","entityIdFilterType":"exact","property":"state","comparator":"is","value":"on","valueType":"str","timeout":"2","timeoutType":"num","timeoutUnits":"minutes","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":560,"y":180,"wires":[[],["cf1b36d9.1b9798"]]},{"id":"cf1b36d9.1b9798","type":"api-call-service","z":"94cabccd.e116f","name":"Bathroom Light Off","server":"18ba1fad.acec7","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"switch.tasmota","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":810,"y":160,"wires":[[]]},{"id":"18ba1fad.acec7","type":"server","z":"","name":"Home Assistant","addon":true}]
[{"id":"93451ad6.b51658","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"5859daff.cc49e4","type":"server-state-changed","z":"93451ad6.b51658","name":"sensor","server":"18ba1fad.acec7","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.motion_sensor_158d000309fabe","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":70,"y":80,"wires":[["e8bfd65d.b32158"],["e8bfd65d.b32158"]]},{"id":"b4ce8eff.ef88","type":"api-call-service","z":"93451ad6.b51658","name":"Bathroom Light On","server":"18ba1fad.acec7","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"switch.tasmota","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":730,"y":60,"wires":[[]]},{"id":"119b760b.8328da","type":"api-call-service","z":"93451ad6.b51658","name":"Bathroom Light Off","server":"18ba1fad.acec7","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"switch.tasmota","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":810,"y":160,"wires":[[]]},{"id":"e8bfd65d.b32158","type":"switch","z":"93451ad6.b51658","name":"on or off","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"On","vt":"str"},{"t":"eq","v":"Off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":410,"y":120,"wires":[["b4ce8eff.ef88"],["fdbcb213.372a1"]]},{"id":"fdbcb213.372a1","type":"trigger","z":"93451ad6.b51658","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"2","extend":false,"units":"min","reset":"On","bytopic":"all","name":"trigger","x":550,"y":160,"wires":[["119b760b.8328da"]]},{"id":"18ba1fad.acec7","type":"server","z":"","name":"Home Assistant","addon":true}]

Amount of tutorials and different methods is overwhelming, still coundn’t find the solution.
I would appreciate if someone can help me with that :slight_smile: .

Thanks in advance.

edit: Sonoff switch is connected to HA with MQTT

Posts: 1

Participants: 1

Read full topic


Show sensor value from 24 hours previous

$
0
0

@radeon wrote:

Heya,

Could any one help me in displaying the state of a temp sensors value from 24 hours previous?

I have a couple of temp sensors for my pool and I’d like to show their live read plus show the value that same sensor had 24 hours previous.

I was hoping the history_stats sensor platform would do what I need but it looks like it will only work within time frames and not just the exact stat 24 hours previous.

Can anyone give me any suggestions?

Thanks!

Posts: 1

Participants: 1

Read full topic

Time now + x hours:minutes

$
0
0

@prankousky wrote:

Hi everybody,

I already read this, but don’t currently understand how to modify it to fit my needs.

I have a template sensor to convert remaining ETA from octoprint sensor in seconds to hours:minutes. This is the sensor

sensor:
  - platform: template
    sensors:
      mk3s_minutes:
        friendly_name: "Prusa MK3S Time Remaining Time"
        unit_of_measurement: "Restzeit"
        value_template: "{{ states('sensor.prusa_mk3s_time_remaining') | float | timestamp_custom('%R', false) }}"

The current value of this sensor is 07:33 Restzeit, and the sensor will update accordingly (meaning it works as expected).

Question

How can I add this to something like {{ now().hour}}:{{ now().minute }} to display not in how much time the print will be done, but when? I believe I’d know the solution if this was decimal math, but this is hours and minutes, so I have no clue how to add this.

Can you please help me out? This should currently display something like 22:33 (it’s about 3pm and about 7h33m are left).

Thank you for your help :slight_smile:

Posts: 1

Participants: 1

Read full topic

Best way to backup HA core in Docker

$
0
0

@burg93 wrote:

I’m running HA core via Docker on a Pi4 and since I’m starting to use it more and more I need to look at getting backups sorted sooner than later! My plan is to create a single backup file and to use rclone to back that up to onedrive for offsite storage. I was also looking to scp the file to another pi I already have running on the network that I can just spin up an immediate duplicate if my main device is down with little/no downtime.

If I were running it Haas.io it looks really easy to create a “snapshot” and that can just be backed up but I don’t think there’s anything out the box similar for core sadly? So in that case does anyone have any example scripts they’ve used for a similar approach?

I’m guessing something along the lines of running the unix tar command on the home assistant directory ( (with the history db excluded) and then just backup that archive? Thanks!

Posts: 2

Participants: 2

Read full topic

Hue motion sensor query

$
0
0

@burg93 wrote:

I have a feeling I might not be able to do this with my current setup but it’s worth an ask.

I currently have HA manage my lighting via the hue hub. The hallway motion sensor turns on the lights for x minutes when it detects motion and then turns them off as you’d expect. That is setup via the hue app as the latency between the motion sensor and HA is too great (without a separate zigbee interface I assume).

What I want is that if I turn on the hallway lights “manually” i.e. via google assistant or HA they should stay on until I turn them back off but if they’re turned on by motion they should carry on as they do now and turn off after x minutes. I think I can do this if it’s all managed in HA as I could do a simple “if already on/off” condition but I’m guessing I can’t do this with my current setup? If that makes any sense! Thanks.

Posts: 1

Participants: 1

Read full topic

How to get MQTT Broker working

$
0
0

@vpa wrote:

I don’t now, how to get MQTT Broker working.
I’ve been made with tuya-convert on Raspberry Pi4B two plugs with Tasmota last version.
A few days I add Zigbee deCONZ.
I have been add MQTT Broker plugin from Supervisor and confirure it at integration a week ago with option discovery. (I’ve been tried to remove plugin and add MQTT from integrations, but it always shows an error that couldn’t connect to broker.)
Because Home Assistant has new integrations view, older videos not working and didn’t help.
I don’t know how to get this working.
I add SetOption19 1 and SetOption30 1 at Tasmota Console too. I see output at console.
But I don’t see anything in Home Assistant.

Posts: 1

Participants: 1

Read full topic

Light dimming with jinja template in scripts.yaml

$
0
0

@ymatsigin wrote:

Hi!

I’m trying to write a script for slow dimming a light from 50 to 200 brightness.
In a simple way it’s just a set of blocks in scripts.yaml like this:

'1589654337355':
  alias: VR1.LD2 Smooth Maximum
  sequence: 
  - data:
      brightness: 50
    entity_id: light.3431760284f3ebf92381
    service: light.turn_on
  - delay:
      milliseconds: 500
  - data:
      brightness: 51
    entity_id: light.3431760284f3ebf92381
    service: light.turn_on
  - delay:
      milliseconds: 500
...
  - data:
      brightness: 200
    entity_id: light.3431760284f3ebf92381
    service: light.turn_on

But this needs too much text for this simple task. So I’ve decided to optimize it with templating:

'1589654337355':
  alias: VR1.LD2 Smooth Maximum
  sequence: {% for br in range(50,200,1) -%}{% raw %}
  - data:
      brightness: {% endraw %}{{br}}{% raw %}
    entity_id: light.3431760284f3ebf92381
    service: light.turn_on
  - delay:
      milliseconds: 500
{% endraw %}{%- endfor %}

This works as expected in template editor, but pasting this to scripts.yaml causes error

Error loading /config/configuration.yaml: while scanning for the next token found character '%' that cannot start any token in "/config/scripts.yaml", line 3, column 14

Next I’ve tried to make quotes around template items:

'1589654337355':
  alias: VR1.LD2 Smooth Maximum
  sequence: "{% for br in range(50,200,1) -%}{% raw %}"
  - data:
      brightness: "{% endraw %}{{br}}{% raw %}"
    entity_id: light.3431760284f3ebf92381
    service: light.turn_on
  - delay:
      milliseconds: 500
"{% endraw %}{%- endfor %}"

But this causes error:

Error loading /config/configuration.yaml: while parsing a block mapping in "/config/scripts.yaml", line 2, column 3 expected <block end>, but found '-' in "/config/scripts.yaml", line 4, column 3

Will be very pleased if you can recommend me correct format for template in scripts.yaml or give a sample code for similar task

Thank you!

Posts: 1

Participants: 1

Read full topic

Invalid config and unable to restart server

$
0
0

@varyamereon wrote:

Hi there,

I am fairly new to the world of Home Assistant, just got everything set up on my Raspberry Pi 4 how I wanted it and then have run into a config issue where I am unable to restart my Pi from the frontend. I am seeing this in the logs:

2020-05-17 16:30:05 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall homeassistant.restart (c:912713c2e38847ddb1573d8012b6c4c8)>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1263, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1282, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 272, in async_handle_core_service
    errors = await conf_util.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/config.py", line 830, in async_check_ha_config_file
    res = await check_config.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 177, in async_check_ha_config_file
    p_validated = platform_schema(p_validated)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 208, in __call__
    return self._exec((Schema(val) for val in self.validators), v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 283, in _exec
    v = func(v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 734, in key_value_validator
    f"Unexpected value for {key}: '{key_value}'. Expected {', '.join(value_schemas)}"
TypeError: sequence item 0: expected str instance, NoneType found

I understand the basic error message at the bottom but I’m not sure where to look for the issue. A quick look through my config files doesn’t throw up anything obvious.

Anyone seen this or can point me in the right direction?

Thanks!

Posts: 3

Participants: 2

Read full topic


Cannot get my head around MQTT Publish and IRSend Command of complex string

$
0
0

@danioj wrote:

Hello All,

Posting this as a last straw before I go to bed and dream about the hair I wish I still had after I’ve just pulled out of my head trying to figure this issue out. I have mqtt publish commands set up pretty well for simple strings but I am trying to send a more complex one as a POC for an IR Blaster I have.

I captured the IR code to turn off the TV easy enough. I run the following command just perfectly from the console of the Tasmota-IR flashed device:

IRSend {"Protocol":"SAMSUNG","Bits":32,"Data":"0xE0E040BF","DataLSB":"0x070702FD","Repeat":0}

My console output is this:

15:29:38 CMD: IRSend {"Protocol":"SAMSUNG","Bits":32,"Data":"0xE0E040BF","DataLSB":"0x070702FD","Repeat":0}
15:29:38 MQT: stat/mirgen_ir_livingroom/RESULT = {"IRSend":"Done"}

TV turns off - perfect.

However, I cannot for the life of me find how to turn that into a script that I can call in HA. My latest effort (which does not work) is this:

data:
  payload: >-
    {"Protocol":"SAMSUNG", "Bits":32, "Data":"0xE0E040BF",
    "DataLSB":"0x070702FD", "Repeat":0}
  topic: tele/mirgen_ir_livingroom/IRSend
service: mqtt.publish

Would someone please mind casting an eye over this to see what I might be doing wrong?

I appreciate the time in advance.

Posts: 1

Participants: 1

Read full topic

How to use a variable in a action entity?

$
0
0

@michel72 wrote:

Hi,

I am trying to turn on 3 different switches based on a input select choice:

input_select:
  vent1:
    name: vent 1
    options:
      - Open
      - Half
      - Close
    icon: mdi:air-filter

The switches are:

switch1.vent1_open
swicht1.vent1_half
switch1.vent1_close

automation:
- id: vent1_action
  alias: vent 1 action
  trigger:
    platform: state
    entity_id: input_select.vent1
  action:
    - service: switch_turn_on
      data_template:
        entity_id: 
          value_template: "switch.vent1_'{{ states.input_select.vent1.state }}"

I am hopeless at this stuff. Can someone point me in the right direction?

Posts: 1

Participants: 1

Read full topic

Probability of rain with NWS

$
0
0

@KTibow wrote:

Hi. I’m trying to find the chance of rain from my NWS integration. The only thing is, I don’t see an attribute for precipitation_probability in general. I only see it in forecasts.
Am I supposed to get the first value of the forecast and find the probability? How am I supposed to do it with a template? I know it’s possible, because simple-weather-card can show me the chance of rain just fine. Here’s the properties:

temperature: 55
humidity: 89
pressure: 29.74
wind_bearing: 150
wind_speed: 8
visibility: 10
attribution: Data from National Weather Service/NOAA
forecast:
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-17T07:00:00-07:00'
    condition: rainy
    precipitation_probability: 50
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-17T08:00:00-07:00'
    condition: rainy
    precipitation_probability: 50
    wind_bearing: 180
    wind_speed: 6
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-17T09:00:00-07:00'
    condition: rainy
    precipitation_probability: 50
    wind_bearing: 180
    wind_speed: 6
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-17T10:00:00-07:00'
    condition: rainy
    precipitation_probability: 50
    wind_bearing: 180
    wind_speed: 6
  - detailed_description: ''
    temperature: 60
    datetime: '2020-05-17T11:00:00-07:00'
    condition: rainy
    precipitation_probability: 60
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 63
    datetime: '2020-05-17T12:00:00-07:00'
    condition: rainy
    precipitation_probability: 60
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-17T13:00:00-07:00'
    condition: rainy
    precipitation_probability: 60
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 66
    datetime: '2020-05-17T14:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 6
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-17T15:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 6
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-17T16:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 6
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-17T17:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 9
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-17T18:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 9
  - detailed_description: ''
    temperature: 65
    datetime: '2020-05-17T19:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 9
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-17T20:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 6
  - detailed_description: ''
    temperature: 58
    datetime: '2020-05-17T21:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 6
  - detailed_description: ''
    temperature: 55
    datetime: '2020-05-17T22:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 6
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-17T23:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 22.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-18T00:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 22.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-18T01:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 22.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-18T02:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 45
    wind_speed: 5
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-18T03:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 45
    wind_speed: 5
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-18T04:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 45
    wind_speed: 5
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-18T05:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 22.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-18T06:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 22.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-18T07:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 22.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-18T08:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 55
    datetime: '2020-05-18T09:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 58
    datetime: '2020-05-18T10:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-18T11:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 8
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-18T12:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 8
  - detailed_description: ''
    temperature: 66
    datetime: '2020-05-18T13:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 8
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-18T14:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 8
  - detailed_description: ''
    temperature: 68
    datetime: '2020-05-18T15:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 8
  - detailed_description: ''
    temperature: 68
    datetime: '2020-05-18T16:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 8
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-18T17:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 9
  - detailed_description: ''
    temperature: 66
    datetime: '2020-05-18T18:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 9
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-18T19:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 9
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-18T20:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 5
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-18T21:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 5
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-18T22:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 5
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-18T23:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 90
    wind_speed: 3
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-19T00:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 90
    wind_speed: 3
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-19T01:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 90
    wind_speed: 3
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-19T02:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-19T03:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-19T04:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-19T05:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-19T06:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-19T07:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-19T08:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 54
    datetime: '2020-05-19T09:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-19T10:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 58
    datetime: '2020-05-19T11:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 60
    datetime: '2020-05-19T12:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-19T13:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-19T14:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 65
    datetime: '2020-05-19T15:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 65
    datetime: '2020-05-19T16:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 65
    datetime: '2020-05-19T17:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-19T18:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 63
    datetime: '2020-05-19T19:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 61
    datetime: '2020-05-19T20:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-19T21:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 57
    datetime: '2020-05-19T22:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-19T23:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 2
  - detailed_description: ''
    temperature: 54
    datetime: '2020-05-20T00:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 2
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-20T01:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 2
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-20T02:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-20T03:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-20T04:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-20T05:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-20T06:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-20T07:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 3
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-20T08:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 54
    datetime: '2020-05-20T09:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 55
    datetime: '2020-05-20T10:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 57
    datetime: '2020-05-20T11:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 6
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-20T12:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 6
  - detailed_description: ''
    temperature: 61
    datetime: '2020-05-20T13:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 6
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-20T14:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 63
    datetime: '2020-05-20T15:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 63
    datetime: '2020-05-20T16:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-20T17:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 5
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-20T18:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 5
  - detailed_description: ''
    temperature: 61
    datetime: '2020-05-20T19:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 5
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-20T20:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 57
    datetime: '2020-05-20T21:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 55
    datetime: '2020-05-20T22:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-20T23:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 5
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-21T00:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 5
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-21T01:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 225
    wind_speed: 5
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-21T02:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-21T03:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-21T04:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-21T05:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-21T06:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-21T07:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-21T08:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-21T09:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 52
    datetime: '2020-05-21T10:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 55
    datetime: '2020-05-21T11:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 57
    datetime: '2020-05-21T12:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-21T13:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 60
    datetime: '2020-05-21T14:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 60
    datetime: '2020-05-21T15:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-21T16:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-21T17:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 7
  - detailed_description: ''
    temperature: 58
    datetime: '2020-05-21T18:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 7
  - detailed_description: ''
    temperature: 58
    datetime: '2020-05-21T19:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 7
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-21T20:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 55
    datetime: '2020-05-21T21:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-21T22:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 337.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-21T23:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 45
    wind_speed: 3
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-22T00:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 45
    wind_speed: 3
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-22T01:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 45
    wind_speed: 3
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-22T02:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 157.5
    wind_speed: 2
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-22T03:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 157.5
    wind_speed: 2
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-22T04:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 157.5
    wind_speed: 2
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-22T05:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 157.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-22T06:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 157.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-22T07:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 157.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-22T08:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-22T09:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-22T10:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 5
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-22T11:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 58
    datetime: '2020-05-22T12:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 60
    datetime: '2020-05-22T13:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 202.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-22T14:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 2
  - detailed_description: ''
    temperature: 63
    datetime: '2020-05-22T15:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 2
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-22T16:00:00-07:00'
    condition: rainy
    precipitation_probability: 0
    wind_bearing: 180
    wind_speed: 2
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-22T17:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 63
    datetime: '2020-05-22T18:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-22T19:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-22T20:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 5
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-22T21:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 5
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-22T22:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 315
    wind_speed: 5
  - detailed_description: ''
    temperature: 51
    datetime: '2020-05-22T23:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 67.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-23T00:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 67.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 49
    datetime: '2020-05-23T01:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 67.5
    wind_speed: 3
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-23T02:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 90
    wind_speed: 1
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-23T03:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 90
    wind_speed: 1
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-23T04:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 90
    wind_speed: 1
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-23T05:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 112.5
    wind_speed: 1
  - detailed_description: ''
    temperature: 47
    datetime: '2020-05-23T06:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 112.5
    wind_speed: 1
  - detailed_description: ''
    temperature: 48
    datetime: '2020-05-23T07:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 112.5
    wind_speed: 1
  - detailed_description: ''
    temperature: 50
    datetime: '2020-05-23T08:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 1
  - detailed_description: ''
    temperature: 53
    datetime: '2020-05-23T09:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 1
  - detailed_description: ''
    temperature: 56
    datetime: '2020-05-23T10:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 0
    wind_speed: 1
  - detailed_description: ''
    temperature: 59
    datetime: '2020-05-23T11:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 270
    wind_speed: 2
  - detailed_description: ''
    temperature: 62
    datetime: '2020-05-23T12:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 270
    wind_speed: 2
  - detailed_description: ''
    temperature: 64
    datetime: '2020-05-23T13:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 270
    wind_speed: 2
  - detailed_description: ''
    temperature: 66
    datetime: '2020-05-23T14:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-23T15:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-23T16:00:00-07:00'
    condition: cloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 5
  - detailed_description: ''
    temperature: 67
    datetime: '2020-05-23T17:00:00-07:00'
    condition: partlycloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 6
  - detailed_description: ''
    temperature: 65
    datetime: '2020-05-23T18:00:00-07:00'
    condition: partlycloudy
    precipitation_probability: 0
    wind_bearing: 292.5
    wind_speed: 6
friendly_name: KBFI Hourly

Posts: 1

Participants: 1

Read full topic

Alexa get disconnected from devices afte 30 minutes

$
0
0

@koram wrote:

Hi all,
I follwed step by step the guide to create an Alexa Skill to execute HA commands.
Using US AWS server for lambda function I was able to enable the skill on Alexa app ( I was getting an error using EU AWS but on this community I found that using US server resolved the issue).
Now the linking works fine, I can connect to Alexa and discover devices but after 30 minutes each time Alexa say Disconnected From server and devices are unavaliable. I need to disable and reenable the skill to get connected again, but after 30 minutes same issue.
Were I was wrong?

Thanks to all!

Posts: 1

Participants: 1

Read full topic

How to make a button reset a counter (lovelace)

$
0
0

@Geltzer wrote:

Hi all

I have an automation that increments a counter everytime the mailbox is opened so I can see if I got mail, but I stuggling to get a rest to work.

what I want is to have a button in lovelace, that resets the counter, this is my current card setup:

type: horizontal-stack
cards:

  • type: entity
    entity: counter.mailcounter
    icon: ‘mdi:mailbox-up-outline’
    name: Post Tæller
  • type: button
    tap_action:
    action: call-service
    service: counter.reset
    hold_action:
    action: more-info
    show_icon: true
    show_name: true
    entity: counter.mailcounter
    name: Reset Post

when I press the button it should call the service "counter reset on the entity: counter.mailcounter
but i just get an error message telling me that i need to include an entity id. but i cant see where to put that and how.
I have read the counter help on homeassistants wiki but it didnt help on that part.
hope you can help

Posts: 3

Participants: 2

Read full topic

How to remove/re-add a non-responding outlet switch (initially added via HomeKit)

$
0
0

@Ronaldt wrote:

I have trouble re-adding an outlet switch that was running in HA before but suddenly stopped responding with an error in the log.

I can’t remove the device/entity from HA because the delete button is disabled in the pop-up. When selecting the checkbox in the entities overview and choosing “remove selected” it says it can only remove 0 of 1 selected entities. :thinking:

I’ve hard-reset the outlet device and re-added it to HomeKit to test if the hardware was failing. Via the Home app on iOS I can toggle the outlet switch no problem.
But the “old” entity is still in HA and it does not recognise a new device (unpaired at Home app first).

Tried asking in Discord but no replies there. Hope you guys can help me out.
Anyone have an idea what I can try next to get the switch back in Home Assistant and the old (non working) entity out?

Posts: 1

Participants: 1

Read full topic

Is there a way to remove this

$
0
0

@mrbilky wrote:

This pops up in vscode is there a way to halt its persistence haven’t found anything yet or should I not be concerned?

code-server is being accessed over an insecure domain. Web views, the clipboard, and other functionality will not work as expected.

Posts: 1

Participants: 1

Read full topic


Building out my ZHA network

$
0
0

@cannfoddr wrote:

I am taking the plunge and migrating my Z-Wave sensors over to ZHA. I am removing the Z-Wave Door Sensors and am replacing them with Aquara ones. Most of these are working fine but my Back Door sensor which was working is now coming up as unavailable.

Having read around the subject I am looking to add some powered router nodes to the network. I am looking for recommendations of what I could use?

I already have Hue and Trader lights talking to a Hue Hub.

Posts: 1

Participants: 1

Read full topic

Switch.broadlink for RM pro plus 2 "could not be set up"

$
0
0

@richaldalbin wrote:

Hello all, hope everybody’s fine. I have been working hard to set up Home Assistant (presently 0.109.6, System HassOS 3.13) to control my roller blinds according to the sun set and rise time. I feels there is much to be proud at all I’ve achieved: It’s up and running, I have some Hue lights automation working, I succeeded in grabbing RF codes with Broadlink Manager, which also identifies my Broadlink as rm2_pro_plus2. (I can send a command to a blind with it also) Next think is to get a basic communication with Broadlink with HA. No success after reading everything. I am anxious to start automating the blinds. I feel I might be close…

I first set this up as Remote, thinking I would be able to call the service “remote.send.command” on entity “remote.broadlink” that shows up in the Developer Tools, like this:

remote:
  - platform: broadlink
    host: 192.xxx.0.xx
    mac: xx:43:0D:xx:9C:xx

but I need a Devide ID and a command to send, don’t know where to set those up. (I thought I could send a RF string but apparently not)

I also read that it should not be set up as remote, but as a switch, so I tried this, but I get “The following integrations and platforms could not be set up: Switch.Broadlink” and “Invalid config for [switch.broadlink]: not a valid value for dictionary value @ data[‘switches’][‘blind’][‘command_on’]. Got 'sgB4AhkMDBgNFxkMGAwZCw0YDBgZ…”

switch:
  platform: broadlink
  host: 192.xxx.x.xx
  mac: B4:xx:xx:xx:xx:xx
  type: rm2_pro_plus2
  timeout: 15
  switches:
    blind:
      friendly_name: "Store 1 ouvrir fermer"
      command_on: 'sgB4AhkMDBgNFxkMGAwZC....'
      command_off: 'sgC8AhgMDRcNGBgM....'

I erased all the automations I had on the Broadlink app so it is not because of Cloud setup interfering.

I see two Broadlink instances connected with my wifi router, but only one works to make appear a broadlink.remote entity so I disregard the other one.

Would someone willing to help me ? Thank you for your interest, I would appreciate immensely. (I tried to use backticks to make the code readable, to no avail, sorry !)

Posts: 1

Participants: 1

Read full topic

Shopping List - Removed from config, will not go away

$
0
0

@GnomeAssistant wrote:

First, thank you, everyone, for putting together a great solution and supporting it as a community.

I’ve perused the internet and can’t find a solution to this. I tried the shopping_list by adding it to my config file, created a card or two, decided it wasn’t for me and removed the entry from my config file (and restarted).

The card is still available and shopping list is still present on my (crowded) sidebar.

At a minimum, I want the space back on the sidebar. But more completely, this seems like a bug. Is this something other features do, too? I know I can’t get rid of the history tab…

Can someone help? I’ll keep looking.

If you’re seeing this and it’s not marked solved, I didn’t find an answer.

Posts: 2

Participants: 2

Read full topic

Secondary_info: last-changed only show when binary_sensor.X is switched on

$
0
0

@ladaowner wrote:

`entities:

  • entity: binary_sensor.door_window_sensor_158d0002027f13
  • entity: binary_sensor.motion_sensor_158d0002236c25
  • entity: binary_sensor.washmachine
    secondary_info: last-changed`

Any ideas on how to show secondary_info: last-changed only when binary_sensor.washmachine is switched on.

Posts: 1

Participants: 1

Read full topic

Automate yaml documentation?

$
0
0

@jon102034050 wrote:

As I get more and more automations, I find it harder and harder to remember details of automations. Wondering if anybody has ever done any automatic yaml documentation through github actions? Here’s what I’m thinking - a python script that runs when you commit your config to master that parses all yaml automations and dumps them into a table with things like alias, triggers, actions, etc. Probably pretty easy to come up with this script, but I’d rather not re-invent the wheel if somebody has already done this! If there’s interest, I’ll see if I can come up with something :smiley:

Posts: 1

Participants: 1

Read full topic

Viewing all 108671 articles
Browse latest View live


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