You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the script in a venv, I receive the following error. This is with a BedJet 3 and running the script on a Raspberry Pi 4 with Python 3.11.2.
(temp) mjones@homekit:~ $ python bedjet.py
/home/mjones/bedjet.py:15: DeprecationWarning: Callback API version 1 is deprecated, update to latest version
client = mqtt.Client()
Failed to connect to 2C:BC:BB:A2:6C:12 try 1 of 4
Traceback (most recent call last):
File "/home/mjones/bedjet.py", line 118, in <module>
bjet = bedjet()
^^^^^^^^
File "/home/mjones/bedjet.py", line 67, in __init__
self.devname = self.device.char_read("00002001-bed0-0080-aa55-4265644a6574").decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mjones/temp/lib/python3.11/site-packages/pygatt/backends/gatttool/device.py", line 18, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mjones/temp/lib/python3.11/site-packages/pygatt/backends/gatttool/device.py", line 43, in char_read
return self._backend.char_read(self, uuid, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mjones/temp/lib/python3.11/site-packages/pygatt/backends/gatttool/gatttool.py", line 52, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mjones/temp/lib/python3.11/site-packages/pygatt/backends/gatttool/gatttool.py", line 600, in char_read
with self._receiver.event("value", timeout=timeout):
File "/usr/lib/python3.11/contextlib.py", line 144, in __exit__
next(self.gen)
File "/home/mjones/temp/lib/python3.11/site-packages/pygatt/backends/gatttool/gatttool.py", line 187, in event
self.wait(event, timeout)
File "/home/mjones/temp/lib/python3.11/site-packages/pygatt/backends/gatttool/gatttool.py", line 153, in wait
raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
The text was updated successfully, but these errors were encountered:
When running the script in a venv, I receive the following error. This is with a BedJet 3 and running the script on a Raspberry Pi 4 with Python 3.11.2.
The text was updated successfully, but these errors were encountered: