!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
18 Feb 2025
@oddlama:matrix.orgoddlama* Ah good call16:02:43
@oddlama:matrix.orgoddlamaI only knew about single yaml file esphome builds until today16:03:01
@oddlama:matrix.orgoddlamathey seem to add some custom components16:03:07
@oddlama:matrix.orgoddlamaOkay seems pretty simple16:15:09
@oddlama:matrix.orgoddlamaI'll let the compile running for now and see where I can get some debugging in 16:15:35
@oddlama:matrix.orgoddlamaHmm17:06:48
@oddlama:matrix.orgoddlama
[18:05:25][D][main:1644]: XXX on_tts_start
[18:05:25][D][light:036]: 'voice_assistant_leds' Setting:
[18:05:25][D][light:051]:   Brightness: 66%
[18:05:25][D][light:109]:   Effect: 'Replying'
[18:05:25][D][main:1644]: XXX on_tts_end
[18:05:25][D][media_player:080]: 'Media Player' - Setting
[18:05:25][D][media_player:087]:   Media URL: https://home.my.domain/api/esphome/ffmpeg_proxy/6b5d67d3a0931ee401f33c2fe15fb882/al2smrp_JoH9Y6RPRENfhw.flac
[18:05:25][D][media_player:093]:  Announcement: yes
[18:05:25][D][voice_assistant:515]: State changed from IDLE to STREAMING_RESPONSE
[18:05:25][D][voice_assistant:522]: Desired state set to STREAMING_RESPONSE
[18:05:25][D][main:1649]: XXX on_end_start
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 48000
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 48000
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 65536
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 65536
[18:05:26][D][esp-idf:000][ann_read]: I (69353) esp-x509-crt-bundle: Certificate validated
[18:05:26]
[18:05:27][D][nabu_media_player.pipeline:173]: Reading FLAC file type
[18:05:27][D][voice_assistant:515]: State changed from STREAMING_RESPONSE to IDLE
[18:05:27][D][voice_assistant:522]: Desired state set to IDLE
[18:05:27][D][light:036]: 'voice_assistant_leds' Setting:
[18:05:27][D][light:051]:   Brightness: 66%
[18:05:27][D][light:109]:   Effect: 'Muted or Silent'
[18:05:27][D][main:1672]: XXX on_end_end
17:06:58
@oddlama:matrix.orgoddlamalooks like everything went fine, it read the flac17:07:24
@oddlama:matrix.orgoddlamabut apparently playing it took 0 seconds17:08:10
@oddlama:matrix.orgoddlamaWait this doesn't look fine17:19:21
@oddlama:matrix.orgoddlamadoes it never get to the decoder stage?17:19:32
@oddlama:matrix.orgoddlamamaybe the flac file is empty17:19:41
@oddlama:matrix.orgoddlamacontent length header is 018:41:08
@oddlama:matrix.orgoddlama🤔18:41:12
@oddlama:matrix.orgoddlamaLet's check whether this file is also 0 bytes in size when I curl it19:22:42
@oddlama:matrix.orgoddlamaWell dang19:25:45
@oddlama:matrix.orgoddlamait's 0 bytes19:25:53
@oddlama:matrix.orgoddlamathat would explain why there is no sound19:26:01
@oddlama:matrix.orgoddlamaI might have a lead19:37:07
@oddlama:matrix.orgoddlamaOkay works now19:51:14
@oddlama:matrix.orgoddlamaApparently when there is an error in ffmpeg it will be silently ignored and a 0 byte file is served19:51:37
@oddlama:matrix.orgoddlamathe 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
@oddlama:matrix.orgoddlama* 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
@j-k:matrix.orgj-k

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 services.home-assistant.customComponents I then threw octopus_energy = { }; into config but I also had to manually put pydantic into services.home-assistant.extraPackages
Is it not meant to pull that in automatically from dependencies in buildHomeAssistantComponent?

(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
@j-k:matrix.orgj-k *

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 services.home-assistant.customComponents I then threw octopus_energy = { }; into config but I also had to manually put pydantic into services.home-assistant.extraPackages
Is it not meant to pull that in automatically from dependencies in buildHomeAssistantComponent?

(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
@thursdaddy:matrix.orgthursdaddy set a profile picture.00:13:59
@k900:0upti.meK900Did matter-server break or something21:53:30
@k900:0upti.meK900[1740088364.983513][49694:49694] CHIP:DL: Failed to create temp file /data/chip_factory.ini-gR0axc: Permission denied21:53:41
@mattleon:matrix.orgmattleon
In reply to @k900:0upti.me
[1740088364.983513][49694:49694] CHIP:DL: Failed to create temp file /data/chip_factory.ini-gR0axc: Permission denied
/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
@mattleon:matrix.orgmattleonThis 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#L8222:41:23

Show newer messages


Back to Room ListRoom Version: 6