!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
7 Nov 2024
@k900:0upti.meK900Good god06:20:25
@symphorien:xlumurb.eusymphorienthank you for the merge07:19:56
@sandro:supersandro.deSandro 🐧
In reply to @hexa:lossy.network
bla, kernel 6.6.58
I had this actually already 3 weeks ago and couldn't figure out what it was
13:28:42
@k900:0upti.meK900Oh no18:47:09
@k900:0upti.meK900Does the build HASS from source PR really need an electron18:47:17
@hexa:lossy.network@hexa:lossy.networkhuh20:07:24
@hexa:lossy.network@hexa:lossy.network K900: what are you seeing? 20:07:32
@k900:0upti.meK900It's downloading an electron20:08:29
@hexa:lossy.network@hexa:lossy.networkwhat for?20:08:35
@k900:0upti.meK900{DDD9FB21-7D4C-4A00-8199-B5F88F278318}.png
Download {DDD9FB21-7D4C-4A00-8199-B5F88F278318}.png
20:09:00
@hexa:lossy.network@hexa:lossy.networkoh no20:09:10
@hexa:lossy.network@hexa:lossy.networkthat is the new matter source build 🫠20:09:17
@symphorien:xlumurb.eusymphorienI saw Sandro found a way to remove the dependency on electron23:04:00
@symphorien:xlumurb.eusymphorienI'll have a look tomorrow23:04:11
@mattleon:matrix.orgmattleonWe probably want electron_31-bin, not electron_31, right?23:09:09
@hexa:lossy.network@hexa:lossy.networkso we build the wheels from source, but use the binary electron for it? 23:09:54
@hexa:lossy.network@hexa:lossy.networkthat feels wrong23:10:07
8 Nov 2024
@mattleon:matrix.orgmattleon
In reply to @k900:0upti.me
Does the build HASS from source PR really need an electron
To answer the direct question, yes, zap-chip is an electron app with a gui, that we execute as a cli-only app to generate files needed for the hass chip wheels build from source
00:44:12
@sandro:supersandro.deSandro 🐧
In reply to @symphorien:xlumurb.eu
I saw Sandro found a way to remove the dependency on electron
It is super hacky to be honest
01:08:10
@sandro:supersandro.deSandro 🐧Also I am not sure if some part is not just swallowing the errors. It all deployed and build but I don't have matter devices01:08:52
@kubeliv:matrix.orgliv [she/her] changed their display name from olivia to liv [she/her].04:17:37
@k900:0upti.meK900
In reply to@mattleon:matrix.org
To answer the direct question, yes, zap-chip is an electron app with a gui, that we execute as a cli-only app to generate files needed for the hass chip wheels build from source
Yeah that was more of a rhetorical question
05:50:41
@k900:0upti.meK900Hm, I wonder if I can get this Google TV box added to Home Assistant as a Thread gateway12:19:10
@k900:0upti.meK900It's supposed to have the hardware12:19:16
@k900:0upti.meK900
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.967 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Logging...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Controller Stack...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) ERROR [root] Uncaught exception
Nov 08 13:01:19 qb matter-server[733517]: Traceback (most recent call last):
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/bin/.matter-server-wrapped", line 9, in <module>
Nov 08 13:01:19 qb matter-server[733517]:     sys.exit(main())
Nov 08 13:01:19 qb matter-server[733517]:              ^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/__main__.py", line 220, in >
Nov 08 13:01:19 qb matter-server[733517]:     server = MatterServer(
Nov 08 13:01:19 qb matter-server[733517]:              ^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/server.py", line 138, in __>
Nov 08 13:01:19 qb matter-server[733517]:     self.stack = MatterStack(self, bluetooth_adapter_id, enable_server_interactions)
Nov 08 13:01:19 qb matter-server[733517]:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/stack.py", line 108, in __i>
Nov 08 13:01:19 qb matter-server[733517]:     chip.native.Init(999 if bluetooth_adapter_id is None else bluetooth_adapter_id)
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 247, in In>
Nov 08 13:01:19 qb matter-server[733517]:     handle = _GetLibraryHandle(Library.CONTROLLER, False)
Nov 08 13:01:19 qb matter-server[733517]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 220, in _G>
Nov 08 13:01:19 qb matter-server[733517]:     handle = _Handle(ctypes.CDLL(FindNativeLibraryPath(lib)))
Nov 08 13:01:19 qb matter-server[733517]:                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/zkzg2gaacmhc2i9ggp35dbl5x0y49531-python3-3.12.7/lib/python3.12/ctypes/__init__.py", line 379, in __init__
Nov 08 13:01:19 qb matter-server[733517]:     self._handle = _dlopen(self._name, mode)
Nov 08 13:01:19 qb matter-server[733517]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: OSError: libnl-route-3.so.200: cannot open shared object file: No such file or directory
13:02:59
@k900:0upti.meK900Uh oh13:03:00
@k900:0upti.meK900 Ping @symphorien @hexa 13:04:27
@mattleon:matrix.orgmattleon Another issue I discovered: since 2024.10.3, some change to nix's toYaml function caused "on" and "off" to be serialized to yaml as on and off, whereas they used to be 'on' and 'off'. It looks like home-assistant uses yaml 1.1, where these are literal bools, and nix is now outputting yaml 1.2, where quoteless on and off are interpreted as string literals. I tried double quoting them in nix, but then it's serialized to a double-quoted string in yaml, which doesn't parse either 13:11:53
@mattleon:matrix.orgmattleon
In reply to @k900:0upti.me
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.967 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Logging...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Controller Stack...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) ERROR [root] Uncaught exception
Nov 08 13:01:19 qb matter-server[733517]: Traceback (most recent call last):
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/bin/.matter-server-wrapped", line 9, in <module>
Nov 08 13:01:19 qb matter-server[733517]:     sys.exit(main())
Nov 08 13:01:19 qb matter-server[733517]:              ^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/__main__.py", line 220, in >
Nov 08 13:01:19 qb matter-server[733517]:     server = MatterServer(
Nov 08 13:01:19 qb matter-server[733517]:              ^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/server.py", line 138, in __>
Nov 08 13:01:19 qb matter-server[733517]:     self.stack = MatterStack(self, bluetooth_adapter_id, enable_server_interactions)
Nov 08 13:01:19 qb matter-server[733517]:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/stack.py", line 108, in __i>
Nov 08 13:01:19 qb matter-server[733517]:     chip.native.Init(999 if bluetooth_adapter_id is None else bluetooth_adapter_id)
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 247, in In>
Nov 08 13:01:19 qb matter-server[733517]:     handle = _GetLibraryHandle(Library.CONTROLLER, False)
Nov 08 13:01:19 qb matter-server[733517]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 220, in _G>
Nov 08 13:01:19 qb matter-server[733517]:     handle = _Handle(ctypes.CDLL(FindNativeLibraryPath(lib)))
Nov 08 13:01:19 qb matter-server[733517]:                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]:   File "/nix/store/zkzg2gaacmhc2i9ggp35dbl5x0y49531-python3-3.12.7/lib/python3.12/ctypes/__init__.py", line 379, in __init__
Nov 08 13:01:19 qb matter-server[733517]:     self._handle = _dlopen(self._name, mode)
Nov 08 13:01:19 qb matter-server[733517]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: OSError: libnl-route-3.so.200: cannot open shared object file: No such file or directory
I can repro this on aarch64: OSError: libnl-route-3.so.200: cannot open shared object file: No such file or directory
13:12:32
@mattleon:matrix.orgmattleon * Another issue I discovered: since 2024.10.3, some change to nix's toYaml function caused "on" and "off" to be serialized to yaml as on and off, whereas they used to be 'on' and 'off'. It looks like home-assistant uses yaml 1.1, where these are literal bools, and nix is now outputting yaml 1.2, where quoteless on and off are interpreted as string literals. I tried double quoting them in nix, but then it's serialized to a double-quoted string in yaml, which doesn't parse properly in hass either 13:13:29

Show newer messages


Back to Room ListRoom Version: 6