!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

518 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant130 Servers

Load older messages


SenderMessageTime
15 Oct 2021
@schnecfk:ruhr-uni-bochum.deCRTifiedAnd I didn't check whether that version was already in nixpkgs ๐Ÿ˜“19:14:35
@hexa:lossy.network@hexa:lossy.networkI only have Ikea and hue bulbs connected19:15:44
@schnecfk:ruhr-uni-bochum.deCRTifiedYeah, my setup is a bit more diverse. Tuya valves, trรฅdfri bulbs, xiaomi buttons, z2m router and now that thing19:40:09
@schnecfk:ruhr-uni-bochum.deCRTified

Well, I guess just running the update.sh doesn't work at all:

Okt 15 22:43:47 homebox systemd[1]: Started Zigbee2mqtt Service.
Okt 15 22:43:47 homebox zigbee2mqtt[22887]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Okt 15 22:43:47 homebox zigbee2mqtt[22887]:             READ THIS CAREFULLY
Okt 15 22:43:47 homebox zigbee2mqtt[22887]: Refusing to start because configuration is not valid, found the following errors:
Okt 15 22:43:47 homebox zigbee2mqtt[22887]: - Function yaml.safeLoad is removed in js-yaml 4. Use yaml.load instead, which is now safe by default.
Okt 15 22:43:47 homebox zigbee2mqtt[22887]: If you don't know how to solve this, read https://www.zigbee2mqtt.io/information/configuration.html
Okt 15 22:43:47 homebox zigbee2mqtt[22887]: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

And it looks like it's a really creative error handling - just assume that there is a config mistake if the loading throws an exception ๐Ÿ˜€

20:46:02
19 Oct 2021
@schnecfk:ruhr-uni-bochum.deCRTified

Anyone using zigbee2mqtt within a docker container? I really don't like docker, but it looks like I have too many zigbee devices now that aren't supported on 1.16 ๐Ÿ˜… But starting the container fails for me:

Okt 19 19:11:53 homebox 5b244dcbf027[33641]: /usr/local/bin/docker-entrypoint.sh: exec: line 17: illegal option --
17:15:28
@schnecfk:ruhr-uni-bochum.deCRTified Looks like I mixed up extraOptions and cmd... 17:36:22
21 Oct 2021
@optimal:kde.orgTheOPtimal joined the room.10:46:02
@etu:semi.socialetu left the room.11:10:40
@etu:semi.socialetu joined the room.11:12:26
@balsoft:balsoft.rubalsoft set a profile picture.13:41:13
22 Oct 2021
@jeroen:simonetti.nlJeroen joined the room.13:46:06
@jeroen:simonetti.nlJeroenHello, I am having trouble with home-assistant unstable package. It appears to be building from source (which I don't mind persee). But I want to skip all the tests, which I am unable to do.13:47:09
@jeroen:simonetti.nlJeroen

Basically i do this:

{ config, pkgs, lib, ... }:
let
  unstablePkgs = import <nixos-unstable> { };
  hass = (unstablePkgs.home-assistant.overrideAttrs
    (oldAttrs: { doCheck = false; }));
in {

  services.home-assistant = {
    package = hass;
    enable = true;
    port = 8123;
    openFirewall = true;
    configWritable = true;
  };
}
13:47:21
@jeroen:simonetti.nlJeroen However, it still does a pytestCheckPhase which takes ages. 13:48:14
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @jeroen:simonetti.nl
However, it still does a pytestCheckPhase which takes ages.
iirc, you need to set doInstallCheck = false; instead of doCheck = false;
13:49:52
@jeroen:simonetti.nlJeroenI'll give that a go, thanks!13:51:27
@hexa:lossy.network@hexa:lossy.networkhttps://nixos.wiki/wiki/Home_Assistant#Running_a_recent_version_using_an_overlay13:51:41
@hexa:lossy.network@hexa:lossy.networkimporting the module from unstable makes sense13:51:49
@hexa:lossy.network@hexa:lossy.networksince it handles these things by itself13:51:57
@jeroen:simonetti.nlJeroen I get an error with that example from the wiki: error: cannot coerce a set to a string at the imports statement 13:57:32
@kraftnix:matrix.orgkraftnix joined the room.14:23:32
@hexa:lossy.network@hexa:lossy.networkhmm14:38:06
@hexa:lossy.network@hexa:lossy.network Jeroen: updated the article with something I think should work 21:37:39
23 Oct 2021
@jeroen:simonetti.nlJeroen hexa: yup, that works! 08:26:26
26 Oct 2021
@dnrix:matrix.orgdnr joined the room.05:31:35
@dnrix:matrix.orgdnr set a profile picture.05:33:13
@dnrix:matrix.orgdnr changed their display name from dnrix to dnr.05:33:16
3 Nov 2021
@bikal:matrix.orgBikal Lem joined the room.11:45:31
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/14454021:29:21
@hexa:lossy.network@hexa:lossy.networkhttps://www.home-assistant.io/blog/2021/11/03/release-202111/21:29:25

Show newer messages


Back to Room ListRoom Version: 6