!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
20 Dec 2024
@hexa:lossy.network@hexa:lossy.networkwhat is the binary blob?02:32:52
@spacekitteh:matrix.orgspacekittehbasically a bunch of TLVs describing the network configuration02:33:38
@hexa:lossy.network@hexa:lossy.networkso it sounds likely that the user wants to configure that02:34:28
@hexa:lossy.network@hexa:lossy.networkin an easy way02:34:33
@spacekitteh:matrix.orgspacekitteh yeah. but there is basically no easy way other than using the daemon's CLI to set stuff, and then grabbing the file02:35:44
@spacekitteh:matrix.orgspacekittehhowever, it /is/ persisted02:36:30
@spacekitteh:matrix.orgspacekittehbasically, most of these settings need to be set/initialised one way or another: https://github.com/openthread/openthread/blob/main/src/cli/README_DATASET.md02:39:03
@spacekitteh:matrix.orgspacekittehand a few others should be customisable02:40:01
@spacekitteh:matrix.orgspacekittehthe more i'm thinking about this the more i think i'll go the script way, and tack on an extraConfigScript option to run after the necessary ones02:42:15
@spacekitteh:matrix.orgspacekittehthat way, the entire config file doesn't have to be treated as a secret, rather than just the PSK 02:43:34
@hexa:lossy.network@hexa:lossy.networkprobably for the best02:44:53
@hexa:lossy.network@hexa:lossy.networkbut all of that sounds sufficiently cursed02:45:03
@spacekitteh:matrix.orgspacekittehyeah. thanks google :D02:45:18
@spacekitteh:matrix.orgspacekittehwhat would you name the option to enable creation of this script?02:47:04
@spacekitteh:matrix.orgspacekittehcreation/execution02:47:18
@spacekitteh:matrix.orgspacekitteh'cus like i said, the config file /is/ persistent, so it should be possible to not clobber it02:47:48
@hexa:lossy.network@hexa:lossy.networksorry, I don't know the lingo02:48:50
@hexa:lossy.network@hexa:lossy.networkand what would be the alternative?02:49:05
@hexa:lossy.network@hexa:lossy.networkwhy would anyone want that disabled?02:49:10
@spacekitteh:matrix.orgspacekittehthe alternative is doing it manually, once, and saving it on like a network share02:49:29
@spacekitteh:matrix.orgspacekittehit's just a file in /var/lib/thread02:49:47
@hexa:lossy.network@hexa:lossy.networkso why not just … make it not a bool02:49:50
@hexa:lossy.network@hexa:lossy.networkbut an attr set02:49:53
@hexa:lossy.network@hexa:lossy.networkand if it is not empty … run the script to render the given things02:50:09
@spacekitteh:matrix.orgspacekittehhmm, good idea02:50:27
@spacekitteh:matrix.orgspacekittehi had just an "enable" option in the set02:50:39
@spacekitteh:matrix.orgspacekittehbut just checking if it's empty or not is much nicer02:50:49
@spacekitteh:matrix.orgspacekittehbuuuut idk, it feels a little dangerous02:51:01
@0xfeebdaed:matrix.org0xfeebdaed joined the room.04:02:16
@nickorta12:matrix.org@nickorta12:matrix.org left the room.04:40:28

Show newer messages


Back to Room ListRoom Version: 6