!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
16 Nov 2021
@hexa:lossy.network@hexa:lossy.networkHaven't done onboarding in a while10:28:33
@hexa:lossy.network@hexa:lossy.networkIt might need some weather provider for example10:29:09
@hexa:lossy.network@hexa:lossy.network* It might need some specific weather provider for example10:29:20
@simisimis:matrix.orgseeMeein a screen when I added altitude, home name and currency and press next got a pop up saying - Failed to save: undefined10:30:23
@hexa:lossy.network@hexa:lossy.networkCheck the journal10:30:47
@simisimis:matrix.orgseeMeethen I tried loading url and onboarding screen in gone and now I am on HA10:30:51
@hexa:lossy.network@hexa:lossy.networkOk10:31:03
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
Check the journal
of home-assistant.service?
10:31:10
@hexa:lossy.network@hexa:lossy.networkmetno probably10:31:49
@simisimis:matrix.orgseeMeeyes10:31:54
@simisimis:matrix.orgseeMee
    import metno
ModuleNotFoundError: No module named 'metno'
10:32:30
@simisimis:matrix.orgseeMee so I wanted to add roomba and saw that roombapy was missing. it's a first time I was diving into nixpkgs source code so not sure if I've read it correctly, but I found this file: pkgs/servers/home-assistant/component-packages.nix
that did have roomba that is using roombapy.
but after adding it wanted also aiodiscover, and that was only available in "default_config".
so what I did to get home assistant to work with roomba:
add
default_config = {};
roomba = {};
to services.home-assistant.config
Question: is this the way to add a component to HA?
cause adding default_config solved aiodiscover dependency, but it also changed how my dashboard looks now
12:06:43
@simisimis:matrix.orgseeMee * so I wanted to add roomba and saw that roombapy was missing. it's a first time I was diving into nixpkgs source code so not sure if I've read it correctly, but I found this file: pkgs/servers/home-assistant/component-packages.nix
that did have roomba that is using roombapy.
but after adding it wanted also aiodiscover, and that was only available in "default_config".
so what I did to get home assistant to work with roomba:
add
default_config = {};
roomba = {};
to services.home-assistant.config
Question: is this the way to add a component to HA?
cause adding default_config solved aiodiscover dependency for roomba, but it also changed how my dashboard looks now
12:07:59
@hexa:lossy.network@hexa:lossy.network the component-packages.nix is autogenerated, as is mentioned in its header 12:09:27
@hexa:lossy.network@hexa:lossy.networkoh yeah, you just do that, right12:09:44
@hexa:lossy.network@hexa:lossy.networkthe module parses the config for components to load12:10:05
@hexa:lossy.network@hexa:lossy.networkthat's not ideal for components that are autodiscovered or setup via the wizard, but here we are12:10:27
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
that's not ideal for components that are autodiscovered or setup via the wizard, but here we are
honestly I am very excited about where we are. so far experience of setting things up was very pleasant. Keep up the good work! ☺️
12:24:59
@hexa:lossy.network@hexa:lossy.networkThank you!12:25:37
@hexa:lossy.network@hexa:lossy.networkAlright, that is very promising19:41:40
@hexa:lossy.network@hexa:lossy.network
❯ ./result/bin/zigbee2mqtt
Building Zigbee2MQTT... (initial build), failed
(node:2382814) UnhandledPromiseRejectionWarning: Error: Command failed: npm run build
/bin/sh: line 1: npm: command not found

    at ChildProcess.exithandler (child_process.js:383:12)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:400:28)
    at Pipe.<anonymous> (net.js:686:12)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2382814) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2382814) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
19:41:45
@hexa:lossy.network@hexa:lossy.networksure, why not execute npm run build at runtime19:41:57
@hexa:lossy.network@hexa:lossy.networkfeel right at home19:42:11
@hexa:lossy.network@hexa:lossy.networkjust puke into my filesystem please19:42:16
@schnecfk:ruhr-uni-bochum.deCRTifiedzigbee2mqtt too now?19:43:02
@hexa:lossy.network@hexa:lossy.networkI think that started around 1.20 IIRC19:43:15
@schnecfk:ruhr-uni-bochum.deCRTified:(19:43:19
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/Koenkk/zigbee2mqtt/blob/0a1fccf6b3c7383ead8d5b6c77ac6063e70c31aa/index.js#L4719:44:18
@schnecfk:ruhr-uni-bochum.deCRTifiedI think it's getting to a point where I don't feel comfortable with relying on zigbee2mqtt (and home assistant)19:44:19
@hexa:lossy.network@hexa:lossy.networkwell they certainly don't plan to nixos, but with zigbee2mqtt it is probably not on purpose19:44:47

Show newer messages


Back to Room ListRoom Version: 6