| 28 Jul 2024 |
@hexa:lossy.network | 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:lossy.network | hrm hrm | 13:57:32 |
@hexa:lossy.network | I would suggest patching home-assistant instead for this one off thing 😄 | 13:58:03 |
@hexa:lossy.network | but also, maybe we can just replicate the probing | 13:58:17 |
@hexa:lossy.network | * but also, maybe we can just replicate the probing outside of hass | 13:58:21 |
@hexa:lossy.network | * but also, maybe we can just replicate the probing outside of ha | 13:58:23 |
@hexa:lossy.network | you can try increasing the logging for home_assistant_skyconnect and zha t odebug | 14:01:03 |
@hexa:lossy.network | the probing code is in zha fwiw | 14:01:13 |
@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 | * 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 | 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 | maybe we'll see the failed probe | 14:02:32 |
@hexa:lossy.network | * 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:lossy.network | 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:lossy.network | In reply to @hexa:lossy.network sent an image. nope | 14:09:47 |
Johannes Hitzinger | eh? there is applicationtype.gecko_bootloader | 14:10:17 |
@hexa:lossy.network | yes, but the sky_connect probing excludes it 😄 | 14:10:30 |
Johannes Hitzinger | ah shit | 14:10:52 |
Johannes Hitzinger | ill flash the multi-pan firmware and try again | 14:12:04 |
@hexa:lossy.network | oh, does it just mean that it is in the bootloader? | 14:13:24 |
@hexa:lossy.network | and has not booted the actual firmware? | 14:13:30 |
Johannes 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 | hm, that is probably only the "I'm probing for that kind of device now, please stand by" | 14:16:19 |
Johannes Hitzinger | ah | 14:16:29 |