I'm running python-kasa on a Raspberry Pi Zero, but due to the slowness of a Zero compared to other devices, I frequently get a timeout error in the form of kasa.exceptions.SmartDeviceException: Unable to connect to the device:. My workaround is to increase the default timeout in cli.py @click.option("--timeout", default=3, required=False). It would be better if the timeout can be passed as a command line parameter.
I'm running python-kasa on a Raspberry Pi Zero, but due to the slowness of a Zero compared to other devices, I frequently get a timeout error in the form of
kasa.exceptions.SmartDeviceException: Unable to connect to the device:. My workaround is to increase the default timeout in cli.py@click.option("--timeout", default=3, required=False). It would be better if the timeout can be passed as a command line parameter.