!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
28 Jul 2024
@hexa:lossy.network@hexa:lossy.network 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.network@hexa:lossy.networkhrm hrm13:57:32
@hexa:lossy.network@hexa:lossy.networkI would suggest patching home-assistant instead for this one off thing 😄 13:58:03
@hexa:lossy.network@hexa:lossy.networkbut also, maybe we can just replicate the probing13:58:17
@hexa:lossy.network@hexa:lossy.network * but also, maybe we can just replicate the probing outside of hass13:58:21
@hexa:lossy.network@hexa:lossy.network * but also, maybe we can just replicate the probing outside of ha13:58:23
@hexa:lossy.network@hexa:lossy.networkyou can try increasing the logging for home_assistant_skyconnect and zha t odebug14:01:03
@hexa:lossy.network@hexa:lossy.networkthe probing code is in zha fwiw14:01:13
@hexa:lossy.network@hexa:lossy.network
  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.network@hexa:lossy.network *
  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.network@hexa:lossy.network
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.network@hexa:lossy.networkmaybe we'll see the failed probe14:02:32
@hexa:lossy.network@hexa:lossy.network * 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.network@hexa:lossy.networkit 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.network@hexa:lossy.network
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
@hexa:lossy.network@hexa:lossy.networkyes, but the sky_connect probing excludes it 😄 14:10:30
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerah shit14:10:52
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerill flash the multi-pan firmware and try again14:12:04
@hexa:lossy.network@hexa:lossy.networkoh, does it just mean that it is in the bootloader?14:13:24
@hexa:lossy.network@hexa:lossy.networkand has not booted the actual firmware?14:13:30
@stjohitz:matrix.fbi.h-da.deJohannes Hitzinger
In reply to @stjohitz:matrix.fbi.h-da.de
Jul 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 baud
ok, systemctl doesnt show a different output no matter (haha) what firmware is flashed on the dongle 🙈
14:15:31
@hexa:lossy.network@hexa:lossy.networkhm, that is probably only the "I'm probing for that kind of device now, please stand by"14:16:19
@stjohitz:matrix.fbi.h-da.deJohannes Hitzingerah14:16:29

Show newer messages


Back to Room ListRoom Version: 6