!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
18 Nov 2021
@keiichi:matrix.orgteto joined the room.11:02:21
19 Nov 2021
@happyalu:matrix.orghappyalu joined the room.04:21:36
@maniacofmadness:matrix.orgManiac of MadnessHey everyone! NixOS and Home Assistant newbie here. I'm on the unstable channel and I'm using the configuration from here: https://nixos.wiki/wiki/Home_Assistant#Using_PostgreSQL14:13:36
@maniacofmadness:matrix.orgManiac of Madness
In reply to @hexa:lossy.network
with an empty services.home-assistant.config = {} we are missing aiohttp-cors and home-assistant won't start
Is the above still true? I'm asking cause I'm getting a "ModuleNotFoundError: No module named 'aiohttp_cors'" error in the systemd journal.
14:15:16
@simisimis:matrix.orgseeMeeit works for me14:17:21
@simisimis:matrix.orgseeMee but to get aiohttp-cors I would prob try adding auth = { }; in config part of home-assistant 14:20:39
@hexa:lossy.network@hexa:lossy.network add default_config = {} if you don't want to look up basic dependencies 14:21:01
@hexa:lossy.network@hexa:lossy.networkhttps://www.home-assistant.io/integrations/default_config/14:21:11
@hexa:lossy.network@hexa:lossy.network
166: "default_config" = ps: with ps; [ pynacl pyturbojpeg aiodiscover aiohttp-cors async-upnp-client emoji hass-nabucasa home-assistant-frontend ifaddr pillow pyserial pyudev scapy sqlalchemy zeroconf ];
14:21:29
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
add default_config = {} if you don't want to look up basic dependencies
oh that explains why I did not have those issues as I added it because of some other dependency failure
14:22:14
@hexa:lossy.network@hexa:lossy.network fwiw, my personal instance runs without default_config 14:22:45
@hexa:lossy.network@hexa:lossy.network
  services.home-assistant.config = {
    # opinionated default_config
    config = {};
    logbook = {};
    history = {};
    map = {};
    media_source = {};
    mobile_app = {};
    person = {};
    scene = {};
    system_health = {};
    ssdp = {};
    sun = {};
    script = {};
    tag = {};
    timer = {};
    zeroconf = {};

    [...]
14:23:33
@hexa:lossy.network@hexa:lossy.network all input_* components have no deps anyway 14:24:04
@maniacofmadness:matrix.orgManiac of MadnessThank you both for your responses! I'll have a look at what's contained in the default_config and pick what makes sense for my setup.14:24:26
22 Nov 2021
@schnecfk:ruhr-uni-bochum.deCRTifiedNot necessarily nix-related, but is it possible to have some kind of failover for HA or at least zigbee2mqtt?13:40:01
@schnecfk:ruhr-uni-bochum.deCRTifiedMy sd-card died, and while I'm going to switch to an SSD now I'd love to look into making the system more resilient13:40:50
@hexa:lossy.network@hexa:lossy.networkHAHA basically13:41:41
@schnecfk:ruhr-uni-bochum.deCRTifiedSo you mean running two instances in parallel?13:42:20
@hexa:lossy.network@hexa:lossy.networkI guess two machines connected to a postgres cluster with their individual zigbee dongles13:42:22
@hexa:lossy.network@hexa:lossy.networkthough I'm not sure how that'd work, given they'd both like to write sensor data etc.13:42:47
@schnecfk:ruhr-uni-bochum.deCRTifiedWouldn't that result in a split brain for automation?13:43:02
@schnecfk:ruhr-uni-bochum.deCRTifiedSo everything would run twice 13:43:15
@hexa:lossy.network@hexa:lossy.networkyeah, I think that's not going to work13:43:19
@hexa:lossy.network@hexa:lossy.networkbasically set up k8s at home over 3 nodes and tada.wav13:43:28
@linus.heckemann:matrix.mayflower.deLinux HackermanI think this is a case where redundancy would cause more outages than it would prevent.13:43:39
@hexa:lossy.network@hexa:lossy.networkand connect your zigbee dongle via usb2ip on an anycast address13:43:52
@hexa:lossy.network@hexa:lossy.networksorry, I only have silly ideas today.13:44:01
@hexa:lossy.network@hexa:lossy.network
  1. don't run your HA on a Raspberry Pi
13:44:34
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @hexa:lossy.network
sorry, I only have silly ideas today.
No problem, the idea on its own is probably a bad idea in the first place, given the state of sanity for home assistant 😀
13:44:56
@hexa:lossy.network@hexa:lossy.networkprobably, yeah13:45:08

Show newer messages


Back to Room ListRoom Version: 6