NixOS Home Automation | 503 Members | |
| Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant | 130 Servers |
| Sender | Message | Time |
|---|---|---|
| 18 Feb 2025 | ||
| * Ah good call | 16:02:43 | |
| I only knew about single yaml file esphome builds until today | 16:03:01 | |
| they seem to add some custom components | 16:03:07 | |
| Okay seems pretty simple | 16:15:09 | |
| I'll let the compile running for now and see where I can get some debugging in | 16:15:35 | |
| Hmm | 17:06:48 | |
| 17:06:58 | |
| looks like everything went fine, it read the flac | 17:07:24 | |
| but apparently playing it took 0 seconds | 17:08:10 | |
| Wait this doesn't look fine | 17:19:21 | |
| does it never get to the decoder stage? | 17:19:32 | |
| maybe the flac file is empty | 17:19:41 | |
| content length header is 0 | 18:41:08 | |
| 🤔 | 18:41:12 | |
| Let's check whether this file is also 0 bytes in size when I curl it | 19:22:42 | |
| Well dang | 19:25:45 | |
| it's 0 bytes | 19:25:53 | |
| that would explain why there is no sound | 19:26:01 | |
| I might have a lead | 19:37:07 | |
| Okay works now | 19:51:14 | |
| Apparently when there is an error in ffmpeg it will be silently ignored and a 0 byte file is served | 19:51:37 | |
| the error in this case being: The esphome integration it tries to convert a file by downloading it via https from the local home assistant instance. Not sure why it can't just use a file path, but the issue is that my hass wasn't allowed to access itself via its own url. | 19:53:12 | |
| * the error in this case being: The esphome integration tried to convert a file by downloading it via https from the local home assistant instance. Not sure why it can't just use a file path, but the issue is that my hass wasn't allowed to access itself via its own url. | 19:53:24 | |
| 19 Feb 2025 | ||
| I've got this custom integration, just testing it before putting the PR in https://github.com/06kellyjac/nixpkgs/commit/3db1ad93fe366eb75cf9dbe687c456d4552ba85a I was able to load it fine to (after doing the manual steps it seems to be running fine. Got some data coming in, some other data I'm hoping will show up soon. | 12:13:16 | |
| * I've got this custom integration, just testing it before putting the PR in https://github.com/06kellyjac/nixpkgs/commit/3db1ad93fe366eb75cf9dbe687c456d4552ba85a I was able to load it fine to (after doing the manual steps it seems to be running fine. Got some data coming in, some other data I'm hoping will show up soon.) | 12:13:22 | |
| 20 Feb 2025 | ||
| 00:13:59 | ||
| Did matter-server break or something | 21:53:30 | |
| [1740088364.983513][49694:49694] CHIP:DL: Failed to create temp file /data/chip_factory.ini-gR0axc: Permission denied | 21:53:41 | |
In reply to @k900:0upti.me/data is mounted inside a systemd filesystem namespace iirc I can take a quick peak on mine, see if it is throwing the same error on mine | 22:37:41 | |
| This is the relevant bind mount, with helpful comments from the past, yay commenting! https://github.com/NixOS/nixpkgs/blob/f60a759ae7003b321e7ff0c835fc03fa685b91e1/nixos/modules/services/home-automation/matter-server.nix#L82 | 22:41:23 | |