!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

You have reached the beginning of time (for this room).


SenderMessageTime
28 Jul 2024
@hexa:lossy.networkhexa
systemd.services.home-assistant.serviceConfig.DeviceAllow = [ "char-usb_device" ];
13:44:27
@hexa:lossy.networkhexa *
systemd.services.home-assistant.serviceConfig.DeviceAllow = [ "char-usb_device" ];
13:44:32
@hexa:lossy.networkhexacan you try that?13:44:42
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerdoesnt seem to make a difference13:48:11
@hexa:lossy.networkhexaok, so we're at least not blocking USB communication, I guess13:51:48
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingernah, HA always recognizes the dongle when restarting, i dont think that im having trouble with nixos here13:54:00
@hexa:lossy.networkhexa wondering what the value of self._probed_firmware_type is 😄 13:54:53
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerdoes ha have a python console somewhere? 😅13:57:13
@hexa:lossy.networkhexahrm hrm13:57:32
@hexa:lossy.networkhexaI would suggest patching home-assistant instead for this one off thing 😄 13:58:03
@hexa:lossy.networkhexabut also, maybe we can just replicate the probing13:58:17
@hexa:lossy.networkhexa * but also, maybe we can just replicate the probing outside of hass13:58:21
@hexa:lossy.networkhexa * but also, maybe we can just replicate the probing outside of ha13:58:23
@hexa:lossy.networkhexayou can try increasing the logging for home_assistant_skyconnect and zha t odebug14:01:03
@hexa:lossy.networkhexathe probing code is in zha fwiw14:01:13
@hexa:lossy.networkhexa
  services.home-assistant.config.logger = {
    default = "info";
    logs = {
      "aiohttp" = "debug";
      "home-assistant.components.zha" = "debug";
      "home-assistant.components.homeassistant_sky_connect" = "debug";
    };
  };
14:01:55
@hexa:lossy.networkhexa *
  services.home-assistant.config.logger = {
    default = "info";
    logs = {
      "aiohttp" = "debug";
      "home-assistant.components.zha" = "debug";
      "home-assistant.components.homeassistant_sky_connect" = "debug";
    };
  };
14:02:01
@hexa:lossy.networkhexa
async def probe_silabs_firmware_type(
    device: str, *, probe_methods: ApplicationType | None = None
) -> ApplicationType | None:
    """Probe the running firmware on a Silabs device."""
    flasher = Flasher(
        device=device,
        **({"probe_methods": probe_methods} if probe_methods else {}),
    )

    try:
        await flasher.probe_app_type()
    except Exception:  # noqa: BLE001
        _LOGGER.debug("Failed to probe application type", exc_info=True)

    return flasher.app_type
14:02:22
@hexa:lossy.networkhexamaybe we'll see the failed probe14:02:32
@hexa:lossy.networkhexa * maybe we'll see the failed probes14:02:33
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerzha is no longer installed14:04:10
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingeri will try without first14:04:15
@hexa:lossy.networkhexait just imports that function from the zha compoent fwiw 😄 14:05:38
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerah ok, then ill add it :D14:06:17
@stjohitz:matrix.fbi.h-da.deJohannes HitzingerJul 28 16:06:57 maniacmedia hass[1737544]: 2024-07-28 16:06:57.401 INFO (MainThread) [universal_silabs_flasher.flasher] Probing ApplicationType.GECKO_BOOTLOADER at 115200 baud14:08:25
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerso the open thread border router seems to be gecko, this was available right?14:08:50
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
sent an image.
nope
14:09:47
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingereh? there is applicationtype.gecko_bootloader14:10:17

Show newer messages


Back to Room ListRoom Version: 6