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

Failed to create HTTP server at port 8123


MJPEG camera not showing in google home

$
0
0

@ThatCopy wrote:

My MJPEG camera is not showing up in Google Home. I have stream: in my config and its exposed.

Posts: 1

Participants: 1

Read full topic

History/Logbook dynamic load by entity?

$
0
0

@guice wrote:

Is there some way to stop all entities from loading on either of these pages?

It would be nice to limit the load, especially when you have 100+ entities that’s tracked. It can be quite a taxing page to load.

Posts: 1

Participants: 1

Read full topic

EweLink ( Sonoff ) Dimmer won't Dim

$
0
0

@Thib5 wrote:

Hi, I bought something like that :

then I setup the son off component with my user name and password. my issue is Home Assistant see it as a switch and not a dimmer so I can only switch it on and off

Is there a way to have the dimmer ?

Posts: 1

Participants: 1

Read full topic

Odd use case. Reccomendations/shit to throw at wall to determine stickiness

$
0
0

@Shazster wrote:

My setup:
Home Assistant core 108 running on an Openmediavault 4 NAS via OMV’s Docker addon.
I have an Aeotech Zwave stick and a Schlage Connect Zwave lock. I also have an unsed Pi 3b. Has anyone used a Pi as a remote zwave controller only that connects easily to a running Home Assistant instance? I would really like to get my door lock connected to HomeAssistant.
I had considered running Hass.io on the Pi with the Zwave Addon alone and “slaving” it to my primary HomeAssistant instance, but from my understanding of Hass as it stands now, it no longer supports multiple Home Assistant instances running as Master & Slave configurations.
Any ideas?

Posts: 1

Participants: 1

Read full topic

Hide input_number name and widen slider

Melcloud , On peux arreter la PAC mais pas la metre en route

$
0
0

@xavier05400 wrote:

Bonjour , je contrôle ma PAC Mitshubishi par Home Assistant .
Je peux faire varier la témpérature , je peux l’arreter mais pas la remettre en route par home assistant …
Une Idée ??
(PS , Je débute avec Home assistant)

Posts: 1

Participants: 1

Read full topic

Template sensor from MQTT not working

$
0
0

@njsaunders wrote:

Hi all!

I’ve got two MQTT sensors for my BBQ ThermPro sensor which works great. The temperature is sent in degrees C, and I’d like to create two new sensors to show the value in degrees F. I’ve got the following config in configuration.yaml:

sensor:
  - platform: mqtt
    name: 'bbq_food_probe'
    device_class: "temperature"
    state_topic: 'sensors/rtl_433/Thermopro-TP12/81/temperature_1_C'
    unit_of_measurement: '°C'
    icon: mdi:thermometer
  - platform: mqtt
    name: 'bbq_chamber_probe'
    device_class: "temperature"
    state_topic: 'sensors/rtl_433/Thermopro-TP12/81/temperature_2_C'
    unit_of_measurement: '°C'
    icon: mdi:thermometer
  - platform: template
    sensors:
      bbq_food_probe_f:
        friendly_name: 'BBQ Food Temperature °F'
        entity_id: sensor.bbq_food_probe
        unit_of_measurement: '°F'
        value_template:  "{{ ((float(states('sensor.bbq_food_probe')) * 9 / 5 )  +  32) | round(1) }}"
        device_class: "temperature"
      bbq_chamber_probe_f:
        friendly_name: 'BBQ Chamber Temperature °F'
        entity_id: sensor.bbq_chamber_probe
        unit_of_measurement: '°F'
        value_template: "{{ ((float(states('sensor.bbq_chamber_probe')) * 9 / 5 )  +  32) | round(1) }}"
        device_class: "temperature"

Problems:

  1. In the states screen the values are just a replica of the source probe
  2. The “unit_of_measurement” for the new probe is degrees C, despite explicitly being defined as oF in configuration.yaml
  3. When I add the templated sensor to a dashboard, both sensors appear

Thanks for any assistance you can offer - Been playing with HA for about a week now and I’m addicted!

Thanks,

Neil

Posts: 9

Participants: 4

Read full topic


Hassio drops connection to deCONZ?

$
0
0

@APayerl wrote:

So I have a setup with a zigbee repeter and a couple of blinds (IKEA Fyrtur) connected through the repeater to my Hassio setup.
I’m using deCONZ to connect all my devices and it has worked great for the most part…

Now it has happened two times that two of my blinds (connected through the repeater) gets uncontrollable through hassio services. The only way to solve it as far as I know is to reinstall these which involves removing entities from register in hassio … a tedious procedure…

The strange thing (at least to me) is that when I use VNC to login to deCONZ then I can make the blinds move.
Why this is weird is because hassio and deCONZ is running on the same device so I don’t really see why hassio should fail silently (no error messages in the developer log nor in the system log…) when deCONZ seems to work?

The error has appeard on several versions os hassio. At the moment i’m running the latest 0.108.3

Posts: 2

Participants: 1

Read full topic

Can't change Zigbee channel - Zigbee2mqtt + CC2531

$
0
0

@stolevegen wrote:

Hi.

I can’t manually select channel for my router, but I have checked which channels are in use. Channel 6 is free, but channel 11 is not. Of course Zigbee is on channel 11 as well.

Tried changing from channel 11 to channel 6 in the hassio add-on configuration (Zigbee2mqtt), but I get an error if I choose any other channel than 11. Anyone had the same experience or now about a possible solution?

Posts: 3

Participants: 2

Read full topic

Remote Instance of HA and secure z-wave lock: No service found on Master HA

$
0
0

@ericrph wrote:

I have two instances of HA in Docker, one on a Pi4 which is a remote instance (host) that I have a Sigma UZB Z-wave/ZHA device plugged in that controls all of my Z-wave and ZHA devices. I have successfully paired and can control my Schlage Lock via secure Z-wave from the front end of the host Pi4. My other instance of HA is running on a ReadyNAS in my basement, this is the client or master instance. (I could never get the ReadyNAS to recognize the UZB stick and I doubt that the ZHA signals would reach all of the devices from the basement. This is why I use a remote instance of HA). I am using the HACS plugin “Remote Home-Assistant”. I can control everything on the Pi4 from the ReadyNAS HA instance: all the Z-wave and ZHA devices except the secure Z-wave Schlage lock. When I try to lock or unlock the lock on the ReadyNAS instance I receive a pop-up error message: “Failed to call service lock/unlock. Service not found”. I suspect it is because the lock is on a secure Z-wave node. Any ideas what I have to do to get this to work on my main instance of HA?

Posts: 1

Participants: 1

Read full topic

How to control MQTT cover tilting with Philips Hue Dimmer switch?

$
0
0

@webosa wrote:

Hi,

I have setup a MQTT Cover with tilting the blinds full range of motion with MQTT steps are 0 to 27, where 14 is where the blinds are open (horizontal).

I have now setup Philips Hue Dimmer Switch (with DeConz) to tilt the blinds open (14) and close (0), but how can I setup the dimmer buttons to control the tilt in 10% increments?

Posts: 1

Participants: 1

Read full topic

Can't run Mochad

$
0
0

@Lmalves wrote:

Hi everyone,

I’m very new in Hassio and I have everything up and running on a PI4 with version 0.108.1 (HassOS 3.12).

I’m trying to setup some old X10 stuff with mochad but I’m getting some errors after reboot and can’t get them to work.
My equipment (CM15PRO) is compatible with mochad, I’ve already tested with raspbian and I it works fine.

In the configuration file I have:

# X10 Controller
mochad:
  host: 127.0.0.1
  port: 1099

switch:
  platform: mochad
  devices:
      - address: a2
        name: light
        comm_type: pl
      - address: a4
        name: fan
        comm_type: pl

And after reboot I see this error on the log:

Error while setting up mochad platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/mochad/switch.py", line 34, in setup_platform
    add_entities([MochadSwitch(hass, CONTROLLER.ctrl, dev) for dev in devs])
  File "/usr/src/homeassistant/homeassistant/components/mochad/switch.py", line 34, in <listcomp>
    add_entities([MochadSwitch(hass, CONTROLLER.ctrl, dev) for dev in devs])
AttributeError: 'NoneType' object has no attribute 'ctrl'

Can anyone give some advice?

Thanks

Posts: 1

Participants: 1

Read full topic

How to automate hue dimmer switch events

$
0
0

@Guillermo_Yanez wrote:

Hi everyone
Recently I noticed, in the HUE integration the dimmer switch appears, long ago to automate the actions of it I used the custom component “huesensor”, but now that it appears officially, I want to integrate it directly, but only the property of the battery appears, and I do not see documentation of how to see the events available for it, has someone already integrated the dimmer switch directly with the official hue integration?

Posts: 1

Participants: 1

Read full topic

Using a action template in a device_tracker.see automation

$
0
0

@unw1red wrote:

Question


data_template: >
  location_name: {% if is_state("input_boolean.guest_mode" , "off") %}not_home{%
  else %}home{% endif %}
dev_id: guest_mode

This is my action in an automation to set the location_name payload for a call service device_tracker.see. No matter what the state of the input_boolean, the answer is always not_home.

Anyone see what I am doing wrong?

Posts: 1

Participants: 1

Read full topic


Help with ubuntu

$
0
0

@Makis wrote:

Hi
I am running HA in a NUC ubuntu docker following this instructions.

Lately I had problem to watch movies from Stremio so today I tried to fix it (ha ha)
So I tried the following commands (among several tries like uninstall stremio, its addons etc)

sudo apt install ubuntu-restricted-extras

sudo apt-get dist-upgrade

I think the last one cause the below problem

There is a red notification in ubuntu desktop which prompts me to check - udpate (?) not sure

I am getting the following which makes me afraid that something is wrong with HA ?

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission d                       enied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are y                       ou root?
makis@makis-NUC7PJYH:~$ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Can someone tell me how to fix this?

Posts: 12

Participants: 2

Read full topic

Automation with multiple triggers & templates - Help

$
0
0

@TheStigh wrote:

Hi all,

First I need to describe what I want to achieve;
I have a Yamaha receiver and I’ve made buttons for the different sources (AV1, AV2 etc). As long as I use HA to control the receiver, it all works. The challenge rises when the ladies in the household choose to use the remote. Then I want to update the buttons in HA.

Example (image tells it all I hope):

If I press ‘Apple TV’ it turns on and change the source to AV2. The button updates.

But, if anyone use the remote, I need HA to check at all times ‘what is the current source in use and update the corresponded button with status’. If somebody press AV2 on the remote, I want ‘Apple TV’ button to be turned on.

I was planning to use an automation for this, and up to the trigger part it is easy

I use input_bolean’s to control on/off combined with switches for the buttons.

    entity_id: input_boolean.yamaha_chromecast_on_off
    entity_id: input_boolean.yamaha_appletv_on_off
    entity_id: input_boolean.yamaha_btaudio_on_off

The rule should be:
IF source == AV2 THEN turn_on input_boolean.yamaha_appletv_on_off and turn_off input_boolean.yamaha_chromecast_on_off AND input_boolean.yamaha_btaudio_on_off

IF source == AV3 THEN turn_on input_boolean.yamaha_chromecast_on_off and turn_off input_boolean.yamaha_btaudio_on_off AND input_boolean.yamaha_appletv_on_off

IF source == AV4 THEN turn_on input_boolean.yamaha_btaudio_on_off and turn_off input_boolean.yamaha_chromecast_on_off AND input_boolean.yamaha_appletv_on_off

This worked in template editor to check what is concidered TRUE:

    - platform: template
        value_template: "{{ (state_attr('media_player.yamaha', 'source')) == 'AV2' }}"
    - platform: template
        value_template: "{{ (state_attr('media_player.yamaha', 'source')) == 'AV3' }}"
    - platform: template
        value_template: "{{ (state_attr('media_player.yamaha', 'source')) == 'AV4' }}"

So automation should start with:

- alias: Yamaha Status sjekk
  trigger:
    - platform: template
        value_template: "{{ (state_attr('media_player.yamaha', 'source')) == 'AV2' }}"
    - platform: template
        value_template: "{{ (state_attr('media_player.yamaha', 'source')) == 'AV3' }}"
    - platform: template
        value_template: "{{ (state_attr('media_player.yamaha', 'source')) == 'AV4' }}"

From here I’m quite stuck :thinking:

Is this possible to resolve within a single automation, perhaps using service_template and data_template ??

Posts: 7

Participants: 3

Read full topic

Plex integration setup

$
0
0

@argykaraz wrote:

I am having difficulties in setting up plex via the integrations page.
Allright, I have setup my plex server and everything is fine. ( I havent enabled the remote access, because I dont want it - even though for the purpose of this setup, I enabled it for a brief moment.)
Now I am trying to setup the integration and when the authorization website opens, I get an error 404.
Here is what I do step by step:

I am selecting the plex integration and I am clicking submit.
Opera Snapshot_2020-04-13_214120_192.168.1.20

I am clicking sign in.

And now this pops up:
SharedScreenshot

The URL is my DDNS domain. I havent port forwarded anything. Should I? What port and why? Since I am providing my email to sign in, it was supposed to work without port forward…

Posts: 1

Participants: 1

Read full topic

Hassium and Xiaomi- switch from Chinese to European server

$
0
0

@echopage wrote:

Hi today I noticed that almost all my xiaomi “gadgets” are supported by the European server (those that are not are zigbee and therefore used through deconz) if I disconnect them from the Chinese server and pass them on the European one, hassio recognizes them regularly or should i repeat the procedure? Thanks in advance

Posts: 1

Participants: 1

Read full topic

Play sound over Heos Denon

$
0
0

@Sangoku wrote:

Hello,
I have a Heos integration with denon Denon AVR-X1500H
HASOS latest on a Vm

I am having a problem figuring out how to play sounds on the stereo when somone rings my door. Anyone any ideas how to do it?

Posts: 1

Participants: 1

Read full topic

Viewing all 105572 articles
Browse latest View live


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