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

HassIO Rpi4 - switch from Wifi to Ethernet

$
0
0

@lendy007 wrote:

Hello,

I’ve installed HassIO on RaspberryPi using my-network file on USB with wifi configuration. Now I have my rack prepared and I would need to disconnect from wifi and start using ethernet connection. Can you please advise how to do it?

My thoughts are that I need to create separate network file for wired connection and import it from USB in Supervisor. But how to remove existing wifi configuration so it will disconnect from Wifi?

Thank you

Posts: 1

Participants: 1

Read full topic


How to extract timestamp value for when door open/closed?

$
0
0

@monkeydust wrote:

Hi - looking to extract this timestamp to know when my backdoor was last closed. I am struggling to find a way to get this timestamp as its not an attribute of the zwave sensors.

Is it sitting in the DB and I can pull using SQL or is there another way?

image

Posts: 1

Participants: 1

Read full topic

Add-on store failing

$
0
0

@gideva wrote:

Hi there,

had to reinstall Home Assistant from zero and after quite a lot of attempts (installation was failing for no apparent reason) I made it but I cannot install any add-on since this is failing (no add-on displayed).

On System Log I have this:

20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/cec_scan/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/cec_scan/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/configurator/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/configurator/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/nginx_proxy/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/nginx_proxy/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/samba/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/samba/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mariadb/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mariadb/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/ada/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ada/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/google_assistant/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/google_assistant/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mosquitto/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mosquitto/config.json from repository core
20-05-11 09:40:02 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/a0d7b954/repository.json: Expecting value: line 1 column 1 (char 0)
20-05-11 09:40:02 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/a0d7b954/repository.json
20-05-11 09:40:02 INFO (MainThread) [supervisor.store] Load add-ons from store: 0 all - 0 new - 0 remove
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
20-05-11 09:40:02 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files
20-05-11 09:40:02 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-05-11 09:40:02 INFO (MainThread) [supervisor.ingress] Load 0 ingress session
20-05-11 09:40:02 INFO (MainThread) [supervisor.secrets] Load Home Assistant secrets: 1
20-05-11 09:40:02 INFO (MainThread) [main] Run Supervisor
20-05-11 09:40:02 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-05-11 09:40:02 INFO (MainThread) [supervisor.utils.gdbus] Call de.pengutronix.rauc.Installer.Mark on /
20-05-11 09:40:02 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Phase ‘initialize’ start 0 add-ons
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Phase ‘system’ start 0 add-ons
20-05-11 09:40:02 INFO (MainThread) [supervisor.addons] Phase ‘services’ start 0 add-ons
20-05-11 09:40:02 INFO (SyncWorker_8) [supervisor.docker.interface] Start homeassistant/raspberrypi4-homeassistant
20-05-11 09:41:09 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-05-11 09:41:09 INFO (MainThread) [supervisor.addons] Phase ‘application’ start 0 add-ons
20-05-11 09:41:09 INFO (MainThread) [supervisor.tasks] All core tasks are scheduled
20-05-11 09:41:09 INFO (MainThread) [supervisor.hwmon] Started Supervisor hardware monitor
20-05-11 09:41:09 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-05-11 09:41:09 INFO (MainThread) [supervisor.host.info] Update local host information
20-05-11 09:41:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-05-11 09:41:09 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-05-11 09:41:10 INFO (MainThread) [supervisor.host.services] Update service information
20-05-11 09:41:10 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-05-11 09:41:10 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-05-11 09:41:10 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-05-11 09:41:10 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-05-11 10:05:12 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-05-11 10:05:12 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-05-11 10:05:12 ERROR (MainThread) [supervisor.store.git] Can’t update https://github.com/hassio-addons/repository repo: Cmd(‘git’) failed due to: exit code(128)
cmdline: git fetch --depth=1 --update-shallow -v origin
stderr: ‘fatal: .git/index: index file smaller than expected’.
20-05-11 10:05:12 ERROR (MainThread) [supervisor.store.git] Can’t update https://github.com/home-assistant/hassio-addons repo: Cmd(‘git’) failed due to: exit code(128)
cmdline: git fetch --depth=1 --update-shallow -v origin
stderr: ‘fatal: .git/index: index file smaller than expected’.
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/rpc_shutdown/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/rpc_shutdown/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/letsencrypt/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/letsencrypt/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/almond/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/almond/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/homematic/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/homematic/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/deconz/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/deconz/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/dhcp_server/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dhcp_server/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/dnsmasq/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/dnsmasq/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/check_config/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/check_config/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/ssh/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ssh/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/git_pull/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/git_pull/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/duckdns/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/duckdns/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/zwave/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/zwave/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/tellstick/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/tellstick/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/cec_scan/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/cec_scan/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/configurator/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/configurator/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/nginx_proxy/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/nginx_proxy/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/samba/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/samba/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mariadb/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mariadb/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/ada/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/ada/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/google_assistant/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/google_assistant/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/core/mosquitto/config.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read /data/addons/core/mosquitto/config.json from repository core
20-05-11 10:05:12 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/a0d7b954/repository.json: Expecting value: line 1 column 1 (char 0)
20-05-11 10:05:12 WARNING (MainThread) [supervisor.store.data] Can’t read repository information from /data/addons/git/a0d7b954/repository.json
20-05-11 10:05:12 INFO (MainThread) [supervisor.store] Load add-ons from store: 0 all - 0 new - 0 remove
20-05-11 10:05:38 INFO (SyncWorker_16) [supervisor.docker.interface] Restart homeassistant/raspberrypi4-homeassistant
20-05-11 10:06:06 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance

Posts: 1

Participants: 1

Read full topic

How to make Samba Shares read-only

$
0
0

@techfreakz wrote:

Hello,
I have successfully setup Samba using the add-on to expose the usual shares.
I wish to backup the files in the shares across the network using my existing backup infrastructure.
For security reasons i’d prefer these shares to be read-only and accessed by a “backup” user.
Is there a way to configure this using the existing add-on settings or am I better off not using the add-on and configuring Samba manually. I realise I could probably use the add-on to initially setup the shares and then make changes to the settings, but I’d be worried those setting would then change as updates are applied.
Best regards,
Alex

Posts: 1

Participants: 1

Read full topic

Not all deCONZ lights are exposed

$
0
0

@AlexanderPCT wrote:

HI,

strange behavior here:

I’m using deCONZ with some lights for quite a while, now ive added 5 new ones. The first 3 i’ve paired worked like they should, but i dont see light 4 and 5 in google home. however in hass.io they are present. when i put them alone in a new group the group will show up in google home.

im exposing just:

exposed_domains:
 - switch
 - light

Posts: 2

Participants: 2

Read full topic

Customize Entities

$
0
0

@Thomas.dmm wrote:

Hello Every Body, I recently change my configuration from a raspberry pi4 to my NAS on docker and I migrate integration et configuration.
I have some problem with Customize, In my configuration.yaml I have
customize: !include customize.yaml
In my Customize.yaml

binary_sensor.rpi4_garage_open:
  friendly_name: Porte de Garage
  templates:
    icon: "if (state === 'on') return 'mdi:garage-open';  \t return 'mdi:garage';\
      \        "
    icon_color: 'if (state === ''on'') return ''#e25f67''; return ''#00b300'';'

When i check the status in tools of dev. I have
[binary_sensor.rpi4_garage_open]
on
friendly_name: Porte de Garage
device_class: opening
templates:
icon: "if (state === ‘on’) return ‘mdi:garage-open’; \t return ‘mdi:garage’; "
icon_color: ‘if (state === ‘‘on’’) return ‘’#e25f67’’; return ‘’#00b300’’;’

In Home assistant
I have the icon for a deviceclass opening and not garage and the color is the color of theme and not wanted color
Something change between configuration ?

Posts: 2

Participants: 2

Read full topic

Problem with network/docker when installing Hassio on window with virtualbox

$
0
0

@garret wrote:

Hi All,

Been working on a problem with hassio that occurred last Wednesday. After a reboot of hassio virtual machine in VirtualBox my homeassistant installation didn’t come online (as in I couldn’t reach it via web-interface). Tried a proper shutdown and reboot a couple of times, but it didn’t help.

The first thing to do? Read the logs of course. But the only thing it said, was that it took longer than x second to set up this and that.

The second step to do? To the forum. Browsing the forum gave me the idea that it could have something to do with the homeassistant container not being able to reach the other containers.

So via VirtualBox UI I logged into the console of homeassistant. The UI was constantly bombarded with messages that port x entered blocking state, port x entered forwarding state, eth0 renamed from vethxxxxx etc. Searching the forum and googling resulted in more people having the same problem. For some people, it was fixed because they had a wrong configuration or they reverted a fresh update because of a bug. So tried all that with no luck.

Finally did a completely fresh install of hassio, without any luck, the same problem. And today I even fired up an old backup virtual machine which used to work, with the same result. No webinterface and no control over my devices.

I thought maybe it’s the network card so I switched from lan to wifi in virtualbox setup, again without any luck.

Since none of the hassio instances work I’m assuming something has changed in my host system (windows 10), the networksettings or virtualbox. But I have no clue how to validate or better fix it.

I’m hoping anyone has an idea where I can begin? I don’t want to reinstall my whole server, without first knowing if that’s causing the problem

Posts: 1

Participants: 1

Read full topic

Installing (deprecated) hassio on Ubuntu 18.04

$
0
0

@darryl12123 wrote:

Hi guys,

I just bought an Intel NUC and want to run HASSIO in a docker container. I know they want to deprecate hassio for linux systems which they put now on hold, but I want to install it anyway.

I tried to install hassio with this command:

curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s

But get the following message:

[Warning] This installer is no longer supported.
[Warning]
[Warning] Home Assistant might work today, tomorrow maybe not.
[Warning]
[Warning] If you want more control over your own system, run
[Warning] Home Assistant as a VM or run Home Assistant Core
[Warning] via a Docker container.
[Warning]
Please typ "not supported" to continue this installation
bash: line 17: syntax error near unexpected token `then'

How to continue the installation? If I typ “not support” it is saying: not supported: command not found

My linux skills are still noob so sorry about that!

Thanks!

Posts: 4

Participants: 2

Read full topic


CC2531 + Osram Bulb

$
0
0

@Baldissera wrote:

Hello,

I have configured 1 cc2531 stick as my Zigbee hub on my RP4.
So far, I can easily add Xiaomi sensors and other Xiaomi Zigbee devices.

Then I wanted to extend the range of the Zigbee network, and I was told to use some bulbs around the house. So I bought 2 Osram Bulbs.

Now I am not sure how to setup those to handle/extend the network?
Can I do it with my cc2531, or do I have to have a Osram Hub?

Br.

Posts: 1

Participants: 1

Read full topic

How to migrate to "Works with Google Assistant" account in order to use Nest Camera inside Google Nest Hub Max

$
0
0

@francesconazzaro wrote:

I’ve just bought a Google Nest Hub Max and I would like to use the camera in it, at least with the Google Home application.
I already have an old Nest developer account and I do have a Nest thermostat integrated in Home Assistant.
If I try to configure the Google Nest Hub Max Camera inside the Google Home application, it asks me to migrate the account to the Google account.

Will this stop to work my Nest integration in Home Assistant?
Is there anyone that has already migrated the account with a Nest thermostat?

Posts: 1

Participants: 1

Read full topic

Initial Unifi Setup With Addon?

$
0
0

@Pashovski wrote:

If I am running HA on my Rpi4 , will I be able to complete a Unifi setup using the Unifi addon, rather than a device for running the controller like a second Rpi4 or the cloud key?

If I need to buy more hadrware, and that’s better for the long, I will do that

Posts: 1

Participants: 1

Read full topic

Grafana location map - split lat/lon string from geocoded_location

$
0
0

@bandita00 wrote:

Hi all,

the Home Assistant companion (Android) app sends the location of my phone to HA. This works perfectly, I can see a sensor.geocoded_location entity in HA, which shows latitude/longitude data. I send this data to an InfluxDB database, and try to plot it on a map with Grafana. The Worldmap plugin in grafana needs two separate fields with latitude and longitude, but in the InfluxDB database they are joined together in one string: [lat, lon]

Does anybody managed to get around this problem? How can I write a query that can split the string provided by the mobile app?

Thanks!

Posts: 2

Participants: 2

Read full topic

Has anybody set up fetching download/upload speed from influxdb (unifipoller)?

$
0
0

@fribse wrote:

I’ve set up unifipoller here in a LXC container, it works fine after finding a bug and working around it.
It was @AlohaDan that suggested it, and also told me that I can make a sensor in HA pull the data from influxdb into HA.
I’ve tried stealing the query from the unifipoller dashboards, and reuse that, but I can’t make it work.
So I was hoping somebody else had done it already?

Best regards
Kenneth

Posts: 1

Participants: 1

Read full topic

How to detect a sensor with "unknown" state

$
0
0

@ehc wrote:

Hi Guys, I have a sensor that a random intervals stop working and Home Assistant reports state “unknown”. I can send a reboot, which solves the problem, but in order to automate it I must detect when the sensor reports “unknown”. There is a side problem, because if I print the state with “states.potencia_ac.state”, it reports “Desconocido” ( I am spanish).
I am trying a template lik the following one , but it does not work

      {% if is_state("sensor.potencia_ac", "unknown") %}
        Roto
      {% else %}
        no roto
      {% endif %}

Can somebody help me?

Posts: 2

Participants: 2

Read full topic

ZHA no Battery level with new Aqara devices

$
0
0

@Joe34 wrote:

I have included a new Aqara Temperatur Sensor in Home Assistant 0.109.6. There are only 3 Sensors: pressure, humidity and temperature bot no Battery level. My Temperture Sensors i have included in older Verions of Home-Assistant get 4 Sensors including the battery level.
The older devices are included as “class”: “zhaquirks.xiaomi.aqara.weather.Weather”,
the new one as “class”: “zigpy.device.Device”.
Maybe a Problem with zhaquirks?

Posts: 1

Participants: 1

Read full topic


Light / brightness entity

$
0
0

@gijbelsy wrote:

I have a template for one of my light entites.
The code below is working fine:

    bediening_licht_badkamer:
      friendly_name: "Licht badkamer"
      level_template: "{{ ((states('sensor.brightness_licht_badkamer')|int)-126)*2 }}"
      value_template: "{{ ((states('sensor.brightness_licht_badkamer')|int)-126)*2 > 1}}"
          
      turn_on:
        service: ads.write_data_by_name
        data:
          adsvar: gvlHomeAssistant.bBedLichtBadkamer
          adstype: byte
          value: 1
      turn_off:
        service: ads.write_data_by_name
        data:
          adsvar: gvlHomeAssistant.bBedLichtBadkamer
          adstype: byte
          value: 0
      set_level:
        service: python_script.adswriteint
        data_template:
          ads_variablename: gvlHomeAssistant.iDimLichtBadkamer
          ads_value: "{{ brightness }}"

Problem is that the set_level needs to send the brightness level, multiplied by 128.
When I use

ads_value: "{{ brightness|int * 128 }}"

It just sends 128 instead of the multiplied value.
What am I missing here ?

Posts: 1

Participants: 1

Read full topic

Utility Meter and Z-Wave Qubino Smart Meter

$
0
0

@Veuchez wrote:

Hello everyone!
I can’t solve a problem with the utility meter.
It often happens that when I restart the Home Assistant the z-wave network takes a long time to start up and the energy meter of the Qubino Smart Meter temporarily starts up with a consumption of 0 and then returns to the correct measurement.
When the meter of the Qubino Smart Meter is at 0, the utility meter makes the calculation of the difference of energy consumed when the Home Assistant is restarted and being the meter momentarily at 0, it does the wrong calculation and doubles the consumption.
From the graphs perhaps you understand better what I mean.
Is there a way to solve this problem?
Thanks!

Historic Qubino Smart Meter
qubino rid

Historical daily consumption
Daily rid

Posts: 4

Participants: 2

Read full topic

Sonoff with esphome listening to mqtt messages

$
0
0

@ajocius wrote:

I have flashed esphome to sonoff device and connected to wifi network. I would like to listen for mqtt messages and turn power on or off depending on message. Does someone have working example of it? Could not find example that I could use. I tried following, without any sucess:

mqtt:
broker: 192.168.1.29
username: *****
password: *****
client_id: spow1
on_message:
topic: msgspow1
then:
- switch.turn_on: POWER

Posts: 1

Participants: 1

Read full topic

Milight GuU10 RGB+CCT - Does the Cold/Warm white also work?

$
0
0

@Yoinkz wrote:

Hi,

I’m currently looking into buying some of the Milight GuU10 for a family member that wants a nice looking garage, but doesn’t want to spend a fortune. I’ve heard a lot good about the Miligt, but I have only played around with the Milight iBox which does a nice job at home here.

So I was wondering, would it be possible to pair a Milight WiFi Box https://www.milight.com/milight-wifi-box/ and the GU10 RGB+CCT bulbs https://www.milight.com/milight-gu10-rgbw-spotlight-iphone-ios-android-controlled-light/ and add those into Home Assistant using the limitlessLed component?
https://www.home-assistant.io/integrations/limitlessled/

I can only see the RGBWW which I can read is for the Warm White, but I want the Cold White as well if possible.
Does anyone have any experience?

Thanks… :blush:

Posts: 1

Participants: 1

Read full topic

Persons presence for "Work" and "School"

$
0
0

@mkanet wrote:

Currently, I have the phone companion app’s geolocation associated with each person; as well as from my home router.

I would like ultimately for the presence of each person to show “Home” when at home, “Work” for when at their work, “School” for when at school… and, street address for everywhere else for each person. Currently,l it only shows “Home” or “Away”

I’m curious, is there an relatively easy way to do this without involving complex templates? I have already setup Google Maps to identify “Home”, "School, “Work” location labels for each person’s Google account. However, I’m not sure if Home Assistant’s “Persons” is smart enough to use Google Maps’s predefined labels.

I’m hoping someone can share what they did specifically to achieve this. If it requires templates, I’m hoping someone could share their template with me.

Thanks so much in advance!

PS: I just realized that I can define Zones. Maybe, that’s all I have to do for this to work?

Posts: 3

Participants: 2

Read full topic

Viewing all 106363 articles
Browse latest View live