| 16 Nov 2021 |
@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 |
@hexa:lossy.network | and it's not the first package we've patched to behave | 19:44:54 |
@hexa:lossy.network | https://github.com/Koenkk/zigbee2mqtt/blob/0a1fccf6b3c7383ead8d5b6c77ac6063e70c31aa/index.js#L60-L62 | 19:45:24 |
@hexa:lossy.network | the build is conditional even | 19:45:26 |
CRTified | In reply to @hexa:lossy.network https://github.com/Koenkk/zigbee2mqtt/blob/0a1fccf6b3c7383ead8d5b6c77ac6063e70c31aa/index.js#L47 Wow, but why? Don't they have everything at hand that they need to built it in the first place? Don't really know much about the internal structure of z2m, but I didn't see much that was plugin-based before | 19:45:29 |
Jeroen | hexa: are you trying to package zigbee2mqtt? If so, id be interested in your progress, just to see how you are doing it (asking for a friend) ;) | 19:48:01 |
@hexa:lossy.network | version 1.16.0 is packaged, I'm trying to update it to 1.22.0 | 19:48:21 |
Jeroen | I tried zwavejs2mqtt but failed badly | 19:48:33 |
Jeroen | Ah cool, ill check that out | 19:48:50 |
@hexa:lossy.network | In reply to @jeroen:simonetti.nl I tried zwavejs2mqtt but failed badly yeah, node/typescript/etc are a mess | 20:03:29 |
@hexa:lossy.network | https://github.com/andir/infra/blob/64c46a0a4492ca8785ed2540fec76de9e94db78e/nix/packages/default.nix#L239-L276 | 21:04:09 |
@hexa:lossy.network | zigbee2mqtt packaged using npmlock2nix | 21:04:24 |
| 17 Nov 2021 |
| Maniac of Madness joined the room. | 06:36:35 |
Mic92 | network integration seems to be broken on master: Setup failed for network: Unable to import component: No module named 'ifaddr' | 12:40:35 |
Mic92 | This also breaks ios and zeroconf | 12:41:44 |
Mic92 | transmission also seems to have an issue: Setup failed for transmission: Unable to import component: No module named 'transmissionrpc' | 12:42:42 |
Mic92 | interesting: we seem to have the right version: https://github.com/home-assistant/core/blob/b6dea3c6cb291c7df9282eb46e617a25e7d69c80/requirements.txt#L15 | 12:44:12 |
seeMee | can I somehow add google calendar as an entity in HA? | 15:27:03 |
CRTified | In reply to @simisimis:matrix.org can I somehow add google calendar as an entity in HA? https://www.home-assistant.io/integrations/google/ should do the trick | 15:28:01 |