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

Change icon color in markdown card with card-mod

$
0
0

Hi
Not sure where to put this, card-mod thread or markdown thread so I put it in a new one.
I have a markdown card that has one icon and two different headers. The problem I have is that the icon color gets the same as the background and I cant get it changed.

This is the code, its used as a decluttering-card but I dont think thats the problem.

header:
  card:
    type: markdown
    style: |
      ha-card {
        box-shadow: none;
        padding: 10px 0px;
        color: #fff;
        background-color: var(--dwains-theme-header-background);
        margin-top: -4px;
        border-radius: 0; 
        font-weight: bold;
        font-size: 14px;
        
      }
      ha-markdown {
        padding-top: 0px !important;
        padding-bottom: 14px !important;
      }
      ha-card a {
        color: var(--dwains-theme-header-text) !important;
      }
      ha-card p {
        margin-bottom: 0px;
      }
      ha-card h1 {
        color: var(--dwains-theme-header-text);
        font-size: 1.5em;
        {% if subtitle %}
        margin: 0;
        {% else %}
        margin: 10px 0 0 0;
        {% endif %}
      }
      ha-card h3 {
        font-size: 13px;
        font-weight: normal;
        color: var(--dwains-theme-header-text);
        {% if subtitle %}
        margin: 14px 0 0 0;
        {% else %}
        margin: 0;
        {% endif %}
      }
    content: |
      [<ha-icon icon=fas:chevron-left></ha-icon>](/lovelace/[[path]])
      <h3>[[subtitle]]</h3>
      <h1>[[title]]</h1>

1 post - 1 participant

Read full topic


Copy temperature to Input number

$
0
0

Hello, can someone help me with the following issue?

I want to save a temperature in a input number to use it the day after.
I would like to know how I can do that.

I already tried this with the following automation.

image

This however doesn’t work.

2 posts - 2 participants

Read full topic

HA Alarmpanel

$
0
0

Hi first post here and new to HA.

I have a Verisure Yale Doorman V2N that i configured and the lock icon works great in HA, but i need som help.
I want to use the alarm panel in HA to unlock it instead, if i enter the correct code, is that possible?

I need a push in some direction.

Now it looks like this, i was just messing around.

type: alarm-panel
states:
  - unlock
entity: lock.lagneheten
name: Front door
callservice: unlock.lagenheten

Thanks in advance.

2 posts - 2 participants

Read full topic

Light Switch with Broadlink

$
0
0

Hi all,
I’m reaching you to kindly ask your help.
I’m newbie of Home Assistant and I’m trying to configure a Light Switch item.
I have some Light with remote control (and via Broadlink).
I correct configure the light switch but the turn on/off light doesn’t match with the real state of the light.
Could you please help me to solve this issue?
I will appreciate any help you can give me.
Many thanks in advance.
Roberto

2 posts - 2 participants

Read full topic

Sensor not displaying when stacked

$
0
0

I am putting together a card that will give me the current conditions on the water to see if it might be a good time to go sailing.

I have the collection of sensors working on their own tab, but the tab is pretty empty and I thought grouping the sensors into a single card and putting that card on the Weather tab made sense.

So I decided to use a Vertical Stack card with a nested Horizontal Stack. Every sensor displays properly except 1, the Water Temperature sensor.
I am using the mini-graph-card to display the information. The graph line is displayed properly but the Numbers showing the temp are missing. If you click on the sensor the pop-up shows the temperature.
I copied the code from the working tab to the card which I placed in a new tab for testing

Here is what it look like:

Here is the same sensor working:
HA - Capture 2

Here is the non-working code:

  - icon: mdi:sail-boat
    title: Sailing 2
    cards:

      - type: vertical-stack
        title: Sailing Conditions
        cards:
          - type: custom:mini-graph-card
            name: Wind Speed
            icon: mdi:weather-windy
            entities:
              - entity: sensor.wind_speed
                name: Wind
            show:
              legend: false
            color_thresholds:
              - value: 8
                color: "#2b89c0"
              - value: 16
                color: "#32c02b"
              - value: 24
                color: "#c02d2b"
          - type: horizontal-stack
            cards:
              - type: custom:mini-graph-card
                entities:
                  - sensor.temperature
                line_color: blue
                line_width: 8
                font_size: 75
              - type: custom:mini-graph-card
                entities:
                  - sensor.humidex
                line_color: '#e74c3c'
                line_width: 8
                font_size: 75
              - type: custom:mini-graph-card
                entities:
                  - sensor.water_temp
                name: Water Temp
                line_color: var(--accent-color)
                line_width: 8
                font_size: 7
          - type: horizontal-stack
            cards:
              - type: custom:mini-graph-card
                entities:
                  - sensor.wave_height
                icon: mdi:waves
                line_color: blue
                line_width: 8
                font_size: 75
                name: Wave Height
              - type: custom:mini-graph-card
                entities:
                  - sensor.uv_index
                icon: mdi:weather-sunny-alert
                line_color: '#e74c3c'
                line_width: 8
                font_size: 75
              - type: custom:mini-graph-card
                entities:
                  - sensor.pressure
                icon: mdi:gauge
                line_color: var(--accent-color)
                line_width: 8
                font_size: 75

2 posts - 2 participants

Read full topic

Min_max sensor - unknown state

$
0
0

Hi there,

since yesterday my min_max sensor is not showing the correct state anymore:
image
It only shows as unknown.

Config:

  - platform: min_max
    type: mean
    name: avgilluminance
    round_digits: 0
    entity_ids:
      - sensor.fib_bath_top_light
      - sensor.fib_kitchen_light
      - sensor.fib_living_light

However, the attribute mean actually shows the correct value. As do all the other attributes.
Any ideas how to troubleshoot this?

1 post - 1 participant

Read full topic

KNX climate - Intesisbox air condition

$
0
0

Hi everyone,
I am struggeling with the control of an air condition connected via KNX. The KNX interface is set correctly, I am getting values and can also switch the air condition on and off - but just configured as a switch (in switch.yaml). So in general KNX is comunicating with home assistant. I would like to set the air condition as separate climate entity. I created a file called “climate.yaml” and did an include in my configuration.yaml. Now I put in all the values I configured in the KNX ETS software. Here is my climate.yaml:

- platform: knx
  name: kidsroom.climate
  on_off_address: '8/1/1'
  on_off_state_address: '8/1/21'
  temperature_address: '8/1/33'
  target_temperature_address: '8/1/13'
  target_temperature_state_address: '8/1/33'
  controller_mode_address: '8/1/2'
  controller_mode_state_address: '8/1/22'
  min_temp: 21
  max_temp: 30

But then I get no on/off status, double “heating” mode etc. Here the screenshot:

climate_kidsroom

In the developer tools / states section I can see the following:

hvac_modes:
  - auto
  - heat
  - cool
  - fan_only
  - dry
  - heat
  - 'off'
min_temp: 21
max_temp: 30
target_temp_step: 0.1
preset_modes:
  - away
current_temperature: 26
temperature: 26
preset_mode: away
friendly_name: kidsroom.climate
supported_features: 17

I haven’t any “preset modes” and not two “heat” hvac_modes. Also the target temperature is 25.5 degrees Celsius - not displaying at all. What am I doing wrong here?

1 post - 1 participant

Read full topic

Updating values in Overview

$
0
0

Hello, I am really beginner with home assistant and I cannot solve one think about updating values in “Overview”.
I made speedtest sensor (configuration.yaml) with update every 15 minutes

speedtestdotnet:
  server_id: 9567
  scan_interval:
    minutes: 15

I made binary ping sensor (configuration.yaml) with update every 1 minute.

binary_sensor:
  - platform: ping
    host: 192.168.0.1
    count: 2
    scan_interval: 60
    name: Ping Router

But i dont understand why is in overview update time much longer.
image

Can you please explain to me what i did wrong?
Thank you!

1 post - 1 participant

Read full topic


Need help to extract telegram message arguments

$
0
0

I try to share links to my lg webos tv from telegram.
When i sent to bot command /lg65 google.com, HA must call this event:
entity_id: media_player.lg_65
command: system.launcher/open
payload:
target: ‘google.com
I create this automation:
Trigger:
‘platform: event
event_data:
command: /lg65
event_type: telegram_command’
Event:
‘service: webostv.command
entity_id: media_player.lg_65
data:
command: system.launcher/open
payload:
target: ‘url from message’’ - how properly set this argument?

1 post - 1 participant

Read full topic

Popp Z-Weather does not report wind velocity and count

$
0
0

Hi there, I managed to include the Popp Z-Weather into my hassio (hassos 4.11, HA 0.112.4). Everything works fine, it reports and updates all sensor values, except for wind velocity and count. Those are always zero. Anyone has a clue how to resolve this?

1 post - 1 participant

Read full topic

MQTT Broker Addon does not publish messages

$
0
0

Hi,

I can’t remember how many tutorials I now have tried to get working (diyprojects[DOT]io/esp8266-dht22-mqtt-make-iot-include-home-assistant, diyi0t[DOT]com/home-assistant-mqtt-tutorial/, https://learn.adafruit.com/set-up-home-assistant-with-a-raspberry-pi/mqtt-setup, to name a few of them…). I don’t even come to the point where I can configure the sensors…
The plan is very simple, I’ll just have wemosd1 mini lites which will send their DHT22 mesaurements to the mosquitto broker, and I then want to show these values in my Overview dashboard.

What I’ve done now:

  • Installed HASSIO
  • Installed Mosquitto broker Addon via “Supervisor” (now Version 5.1.0)
    Configuration:
logins:
  - username: mquser
    password: mqpass
anonymous: false
customize:
  active: true
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false
  • Added the following to the Configuration yaml
mqtt:
  broker: core-mosquitto # This will have to be your mqtt broker, Mosquitto addon is recommended.
  discovery: true
  • Restart via Configuration > Server Controls

Now the problem, I connect via mqtt cli (hivemq[DOT]com/blog/mqtt-cli/)

$ mqtt sub -h 192.168.0.220 -u mquser --password mqpass -t home/whz/temp --verbose

Setting value of 'version' to default value: MQTT_5_0
Setting value of 'port' to default value: 1883
Empty identifier will lead to using broker generated client identifier
Command SubscribeCommand{host=192.168.0.220, port=1883, version=MQTT_5_0, user=mquser, useDefaultSsl=false, useWebSocket=falsetopics=[home/whz/temp], qos=[EXACTLY_ONCE], outputToConsole=true, base64=false, jsonOutput=false, showTopics=false} 
Client 'UNKNOWN@192.168.0.220' sending CONNECT MqttConnect{keepAlive=60, cleanStart=true, sessionExpiryInterval=0, simpleAuth=MqttSimpleAuth{username and password}}
Client 'UNKNOWN@192.168.0.220' received CONNACK MqttConnAck{reasonCode=SUCCESS, sessionPresent=false, assignedClientIdentifier=auto-53AB30AD-FDE6-D123-B72F-6D523ACCB295, restrictions=MqttConnAckRestrictions{receiveMaximum=65535, maximumPacketSize=268435460, topicAliasMaximum=10, maximumQos=EXACTLY_ONCE, retainAvailable=true, wildcardSubscriptionAvailable=true, sharedSubscriptionAvailable=true, subscriptionIdentifiersAvailable=true}} 
Client 'auto-53AB30AD-FDE6-D123-B72F-6D523ACCB295@192.168.0.220' sending SUBSCRIBE MqttSubscribe{subscriptions=[MqttSubscription{topicFilter=home/whz/temp, qos=EXACTLY_ONCE, noLocal=false, retainHandling=SEND, retainAsPublished=false}]}
Client 'auto-53AB30AD-FDE6-D123-B72F-6D523ACCB295@192.168.0.220' received SUBACK MqttSubAck{reasonCodes=[GRANTED_QOS_2], packetIdentifier=65526}

Via Supervisor > Mosquitto Broker > Log it looks fine:

1595258461: New connection from 192.168.0.43 on port 1883.
[INFO] found mquser on local database
1595258462: New client connected from 192.168.0.43 as auto-53AB30AD-FDE6-D123-B72F-6D523ACCB295 (p5, c1, k60, u'mquser').

Then I’ll publish a message via cli:

~$ mqtt pub -h 192.168.0.220 -u mquser --password mqpass -t home/whz/temp -m "23.5" --verbose

Setting value of 'version' to default value: MQTT_5_0
Setting value of 'port' to default value: 1883
Empty identifier will lead to using broker generated client identifier
Command PublishCommand{host=192.168.0.220, port=1883, version=MQTT_5_0, user=mquser, useDefaultSsl=false, useWebSocket=false, topics=[home/whz/temp], qos=[AT_MOST_ONCE], message=23.5} 
Client 'UNKNOWN@192.168.0.220' sending CONNECT MqttConnect{keepAlive=60, cleanStart=true, sessionExpiryInterval=0, simpleAuth=MqttSimpleAuth{username and password}}
Client 'UNKNOWN@192.168.0.220' received CONNACK MqttConnAck{reasonCode=SUCCESS, sessionPresent=false, assignedClientIdentifier=auto-0B1716CC-370F-74D4-453D-4A039E85B726, restrictions=MqttConnAckRestrictions{receiveMaximum=65535, maximumPacketSize=268435460, topicAliasMaximum=10, maximumQos=EXACTLY_ONCE, retainAvailable=true, wildcardSubscriptionAvailable=true, sharedSubscriptionAvailable=true, subscriptionIdentifiersAvailable=true}} 
Client 'auto-0B1716CC-370F-74D4-453D-4A039E85B726@192.168.0.220' sending PUBLISH ('23.5') MqttPublish{topic=home/whz/temp, payload=4byte, qos=AT_MOST_ONCE, retain=false}
Client 'auto-0B1716CC-370F-74D4-453D-4A039E85B726@192.168.0.220' received PUBLISH acknowledgement MqttPublishResult{publish=MqttPublish{topic=home/whz/temp, payload=4byte, qos=AT_MOST_ONCE, retain=false}}

The Output in the Mosquitto Broker log seems fine to me again

[INFO] found mquser on local database
1595258462: New client connected from 192.168.0.43 as auto-53AB30AD-FDE6-D123-B72F-6D523ACCB295 (p5, c1, k60, u'mquser').
1595258563: New connection from 192.168.0.43 on port 1883.
1595258563: New client connected from 192.168.0.43 as auto-0B1716CC-370F-74D4-453D-4A039E85B726 (p5, c1, k60, u'mquser').
1595258563: Client auto-0B1716CC-370F-74D4-453D-4A039E85B726 disconnected.

But in the other terminal window, nothing happens, no message to receive.
I tried with the MQTT-Explorer (0.4.0-beta1), and it shows no topic with the user, even that connection works and “Connection health: online” is shown.

Same when I use the homeassistant user and password I get when I choose Supervisor > Integrations > Mosquitto Broker > Configure > Re-Configure.

When I use [Supervisor > Integrations > Mosquitto Broker > Configure > Listen to a Topic > “home/whz/temp” > Start Listening] no message appears after sending the same command via the mqtt cli mentioned above.
When I open two tabs, one for listening and one for publishing, nothing happens.

For a fresh start, I rebooted the System (Supervisor > System > REBOOT) Still the same behaviour.

What to I do wrong?

configuration.yaml

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 50.0
  longitude: 10.0
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Berlin
  # Customization file
  customize: !include customize.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Discover some devices automatically
discovery:

mqtt:
  broker: core-mosquitto.local.hass.io # This will have to be your mqtt broker, Mosquitto addon is recommended.
  discovery: true
      
# Sensors
sensor:
  # Weather prediction
  - platform: yr
  
  - platform: systemmonitor
    resources:
      - type: disk_use
        arg: /
      - type: disk_use_percent
        arg: /home
      - type: memory_free
      
  - platform: command_line
    name: CPU Temperature
    command: "cat /sys/class/thermal/thermal_zone0/temp"
    unit_of_measurement: "°C"
    value_template: '{{ (value | multiply(0.001)) | round(1) }}'


device_tracker:
  - platform: fritz
    track_new_devices: true
    
# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

api:

media_player:
- platform: androidtv
  device_class: firetv
  name: FireTV
  host: 192.168.0.52
  adbkey: "/config/adbkey"
  adb_server_ip: 127.0.0.1
  
remote:
  - platform: broadlink
    host: 192.168.0.47
    mac: 34:EA:34:E3:B2:34
    type: rm_mini3_redbean
    
switch:
  - platform: broadlink
    host: 192.168.0.47
    mac: '34:EA:34:E3:B2:34'
    timeout: 15
    switches:
      # Will work on most Phillips TVs:
      tv_wohnzimmer:
        friendly_name: "TV Wohnzimmer"
        command_on: 'JgCMAJaSFDYUNhQ1FBEUERQRFBEUERQ1FDYUNhQRExEUERQRFBEUERQ1FBEUERQRFBEUERQREzYUERQ2FDUUNhQ2FDUUNhQABgKWkhQ2FDYUNRQRFBEUERQRFBEUNRQ2FDYUERMRFBEUERQRFBEUNRQRFBEUERQRFBEUERM2FBEUNhQ1FDYUNhQ1FDYUAA0FAAAAAAAAAAAAAAAA'
        command_off: 'JgCMAJaSFDYUNhQ1FBEUERQRFBEUERQ1FDYUNhQRExEUERQRFBEUERQ1FBEUERQRFBEUERQREzYUERQ2FDUUNhQ2FDUUNhQABgKWkhQ2FDYUNRQRFBEUERQRFBEUNRQ2FDYUERMRFBEUERQRFBEUNRQRFBEUERQRFBEUERM2FBEUNhQ1FDYUNhQ1FDYUAA0FAAAAAAAAAAAAAAAA'
      staubsauger:
        friendly_name: "Roby"
        command_on: 'JgBeAZWQFDUUEBQRFBAUERQQFBETNRQ1FBEUEBQRFBAUERQQFDUUERQQFBEUNBQRFBAUERQQFDUUNRQ1FBEUNRQ1EzUUNRQAA7WUkBU0FBEUERMRFBAUERQQEzYTNhMSERMSExETEhMRExI3EhISExISEjcSExETEhMRExI3EjcTNhMREzYUNRQ1FDUUAAO1kpISNxITERMSExETEhMRExI3EjcSEhITERMSExETExIROBISEhMSEhM2ExETEhMRExITNhM2EzYTERM2FDUUNRQ1FAADtJWOFjUUEBQRFBAUERQQFBEUNBU0FBEUEBQRFBAUERQQFDUUERQQFBEUNBUQFBAUERQQFDUUNRQ1FBEUNRQ0FDUUNRQAA7WUkBQ1FBEUEBQRFBAUERQQFDUUNRQRFBAUEBQRFBAUERQ1FBAUERQQFDUUERQQFBETERQ1FDUUNRQQFDUUNRQ1FDUUAA0FAAAAAAAAAAAAAA=='
        command_off: 'JgBeAZWQFDUUEBQRFBAUERQQFBETNRQ1FBEUEBQRFBAUERQQFDUUERQQFBEUNBQRFBAUERQQFDUUNRQ1FBEUNRQ1EzUUNRQAA7WUkBU0FBEUERMRFBAUERQQEzYTNhMSERMSExETEhMRExI3EhISExISEjcSExETEhMRExI3EjcTNhMREzYUNRQ1FDUUAAO1kpISNxITERMSExETEhMRExI3EjcSEhITERMSExETExIROBISEhMSEhM2ExETEhMRExITNhM2EzYTERM2FDUUNRQ1FAADtJWOFjUUEBQRFBAUERQQFBEUNBU0FBEUEBQRFBAUERQQFDUUERQQFBEUNBUQFBAUERQQFDUUNRQ1FBEUNRQ0FDUUNRQAA7WUkBQ1FBEUEBQRFBAUERQQFDUUNRQRFBAUEBQRFBAUERQ1FBAUERQQFDUUERQQFBETERQ1FDUUNRQQFDUUNRQ1FDUUAA0FAAAAAAAAAAAAAA=='
      staubsauger_aufladen:
        friendly_name: "Roby aufladen"
        command_on: 'JgBeAZSQFDUUERQQFBEUEBQRFBAUNRQ1FBAUERQQFBEUEBQRFDUUNBUQFBEUEBQQFBEUEBQRFBAUNRQ1FDUUNRQ1FDUUNRQAA7KXkBQ0FRAUERQQFBEUEBQRFDUUNRQQFBEUEBQRFBAUEBQ1FDUUERQQFBEUEBQRFBAUERQQFDUUNRQ1FDUUNRQ1FDQVAAO0lZAUNRQQFBEUEBQRFBAUERQ0FDUUERQQFBEUEBQRFBAUNRQ1FBEUEBQRExEUEBQRFBAUERQ1FDUUNRQ0FTQUNRQ1FAADtZSQFTQUERQQFBEUEBQRFBAUNRQ1FBEUEBQRFBAUERMRFDUUNRQQFBEUEBQRFBAUERQQFBEUNBQ1FDUUNRQ1FDUUNRQAA7WUkBQ1FBEUEBQRFBAUERQQFDUUNRQQFBEUEBQRFBAUERQ1FDUUEBQRExEUEBQRFBAUERQQFDUUNRQ1FDUUNRQ1FDUUAA0FAAAAAAAAAAAAAA=='

Supervisor > Mosquitto Broker > Configuration: (Network ports are all in default)

logins:
  - username: mquser
    password: mqpass
anonymous: false
customize:
  active: true
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

The Supervisor > Mosquitto Broker > Log

[17:33:18] INFO: Setup mosquitto configuration
[17:33:18] WARNING: SSL not enabled - No valid certs found!
[17:33:18] INFO: Found local users inside config
[17:33:19] INFO: Initialize Hass.io Add-on services
[17:33:19] INFO: Initialize Home Assistant discovery
[17:33:19] INFO: Start Mosquitto daemon
1595259199: Loading config file /share/mosquitto/acl.conf
1595259199: mosquitto version 1.6.3 starting
1595259199: Config loaded from /etc/mosquitto.conf.
1595259199: Loading plugin: /usr/share/mosquitto/auth-plug.so
1595259199: |-- *** auth-plug: startup
1595259199:  ├── Username/password checking enabled.
1595259199:  ├── TLS-PSK checking enabled.
1595259199:  └── Extended authentication not enabled.
1595259199: Opening ipv4 listen socket on port 1883.
1595259199: Opening ipv6 listen socket on port 1883.
1595259199: Opening websockets listen socket on port 1884.
1595259199: Warning: Mosquitto should not be run as root/administrator.
1595259369: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1595259371: New client connected from 172.30.32.1 as auto-966DDFC5-0754-C6D9-88B0-7169196EB4CB (p2, c1, k60, u'homeassistant').
1595259625: New connection from 192.168.0.43 on port 1883.
[INFO] found mquser on local database
1595259626: New client connected from 192.168.0.43 as auto-10245C81-C8BD-D038-711F-739BA49B3487 (p5, c1, k60, u'mquser').
1595259626: Client auto-10245C81-C8BD-D038-711F-739BA49B3487 disconnected.
1595259685: New connection from 192.168.0.43 on port 1883.
1595259685: New client connected from 192.168.0.43 as auto-34AC40AE-C592-CEFE-20E3-53C5D550D122 (p5, c1, k60, u'mquser').
1595259685: Client auto-34AC40AE-C592-CEFE-20E3-53C5D550D122 disconnected.
1595259827: New connection from 192.168.0.43 on port 1883.
[INFO] found homeassistant on local database
1595259828: New client connected from 192.168.0.43 as auto-D8AF9B89-C7B7-A385-E032-11012F5CE2EE (p5, c1, k60, u'homeassistant').
1595259828: Client auto-D8AF9B89-C7B7-A385-E032-11012F5CE2EE disconnected.
1595259831: New connection from 192.168.0.43 on port 1883.
1595259831: New client connected from 192.168.0.43 as auto-97439B42-FD88-C1C9-71A2-8CA7E9BBDAF1 (p5, c1, k60, u'homeassistant').
1595259831: Client auto-97439B42-FD88-C1C9-71A2-8CA7E9BBDAF1 disconnected.
1595259893: New connection from 192.168.0.43 on port 1883.
1595259893: New client connected from 192.168.0.43 as auto-00F14833-A61A-3254-4252-327F1E2AD4D5 (p5, c1, k60, u'mquser').
1595259893: Client auto-00F14833-A61A-3254-4252-327F1E2AD4D5 disconnected.

Supervisor > System > Core Logprovider:

2020-07-20 17:27:22 WARNING (SyncWorker_0) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:27:22 WARNING (SyncWorker_0) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:27:22 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 180 seconds.
2020-07-20 17:30:23 WARNING (SyncWorker_10) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:30:23 WARNING (SyncWorker_10) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:30:23 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 180 seconds.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
2020-07-20 17:30:33 WARNING (Thread-4) [homeassistant.components.mqtt] Disconnected from MQTT server core-mosquitto.local.hass.io:1883 (0)
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
[17:33:43] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2020-07-20 17:36:05 WARNING (MainThread) [homeassistant.setup] Setup of person is taking over 10 seconds.
2020-07-20 17:36:05 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2020-07-20 17:36:08 WARNING (SyncWorker_19) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:36:08 WARNING (SyncWorker_19) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:36:09 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 30 seconds.
2020-07-20 17:36:10 WARNING (MainThread) [homeassistant.components.mobile_app.notify] Found duplicate device name dome's Nokia 4.2
2020-07-20 17:36:10 WARNING (MainThread) [homeassistant.components.mobile_app.notify] Found duplicate device name dome's Nokia 4.2
2020-07-20 17:36:10 WARNING (MainThread) [homeassistant.components.mobile_app.notify] Found duplicate device name dome's Nokia 4.2
2020-07-20 17:36:10 WARNING (MainThread) [homeassistant.components.mobile_app.notify] Found duplicate device name dome's Nokia 4.2
2020-07-20 17:36:10 WARNING (MainThread) [homeassistant.components.mobile_app.notify] Found duplicate device name dome's Nokia 4.2
2020-07-20 17:36:10 WARNING (MainThread) [homeassistant.components.mobile_app.notify] Found duplicate device name dome's Nokia 4.2
2020-07-20 17:36:40 WARNING (SyncWorker_10) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:36:40 WARNING (SyncWorker_10) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:36:40 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 60 seconds.
2020-07-20 17:37:41 WARNING (SyncWorker_14) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:37:41 WARNING (SyncWorker_14) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:37:41 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 90 seconds.
2020-07-20 17:39:12 WARNING (SyncWorker_7) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:39:12 WARNING (SyncWorker_7) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:39:12 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 120 seconds.
2020-07-20 17:41:13 WARNING (SyncWorker_16) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:41:13 WARNING (SyncWorker_16) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:41:13 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 150 seconds.
2020-07-20 17:43:44 WARNING (SyncWorker_13) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:43:44 WARNING (SyncWorker_13) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:43:44 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 180 seconds.
2020-07-20 17:46:45 WARNING (SyncWorker_4) [androidtv.adb_manager] Couldn't connect to 192.168.0.52:5555 via ADB server 127.0.0.1:5037 because the server is not connected to the device
2020-07-20 17:46:45 WARNING (SyncWorker_4) [homeassistant.components.androidtv.media_player] Could not connect to FireTV at 192.168.0.52:5555 using ADB server at 127.0.0.1:5037
2020-07-20 17:46:45 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 180 seconds.

Any help is much appreciated.

1 post - 1 participant

Read full topic

Better Understanding of Automations- Venus OS

$
0
0

Afternoon all,

I have recently built my own battery storage system, I have solar pv on the roof and a home energy monitoring system (emontx). I am using s Victron Colour control GX running Venus OS to monitor and control my battery system.

I have added the modbus tcp to config ymal and I tested it by addressing some of the registers and all works well. I can tell it to stop invertering and charge and vice versa.

To gain absolute control over the battery system I will need to run whats called ‘external control’ This is where the user (me) implement his own control loop in the Energy Storage System app. Mode 3 is external control of your inverter/charger. I am looking to do this. The understanding is simple but im unsure how to write the code for this. Basically when I am generating solar from my pv say 1000W and my house load is 200w. This would mean I would be exporting 800W to grid. I would like to write a analog script/ control loop that mathmatically calculates how much to charge/discharge.

I have a CT on my incoming cable to my house that is all calibrated so I know exactly how much i am importing/exporting. and is updated every 10secs. I can you this as a input to drive the output adressess via modbus.

What would you say is the best code/ example to do this. Modbus register 37 is ESS power setpoint phase 1 and has a scaling factor of -32668 to 32668.

As the example above if I was exporting 800W the modbus my input would be -800 so I would need to write +800 to this address to tell it to charge. Victron use this formula below.

Power to/from AC-input = Power to/from battery + Power to/from AC-output

Any help would be much apprecicated.

Thanks

Gareth

1 post - 1 participant

Read full topic

Automation when state is NOT "home", for a list of entities?

$
0
0

Hi,
I’m using this working automation :

- alias:  Always-on devices dead
  initial_state: 'on'
  trigger:
    platform: state
    entity_id:
      - device_tracker.plug_dishwasher
      - device_tracker.plug_washing
      [...more devices...]
    to: 'not_home'
    for:
      minutes: 60
  action:
    service: notify.ha_telegram
    data_template:
      message: "{{ trigger.to_state.attributes.friendly_name }} is now {{ trigger.to_state.state }} since {{ trigger.for }} minutes"

How could I replace “looking for <not_home>” to "looking for anything but " ?

I’ve seen people using in another topic

value_template: "{{ not is_state('climate.panasonic_aircon', 'idle') }}"

but it doesn’t work for a list of entities I think

2 posts - 2 participants

Read full topic

Send YR temperature with telegram

$
0
0

I have an automation to send a telegram message if the temperature from yr.no exceeds a value using
sensor.yr_temperature as a trigger
successfully
Using this in the telegram message text like so {{ sensor.yr_temperature }} leads to an error. What is the correct syntax to include this value in the message text?

1 post - 1 participant

Read full topic

Comunity Add Ons Repositories not working

$
0
0

I have been fighting with this problem for days now…

Somehow I don´t see the comunity addons. When I try to add it does nothing and I see this in the log.

The only ADD ONS i see in my HA are the Oficial ones .

This is driving me crasy :frowning: any help would be apreciated.

Regards

Francisco

20-07-20 16:54:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-07-20 16:54:57 INFO (MainThread) [supervisor.store] Load add-ons from store: 22 all - 0 new - 0 remove
20-07-20 16:55:54 INFO (MainThread) [supervisor.store.git] Clone add-on https://github.com/hassio-addons repository
20-07-20 16:55:54 ERROR (MainThread) [supervisor.store.git] Can’t clone https://github.com/hassio-addons repository: Cmd(‘git’) failed due to: exit code(128)
cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons /data/addons/git/701a5f4b
stderr: 'Cloning into ‘/data/addons/git/701a5f4b’…
remote: Not Found
fatal: repository ‘https://github.com/hassio-addons/’ not found
'.
20-07-20 16:55:54 ERROR (MainThread) [supervisor.store] Can’t load from repository https://github.com/hassio-addons
20-07-20 16:55:54 INFO (MainThread) [supervisor.store] Load add-ons from store: 22 all - 0 new - 0 remove

1 post - 1 participant

Read full topic


How do I change value of an entity from the dashboard

$
0
0

I am automating my barbeque/smoking thermometers so that I can see what’s happening (and be alerted if something goes awry) using home assistant…which gives me device independence. I need a way to set a maximum and minimum temperature for each probe…from lovelace (or a front end). Once I have them set (as entities?) I can do actionable events…say something through alexa, flash lights, play music…whatever. what’s the best way to add that functionality from the front end? Do I need an automation? is there some card or front end already written?

1 post - 1 participant

Read full topic

Smartthings Integration - Amost There

$
0
0

So, I have almost got the Smartthings Integration working.
I signed up for nabu-casa, to see if that would help - it does!!

My external address works great.
Now, when I try to add the Smartthing integration, nothing happens.
Apparently, this is because there are orphan install attempts, and i need to remove them.
I installed Python, and installed the removal tool (way outside my normal comfort zone).
Now when I try to use the removal tool, either I am doing something wrong, or it just does not work.

This is the last integration I really need to make HA successful, and useful.

Please help!!

1 post - 1 participant

Read full topic

Web scraping img alt tag

$
0
0

I’m having difficulty figuring out what is broken here with this scraper, which is extracting data from an img alt tag. Turning up the scraper’s debug log and nothing stands out. I suspect it has to do with the value_template. Any advice would be greatly appreciated!

- platform: scrape
  name: "Burn Ban"
  resource: https://www.camanofire.com/burn-ban-status/
  select: ".burn-ban img"
  value_template: >-
    {% if value.alt == 'Burn Ban Status: None In Effect' %}
      False
    {% elif value.alt == 'Burn Ban Status: In Effect' %}
      True
    {% else %}
      None
    {% endif %}
  scan_interval: 3600

# VALID STATUS:
#   Burn Ban Status: None In Effect
#   Burn Ban Status: In Effect
#
#  select: ".burn-ban a img"
#  <div class="burn-ban">
#			<a href="https://www.camanofire.com/burn-ban-status/">
#			<img src="https://www.camanofire.com/wp-content/themes/camanofire/library/images/fire-ban-in-effect.png" alt="Burn Ban Status: In Effect">
#			</a>
#	</div>

1 post - 1 participant

Read full topic

How to access HASSIO sudo command (for zigbee2mqtt config)

$
0
0

Hi everybody,

I am new to HASSIO, therefore forgive me if I my questions are silly/basic…

I am trying to configure a CC2531 USB stick to connect to IKEA lightbulb…

I am following the instructions here: https://www.zigbee2mqtt.io/, but when I need to run Zigbee2mqtt on Raspberry Pi 3B+ I am facing some challenges…

once flashed the USB, the instructions ask to perform some modifications as per code below

# Setup Node.js repository
sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

# NOTE 1: If you see the message below please follow: https://gist.github.com/Koenkk/11fe6d4845f5275a2a8791d04ea223cb.
# ## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js 4 and later.
# IMPORTANT: In this case instead of the apt-get install mentioned below; do: sudo apt-get install -y git make g++ gcc

# NOTE 2: On x86, Node.js 10 may not work. It's recommended to install an unofficial Node.js 12 build which can be found here: https://unofficial-builds.nodejs.org/download/release/ (e.g. v12.16.3)

# Install Node.js;
sudo apt-get install -y nodejs git make g++ gcc

# Verify that the correct nodejs and npm (automatically installed with nodejs)
# version has been installed
node --version  # Should output v12.X or v10.X
npm --version  # Should output 6.X

# Clone zigbee2mqtt repository
sudo git clone https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
sudo chown -R pi:pi /opt/zigbee2mqtt

# Install dependencies (as user "pi")
cd /opt/zigbee2mqtt
npm ci

I have tried to following with no luck:

  1. I have installed Terminal & SSH add-on and accessed the WebUI: when I try the first command I get the following error: bash: sudo: command not found

  2. I have tried to access the Raspberry Pi with Putty (via SSH), but I dont even know how to access (credentials/login etc…

  3. I have logged in directly to the Raspberry Pi (home assistant login: root - no password asked - and then I type login to access the “host system”). Once logged in, if i type the suggested commands I get the same error as “bullet point 1”… bash: sudo: command not found

It seems to me that I am not performing the command with the right permissions and/or “in the right place”…

anybody can help me on this?

thank you so much

2 posts - 2 participants

Read full topic

Light template dimmer

$
0
0

Is there a way to combine two sliders of a regular dimmable cct light bulb? To have the light at warm white when it is dimmed and cold white when it is bright. Am I thinking in the right direction by having to create template for that? Any suggestions or solutions?

1 post - 1 participant

Read full topic

Viewing all 105470 articles
Browse latest View live


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