Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click cup icon at lower left causes bleak.exc.BleakDBusError (Write not permitted) #8

Open
jmm5491 opened this issue Jul 26, 2021 · 0 comments

Comments

@jmm5491
Copy link

jmm5491 commented Jul 26, 2021

Running Ubuntu 20.0.4, bluez version 5.53, Python 3.8. Current temp displayed. Battery % being updated in real time.
Actions:

  1. Open the temp change popup and move the sliders to a different temp, close the popup. No change in cup temp observed.
  2. Click on the cup icon at the lower left of the GUI.

Results: Python error messages with traceback as follows:
Task exception was never retrieved
future: <Task finished name='Task-95' coro=<MainWindow.setToTemp() done, defined at /synology/jmarks/src/python/EmberControl-main/main.py:108> exception=BleakDBusError('org.bluez.Error.NotPermitted', 'Write not permitted')>
Traceback (most recent call last):
File "/synology/jmarks/src/python/EmberControl-main/main.py", line 113, in setToTemp
await self.connectedClient.write_gatt_char(TARGET_TEMP, newtarget,False)
File "/home/jmarks/anaconda3/envs/ember/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 856, in write_gatt_char
assert_reply(reply)
File "/home/jmarks/anaconda3/envs/ember/lib/python3.8/site-packages/bleak/backends/bluezdbus/utils.py", line 23, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.NotPermitted] Write not permitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant