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

Problem with condition within action - odd behaviour

$
0
0

@daern wrote:

I have a recent project - a connected doorbell sending in to an RPi hosted HA instance via MQTT. I use it to trigger a broadcast on one (or more) Google Homes and I am very happy with this solution which works well. I now want to add an extra enhancement: when the doorbell is pressed, turning the outside light (Tuya wifi switch) on for 3 minutes, but only if it’s dark. And this is where the problem starts.

When it’s dark, the rule works pretty well (although I do sometimes get an on -> off -> on from the light before it stabilises for the required 3 minutes). The problem is that when it’s light, the light is still being turned on and then off after perhaps 1 second, but weirdly, the notification rules (put in their for fault-finding) are not being triggered. I’m new to HA but I think I’m doing it right. I’ve tried a couple of different (valid) syntaxes for the condition command, but none work correctly.

Any suggestions as to what I’m doing wrong here? The exact automation config I’m using is posted below, with only the identifying URLs and entity IDs changed:

- id: '349873443422'
  alias: Front Doorbell
  description: ''
  trigger:
    payload: front_door_ring
    platform: mqtt
    topic: doorbell
  condition: []
  action:
    - service: media_player.volume_mute
      data:
        entity_id: media_player.broadcast_speakers
        is_volume_muted: false
    - service: media_player.volume_set
      data:
        entity_id: media_player.broadcast_speakers
        volume_level: 0.5
    - service: media_player.play_media
      data:
        entity_id: media_player.broadcast_speakers
        media_content_id: http://www.myserver.com/doorbell-2.mp3
        media_content_type: 'music'
    - condition: and
      conditions:
        - condition: state
          entity_id: sun.sun
          state: 'below_horizon'
    - service: persistent_notification.create
      data:
        message: "Sun down - light on"
        title: "Test"
    - service: switch.turn_on
      entity_id: switch.xxxyyy
    - delay:
        seconds: 180
    - service: switch.turn_off
      entity_id: switch.xxxyyy
    - service: persistent_notification.create
      data:
        message: "Sun down - light off"
        title: "Test"

So, to clarify, when the sun is “above_horizon” (i.e. it’s daytime), the light turns on and then off immediately, but the notifications don’t fire. When the sun is “below_horizon”, the light turns on for 15 seconds and then turns off and the notifications fire accordingly.

Any suggestions or ideas here?

Posts: 8

Participants: 3

Read full topic


Shell_Command crashes HA

$
0
0

@fillwe wrote:

Hello guys!

So a problem started a few days ago, i think it was after 102.2. Whenever the system is firing a shell command, ha crashes. Saw that this was an issue with the stream: component before but have tried to remove that and it didnt work. No error mentioned in the logs. Anyone else got these issues?

`  
shell_command:
kamera_skalskydd: curl 'http://192.xx.x.xx:81/admin?profile=2&lock=2&user=user&pw=password'
`

Posts: 2

Participants: 1

Read full topic

Alarm control panel - disarm code

Tasmota Delays/Timers

$
0
0

@hermes wrote:

Hello,
I am trying to setup a bath room fan. It is supposed to turn with the light switch and to keep going for 20min if the light was on for at least 10min.
Is something like this possible with basic Tasmota rules or do I have to go deeper into the firmware?

In addition I’d like to be able to switch this rule on and off via a flag/timer for winter and summer.

Posts: 1

Participants: 1

Read full topic

Hard time creating a table in Markdown

$
0
0

@Mariusthvdb wrote:

trying to create a card with the aliases setup for Google/Cloud, I am having a hard time showing it nicely in the frontend.

HAd a look at the Markdown cheat code, but tbh, that doesnt really help a lot…
Maybe this is not the right card to do so, but until anyone has a better idea, please would you have a look how I can do better. The efforts for the table are above, below are several others I still need to order and style.

here is a glimpse of what I have now:

54

which looks utterly inadequate, but every time I change a space or a new line, the whole card changes… Html markdown certainly has its own laws of mystery (for me)

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:

      - type: custom:button-card
        template: horizontal-filler

      - type: markdown
        title: >
          Home-assistant Aliases
        style: |
          ha-card { background: 'var(--paper-card-background-color)'; }
        content: |
          ___
          **Switches:**

          | Master bed         | Subwoofer     | Audio setup          |
          |--------------------|:-------------:|:--------------------:|
          |   - Nightlight     |   - Rumble    | - Geluidsapparatuur  |
          |  -  Nachtlamp      |               |                      |
          |                    |               |                      |

          | Audio system       | Early night   | Wakeup radio         |
          |--------------------|:-------------:|:--------------------:|
          |  - Muziek          | - Vroegertje  | - Wakker             |
          |  - Music           |               | - Ellende            |
          |                    |               | - Lawaai             |
          |                    |               | - Stoorzender        |

          | Audio Gym          | Boiler        | Dorm                 |
          |--------------------|:-------------:|:--------------------:|
          |  - Gym audio       | - Boiler      | - Louise             |
          |                    |               | - Dorm               |

          | Espresso           | Kantoor       | Master bedroom switch|
          |--------------------|:-------------:|:--------------------:|
          |  - Koffie          | - Home office | - Oplader            |

          | Netwerk auditorium | Netwerk Dorm  | Netwerk Library      |
          |--------------------|:-------------:|:--------------------:|
          |  Network Auditorium| - Network Dorm|- Network library     |
          |- Network Living    |               |                      |

          | Quooker            | Tv auditorium | Tv hobbykamer        |
          |--------------------|:-------------:|:--------------------:|
          | - Kokend water     | - Televisie   |  - TV library        |

          | Dishes             | Wasdroger     | Wasmachine           |
          |--------------------|:-------------:|:--------------------:|
          | - Vaat             | - Dryer       |  - Washingmachine    |



            Wake NAS
              - Nas

            Toaster
              - broodrooster

          ___
          **Activities:**
            Aan de slag
              - Werk

            Gaming
              - Xbox

            Gym
              - Sports

            Home theater
              - Film kijken
              - Bioscoop
              - Movie

            Naar bed
              - Turn in

            Opstaan
              - Wakker worden
              - Wakeup

            Selamat makan
              - Aan tafel
              - Eten

            Slapen
              - Wel te rusten

            Thuis
              - Arrive home

            Uit huis
              - Leave home

          ___
          **Verlichting:**

            Den
              - Wandverlichting

            Aan de slag verlichting
              - Werk licht
              - Work lights

            Game verlichting
              - Xbox licht
              - Game lights

            Gym verlichting
              - Sport licht
              - Gym licht
              - Gym lights

            Home theater verlichting
              - Tv licht
              - Film licht
              - Movie lights

            Lees verlichting
              - Lees licht
              - Reading lights

            Bed verlichting
              - Bed licht
              - Bed lights

            Opstaan verlichting
              - Wakker licht
              - Opstaan licht
              - Ochtend licht
              - Morning lights

            Selamat makan verlichting
              - Diner licht
              - Eet licht
              - Diner lights

            Slapen verlichting
              - Slaap licht
              - Sleep lights

      - type: custom:button-card
        template: horizontal-filler

Posts: 1

Participants: 1

Read full topic

RESTful Switch for a Pellet Stove

$
0
0

@Noza wrote:

Hey :wink:
Got a newbie question about the Restfull switch.
I’ve got a pellet stove that can be controlled with http commands. As i want to use a generic_thermostat i need to create a switch to turn ON/OFF the stove.

The rest commands are formated like that:
http://192.168.1.xxx/cgi-bin/sendmsg.lua?cmd=COMMAND_HERE

GET+STATUS will return:

{"INFO":{"RSP":"OK","CMD":"GET STATUS","TS":1575311921},"SUCCESS":true,"DATA":{"STATUS":7,"LSTATUS":51}}.

STATUS 1, 2, 3 or 4 means that the stove is ON and 0, 6, 7, 8 or 9 means the stove is OFF
SET+ON will turn on the stove
SET+OFF will turn off the stove

Anyone can help me to create the switch? I’m so lost i don’t even know where to start.

Thanks !

Posts: 2

Participants: 2

Read full topic

SSL Not Secure

$
0
0

@jriker1 wrote:

I think it was and now it isn’t, but anyone know why a site with a GoDaddy SSL certificate would show in Chrome as non secure?

Below are my application.yaml settings:

http:
  base_url: https://<URL>
  server_port: 8123
  ssl_certificate: /ssl/<URL>-chain.pem
  ssl_key: /ssl/<URL>-key.pem

When I pull up the site I get:
image

Also when I click on not secure I get:

image

JR

Posts: 6

Participants: 4

Read full topic

Adding sundown or sun up independancy

$
0
0

@j-snijder wrote:

Is there a way to make my google mini’s switch some lights on or off whenever the sun goes down or up ?

I’d like to switch on the light depending on this, just as for example home wizzard does with their smart switches, so it can be used on everything in my home.

Any answer would be greately appreciated.

Posts: 4

Participants: 3

Read full topic


Cant control or see zwave node, but its in the config and listed as a device

$
0
0

@jimi.wester wrote:

I have three Fibaro Wall plugs.
Two of them works as they should.
The third doesn’t work.
It is listed in zwcfg_???.xml and looks just identical as the other two when I looked it over.
I can see it among all the devices, but I cant get it to show in dashboard, and I cant control it.

Any tips or tricks I can try?
Hassio has an issue with renamed zwave devices so I cant choose it and “repair” or even se it at all in the drop down menu.
But that seems to be a bug since forever.
And that is the next topic to discuss…

First I just want the Wall plug to be usable.

Please help :slight_smile:

Posts: 6

Participants: 3

Read full topic

Help to understand my mistake

$
0
0

@contentore1 wrote:

Hi All,

I’m new in this forum, and new with HA. Tried first Hassbian, then with Hass.io image for RB Pi3b (but it never worked). In the end, I installed Hass.io with docker on Raspbian Buster Lite.

I think all is working quite fine, but I’m here for a question.
All the changes made inside the configuration.yaml seem to have not effect in the overview.

I’m sure doing some mistake somewhere, the question is: where? :frowning:

In the https://.duckdns.org/states is possible to see all the Konnected’s binary_sensor, and generally, all the changes made in the configuration file.

In the https://.duckdns.org/lovelace/default_config is possible to se only (and always) few information:

What I’m doing wrong? I saw many video and read a lot of documentation, and I understood that all the the modifications on the configuration file will be visible in the overview.

Can you give some point of reflection to understand how to solve this mistake?

I’ll be grateful if you could link the right documentation to study for this case.

Bye

Posts: 4

Participants: 3

Read full topic

If-then-else in automation action

$
0
0

@tigerxp wrote:

I’m trying to implement a simple security alarm with multiple control buttons that should a) turn off the alarm if it’s already fired and b) toggle ‘armed’ status of the system if there is no ongoing alarm. Current setup is like following:

input_boolean:
  arm_status:
    name: Arm Status
    initial: off
  alarm_bell:
    name: Alarm Bell
    initial: off

automation:
- alias: Security buttons turn off alarm
  trigger:
    # multiple button triggers, all work fine
  condition:
    condition: state
    entity_id: input_boolean.alarm_bell
    state: 'on'
  action:
    - service: input_boolean.turn_off
      entity_id: input_boolean.alarm_bell

- alias: Security buttons toggle armed status
  trigger:
    # the same long triggers block
  condition:
    condition: state
    entity_id: input_boolean.alarm_bell
    state: 'off'
  action:
    - service: input_boolean.toggle
      entity_id: input_boolean.arm_status

I wonder if I can “merge” these two automations into one. I know from documentation that conditions can be used in action, but as I understood, they can only stop actions at certain point when condition is false, while I need to run different action otherwise. Thanks.

Posts: 2

Participants: 2

Read full topic

Climate and automation

$
0
0

@jorgen_DK wrote:

In my vacation house, I try to automaticly put a heat pump in preset_mode “away” when the sun is down and to “none” preset_mode when sun is up and warming.
But I cannot get the automation to work correct.
It switches to “away” mode in afternoon but it does not go to “none” in the beginning of the day.
What am I doing wrong?

Home Assistant 0.102.0.dev20191110

climate:
  - platform: generic_thermostat
    name: Study
    heater: switch.compressor
    target_sensor: "sensor.room_temperature"
    min_temp: 8
    max_temp: 23
    ac_mode: False
    target_temp: 12
    cold_tolerance: 0.5
    hot_tolerance: 0
    min_cycle_duration:
      minutes: 30
    keep_alive:
      minutes: 5
    away_temp: 12
    
automation:
  - id: 'less_cold_hours'
    alias: none mode
    trigger:
    - event: sunrise
      offset: "03:00:00"
      platform: sun
    action:
    - data:
        entity_id: "climate.study"
        preset_mode: "none"
      service: climate.set_preset_mode

  - id: 'cold_hours'
    alias: Away mode
    trigger:
    - event: sunset
      offset: "-01:00:00"
      platform: sun
    action:
    - data:
        entity_id: "climate.study"
        preset_mode: "away"
      service: climate.set_preset_mode


States:
hvac_modes: heat,off
current_temperature: 15.5
min_temp: 8
max_temp: 23
temperature: 12
hvac_action: idle
preset_mode: away
preset_modes: none,away
friendly_name: Study
supported_features: 17

/Jorgen

Posts: 1

Participants: 1

Read full topic

Zwave network won't start

$
0
0

@FutureTense wrote:

I had an issues where my door lock wasn’t working, so I stopped my Zwave network. Now I can’t get it started again. Here is my OZW log.

I’m running Virtualbox on a Windows 10 host, and my guest is Unbuntu 18.04. I’ve exposed my USB Z-wave dongle.

2019-12-02 16:53:25.157 Always, OpenZwave Version 1.4.3440 Starting Up
2019-12-02 16:54:08.993 Info, Setting Up Provided Network Key for Secure Communications
2019-12-02 16:54:08.993 Info, mgr,     Added driver for controller /dev/ttyACM0
2019-12-02 16:54:09.003 Info,   Opening controller /dev/ttyACM0
2019-12-02 16:54:09.003 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2019-12-02 16:54:09.007 Info, Serial port /dev/ttyACM0 opened (attempt 1)
2019-12-02 16:54:09.008 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-12-02 16:54:09.008 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-12-02 16:54:09.008 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-12-02 16:54:09.008 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-12-02 16:54:09.008 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-12-02 16:54:09.008 Detail,
2019-12-02 16:54:09.008 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-12-02 16:54:10.008 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-02 16:54:10.008 Detail, contrlr, Removing current message
2019-12-02 16:54:10.008 Detail, contrlr, Notification: Notification - TimeOut
2019-12-02 16:54:10.019 Detail,
2019-12-02 16:54:10.019 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-12-02 16:54:11.019 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-02 16:54:11.019 Detail, contrlr, Removing current message
2019-12-02 16:54:11.019 Detail, contrlr, Notification: Notification - TimeOut
2019-12-02 16:54:11.025 Detail,
2019-12-02 16:54:11.025 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-12-02 16:54:12.027 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-02 16:54:12.027 Detail, contrlr, Removing current message
2019-12-02 16:54:12.027 Detail, contrlr, Notification: Notification - TimeOut
2019-12-02 16:54:12.048 Detail,
2019-12-02 16:54:12.048 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-12-02 16:54:13.048 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-02 16:54:13.048 Detail, contrlr, Removing current message
2019-12-02 16:54:13.048 Detail, contrlr, Notification: Notification - TimeOut
2019-12-02 16:54:13.089 Detail,
2019-12-02 16:54:13.089 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-12-02 16:54:14.089 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-12-02 16:54:14.089 Detail, contrlr, Removing current message
2019-12-02 16:54:14.089 Detail, contrlr, Notification: Notification - TimeOut

Posts: 1

Participants: 1

Read full topic

Zigbee2mqtt error while installing

$
0
0

@Andre_Bruno wrote:

Folks,

I´m getting the following error while I start zigbee2mqtt in my HASSIO RB4:

zigbee2mqtt:info 2019-12-02T22:27:52: Logging to directory: ‘/share/zigbee2mqtt/log/2019-12-02.20-27-51’
zigbee2mqtt:info 2019-12-02T22:27:52: Starting zigbee2mqtt version 1.7.1 (commit #unknown)
zigbee2mqtt:info 2019-12-02T22:27:52: Starting zigbee-herdsman…
zigbee2mqtt:error 2019-12-02T22:27:56: Error while starting zigbee-herdsman
zigbee2mqtt:error 2019-12-02T22:27:56: Failed to start zigbee
zigbee2mqtt:error 2019-12-02T22:27:56: Exiting…
zigbee2mqtt:error 2019-12-02T22:27:56: SyntaxError: Unexpected token in JSON at position 0
at JSON.parse ()
at Function.open (/zigbee2mqtt-1.7.1/node_modules/zigbee-herdsman/dist/controller/database.js:17:35)
at Controller. (/zigbee2mqtt-1.7.1/node_modules/zigbee-herdsman/dist/controller/controller.js:87:48)
at Generator.next ()
at fulfilled (/zigbee2mqtt-1.7.1/node_modules/zigbee-herdsman/dist/controller/controller.js:5:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.7.1 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.7.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I have my CC unit flashed according to zigbee2mqtt.com , but can´t get the addon to work.

Can anyone help, please?

Posts: 1

Participants: 1

Read full topic

Leviton DZPA1-2BW Plug-In Outlet showing no entitites

$
0
0

@matt5 wrote:

Howdy,

I’ve been using HASS for a while but mostly with Google, Philips Hue, and SmartThings devices. This is the first time I’m setting up a Z-Wave device.

I believe Z-Wave is working correctly, I’ve been able to add the Leviton outlet to the network, but no entities are showing up. Ex, I was expecting switch.something to show up in my entities list. Not sure if I’m doing something wrong.

Things I’ve tried:

  • Heal Network
  • Heal Node
  • Restart HASS
  • Restart device (Raspberry Pi)

Here’s what shows up when I request Node Information:

Posts: 1

Participants: 1

Read full topic


Tropical storm alerts worldwide?

$
0
0

@Mariusthvdb wrote:

Hi,
since traveling to the eastern part of our globe, I would be interested if we could have a sensor/weather alert for tropical storms world wide, like we can have for the world wide quakes.

Think I couldn’t find it in the description of the available geo-location integrations or weather components, but might have missed it though. Some of the available services seem to be limited to specific areas?

nothing listed here, so maybe they are not available?
tried to find the correct settings on https://www.gdacs.org/default.aspx or https://www.gdacs.org/Alerts/default.aspx but it isnt that straight forward to have a generic setting for HA…

this would be 1 storm in geojson: https://www.gdacs.org/datareport/resources/TC/1000636/geojson_1000636_31.geojson

but, how to incorporate that into HA, and, more importantly, how to have HA select the relevant events based on the config?

this is a full rss link: https://www.gdacs.org/xml/rss.xml

thanks for helping/having a look

Posts: 5

Participants: 3

Read full topic

Need help integrating REST devices

$
0
0

@AlfredoSola wrote:

Hello.

I am in the process of migrating from my homebrew control panel based in Javascript to HASS, which I am running on an RPi 3 (and will probably move to a 4 with an A2 SD in the future, but that is another story).

I have studied, written some configuration,yaml, and got some stuff to work like UVC cameras and temperature sensors. However, there is an issue I have been unable to work out.

The issue I am facing is in integrating my devices. I have a bunch of Arduinos that accept GET commands and report their status as json. For instance, here is something from my pump room Arduino:

alfredo@panel:~ $ curl 'http://saladebombas:8080/Estado'
{"status": "success","modo": "invierno","TRef": "25.00","ACS": "false","bomba": ["true","false","false"], "temperatura": ["25.31","46.63","45.94"],"memoria": "6781","puertos crujis": "1","EEPROM": ["0","15","0","25","0"]}

(please excuse names in Spanish, I never thought I’d have to share this much)

If I want to start the heating pump from the ground floor, I issue a GET command like this and get this response:

alfredo@panel:~ $ curl 'http://saladebombas:8080/EncenderPlanta?planta=0'
{"status" : "success"}

Now, with the sensor integration I am able to read the temperatures off one of my Arduinos and have a fancy card with a temperature history. So that works for me. Great!.

The problem I have is sending commands and tracking the status. The classic switch, actually.

I have tried to use the switch integration, but I don’t really understand how to let it know that I want to GET a resource to switch on, and another to switch off. Then I moved to the template switch, but that requires the device to accept POST commands which my devices don’t. I could do that if there is a compelling reason (like for example “dude, everyone does it that way”), but if I went with GET commands it’s because of simplicity in the server as Arduinos are not very powerful platforms.

I did modify the status of the pumps from “0” and “1” (which is a literal readout of the pin status) to “true” and “false” to try and make it easier on the integration.

I also played with the RESTful binary sensor, but couldn’t get it to work either.

So my question to the community is, how would you go about integrating these Arduinos? Would you modify the Arduinos themselves to make them behave consistently with some popular platform and easier to integrate, or not? If yes, which platform should I use as an example? Either way, could you give me an idea of what integration to use and roughly how to go about it?

Any ideas, and also pointers to others that may have described similar setups, would be appreciated.

Thanks!

Posts: 3

Participants: 2

Read full topic

Is it possible to allow user to access only one Lovelace view?

$
0
0

@AhmadK wrote:

Hi All,

I use this custom alarm integration in my HA and access its view from a tablet running WallPanel for Android app.
It opens the alarm view (http://hassio.local:8123/alarm), but a user can swipe the screen from the left edge and access the sidebar even though it’s set to “always hide” (I access HA from the tablet as a normal user).

I would like to allow this user to access only the alarm view for security reasons - is it possible to do so at all?

Posts: 6

Participants: 3

Read full topic

RFXTRX Blind T6 full

$
0
0

@vormsty wrote:

Hello,
I have a 11 curtains with doyya DC1602 remote control.
I just receive the RFXcom device and able to send command to curtains via windows manager software.
For the HA integration I read a lot but don’t understand…
I read a “magic” id of 09190603. From where it is ? Is it the same number for my curtains ?

If I understant I have to declare the rfx device in the configuration.yaml like:

rfxtrx:
device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO462ESY-if00-port0

And after, may I have to declare each curtains or each curtain commande (up, down, etc)

How can I use the devices in automation ?

Many thanks for explanations !

Best regards

Thierry Vorms

Posts: 1

Participants: 1

Read full topic

State of not existing component?

$
0
0

@kol wrote:

On start is a component is unavailable it does not exist among components in hassio
image

How to test its state in script ?
nothing from below condition catch it

  - condition: or
    conditions:
    - condition: state
      entity_id: media_player.amazon_tv_stick
      state: 'unavailable'
    - condition: state
      entity_id: media_player.amazon_tv_stick
      state: ' '

Posts: 5

Participants: 2

Read full topic

Viewing all 106743 articles
Browse latest View live


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