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

Start automations with RFXtrx 433 devices

$
0
0

@Marcelbolhuis wrote:

Got HA installed oke, and I can find my zigbee and zwave devices. But RFX switches are found, but I can’t start an automation with it because there is no device ID. I try to solve it with the entity_ID, but that doesn’t work. Anyone got some tips how I can get this thing working?

The nicest thing would be when I can select it from the devices just as the Zwave and Zigbee switches, but guess that that is not possible.

I tried the script below, but not working (error message while starting up)

'automation:

  • alias: Tuinverlichten
    trigger:
  • device_id: 005f8e482a6f4cc8961f400989d41647
    domain: switch
    entity_id: switch.fibaro_system_fgs221_double_relay_switch_2x1_5kw_switch_2
    platform: device
    type: turned_on
    action:
    • service: switch.turn_on
      entity_id: switch.rfxbuiten’

Posts: 2

Participants: 2

Read full topic


SmartThings v5 motion sensor battery level "Unknown" (but v4 works) — manually assign a quirk?

$
0
0

@zaneclaes wrote:

I have two SmartThings motion sensors, one v4 and one v5. I have added both via ZHA (Aeotec USB stick). They both function, except the v5 shows “Unknown” for the battery level. The v4 shows the battery fine, including voltage.

I note that the v4 has the quirk:
zhaquirks.smartthings.motionv4.SmartThingsMotionV4

The v5 sensor has no quirks. I wonder if v5 does not work because of the configuration otherwise found in that quirk. Is there a way to manually assign a quirk? I cannot actually find any references in the config directory.

Posts: 1

Participants: 1

Read full topic

Google_travel_time reads wrong zone information

$
0
0

@teqqy wrote:

Hello,
my google_travel_time sensor works quite fine since some days ago.

  - platform: google_travel_time
    name: christian_work
    api_key: !secret ga_apikey
    origin: zome.home
    destination: zome.tim

Now the sensor detects my zone somewhere in the US but not in Germany where i live. The Map shows my zones correct. Are there errors in the 0.107 Version? I did not know it the error was on the latest 0.106.

Thanks.

Posts: 1

Participants: 1

Read full topic

CT clamp, multiple readings with different values. How to filter?

$
0
0

@vazquezjm wrote:

Well, I added a CT clamp to one of my Wemos D1 mini, using an ADC (ADS1115) in differential mode. I have an SCT13-000 which outputs 50mA current instead of 1V, so I added a 33ohm burden resistor. I live in Argentina so the mains voltage is 220v.

What I’m getting from the sensor right now:

[19:20:30][D][sensor:092]: 'Measured Current': Sending state 0.05401 A with 2 decimals of accuracy
[19:20:33][D][sensor:092]: 'Measured Current': Sending state 0.03408 A with 2 decimals of accuracy
[19:20:35][D][sensor:092]: 'Measured Current': Sending state 0.05031 A with 2 decimals of accuracy
[19:20:37][D][sensor:092]: 'Measured Current': Sending state 0.04377 A with 2 decimals of accuracy
[19:20:41][D][sensor:092]: 'Measured Current': Sending state 0.04759 A with 2 decimals of accuracy
[19:20:43][D][sensor:092]: 'Measured Current': Sending state 0.04059 A with 2 decimals of accuracy
[19:20:44][D][sensor:092]: 'Measured Current': Sending state 0.04366 A with 2 decimals of accuracy
[19:24:33][D][sensor:092]: 'Measured Current': Sending state 0.03712 A with 2 decimals of accuracy
[19:24:35][D][sensor:092]: 'Measured Current': Sending state 0.04597 A with 2 decimals of accuracy
[19:24:37][D][sensor:092]: 'Measured Current': Sending state 0.05084 A with 2 decimals of accuracy
[19:24:39][D][sensor:092]: 'Measured Current': Sending state 0.04519 A with 2 decimals of accuracy
[19:24:40][D][sensor:092]: 'Measured Current': Sending state 0.03390 A with 2 decimals of accuracy
[19:24:42][D][sensor:092]: 'Measured Current': Sending state 0.05371 A with 2 decimals of accuracy
[19:24:45][D][sensor:092]: 'Measured Current': Sending state 0.04518 A with 2 decimals of accuracy
[19:24:46][D][sensor:092]: 'Measured Current': Sending state 0.03873 A with 2 decimals of accuracy
[19:24:49][D][sensor:092]: 'Measured Current': Sending state 0.03463 A with 2 decimals of accuracy
[19:24:51][D][sensor:092]: 'Measured Current': Sending state 0.03772 A with 2 decimals of accuracy
[19:24:52][D][sensor:092]: 'Measured Current': Sending state 0.05454 A with 2 decimals of accuracy
[19:24:55][D][sensor:092]: 'Measured Current': Sending state 0.04433 A with 2 decimals of accuracy
[19:24:57][D][sensor:092]: 'Measured Current': Sending state 0.03305 A with 2 decimals of accuracy
[19:24:59][D][sensor:092]: 'Measured Current': Sending state 0.03654 A with 2 decimals of accuracy

As you can see, readings are not stable. Consumption measured with a multimeter is 2.28A

As per the doc, I should add this to the config

filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 2.28A
          # Value shown in logs: xxxx
          - xxxx -> 2.28

But since I’m not getting a stable reading, how could I map those values to 2.28A?

Posts: 4

Participants: 2

Read full topic

Netflix won't start

$
0
0

@ramondunker wrote:

I’m trying to make a script that turns my tv on, and switches the input of the Fire TV to Netflix. Script:

start_netflix:
  sequence:
  - service: media_player.turn_on
    data:
      entity_id: media_player.panasonic_viera_tv
  - delay:
      seconds: 10
  - service: media_player.select_source
    data:
      entity_id: media_player.fire_tv
      source: 'com.netflix.ninja'

The TV turns on, but it doesn’t switch to the netflix app. When I only run the select_source part of the script it does work. Anyone got any ideas?

Posts: 2

Participants: 2

Read full topic

Current monitor

$
0
0

@chrisground wrote:

Hello guys, I did this " https://github.com/digiblur/digiDryerMon" I saw on youtube with a clamp sensor, and it works perfectly, reporting Amps via MQTT. Now, is it possible to modify this yaml file to have it display Kwh instead of Amps ?

Thanks


  
esphome:
  name: dryer_current
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_pass
  manual_ip:
    static_ip: !secret ip_dryermon
    gateway: !secret ip_gateway
    subnet: !secret ip_subnet
    dns1: !secret ip_dns1

# Enable logging
logger:

# Comment out and/or remove MQTT if you want to use the ESPHome API

mqtt:
  broker: !secret mqtt_broker
  username: !secret mqtt_user
  password: !secret mqtt_pass

# Uncomment if you want to use the ESPHome API
#api:

ota:

web_server:

sensor:
  - platform: ct_clamp
    sensor: adc_sensor
    name: "Dryer Current"
    unit_of_measurement: "A"
    icon: "mdi:flash-circle"
    id: dryer_current
    update_interval: 20s
    filters:
      - calibrate_linear:
          - 0.0 -> 0.0
          - 0.058 -> 7.00
    on_value:
      then:
        - sensor.template.publish:
            id: dryer_code
            # codes: 0 Idle, 1 Door Open, 2 Drying
            state: !lambda |-
              if (x > 5) return 2; 
              return 0;
#              if (x > 1) return 1;

  - platform: template
    id: dryer_code
    internal: true
#    filters:
#      - debounce: 2s
    on_value:
      then:
        - text_sensor.template.publish:
            id: dryer
            state: !lambda |-
              if (x == 2) return "Drying";
              return "Idle";
#              if (x == 1) return "Door Open";

              
  - platform: adc
    pin: A0
    id: adc_sensor

text_sensor:
  - platform: template
    name: "Dryer"
    id: dryer
    icon: "mdi:tumble-dryer"

Posts: 4

Participants: 3

Read full topic

Dashboards - v0.107 examples

$
0
0

@Juggler wrote:

Can anyone share an example of how to configure multiple dashboards through yaml? I’ve read through the v0.107 release notes and looked at the info page. I’m clearly missing something…?

Should the dashboard name be the same as the filename? Can it be?

Posts: 2

Participants: 2

Read full topic

Somfy Integration Problem

$
0
0

@WolfsW3lp3 wrote:

Hey guys,

Encountering a new Problem since a few days and really don’t know
how I could fix that…

Doesn’t matter if I use the nabu hasa cloud or my own duckdns domain to
add Somfy.

This is the Error which appears in the hass.io Logs:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
    cnx.do_handshake()
  File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1934, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1671, in _raise_ssl_error
    _raise_current_error()
  File "/usr/local/lib/python3.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 360, in connect
    ssl_context=context,
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
    raise ssl.SSLError("bad handshake: %r" % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.somfy.com', port=443): Max retries exceeded with url: /api/v1/site (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/somfy/__init__.py", line 87, in async_setup_entry
    await update_all_devices(hass)
  File "/usr/src/homeassistant/homeassistant/components/somfy/__init__.py", line 159, in update_all_devices
    data[DEVICES] = await hass.async_add_executor_job(data[API].get_devices)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/pymfy/api/somfy_api.py", line 61, in get_devices
    site_ids = [s.id for s in self.get_sites()] if site_id is None else [site_id]
  File "/usr/local/lib/python3.7/site-packages/pymfy/api/somfy_api.py", line 42, in get_sites
    r = self.get("/site")
  File "/usr/local/lib/python3.7/site-packages/pymfy/api/somfy_api.py", line 80, in get
    return self._request("get", path)
  File "/usr/local/lib/python3.7/site-packages/pymfy/api/somfy_api.py", line 123, in _request
    return getattr(self._oauth, method)(url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 543, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 516, in request
    method, url, headers=headers, data=data, **kwargs
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.somfy.com', port=443): Max retries exceeded with url: /api/v1/site (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

Someone know why ?

Posts: 1

Participants: 1

Read full topic


Losing connections after setting up Multi Factor Authentication

$
0
0

@azirion wrote:

My setup: Home Assistant 0.106.6 running on Pi3

Yesterday I configured M.F.A. and suddenly some of my switches are unable to connect. I assume they have the right password but HA is asking them for the second factor which never arrives.
Checked the system log and turns out the Supervisor can’t connect either to 172.30.32.1:8123
So in a desperate action I added this lines to the configuration.yaml:

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks: 
       -192.168.100.1/50
       -172.30.32.1/14

Assuming that will cover all my switches and light ip’s. by skipping the authentication method. But turns out that if I do that, HA starts up in Safe Mode saying:

Log Details (WARNING)

Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:31
Integration: Hass.io

Don’t use ‘server_host’ options with Hass.io

So please help me, what am I doing wrong? What am I missing?

Posts: 2

Participants: 1

Read full topic

Aqara Mijia Universal IR Remote (Chuangmi-V2-mibt)

$
0
0

@KCYeoh wrote:

Hi, I have 2 universal IR remote controllers which the first one is from Xiaomi and the other one is from Aqara Mijia. I have integrated both to HA running in RPi and whenever i tried to learn air conditioner command using Aqara Mijia IR, it always give different command and making it basically unusable to control my air conditioner. Other IR commands for fan and TV are working fine. The Xiaomi version is working fine for everything including the air conditioner.

Anyone is using the Aqara Mijia and successfully using it to control air conditioner in HA?
Thanks in advance.

Posts: 1

Participants: 1

Read full topic

Why now() doesn't work?

$
0
0

@tj1aih wrote:

I make a automation to say time hourly. but it doesn’t work.

data:
  entity_id: media_player.android
  message: 'The time is {{ now().hour}}'
service: tts.baidu_say

the media player will say “'The time is now hour”,it looks like the template is not rendered correctly

thank you for your time.

Posts: 2

Participants: 2

Read full topic

Device_tracker.iphone_de_xxxxx

$
0
0

@InacioSung wrote:

Hello Everyone, I am a new HA user!

I have read documents and also some comments in the community but I have not found the solutions
yet.

Trying to set a trigger (Please ignore spaces and indentantion here):

  • alias: At home
    trigger:
    - platform: state
    entity_id: device_tracker.iphone_de_xxxxx
    from: ‘not_home’
    to: ‘home’
    action:
    - service: xxxxx
    entity_id: xxxx

But thestate of entity “device_tracker.iphone_de_xxxx” never changes so it never triggers, I lelft home and nothing happened / I turned off the phone and nothing / I disconected from the wifi and nothing. What am I missing here?

Thanks in Advance.

Posts: 5

Participants: 2

Read full topic

Lovelace card picker 0.107

$
0
0

@tbar05 wrote:

since updating to 0.107 i have been unable to add a new card to lovelace via the GUI .

where the new card picker with all the options should come up after selecting the +, i just get a message that says

’ Which card would you like to add to your “xxxx” view?’ below that it says browser player and cancel. but nothing comes up and i can only cancel.

i have tried deleting my entire lovelace config via raw config manager but it made no difference

i have also tried hard refresh
currently running 0.107.5

any ideas?

Posts: 3

Participants: 2

Read full topic

No TTS via Rhasspy w/REST API

$
0
0

@maddhater wrote:

I’m not receiving output from my speaker when I test the a rest_command.tts service through hassio.

image

my configuration.yml is as follows:

rest_command:
  tts:
    url: http://192.168.0.n:12101/api/text-to-speech
    method: POST
    payload: '{{ payload }}'
    headers:
      content_type: 'text/plain'

The logs on my rhasspy are:

[INFO:78300838] quart.serving: 192.168.0.n:34294 POST /api/text-to-speech 1.1 200 0 319763
[DEBUG:78300826] InboxActor:  -> stopped
[DEBUG:78300823] EspeakSentenceSpeaker: speaking -> ready
[DEBUG:78300624] APlayAudioPlayer: ['aplay', '-q', '-D', 'sysdefault:CARD=sndrpigooglevoi']
[DEBUG:78300622] EspeakSentenceSpeaker: ready -> speaking
[DEBUG:78300525] EspeakSentenceSpeaker: ['espeak', '-v', 'en', '--stdout', '']

However running the following curl command works
curl -X POST -d "hi world" http://192.168.0.n:12101/api/text-to-speech

The logs on my rhasspy are:

[INFO:78777418] quart.serving: 192.168.0.20:57326 POST /api/text-to-speech 1.1 200 8 1257370
[DEBUG:78777402] InboxActor:  -> stopped
[DEBUG:78777398] EspeakSentenceSpeaker: speaking -> ready
[DEBUG:78776315] APlayAudioPlayer: ['aplay', '-q', '-D', 'sysdefault:CARD=sndrpigooglevoi']
[DEBUG:78776311] EspeakSentenceSpeaker: ready -> speaking
[INFO:78776211] quart.serving: 172.17.0.1:60340 GET /api/events/log 1.1 101 - 101697175
[DEBUG:78776166] EspeakSentenceSpeaker: ['espeak', '-v', 'en', '--stdout', 'hi world']

Posts: 1

Participants: 1

Read full topic

Esp8266 flashing LED

$
0
0

@peternest wrote:

Hi All

Not specifically a HA question but probably something that effects many of us.

I have just recently received 2 new nodeMCU esp8266s to add to my current sensors. The procedure I use is to upload Tasmota (formally with esptool but this time with Tasmotizer (thanks Jonathan Oxer@superhouse).

All functioning the same as previously installed sensors however I have a bright flashing Blue LED on the board that I cant shutdown.

I have used the esp web gui console to run commands to turn leds off but no change.

Has anyone else come across this (resolved this).

Cheers

Posts: 2

Participants: 2

Read full topic


Help Please - Shell command to play channel on Kodi

$
0
0

@harpdogg wrote:

Hi,

I have a curl command to play a live TV channel in Kodi.

  1. This variation runs successfully from the command line, but does not validate in configuration.yaml:
    Command line:
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":"1","method":"Player.Open","params":{"item":{"channelid":46}}}' http://192.168.x.xxx:8080/jsonrpc

Error from the configuration.yaml:

incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 63, column 46:
     ... s: curl -X POST -H "Content-Type: application/json" -d '{"jsonrp ... 
  1. This variation validates in configuration.yaml:
curl -X POST '{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"channelid":46}}}' -H 'content-type:application/json;' http://192.168.x.xxx:8080/jsonrpc

But does not run from the command line:

curl: (3) nested brace in URL position 57:
{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"channelid":46}}}
                                                        ^
{"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}

Can anyone offer any suggestions?

Posts: 2

Participants: 2

Read full topic

Continuous websocket warnings

$
0
0

@panboy180 wrote:

Hi friends,

After upgrading to 0.107, I’ve started getting “websocket connection is closing” warnings. I get one about every 5 minutes. In the HA log, it says it is coming from “aiohttp.websocket”. I’ve increased the log for aiohttp.websocket to debug but I am not getting any additional information.

Any ideas on how to find out what is causing this warning?

Thanks!
Panboy

Posts: 1

Participants: 1

Read full topic

Updated Docker and suddenly most of my zwave network is inaccessable/non-functional

$
0
0

@Tweak3D wrote:

I am running the homeassistant docker in Unraid. Yesterday there was an update and it processed without issue, but I was alerted by my wife that the lights were acting funny. I logged in to HA and sure enough, 80% of my zwave network is now showing up as “Node:Undefined Undefined”. For these nodes, there are no entities associated with them with the zwave manager. I checked the entitty manager and it stills sees the zwave devices as well as the entities, but they are all marked as “unavailable”.

I’ve tried restarting the app and zwave multiple times but this has not resolved the issue. I’ve attempted a network heal and again, no changes. Tested the network and again, no changes.

When rebooting the log clearly shows all the impacted nodes as timing out

2020-03-23 21:45:06 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 67 not ready after 30 seconds, continuing anyway
2020-03-23 21:45:06 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 68 not ready after 30 seconds, continuing anyway
2020-03-23 21:45:06 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 69 not ready after 30 seconds, continuing anyway
2020-03-23 21:45:06 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave node 70 not ready after 30 seconds, continuing anyway

many of the devices are even still calling back to Home Assistant, but it seems confused. For example, here is the power switch/meter on my coffee pot:

2020-03-24 07:09:51.241 Info, Node062, ApplicationCommandHandler - Unhandled Command Class 0x32
2020-03-24 07:10:20.942 Detail, Node062, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x3e, 0x0a, 0x32, 0x02, 0x21, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xba
2020-03-24 07:10:20.942 Detail,
2020-03-24 07:10:20.942 Info, Node062, ApplicationCommandHandler - Unhandled Command Class 0x32
2020-03-24 07:10:50.942 Detail, Node062, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x3e, 0x0a, 0x32, 0x02, 0xa1, 0x64, 0x00, 0x01, 0xe6, 0x0b, 0x00, 0x00, 0xc6
2020-03-24 07:10:50.942 Detail,
2020-03-24 07:10:50.942 Info, Node062, ApplicationCommandHandler - Unhandled Command Class 0x32
2020-03-24 07:10:51.041 Detail, Node062, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x3e, 0x0a, 0x32, 0x02, 0xa1, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22
2020-03-24 07:10:51.041 Detail,
2020-03-24 07:10:51.041 Info, Node062, ApplicationCommandHandler - Unhandled Command Class 0x32
2020-03-24 07:10:51.144 Detail, Node062, Received: 0x01, 0x14, 0x00, 0x04, 0x00, 0x3e, 0x0e, 0x32, 0x02, 0x21, 0x64, 0x00, 0x00, 0x66, 0x38, 0x00, 0x3c, 0x00, 0x00, 0x66, 0x38, 0x96
2020-03-24 07:10:51.144 Detail,
2020-03-24 07:10:51.144 Info, Node062, ApplicationCommandHandler - Unhandled Command Class 0x32
2020-03-24 07:10:51.241 Detail, Node062, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x3e, 0x0a, 0x32, 0x02, 0x21, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xba

So it appears the network still exists, but the config in HA is toast. Not sure if there is someway to repair this or if I just need to nuke the entities and have HA rediscover them (not even sure how to do that entirely). Looking for any assistance or guidance I can try. Not really wanting to have to redo my entire network again as I have a lot of devices.

Any help would be very much appreciated.

Posts: 7

Participants: 2

Read full topic

Uptime in days hours and minutes

$
0
0

@Matt_Barnes wrote:

Hello.

I was hoping to use the uptime sensor but show the result in days hours and minutes.

This just gives unknown but I do not know enough about it to know why (code copied from on here from another use case)

  - platform: uptime
    name: "HA Uptime"
    unit_of_measurement: minutes
      
  - platform: template
    sensors:
      uptime_days:
        value_template: >-
          {% set value = states('sensor.uptime') %}
          {% set last_updated = as_timestamp(strptime(value, "%Y-%m-%d  %H:%M:%S")) %}
          {% set seconds = now().timestamp()-last_updated %}
          {% set hours = seconds / 3600 %}
          {% if seconds / ( 60 * 60 ) > 1 %}
            {{ seconds //  ( 60 * 60 ) }} hours ago
          {% else %}
            {{ seconds // 60 }} minutes ago
          {% endif %}



Posts: 11

Participants: 5

Read full topic

Just installed Home Assistant: shows Supervisor not Hass.io

$
0
0

@exiledyorkie wrote:

Hi
I’ve just been trying to get HA setup the past two days and have run into a few difficulties. Some, my own fault and some things do not work. For example, I couldn’t get it to install on my Pi4 with a direct connection. After a few attempts, a new install using wifi worked.

It appears to be working on my browser now. I’ve not done much else but from the tutorials and help I’ve received, on the task bar, mine shows ‘Supervisor’ whereas all others seem to show Hass.io. Is this a problem? Have I installed the wrong version, although to me, following the installation guide, I followed the links.

Raspberry Pi 4 4gb
Fresh install on 32gb sd card
Wifi (although ethernet didnt work)
Hass os 3.12

Thanks you

Posts: 4

Participants: 3

Read full topic

Viewing all 105595 articles
Browse latest View live


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