| 16 Nov 2021 |
@hexa:lossy.network | Haven't done onboarding in a while | 10:28:33 |
@hexa:lossy.network | It might need some weather provider for example | 10:29:09 |
@hexa:lossy.network | * It might need some specific weather provider for example | 10:29:20 |
seeMee | in a screen when I added altitude, home name and currency and press next got a pop up saying - Failed to save: undefined | 10:30:23 |
@hexa:lossy.network | Check the journal | 10:30:47 |
seeMee | then I tried loading url and onboarding screen in gone and now I am on HA | 10:30:51 |
@hexa:lossy.network | Ok | 10:31:03 |
seeMee | In reply to @hexa:lossy.network Check the journal of home-assistant.service? | 10:31:10 |
@hexa:lossy.network | metno probably | 10:31:49 |
seeMee | yes | 10:31:54 |
seeMee | import metno
ModuleNotFoundError: No module named 'metno'
| 10:32:30 |
seeMee | 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 |
seeMee | * 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 | the component-packages.nix is autogenerated, as is mentioned in its header | 12:09:27 |
@hexa:lossy.network | oh yeah, you just do that, right | 12:09:44 |
@hexa:lossy.network | the module parses the config for components to load | 12:10:05 |
@hexa:lossy.network | that's not ideal for components that are autodiscovered or setup via the wizard, but here we are | 12:10:27 |
seeMee | 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 | Thank you! | 12:25:37 |
@hexa:lossy.network | Alright, that is very promising | 19:41:40 |
@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 | sure, why not execute npm run build at runtime | 19:41:57 |
@hexa:lossy.network | feel right at home | 19:42:11 |
@hexa:lossy.network | just puke into my filesystem please | 19:42:16 |
CRTified | zigbee2mqtt too now? | 19:43:02 |
@hexa:lossy.network | I think that started around 1.20 IIRC | 19:43:15 |
CRTified | :( | 19:43:19 |
@hexa:lossy.network | https://github.com/Koenkk/zigbee2mqtt/blob/0a1fccf6b3c7383ead8d5b6c77ac6063e70c31aa/index.js#L47 | 19:44:18 |
CRTified | I 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 | well they certainly don't plan to nixos, but with zigbee2mqtt it is probably not on purpose | 19:44:47 |