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

ISY994 switch not being instantiated in HA

$
0
0

@danmarotta5 wrote:

i recently add two switches (+130 entities) to my ISY994i controller(5.0.16) … but i don’t see them in HA … i can read the value via PYISY … not clear what is wrong … any ideas or similar issues?

Posts: 1

Participants: 1

Read full topic


Moon and sun confused on new system

$
0
0

@Mariusthvdb wrote:

so I reconfigured 2 semi bare systems, and have moon and sun setup on both, without any customization whatsoever.

they show like:

17

10

27

24

so both states are alright, and the more info shows that. But both icons are way off… Sun shows a moon sensor, and the moon shows the incorrect one, at least if the change to have the moon show according to the state has been implemented yet (not really sure, but the pr was merged I think).

What could be going on here? Lets focus on the sun, which is most off :wink:

Posts: 1

Participants: 1

Read full topic

Automation: input_select in condition not working?

$
0
0

@ItsMee wrote:

Hi,

I’m struggeling with this one for a while - hope someone can push me the right way.
My automation works - I’m trying to add a condition that verifies an input_select state.
However, none of the options I tried seems to be right…?

        - condition: template
          value_template: "{% if states.input_select.rolladenstatus.state != 'down' %} true {% else %} false {% endif %} "
#          value_template: "{% if is_states('input_select.rolladenstatus', 'down') %} 1 {% else %} 0 {% endif %}"
#          value_template: "{{ states('input_select.rolladenstatus') != 'down' }}"
#          value_template: "{{ states('input_select.rolladenstatus') not in ['down'] }}"

Same with a bit more context:

  - alias: 'RolladenNew-Sun-Down'
    initial_state: 'on'
    trigger:
      platform: sun
      event: sunset
    #    offset: "00:45:00"
    condition:
      condition: or
      conditions:
        - condition: template
          value_template: "{% if states.input_select.rolladenstatus.state != 'down' %} true {% else %} false {% endif %} "
#          value_template: "{% if is_states('input_select.rolladenstatus', 'down') %} 1 {% else %} 0 {% endif %}"
#          value_template: "{{ states('input_select.rolladenstatus') != 'down' }}"
#          value_template: "{{ states('input_select.rolladenstatus') not in ['down'] }}"
        - condition: time
          after: '17:00:00'
          before: '22:00:00'
          weekday:
            - sat
            - sun
        - condition: time
          after: '17:00:00'
          before: '22:00:00'
          weekday:
            - mon
[..]

Thanks!
ItsMee

Posts: 3

Participants: 3

Read full topic

Wled Random effects

$
0
0

@smith.james0 wrote:

Hi,

I have been trying to create an automation to select a random Wled effect each time it is called.

This is my current automation (non-random)

- id: '1575326339804'
  alias: CarPresence_ON
  description: ''
  trigger:
  - entity_id: binary_sensor.carpresence
    from: 'off'
    platform: state
    to: 'on'
  condition: []
  action:
   - data:
       effect: '[FX=44] Merry Christmas'
       entity_id: light.wled_lights
     service: light.turn_on

To generate the random number effect I used this code

sensor:
  - platform: random
    name: Random Effect
    minimum: 0
    maximum: 82

Then I updated my automation to add the random effect

- id: '1575326339804'
  alias: CarPresence_ON
  description: ''
  trigger:
  - entity_id: binary_sensor.carpresence
    from: 'off'
    platform: state
    to: 'on'
  condition: []
 action:
  - service: mqtt.publish
    data_template:
      topic: wled/all/api
      payload: FX={{ states("sensor.random_effect") }}

But it doesn’t work! From what I can work out Wled likes the effect formatted like this effect: ‘[FX=00] Solid’ instead of FX=00
I have googled but I cannot find an example of this, can anyone help?

Regards
James

Posts: 1

Participants: 1

Read full topic

Resetting password - cannot complete the onboarding process ("Name is already in use" in logs)

$
0
0

@LandonStewart wrote:

I stopped docker and deleted both the ‘.storage/auth’ and ‘.storage/auth_provider.homeassistant’ files then restarted docker. While trying to login I’m redirected to the onboarding system. After filling out the fields the logs say:

2019-12-04 15:20:07 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 122, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 48, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/onboarding/views.py", line 125, in post
    translations[f"component.onboarding.area.{area}"]
  File "/usr/src/homeassistant/homeassistant/helpers/area_registry.py", line 56, in async_create
    raise ValueError("Name is already in use")
ValueError: Name is already in use

How can I complete the onboarding process and get back into my HA installation.

Posts: 1

Participants: 1

Read full topic

Sudden strange errors never seen before

$
0
0

@maurizio53 wrote:

Suddenly after upgrading to 0.102.3 i am seeing in the log all those errors.
Can someone help me to trace and fix them?

2019-12-05 14:25:51 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 122, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/api/__init__.py", line 355, in post
    domain, service, data, True, self.context(request)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/skyq/media_player.py", line 244, in select_source
    self._client.press(self._source_names.get(source).split(','))
AttributeError: 'NoneType' object has no attribute 'split'
2019-12-05 14:26:18 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 122, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/api/__init__.py", line 355, in post
    domain, service, data, True, self.context(request)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/skyq/media_player.py", line 244, in select_source
    self._client.press(self._source_names.get(source).split(','))
AttributeError: 'NoneType' object has no attribute 'split'
2019-12-05 14:28:50 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 122, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/api/__init__.py", line 355, in post
    domain, service, data, True, self.context(request)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/skyq/media_player.py", line 244, in select_source
    self._client.press(self._source_names.get(source).split(','))
AttributeError: 'NoneType' object has no attribute 'split'
2019-12-05 14:30:12 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 122, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/api/__init__.py", line 355, in post
    domain, service, data, True, self.context(request)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/skyq/media_player.py", line 244, in select_source
    self._client.press(self._source_names.get(source).split(','))
AttributeError: 'NoneType' object has no attribute 'split'

Posts: 9

Participants: 3

Read full topic

Automation Trigger Condition

$
0
0

@Wes93 wrote:

I need some help.
I want to make and automation that is triggered from others differents automations and depends of
what is make someting but i don’t know how:
Automation that Triggers:

- id: '1575543714469'
  alias: ProvaScriptSto
  description: ''
  trigger:
  - entity_id: alarm_control_panel.allarme
    platform: state
    to: disarmed
  condition: []
  action:
  - data:
      entity_id: automation.TestErrorAut
    service: automation.trigger

Automation that is triggered

- id: '1575544514622'
  alias: TestErrorAut
  description: ''
  trigger: []
  condition: []
  action:
  - data:
      message: "{% if trigger.entity_id == 'automation.A' %}\n  Funziona\
        \ Message A\n{% elif trigger.entity_id == 'automation.B' %}\n\
        \  TestB\n{% elif trigger.entity_id == 'automation.C'\
        \ %}\n  TestC\n\
        {% endif %}\n"
    service: notify.telegram

Posts: 14

Participants: 4

Read full topic

Utility meter stop showing

$
0
0

@Bojkas wrote:

Hi, I added a utility meter for reading electricity yesterday, it was pretty logical for a while, but today there are some stupid values, it seems to have stuck sometime at night.
Can you give advice?

Configuration

utility_meter:
  celkova_spotreba_hodina:
    source: sensor.celkova_spotreba_1
    cycle: hourly
  celkova_spotreba_den:
    source: sensor.celkova_spotreba_1
    cycle: daily
  celkova_spotreba_tyden:
    source: sensor.celkova_spotreba_1
    cycle: weekly
  celkova_spotreba_mesic:
    source: sensor.celkova_spotreba_1
    cycle: monthly

Sensor
rdmjqesa

Utility meter


Posts: 1

Participants: 1

Read full topic


Need help with mold_indicator sensor

$
0
0

@xalex75 wrote:

Hi.
Before asking here I tried to look everywhere, but probably I’m the only one having troubles with the mold_indicator sensor.
In few day i should receive a xiaomi temperature and humidity sensor.
meanwhile I’m using my AC temperature sensor for indoor temperature, sensor.dark_sky_temperature for outside temperature and sensor.dark_sky_humidity for a “fake” indoor humidity (in reality it’s outdoor).

So the code is:

- platform: mold_indicator
  name: Rischio Muffa Myria
  indoor_temp_sensor: sensor.clima_myria_currtemp
  indoor_humidity_sensor: sensor.dark_sky_humidity
  outdoor_temp_sensor: sensor.dark_sky_temperature
  calibration_factor: 2.0

I don’t know why, but the mold_indicator created assumes an unknown value:

image

and if i try to represent it with an indicator in lovelace I get error about not numerical entity:

As you can see the 3 values requested look ok.
I also tried to convert all to int or all to float, but nothing changes.
I really don’t know what to try…

Posts: 10

Participants: 4

Read full topic

Use Wifi camera direct stream

$
0
0

@Nordin-010 wrote:

Hello guys,

I want to add camera to my HA, but I have some requirements.

I’ll use a Wifi camera, or rather one with UTP cable connection.

HA should only start/stop the camera, the streaming will be done separately. What I hope is that, when the camera is started by HA, the UI connects to the camera separately. This way the streaming will be done via a separate connection outside of HA. This way I don’t burden the HA on RPi. The UI element on HA web app connects to the wifi camera directly. My Wifi router has to forward the connection to the wifi camera, that’s the concept.

How can I realise that?
The reason I ask this, is I found some how-tos where the streaming goes through HA. I want to avoid just that.

Posts: 1

Participants: 1

Read full topic

Voice commands for lots of areas?

$
0
0

@Jonathanese wrote:

Just this past summer I moved from a 600sqft studio apartment to a 3500sqft house with 2 stories and a basement. (Same monthly payment which blows my mind.)

Managing things like voice commands and themes across different rooms and floors was easy because there was nothing to manage. But now it’s kinda chaos.

Currently I have themes set up for the kitchen and bedroom, calling them things like “K Campfire” and “BR Campfire” so they work with those areas rather than the whole house. I’ve gotten it all set up really well on the GUI, but I can completely forget about using my google assistants for anything except “turn all lights on” and “turn all lights off”.

Ideally, I would do something like have a Campfire theme which has all the lights. Then when I say “Turn on Campfire” to the Kitchen google assistant, then it would set the Kitchen lights to the campfire theme without affecting the others. If I do the same for the bedroom google assistant, it would set the bedroom lights to Campfire without affecting others like the kitchen.

Basically, a google assistant in each of the main zones to affect that zone without either changing the whole house, or having to remember atrocious command schemes like “Hey, Google. Tell Home Assistant to set the scene in the kitchen region to Kay Arr Campfire.”

Got any advice related to this or other tips for managing lots of rooms and spaces, particularly with voice commands? Is this what the new feature, “Areas”, will be for?

Posts: 2

Participants: 2

Read full topic

Vacum every second day if nobody home

$
0
0

@Lipown wrote:

Hi I would like to find a way how to trigger a vacuum every second day plus when nobody is at home. It means that if the third day will be somebody present, the trigger wil run next day after.

I am noob programmer so any hints are appreciated.

Posts: 8

Participants: 2

Read full topic

Dimmer lights show as 'on' even when turned off

$
0
0

@paul3 wrote:

I’ve got some dimmer switches (Jasco Products 12724). If I turn them off manually or via HA, they will turn off. But the status of the switch shows them as still on, just dimmed.

I am guessing they are getting polled in the process of getting turned off?

I have tried sending config parameters to get them to turn off faster, but that doesn’t seem to have any affect.

Posts: 4

Participants: 2

Read full topic

Automatic Battery Date Tracker Help

$
0
0

@Bartem wrote:

So I was trying to keep better track of how long my batteries were lasting in some devices… so I made a bunch of input_datetimes and an automation to update them when the corresponding battery levels are 100.
That all seemed to work fine for my devices that update the battery levels regularly… I didn’t mind if the date was off a few days/week until it dropped to 99.
The issue I didn’t really think of was some of my devices only update when the change is like 10% some possibly 30% (some of my zigbee contact sensors)
The problem comes up that after a reboot it is changing the date again, which with the devices that don’t update battery level often it will start to throw the dates pretty far off…
Anyone have any idea how I could prevent it from updating the input_datetime after the initial time it triggers at 100? I was trying to do this as one automation so adding a condition to the automation would prevent the whole thing from firing… so I was hoping I could somehow manage that with the template. I suppose if not my plan would be to split out the automation to devices that update regularly and those that don’t with a condition to see that last time the input_datetime was changed… I think?? :roll_eyes:
Here is the automation:

- alias: Set Battery Changed Datetimes
  trigger:
    - platform: numeric_state
      entity_id:
        - sensor.front_door_lock_battery_level
        - sensor.side_door_lock_battery_level
        - sensor.garage_door_lock_battery_level
        - sensor.bedroom_contact_sensor_battery
        - sensor.sump_pump_alarm_battery_level
        - sensor.front_door_sensor_battery
        - sensor.front_doorbell_sensor_battery       
        - sensor.side_door_sensor_battery
        - sensor.side_doorbell_sensor_battery
        - sensor.scene_switch_battery_level
        - sensor.multisensor_battery_level
      above: 99
      for:
        minutes: 10
  action:
    - service: input_datetime.set_datetime
      data_template:
        entity_id: >
          {% if trigger.entity_id == 'sensor.front_door_lock_battery_level' %}
            input_datetime.front_door_lock_batteries
          {% elif trigger.entity_id == 'sensor.side_door_lock_battery_level' %}
            input_datetime.side_door_lock_batteries
          {% elif trigger.entity_id == 'sensor.garage_door_lock_battery_level' %}
            input_datetime.garage_door_lock_batteries
          {% elif trigger.entity_id == 'sensor.bedroom_contact_sensor_battery' %}
            input_datetime.bedroom_contact_sensor_battery
          {% elif trigger.entity_id == 'sensor.sump_pump_alarm_battery_level' %}
            input_datetime.sump_pump_alarm_battery
          {% elif trigger.entity_id == 'sensor.front_door_sensor_battery' %}
            input_datetime.front_door_sensor_battery
          {% elif trigger.entity_id == 'sensor.front_doorbell_sensor_battery' %}
            input_datetime.front_doorbell_sensor_battery
          {% elif trigger.entity_id == 'sensor.front_door_sensor_battery' %}
            input_datetime.side_door_sensor_battery
          {% elif trigger.entity_id == 'sensor.front_doorbell_sensor_battery' %}
            input_datetime.side_doorbell_sensor_battery
          {% elif trigger.entity_id == 'sensor.scene_switch_battery_level' %}
            input_datetime.scene_switch_battery
          {% elif trigger.entity_id == 'sensor.multisensor_battery_level' %}
            input_datetime.multisensor_battery
          {% endif %}
        date: "{{ as_timestamp(now())|timestamp_custom('%Y-%m-%d') }}"

Posts: 6

Participants: 2

Read full topic

Aqara cube send empty action

$
0
0

@zte wrote:

Hello - i am in big trouble with my aqara cube via zigbee2mqtt …
On mqtt-side all is fine, but the cube send imediately after an defined action message an empty action
so HA could not work with …

{"battery":86,"voltage":2975,"linkquality":65,"angle":-47.81,"side":1,"action":""}
{"battery":86,"voltage":2975,"linkquality":68,"angle":48.2,"side":1,"action":"rotate_right"}
{"battery":86,"voltage":2975,"linkquality":68,"angle":48.2,"side":1,"action":""}
{"battery":86,"voltage":2975,"linkquality":73,"angle":21.51,"side":1,"action":"rotate_right"}
{"battery":86,"voltage":2975,"linkquality":73,"angle":21.51,"side":1,"action":""}
{"battery":86,"voltage":2975,"linkquality":84,"angle":21.51,"side":3,"action":"flip90","from_side":2,"to_side":3}
{"battery":86,"voltage":2975,"linkquality":84,"angle":21.51,"side":3,"action":""}
{"battery":86,"voltage":2975,"linkquality":78,"angle":-12.59,"side":3,"action":"rotate_left"}
{"battery":86,"voltage":2975,"linkquality":78,"angle":-12.59,"side":3,"action":""}
{"battery":86,"voltage":2975,"linkquality":70,"angle":-12.59,"side":4,"action":"flip90","from_side":3,"to_side":4}
{"battery":86,"voltage":2975,"linkquality":70,"angle":-12.59,"side":4,"action":""}

this is an short example of the mqtt messages - the empty action to see
is there a way to solve this ? anyone out who knows how to work with this ?

Please help :slight_smile:

Posts: 2

Participants: 2

Read full topic


iPhone battery status not updating

$
0
0

@tops wrote:

Hi. Updated my iPhone HA app to the new version (2.00) and since then the battery status
from iPhone won’t update anymore. Anyone else got this issue?

Posts: 4

Participants: 2

Read full topic

SmartThings integration. Do you NEED a hub?

$
0
0

@ryan0 wrote:

Everything seems to work fine on setup, except I can not log in to the SmartThings CLASSIC app because I do not have a Welcome CODE from a hub.

I can see the HA app in the new SmartThings app, but when I click to add it, nothings happens on iOS and I get a network error on Android.

Is a hub required or is there a way to get this working using only the ‘new’ SmartThings app?

Thanks.

Posts: 4

Participants: 2

Read full topic

Automation Not Triggering Based on Sensor Value of POW R2

$
0
0

@pug306d wrote:

I am trying to configure an automation that detects when the power level on the Sonoff POW R2 with Tasmota goes below 10W that it turns off the switch but for some reason the automation is never triggered even though the sensor.tumble_dryer_energy_power is less than 10 ?

  alias: Tumble Dryer Finished
  trigger:
  - below: '10'
    entity_id: sensor.tumble_dryer_energy_power
    for: 00:01:00
    platform: numeric_state
  condition:
  - condition: state
    entity_id: switch.tumble_dryer
    state: 'On'
  action:
  - device_id: 5b5db91f1094475190678ca1ad9b5096
    domain: switch
    entity_id: switch.tumble_dryer
    type: turn_off

Posts: 13

Participants: 4

Read full topic

What is the best way to eliminate 'spikes' in temperature/humidity sensors' readings in real time?

$
0
0

@AhmadK wrote:

Hi All,

I use some DIGOO R8H temperature&humidity sensors in my setup and they work very well.
The readings come to HA via RFLink integration.
I noticed on the sensors’ history graph that once in a while, totally randomly, both temperature and humidity readings (they come in one message afaik) get far away from the previous values (namely - the temperature jumps some 10 degrees up and the humidity plunges some 20% down or vice versa). Apparently the next reading is back to normal so the graph looks absolutely fine apart from that momentary glimpse.

I know there are integrations like Filter or Threshold, but they all need some input readings before they start producing output. My physical sensors send their readings every 50 seconds and sometimes I miss a new reading and need to wait for the next one for another 50 seconds (maybe because of poor antenna(s), long distance, interference or a bit of all that - I tried to improve that, but there’s still not ideal). That’s why I just don’t want to use any of these integrations as they will make my slowly-updated sensors even slower and for some applications 2 minutes lag is a bit too much…

So far I use this template sensor to stop that spike propagating:

- platform: template
  sensors:
    rflink_filtered_outdoors_digoo_temperature:
      device_class: temperature
      unit_of_measurement: '°C'
      entity_id:
        - sensor.outdoors_digoo_temperature
      value_template: >
        {% set unknown = 'unknown' %}
        {% set value = states('sensor.outdoors_digoo_temperature') %}
        {% set prev_value = states('sensor.rflink_filtered_outdoors_digoo_temperature') %}
        {% if prev_value == unknown %}
          {{ value }}
        {% else %}
          {% set def_deviation = 5.0 %}
          {% set cur_deviation = states('input_number.thb_sensor_temperature_deviation') %}
          {% set deviation = def_deviation if cur_deviation == unknown else float(cur_deviation) %}
          {{ prev_value if value == unknown or (value | float - prev_value | float)|abs > deviation else value }}
        {% endif %}

It works, but only if the deviation is selected right - if it’s too small (imagine sharp rise/fall in temperature), the template is stuck until the readings get pretty close to the stored value (I witnessed that once).

I wonder if there is a better solution to this issue at all?

Posts: 4

Participants: 2

Read full topic

[SOLVED] Strange behavior with automation front door

$
0
0

@weado wrote:

Hello !

I writed an automation to turn on two light during 10 minutes when I open my front door, only the night. It works well, but when I close and re-open my door, the light turn off immediatly, and I don’t know why. If you have an idea, I’ll take it !

- alias: Lamp
  trigger:
    platform: state
    entity_id: binary_sensor.front_door
    to: "on"
  condition:
    condition: state
    entity_id: sun.sun
    state: 'below_horizon'
  action:
    - service: switch.turn_on
      entity_id: 
        - switch.led
        - switch.lamp
    - delay:
        minutes: 10
    - service: switch.turn_off
      entity_id: 
        - switch.led
        - switch.lamp

Posts: 6

Participants: 3

Read full topic

Viewing all 107107 articles
Browse latest View live


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