jagheterfredrik / wallbox-pwn

Gain root access to Wallbox chargers such as Pulsar Plus, Copper SB
14 stars 7 forks source link

Error in module asyncio.run(main()) #10

Closed davidKooreman closed 6 months ago

davidKooreman commented 6 months ago

Sending pwnware Pwnware was received by Wallbox Traceback (most recent call last): File "C:\wallbox-pwn\wallbox-pwn.py", line 149, in asyncio.run(main()) File "C:\Program Files\Python312\Lib\asyncio\runners.py", line 194, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "C:\wallbox-pwn\wallbox-pwn.py", line 135, in main hup_data = await wb.execute("r_hup") ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\wallbox-pwn\wallbox-pwn.py", line 79, in execute await self.client.write_gatt_char(self.rx_char, chunk, self.device_definition.write_response) File "C:\Program Files\Python312\Lib\site-packages\bleak__init__.py", line 776, in write_gatt_char await self._backend.write_gatt_char(characteristic, data, response) File "C:\Program Files\Python312\Lib\site-packages\bleak\backends\winrt\client.py", line 887, in write_gatt_char raise BleakError("Not connected") bleak.exc.BleakError: Not connected

jagheterfredrik commented 6 months ago

Bluetooth lost connection, try again perhaps with another computer or Bluetooth dongle

davidKooreman commented 6 months ago

Thanks ill try

Op za 13 apr. 2024 11:48 schreef Fredrik Gustafsson < @.***>:

Bluetooth lost connection, try again perhaps with another computer or Bluetooth dongle

— Reply to this email directly, view it on GitHub https://github.com/jagheterfredrik/wallbox-pwn/issues/10#issuecomment-2053594011, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFDGBZVQGEIEHBUL264ONLY5D5QVAVCNFSM6AAAAABGFKIDP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTGU4TIMBRGE . You are receiving this because you authored the thread.Message ID: @.***>

davidKooreman commented 6 months ago

Update succeeded. Now see if the wallbox mqqt software is stable.

Thanks for the advice

Op za 13 apr. 2024 12:54 schreef David Kooreman @.***>:

Thanks ill try

Op za 13 apr. 2024 11:48 schreef Fredrik Gustafsson < @.***>:

Bluetooth lost connection, try again perhaps with another computer or Bluetooth dongle

— Reply to this email directly, view it on GitHub https://github.com/jagheterfredrik/wallbox-pwn/issues/10#issuecomment-2053594011, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFDGBZVQGEIEHBUL264ONLY5D5QVAVCNFSM6AAAAABGFKIDP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTGU4TIMBRGE . You are receiving this because you authored the thread.Message ID: @.***>