28 Jul 2024 |
hexa | systemd.services.home-assistant.serviceConfig.DeviceAllow = [ "char-usb_device" ];
| 13:44:27 |
hexa | * systemd.services.home-assistant.serviceConfig.DeviceAllow = [ "char-usb_device" ];
| 13:44:32 |
hexa | can you try that? | 13:44:42 |
Johannes Hitzinger | doesnt seem to make a difference | 13:48:11 |
hexa | ok, so we're at least not blocking USB communication, I guess | 13:51:48 |
Johannes Hitzinger | nah, HA always recognizes the dongle when restarting, i dont think that im having trouble with nixos here | 13:54:00 |
hexa | wondering what the value of self._probed_firmware_type is 😄 | 13:54:53 |
Johannes Hitzinger | does ha have a python console somewhere? 😅 | 13:57:13 |
hexa | hrm hrm | 13:57:32 |
hexa | I would suggest patching home-assistant instead for this one off thing 😄 | 13:58:03 |
hexa | but also, maybe we can just replicate the probing | 13:58:17 |
hexa | * but also, maybe we can just replicate the probing outside of hass | 13:58:21 |
hexa | * but also, maybe we can just replicate the probing outside of ha | 13:58:23 |
hexa | you can try increasing the logging for home_assistant_skyconnect and zha t odebug | 14:01:03 |
hexa | the probing code is in zha fwiw | 14:01:13 |
hexa | 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 | * 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 | 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 | maybe we'll see the failed probe | 14:02:32 |
hexa | * maybe we'll see the failed probes | 14:02:33 |
Johannes Hitzinger | zha is no longer installed | 14:04:10 |
Johannes Hitzinger | i will try without first | 14:04:15 |
hexa | it just imports that function from the zha compoent fwiw 😄 | 14:05:38 |
Johannes Hitzinger | ah ok, then ill add it :D | 14:06:17 |
Johannes Hitzinger | 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 | 14:08:25 |
Johannes Hitzinger | so the open thread border router seems to be gecko, this was available right? | 14:08:50 |
hexa | In reply to @hexa:lossy.network sent an image. nope | 14:09:47 |
Johannes Hitzinger | eh? there is applicationtype.gecko_bootloader | 14:10:17 |