Zengge needs migration from bluepy to bleak library
See original GitHub issueThe problem
Zengge integration rely on the bluepy and pybluez libraries, which no longer work in newer versions of Python. bluepy has seen its last update in December 2018 (https://pypi.org/project/bluepy/#history) and hasn’t kept up with changes in the Python world. Similar story with pybluez.
I am using Zengge integration and @pvizeli saw no backward compatible path or other solutions to aid this.
If @emontnemery would like to help fix I would be grateful. @pvizeli recommends migrating Zengge onto the Bleak library instead.
What version of Home Assistant Core has the issue?
2022.7
What was the last working version of Home Assistant Core?
2022.6
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Zengge
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zengge
Diagnostics information
Platform error light.zengge - Integration ‘zengge’ not found.
Example YAML snippet
light:
- platform: zengge
devices:
"F8:1D:78:66:2B:E7":
name: W1
"F8:1D:78:66:3D:6C":
name: W2
"F8:1D:78:66:36:19":
name: W3
"F8:1D:78:66:47:01":
name: W4
"F8:1D:78:66:32:DD":
name: W5
Anything in the logs that might be useful for us?
Platform error light.zengge - Integration 'zengge' not found.
Additional information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:26 (11 by maintainers)
Top Results From Across the Web
bleak — bleak 0.20.0a1 documentation
Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers. It is designed to provide a asynchronous,...
Read more >2022.7: A stunning performance - Home Assistant
Huge performance improvements, update your Z-Wave devices directly from the UI, auto completions for MDI icons, and filters for the history ...
Read more >Zengge needs migration from bluepy to bleak library - core
The problem. Zengge integration rely on the bluepy and pybluez libraries, which no longer work in newer versions of Python. bluepy has seen...
Read more >bleak · PyPI
Bleak is an acronym for Bluetooth Low Energy platform Agnostic Klient. ... Bleak is a GATT client software, capable of connecting to BLE...
Read more >homeassistant Changelog - PyUp.io
Don't attempt setup on migrated AirVisual Pro in the `airvisual` domain (bachya - 84796) ... Add bluepy as a dependency for zengge (emontnemery...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m working on overhauling bluetooth support with a new
btintegration.I have a lot of zengee test devices lying around so I might end up fixing this because I need another test target. Will know in a few weeks
I’m not a complete noob with python, I’m getting better and better with all the YAML configuration I’m doing with Home Assistant, I’ll give it a try and might double check with you here. I’ll try to find some time for this in the coming weeks.
Thank you so much @emontnemery