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

Zigbee Integration

$
0
0

@blackwood821 wrote:

I want to integrate Zigbee into Home Assistant so that I can control my Phillips Hue lights. I read https://www.home-assistant.io/integrations/zha but I’m wondering if a USB is required in order to get this to work? Is there any way to do it without ordering more hardware? I also have an Echo Plus and was wondering if there is any way to use that as a bridge for Home Assistant. Is it possible to have another home integrated with Home Assistant?

Posts: 1

Participants: 1

Read full topic


Timeouts when switching multiple Z Wave nodes

$
0
0

@jpost wrote:

Yesterday I installed a Fibaro Dimmer and 5 Fibaro Wall Plugs.
The dimmer has two switches: S1 and S2. S2 is associated with the 5 wall plugs, to switch the lights in the living room. S2 switches al the 5 wall plugs nicely via this assocation. All the lights turn on or off together.

A Raspberry Pi 4, with 2Gb memory and Z Wave me UZB stick is running Home Assistant core (docker) and acts as my Z Wave controller. It’s also located in the living room. I can switch the plugs indivudually, use the the dimmer (S1), create associations, etc.
Switching the wall plugs individually works ok.

The problem I have is when I’d like to switch the 5 wall plugs at once (like the S2 assocation). The result is that 3 or 4 of the plugs will switch, the others after a long time. I tried a scene, a group, an automation with 5 entities.
The OZW log shows errors like these, when this happens:

2020-05-03 20:53:32.016 Info, Node010, Value::Set - COMMAND_CLASS_SWITCH_BINARY - Switch - 0 - 1 - True
2020-05-03 20:53:32.016 Info, Node010, SwitchBinary::Set - Setting node 10 to On
2020-05-03 20:53:32.017 Detail, Node010, Queuing (Send) SwitchBinaryCmd_Set (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x25, 0x01, 0xff, 0x25, 0x3d, 0x2c
2020-05-03 20:53:32.017 Detail, Node010, Queuing (Send) SwitchBinaryCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x25, 0x02, 0x25, 0x3e, 0xd1
2020-05-03 20:53:32.017 Detail, 
2020-05-03 20:53:32.017 Info, Node010, Sending (Send) message (Callback ID=0x3d, Expected Reply=0x13) - SwitchBinaryCmd_Set (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x25, 0x01, 0xff, 0x25, 0x3d, 0x2c
2020-05-03 20:53:32.025 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-05-03 20:53:32.025 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2020-05-03 20:53:32.067 Detail, Node010,   Received: 0x01, 0x05, 0x00, 0x13, 0x3d, 0x00, 0xd4
2020-05-03 20:53:32.067 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x3d received (expected 0x3d)
2020-05-03 20:53:32.067 Info, Node010, Request RTT 50 Average Request RTT 74
2020-05-03 20:53:32.067 Detail,   Expected callbackId was received
2020-05-03 20:53:32.067 Detail,   Expected reply was received
2020-05-03 20:53:32.068 Detail,   Message transaction complete
2020-05-03 20:53:32.068 Detail, 
2020-05-03 20:53:32.068 Detail, Node010, Removing current message
2020-05-03 20:53:32.068 Detail, 
2020-05-03 20:53:32.068 Info, Node010, Sending (Send) message (Callback ID=0x3e, Expected Reply=0x04) - SwitchBinaryCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x25, 0x02, 0x25, 0x3e, 0xd1
2020-05-03 20:53:32.077 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-05-03 20:53:32.077 Detail, Node010,   ZW_SEND_DATA delivered to Z-Wave stack
2020-05-03 20:53:32.319 Detail, Node010,   Received: 0x01, 0x05, 0x00, 0x13, 0x3e, 0x00, 0xd7
2020-05-03 20:53:32.319 Detail, Node010,   ZW_SEND_DATA Request with callback ID 0x3e received (expected 0x3e)
2020-05-03 20:53:32.319 Info, Node010, Request RTT 251 Average Request RTT 162
2020-05-03 20:53:32.319 Detail,   Expected callbackId was received
2020-05-03 20:53:32.857 Detail, Node010,   Received: 0x01, 0x0e, 0x00, 0x04, 0x00, 0x0a, 0x06, 0x31, 0x05, 0x04, 0x22, 0x00, 0x79, 0xcf, 0x00, 0x5d
2020-05-03 20:53:32.857 Detail, 
2020-05-03 20:53:32.858 Info, Node010, Response RTT 789 Average Response RTT 603
2020-05-03 20:53:32.858 Info, Node010, Received SensorMultiLevel report from node 10, instance 1, Power: value=12.1W
2020-05-03 20:53:32.858 Detail, Node010, Refreshed Value: old value=0.0, new value=12.1, type=decimal
2020-05-03 20:53:32.858 Detail, Node010, Changes to this value are not verified
2020-05-03 20:53:32.858 Detail, Node010, Notification: ValueChanged
2020-05-03 20:53:42.069 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-05-03 20:53:42.069 Detail, Node010, Removing current message
2020-05-03 20:53:42.069 Detail, Node010, Notification: Notification - TimeOut

These errors also occur on node 6, 7, etc.
Why does this happen? What can I do about it?
Restarted Home Assistant, did a heal network, etc.

And with trying I also stumbled upon another little issue: the button card does not change color when used with a group entity, also mentioned in another topic.

Posts: 1

Participants: 1

Read full topic

Should I keep automation ID's when splitting out?

$
0
0

@alexdodd wrote:

I’m splitting automations into files bit by bit, i’m thinking I should I keep the ID’s so they can be brought back into the front end at a later date if this doesn’t go to plan.

Is there any downside to having these extra ID’s floating about?

Posts: 1

Participants: 1

Read full topic

RFXCOM - How to send specific command?

$
0
0

@Arioch77 wrote:

Hello,

New user of Home Assistant ( and of rfxcom… ), Installed official hass.io image on a Rpi4 and did all the update.

So… the story :

I have a somfy gate and to keep thing simple installed a somfy 1841022 relay on a already existing garage door motor. This setup allowed me to use only one remote ( more pocket friendly ).

Now I wanted to control it with Home Assistant. So I bought a rpi4 and rfxcom.

Didn’t have any problem with the gate, sync / remember unique ID / setup in HA and done.

But for the somfy relay, it’s another story. After sync of the virtual remote, all “normal” command in rfxmngr didn’t work, as the relay don’t understand “open” “close” commands.

After some test, found that the “my” command ( the first one in the list in rfxmngr ) does work :

================================================
01/05/2020 07:51:22:218= RFY command: 0C 1A 00 06 04 05 06 03 00 00 00 00 00 
================================================
Packettype    = RFY
subtype       = RFY
Sequence nbr  = 6
id1-3         = 040506 decimal:263430
Unit          = 3
Command       = stop
rfu1          = 00
rfu2          = 00
rfu3          = 00
Signal level  = +10 dBm
------------------------------------------------
01/05/2020 07:51:23:005= 0402010600
Packettype        = Receiver/Transmitter Message
subtype           = Transmitter Response
Sequence nbr      = 6
response          = ACK, data correct transmitted

Tried to do the same configuration as the gate and using the “stop” button ( as the command in the log) didn’t work.

After some research, found this workaround to push specific command with rfxcom but that didn’t work ( tried with the hex command in the log of rfxmngr too ):

switch:
  platform: command_line
  switches:
    lift:
      command_on: ‘echo -ne “\x0C\x1A\x00\x06\x04\x05\x06\x03\x00\x00\x00\x00\x00” > /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2197674-if00’
      command_off: ‘echo -ne “\x07\x1A\x00\x00\x04\x05\x06\x03\x00\x00\x00\x00\x00” > /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2197674-if00’

The echo… command line with the redirection didnt work on bash either.

How do I get Home assistant to control the somfy relay ?

Thanks and sorry if it’s too long / isn’t very clear.

Posts: 1

Participants: 1

Read full topic

Time from dev to release

$
0
0

@brian1917 wrote:

Question is around a specific feature … @bachya - I’m new to watching home assistant development but I’m surprised your changes for using REST API and web socket for simplisafe state updates aren’t in latest release (0.109.3).

Is this normal for minor changes to take so long to work their way into a release?

Eager for the future since my web socket connection seems to be failing more frequently lately :slight_smile:

Posts: 1

Participants: 1

Read full topic

Remots TTS/STT options

$
0
0

@prologic wrote:

Hi all,

Finally got Almond/Ada up and running on my HASS server. Almond is working just fine but I don’t think Ada will sadly as this is running on a Proxmox VE virtual machine in my home infra (Rack of gear, etc).

What options do we have for getting STT/TTS working with Ada in this kind of setup?

Kind regards

James

Posts: 1

Participants: 1

Read full topic

Extract SOME old data from "home-assistant_v2.db" and export to new home-assistant_v2.db file

$
0
0

@kngharv wrote:

My home-assistant_v2.db file is now near 8GB in size, accumulating data over years of playing with home assistant.

before i delete the file, there is ONE data set which I would like to keep: my electricity usage data (I have a energy usage monitor installed on my break circuit). It is just a single entity.

how do I merely extract this single data set and export it to a new “home-assistant_v2.db” file?

thanks in advance

Posts: 1

Participants: 1

Read full topic

Qubino Flush Dimmer No way to set dimmer level

$
0
0

@tallcuss wrote:

Hi, Newbie here. Running HassOS 3.13 on a Raspberry Pi 4 into which I’ve integrated a (ZWave) Qubino Flush Dimmer ZMNHDDx (qubino.com/products/flush-dimmer). The relevant part of the Overview page looks like


As you can see all the readouts are there with two control switches. The lower switch turns the light on full bright and off. The upper switch turns the light on to it’s preset dimmer position and off.
But where is the Slider widget to control the dimmer position?
Any help greatly appreciated. Cheers

Posts: 1

Participants: 1

Read full topic


Show Google Maps as a card with respective device_tracker's

$
0
0

@mkanet wrote:

I tried copying the sample code from:
https://www.home-assistant.io/cookbook/google_maps_card/
…replacing the device tracker with mine and using my Google API key.

I then add this code example to my configuration.yaml file

camera:
  name: Wife
  platform: generic
  still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{ state_attr('device_tracker.sm_a505u', 'latitude') }},{{ state_attr('device_tracker.sm_a505u', 'longitude') }}&zoom=13&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{ state_attr('device_tracker.sm_a505u', 'latitude') }},{{ state_attr('device_tracker.sm_a505u', 'longitude') }}&key=sdfsdfasdDSFwsedfrXLrkUHFIl9u32LpKvCc
  limit_refetch_to_url_change: true

…and add the below respective picture entity for my card:

type: picture-entity
 - camera_image: https://maps.googleapis.com/maps/api/staticmap?center={{ state_attr('device_tracker.sm_a505u', 'latitude') }},{{ state_attr('device_tracker.sm_a505u', 'longitude') }}&zoom=13&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{ state_attr('device_tracker.sm_a505u', 'latitude') }},{{ state_attr('device_tracker.sm_a505u', 'longitude') }}&key=sdfsdfasdDSFwsedfrXLrkUHFIl9u32LpKvCc

However, instead of seeing the card with a map in it, I get a big red box saying:

No card type found
- camera_image: >-
    https://maps.googleapis.com/maps/api/staticmap?size=800x800&maptype=satellite&markers=color:gray|label:M|{{
    states.device_tracker.sm_a505u.attributes.latitude }},{{
    states.device_tracker.sm_a505u.attributes.longitude
    }}&markers=color:green|label:H|{{
    states.device_tracker.sm_n960u.attributes.latitude }},{{
    states.device_tracker.sm_n960u.attributes.longitude
    }}&key=AIzaSyDo1Q6SYw_31j_rXLrkUHFIl9u32LpKvCc
  type: picture-entity

Posts: 1

Participants: 1

Read full topic

Home Assistant on a Mac mini

$
0
0

@Cyril_Blanc wrote:

Hello
Thanks for accepting me.
Today I use Amazon Alexa on a MacBook Pro and on 2 x Iphone.
It is working quite well but …

  • I had 3 time my Internet down, so no way to enter in my house. Luckily I had a second door that I could open with a key
  • I want to create complex scenario like :
    Put my awning down if the temperature is over 23 ° C and if it does not rain and if the wind is below 5 km/h (I have all the hardware)

I have a Mac mini (ex server) that I do not use anymore.

My questions :

  • Can you do complex scenarios with IF AND OR ELSE conditions ?
  • Can you give me a tutorial to install Home Assistant on my Mac mini ?

Thanks in advance

Cyril

Sorry for my poor English

Posts: 1

Participants: 1

Read full topic

[help] picture-elements conditional

$
0
0

@Danik wrote:

Hi

i using picture-elements to show person pic and his location using “entity: person.bar”

i know that the entity entity: person.bar have 4 state, i want to change the pic according to state how to do it?

       - type: vertical-stack
          cards:
            - type: horizontal-stack
              cards:
                - type: picture-elements
                  image: /local/lovelace/pic/bar.jpg
                  elements:
                    - type: state-label
                      entity: person.bar
                      prefix: 'Bar -- '
                      style: {color: white, left: 30%, top: 90%}
                    - type: state-icon
                      entity: sensor.bar_phone_battery
                      tap_action: more_info
                      style: {color: white, left: 73%, top: 90%}
                    - type: state-label
                      entity: sensor.bar_phone_battery
                      style: {color: white, left: 87%, top: 91%}

Posts: 1

Participants: 1

Read full topic

Serving Static HTML File for Domain Control Validation

$
0
0

@SnapETom wrote:

I need to upload a text file to verify domain control. I’m using dyndns.org for my forwarding service. My cert company wants it in a specific place: my_domain.dyndns.org/blahblah/validation_file.txt

Is there an easy way to install a static HTML file in Lovelace’s root server path without stopping hass and installing nginx to serve that one file for a one-off check?

Posts: 1

Participants: 1

Read full topic

Best practice dimmable light over MQTT in Lovelace?

$
0
0

@Freddan101 wrote:

I’ve just started to evaluate Hass. I have all of my devices in HomeSeer currently why I use MQTT to reach them from Hass.

I’ve added a dimmable light but I don’t understand the behavior in LoveLace fully. When starting from 0% and dimming up, the light icon does not indicate that it is lit, not until it reaches 100%. When dimming down again the light icon behaves correctly. The correct values are sent via MQTT both when dimming up and down.

See what is looks like here.

This is what my light entity looks like.

light:    
    platform: mqtt
    name: "Kontor Tak"
    state_topic: "kontor-pc/mcsMQTT/Kontor/Belysning_Tak/Switch_Multilevel"
    command_topic: "kontor-pc/mcsMQTT/Kontor/Belysning_Tak/Switch_Multilevel/set"
    brightness_state_topic: "kontor-pc/mcsMQTT/Kontor/Belysning_Tak/Switch_Multilevel"
    brightness_command_topic: "kontor-pc/mcsMQTT/Kontor/Belysning_Tak/Switch_Multilevel/set"
    brightness_scale: 99
    payload_on: 99
    payload_off: 0
    on_command_type: brightness

Any thoughts?

Posts: 1

Participants: 1

Read full topic

Z-Wave, Qubino Flush Relay, latency and out of sync

$
0
0

@neils wrote:

Hi, i have a zwave network with 14 devices. Most of them are Qubino Flush Relays. HA ist running on Ubuntu with docker. I started with HA for 2 month now and really impressed, apart one think with the Qubino Relays…

  • Significant latency when turn on/off >5 Secs.
  • Out of sync - means the HA is showing the switch in off state, but is it on (or otherway around)
  • Timouts in Zwave logs (which is the reason for all the trouble)

I analyse the logs and saw that some switches are flooding the network with changes in the “watt” values. I change the settings so no flooding anymore. But no luck with the problems.

ZWave Graph is not showing anything which point me to the problem. No high RTT or too many hops.

Eg. the relay “schalter_licht_strasse”. Its around 6 meters away from the HA box (where zwave stick is connected). RTT around 1s (too high?). When switching it takes 3-5 secs. or it gets out of sync.

Do anyone has the same experience? I really like the concept of Z-Wave and hoping that i missed something. Currently frustrating…

Zigbee devices are running without any problems. Fast, reliable and always in sync…

Best regards,
Neils

Posts: 1

Participants: 1

Read full topic

Can not delete integration

$
0
0

@Makis wrote:

I have the Meross integration (switches). Yesterday night it started showing double entities none of them was working (all grayed in entities card).
This morning I tried to reinstall them but I could not. I am trying to remove the integration. I remove it from HACS, and tried to delete the integration, but I could not. I then delete it from custom components, but again I can not remove the integration. Searching the forum I saw that my next step (?) is to delete it from .storage/cor config. entities & device files. but I am not sure how to do it and if should search and somewhere else. I have a copy of these files in desktop.

I have the following for example but I am not sure what to delete
Should I begin at

 [
                        "meross_cloud",
                        "1811264836268229086734298f1862d0"

until

    "key": "core.device_registry",
    "version": 1
                "manufacturer": "Xiaomi",
                "model": "Redmi Note 8",
                "name": "Redmi Margarita",
                "name_by_user": null,
                "sw_version": "28",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "9e393a00d64f49b1a226ee7cb39e6986",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1811264836268229086734298f1862d0"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss520h 2.0.0",
                "name": "Balcony",
                "name_by_user": null,
                "sw_version": "2.1.2",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "80cbff7be7ff4829b9b2ff6071af46da",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1811269316494129086734298f1861d1"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss520h 2.0.0",
                "name": "book and door",
                "name_by_user": null,
                "sw_version": "2.1.2",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "bdfe4fb162e34094b1c3d8c3194fa0dd",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1812013756539529087334298f18976e"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss510h 2.0.0",
                "name": "trapezaria",
                "name_by_user": null,
                "sw_version": "2.1.7",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "ab6f49663ece4688916e64f71a69af1b",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1811262418516429086734298f185fa8"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss520h 2.0.0",
                "name": "kitchen main",
                "name_by_user": null,
                "sw_version": "2.1.2",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "642c3bc94abc462a92571ad6f95376fe",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1812019709838229087334298f1895fb"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss510h 2.0.0",
                "name": "book",
                "name_by_user": null,
                "sw_version": "2.1.7",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "aa622d5882cc4643a13b0fd4b05b0138",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1812016823740829087334298f18972e"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss510h 2.0.0",
                "name": "kid balcony",
                "name_by_user": null,
                "sw_version": "2.1.7",
                "via_device_id": null
            },
            {
                "area_id": null,
                "config_entries": [
                    "f0fd987f31da43eda26234b82e6ba13b"
                ],
                "connections": [],
                "id": "616c7eba522640e8bd0f215ccaffe62d",
                "identifiers": [
                    [
                        "meross_cloud",
                        "1812011610829529087334298f1896a5"
                    ]
                ],
                "manufacturer": "Meross",
                "model": "mss510h 2.0.0",
                "name": "Bedroom balcony",
                "name_by_user": null,
                "sw_version": "2.1.7",
                "via_device_id": null
            }
        ]
    },
    "key": "core.device_registry",
    "version": 1
}

Posts: 1

Participants: 1

Read full topic


How to move automations from yaml to UI

$
0
0

@jm35 wrote:

Hi,
I’d like moving from ‘yaml way’ to ‘UI way’ .
More preciasly i’d like moving all my automations i’ve made via yaml files to UI automations .
How can i do it ? (i hoppe i’ll not have to re-create each one , one by one)

thanks for your help
sorry for my poor english writting

Posts: 3

Participants: 2

Read full topic

Numeric_state condition not working

$
0
0

@nicx wrote:

Hi, I want to switch a floor heating automatically on if the highest temperature of the day is below 20. Unfortunately it does not work, the switch is always turned on. any hints? :slight_smile:

- id: Fussbodenheizung_Bad_einschalten
  alias: Fussbodenheizung_Bad_einschalten
  trigger:
  - at: 06:00:00
    platform: time
  - entity_id: group.alle
    platform: state
    to: home
  condition:
  - after: 05:59:59
    before: '22:00:00'
    condition: time
  - condition: state
    entity_id: group.alle
    state: home
  - condition: state
    entity_id: input_boolean.heizperiode
    state: 'on'
  - condition: state
    entity_id: input_boolean.urlaub
    state: 'off'
  - below: '20'
    condition: numeric_state
    entity_id: sensor.dark_sky_daytime_high_temperature_0d
    value_template: '{{ states("sensor.dark_sky_daytime_high_temperature_0d") | float }}'
  action:
  - entity_id: switch.badezimmer_fussbodenheizung
    service: switch.turn_on
  initial_state: 'on'

Posts: 1

Participants: 1

Read full topic

Few questions regarding theming

$
0
0

@mirekmal wrote:

I’m in the process of developing new theme for HA, based on color scheme similar to one used for speedtest.net ( so I called it ookla :slight_smile: ). In the process I found few issues that I was not able to resolve. Some I learned are limitations or ‘bugs’ in how theming works (inconsistent use of color variables in different cards or UI elements, some perhaps being hardcoded or using standard or random palettes). But few are, I think, just the question of finding the right variable to be included in theme. So few questions:

  • What is background color of currently selected item i sidebar (upper highlight on screenshot below)? It seems to be hardcoded to something blueish, as I’ve seen this to be the same across several themes… sidebar-selected-background-color seems to be used to highlight selection when moving it by cursor (bottom selection on screenshot), but once actual selection is made it changes color to this blueish one.
    image
  • What is the color of disabled text in editor UI in bottom left corner (e.g. color for Show Visual Editor, when it is not available)?
    image
    Actual disabled-text-color i found to be used for arrows when changing order of cards and for some (not all!) drop down lists (red accents on screenshots below:

    image
  • Are colors of popups customizable? The one that displays when you hoover mouse cursor over history graph, for example?
    image
  • What is the variable used for link in developer tools?
    image
  • I also found in few places text buttons that seems to have hardcoded text, like the red one on screenshot below. Is it customizable?
    image
  • Finally is background color of main header in editing mode customizable (grey area on screenshot)?
    image

Posts: 1

Participants: 1

Read full topic

Sensor Badge icon instead of value

$
0
0

@Paxy wrote:

Is it possible to show sensor badge as icon instead of sensor value?
My custom command line sensor catch state in String form. I have created a template sensor to change icons depending on the state.
But when I put sensor in the frontend badges, only a string state is visible.

Is there any way to change the badge to show an icon instead of value using customUI?

Current code:

  - platform: template
    sensors:
      prediction:
        value_template: >
            {{ states('sensor.preassureprediction') }}
        friendly_name: 'Prediction'
        icon_template: "{% if is_state('sensor.preassureprediction' , 'Stable') %}
                        mdi:wave
                        {% elif is_state('sensor.preassureprediction' , 'Unstable') %}
                        mdi:weather-partly-lightning
                        {% elif is_state('sensor.preassureprediction' , 'Sun') %}
                        mdi:weather-sunny
                        {% elif is_state('sensor.preassureprediction' , 'Storm') %}
                        mdi:weather-lightning-rainy
                        {% elif is_state('sensor.preassureprediction' , 'Rain') %}
                        mdi:weather-rainy
                        {% else  %}
                        mdi:wave
                        {% endif %}"

Posts: 1

Participants: 1

Read full topic

IKEA Trådrfi LED bulb (LED1649C5), dimming, status after power outage

$
0
0

@Hypnotia wrote:

Hello,

Having installed a couple of Trådfri LED bulbs (LED1649C5), I have connected them to HASS.IO through the Zigbee2Mqtt bridge (zegbee2mqtt.io). The configuration is as follows:

light:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/0xccccccfffeb2ed28"
    availability_topic: "zigbee2mqtt/bridge/state"
    brightness: true
    schema: "json"
    command_topic: "zigbee2mqtt/0xccccccfffeb2ed28/set"`

I have faced the next problems:

  • LEDs are dimmable. I cannot understand how to dim them trough HASS configuration. Could you rub my nose in the manual on how to dim bulbs?
  • Being switched on through HA command and powered off through conventional wall switch, led bulbs report incorrect status to HA. HA thinks lamps are on. Changing status in HA is impossible in this case. Switch being pressed in HA returns back to an incorrect state. Is there status feedback for these bulbs?
  • In case of a power outage bulbs switch on what seems logical. Is there any method to keep bulbs switched off after power outage?

Any input would be really appreciated. Thank you in advance.

Regards

Posts: 1

Participants: 1

Read full topic

Viewing all 105589 articles
Browse latest View live


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