15 Oct 2021 |
hexa | CRTified breakage was also visible during local builds through nixpkgs-review, depending a bit on the nix version in use | 19:09:23 |
hexa | https://github.com/svanderburg/node2nix/commit/1cbaf383c3787041e04e510d38f1832a31ee7613 | 19:09:54 |
hexa | This is the most promising approach to get this fixed short-term | 19:10:11 |
hexa | Sadly no release with that change yet | 19:10:39 |
CRTified | Oh โน๏ธ 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 hurry | 19:11:15 |
hexa | I'm running 1.20 currently, there were some changes to the build steps in 1.21 | 19:12:01 |
CRTified | Thanks for the info btw | 19:12:20 |
CRTified | 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 |
CRTified | And I didn't check whether that version was already in nixpkgs ๐ | 19:14:35 |
hexa | I only have Ikea and hue bulbs connected | 19:15:44 |
CRTified | Yeah, my setup is a bit more diverse. Tuya valves, trรฅdfri bulbs, xiaomi buttons, z2m router and now that thing | 19:40:09 |
CRTified | 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 |
CRTified | 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 |
CRTified | Looks like I mixed up extraOptions and cmd ... | 17:36:22 |
21 Oct 2021 |
| TheOPtimal joined the room. | 10:46:02 |
| etu left the room. | 11:10:40 |
| etu joined the room. | 11:12:26 |
| balsoft set a profile picture. | 13:41:13 |
22 Oct 2021 |
| Jeroen joined the room. | 13:46:06 |
Jeroen | Hello, 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 | 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 | However, it still does a pytestCheckPhase which takes ages. | 13:48:14 |
CRTified | 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 | I'll give that a go, thanks! | 13:51:27 |
hexa | https://nixos.wiki/wiki/Home_Assistant#Running_a_recent_version_using_an_overlay | 13:51:41 |
hexa | importing the module from unstable makes sense | 13:51:49 |
hexa | since it handles these things by itself | 13:51:57 |
Jeroen | 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 joined the room. | 14:23:32 |
hexa | hmm | 14:38:06 |