python-host icon indicating copy to clipboard operation
python-host copied to clipboard

RuntimeError: Characteristic value/descriptor operation failed: Invalid handle

Open r3-yamauchi opened this issue 5 years ago • 1 comments

Ubuntu 18.04

` $ sudo python3 switchbot_py3.py --device C7:96:B8:○○:○○:○○ Connected! Traceback (most recent call last): File "switchbot_py3.py", line 109, in main() File "switchbot_py3.py", line 104, in main driver.run_command('press') File "switchbot_py3.py", line 56, in run_command return self.req.write_by_handle(self.handle, self.commands[command]) RuntimeError: Characteristic value/descriptor operation failed: Invalid handle

$ sudo python3 switchbot_py3.py --device C7:96:B8:○○:○○:○○ Humiture Connected! Traceback (most recent call last): File "switchbot_py3.py", line 109, in main() File "switchbot_py3.py", line 104, in main driver.run_command('press') File "switchbot_py3.py", line 56, in run_command return self.req.write_by_handle(self.handle, self.commands[command]) RuntimeError: Characteristic value/descriptor operation failed: Invalid handle `

r3-yamauchi avatar Nov 02 '20 19:11 r3-yamauchi

switchbot_py3.py does not support meter now, we will add it later. Type python3 switchbot_py3.py --help for usage tips.

SwitchBot-Wonderlabs avatar Nov 19 '20 10:11 SwitchBot-Wonderlabs