!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

51 Members
Making your home go *BLING* using NixOS. 25 Servers

Load older messages


SenderMessageTime
15 Oct 2021
@hexa:lossy.networkhexa CRTified breakage was also visible during local builds through nixpkgs-review, depending a bit on the nix version in use 19:09:23
@hexa:lossy.networkhexahttps://github.com/svanderburg/node2nix/commit/1cbaf383c3787041e04e510d38f1832a31ee761319:09:54
@hexa:lossy.networkhexaThis is the most promising approach to get this fixed short-term19:10:11
@hexa:lossy.networkhexaSadly no release with that change yet19:10:39
@schnecfk:ruhr-uni-bochum.deCRTifiedOh ☹️ I'll try whether it works for me then. Probably won't be able to finish the project in the near time due to a missing PSU, so I'm not that much in a hurry19:11:15
@hexa:lossy.networkhexaI'm running 1.20 currently, there were some changes to the build steps in 1.2119:12:01
@schnecfk:ruhr-uni-bochum.deCRTifiedThanks for the info btw 19:12:20
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @hexa:lossy.network
I'm running 1.20 currently, there were some changes to the build steps in 1.21
yeah, I bought https://www.zigbee2mqtt.io/devices/FUT035Z.html - Changelog says that support for it was only added in 1.21.1
19:14:22
@schnecfk:ruhr-uni-bochum.deCRTifiedAnd I didn't check whether that version was already in nixpkgs 😓19:14:35
@hexa:lossy.networkhexaI 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.networkhexahttps://nixos.wiki/wiki/Home_Assistant#Running_a_recent_version_using_an_overlay13:51:41
@hexa:lossy.networkhexaimporting the module from unstable makes sense13:51:49
@hexa:lossy.networkhexasince 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.networkhexahmm14:38:06

There are no newer messages yet.


Back to Room List