!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
24 Aug 2021
@noah:matrix.chatsubo.cafeChurchSame issue11:13:40
@noah:matrix.chatsubo.cafeChurchLet me try adding rw11:13:53
@noah:matrix.chatsubo.cafeChurch Still seeing serial.serialutil.SerialException: [Errno 13] could not open port /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2448684-if00: [Errno 13] Permission denied: '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2448684-if00' 11:15:59
@hexa:lossy.network@hexa:lossy.networkwho owns that serial device?11:16:38
@noah:matrix.chatsubo.cafeChurchHmm, possibly root.11:42:29
@noah:matrix.chatsubo.cafeChurchGuess I can chown it11:42:46
@noah:matrix.chatsubo.cafeChurchYeah that did it heh11:44:43
@etu:semi.social@etu:semi.socialNo group like dialout?11:46:38
@etu:semi.social@etu:semi.socialDialout is common for serial devices11:46:45
@noah:matrix.chatsubo.cafeChurchYeah I'd have to see who owns it exactly when I plug back in. I'm assuming root.11:48:55
@hexa:lossy.network@hexa:lossy.networkneeds less assumptions, more facts 😀12:05:50
@andi:kack.it@andi:kack.itjust run everything as root ;)12:07:20
@etu:semi.social@etu:semi.socialI've added my home assistant user to the dialout group at some point: https://github.com/etu/nixconfig/blob/main/hosts/fenchurch/services/hass.nix#L41112:11:07
@hexa:lossy.network@hexa:lossy.networkthe service is automatically part of the dialout group if your config mentions the correct components. https://github.com/NixOS/nixpkgs/blob/df2f45b347d57bdc99aaa96ee227a37f5201c9dc/nixos/modules/services/misc/home-assistant.nix#L370-L37212:20:37
@etu:semi.social@etu:semi.social hexa: Then I should remove that line, it was probably years ago I've added it. 12:30:57
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/etu/nixconfig/blob/main/hosts/fenchurch/services/hass.nix#L19-L24 pretty sure these are covered by the recommended proxy settings option12:32:43
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/blob/df2f45b347d57bdc99aaa96ee227a37f5201c9dc/nixos/modules/services/web-servers/nginx/default.nix#L59-L6612:33:21
@hexa:lossy.network@hexa:lossy.network setting package like you are doing it probably means you run the tests when deploying? 12:34:15
@hexa:lossy.network@hexa:lossy.networksee https://github.com/NixOS/nixpkgs/blob/df2f45b347d57bdc99aaa96ee227a37f5201c9dc/nixos/modules/services/misc/home-assistant.nix#L187-L20912:35:01
@noah:matrix.chatsubo.cafeChurchYeah was out and about, ssh from the phone is annoying. :P12:40:15
@noah:matrix.chatsubo.cafeChurchLet me go see what it actually is in a few12:40:25
@noah:matrix.chatsubo.cafeChurchYep owners are root:dialout12:54:18
@noah:matrix.chatsubo.cafeChurchTried with my HUBUSB stick and chown'ing to hass:hass worked12:54:34
@hexa:lossy.network@hexa:lossy.networkthat is one solution, though I wouldn't expect this to be necessary with https://github.com/NixOS/nixpkgs/pull/13554012:57:02
@hexa:lossy.network@hexa:lossy.networkit puts your hass into the dialout group already12:57:12
1 Sep 2021
@hexa:lossy.network@hexa:lossy.networkthinking about how to handle the hass update with the python-unstable branch in mind18:37:00
@hexa:lossy.network@hexa:lossy.networkthere is a certain overlap, but python-unstable goes through staging18:37:18
@hexa:lossy.network@hexa:lossy.networkbasing on staging, due to the large overlap of updated packages20:00:08
@hexa:lossy.network@hexa:lossy.networkmeans it will likely be delayed 10-14 days20:00:19
3 Sep 2021
@iclanzan:matrix.orgiclanzan Where could I store assets such as images for use in HA’s UI (picture-glance) and how would I reference them? Been trying allowlist_external_dirs without success. 21:54:23

Show newer messages


Back to Room ListRoom Version: 6