!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
28 Jan 2025
@laurynasp:matrix.orglaurynaspi.e. when I was resetting my voice-pe, i was caught out because once i forgot to remove it from from home-assitant (so obviously I wasn't able to add as it had been added already), on another occasion I was using wrong ip address14:45:39
@qbit:tapenet.org@qbit:tapenet.orgi did remove it from HA, it popped up for a second but errored with a json blob module error (didn't screen shot it unfortunately)14:48:12
@qbit:tapenet.org@qbit:tapenet.orgnow it doesn't show up at all14:48:14
@qbit:tapenet.org@qbit:tapenet.orgsince it was a factory reset, i assume it lost my wifi info 14:48:29
@hexa:lossy.network@hexa:lossy.networkso maybe it is available via improvble again?14:57:08
@hexa:lossy.network@hexa:lossy.networkalso, you can probably get its logs over the usb port14:57:42
@qbit:tapenet.org@qbit:tapenet.orgreflashed the fw and it popped back up15:02:39
@qbit:tapenet.org@qbit:tapenet.orgya, logs show it using the wrong address for the tts response 15:07:56
@hexa:lossy.network@hexa:lossy.networksettings > system > network15:09:06
@hexa:lossy.network@hexa:lossy.networkdoes your home-assistant discover the correct ip address?15:09:14
@qbit:tapenet.org@qbit:tapenet.orgit's correct, but the port seems closed, despite having the fw open15:13:09
@qbit:tapenet.org@qbit:tapenet.orgtcp 0 0 127.0.0.1:8123 0.0.0.0:* LISTEN 2184/python3.1315:13:52
@qbit:tapenet.org@qbit:tapenet.orgnixos-fw-accept tcp -- anywhere anywhere tcp dpt:812315:13:53
@qbit:tapenet.org@qbit:tapenet.organyway - thanks for all the help, i'll try beating my head against it some more :D15:14:15
@hexa:lossy.network@hexa:lossy.networkcan you dump your firewall rules?15:15:08
@hexa:lossy.network@hexa:lossy.networknft list ruleset15:15:21
@qbit:tapenet.org@qbit:tapenet.orgit's iptables, but ya: http://okturing.com/src/22945/body15:16:24
@hexa:lossy.network@hexa:lossy.networkeverything passes through the tailscale tables first 🫣15:17:51
@qbit:tapenet.org@qbit:tapenet.org
root@box[0]:~# nixos-firewall-tool open tcp 8125
ip6tables v1.8.11 (nf_tables): Chain 'nixos-fw-accept' does not exist
Try `ip6tables -h' or 'ip6tables --help' for more information.
root@box[2]:~#

that doesn't seem right..

15:23:02
* @qbit:tapenet.org@qbit:tapenet.org throws all the computers into the trash15:23:50
@qbit:tapenet.org@qbit:tapenet.org i don't think it's tailscale, i can poke a hole in the fw and stand up nc (nc -l 8125 and connect fine externally 15:33:11
@laurynasp:matrix.orglaurynaspI use tailscale too, but I started with local ips to reduce moving parts I.e. I added voice-pe using esphome integration from ha UI using 192.xxx ip address, which I took from fresh avahi-browse output. Not sure i that's of any help. 15:37:01
@qbit:tapenet.org@qbit:tapenet.orgah, i think it's because I had config.http.server_host set to 127.0.0.1, added the 10. ip15:39:31
@qbit:tapenet.org@qbit:tapenet.orgfirewalls.. all the way down..15:39:42
@laurynasp:matrix.orglaurynaspI am not sure what your set up is exactly, I run ha on raspberry pi, and then I have voice-pe. I did run tts (piper) on the same pi as ha, so that simplifies issues with firewall for PoC config.15:39:45
@qbit:tapenet.org@qbit:tapenet.orgaww yis, that was it15:41:50
29 Jan 2025
@robert:funklause.dedotlambdaIs there an established way to add blueprints from the NixOS config?00:00:35
@hexa:lossy.network@hexa:lossy.networkhm, apparently we could just drop them into /var/lib/hass/{automation,script/{owner}/{name}.yaml00:04:20
@robert:funklause.dedotlambdaI guess I should rather use Nix functions to create similar automations but I want my family to be able to use the blueprint00:04:21
@robert:funklause.dedotlambda
In reply to @hexa:lossy.network
hm, apparently we could just drop them into /var/lib/hass/{automation,script/{owner}/{name}.yaml
You're missing blueprint, and owner isn't actually required afaict
00:05:00

Show newer messages


Back to Room ListRoom Version: 6