Comments (12)
I'm having issues as of this morning. It's been about 6 hours. I will take a look at the code and see if i can make any updates.
from ha-wyzesense.
haos 12.1, ha 2024.3.1 working for me
from ha-wyzesense.
Agreed! Latest version 2024.3.1 is working! Something must have changed with 2024.3
from ha-wyzesense.
i'm on 2024.2.4 and can confirm the integration is working; however, i do have a large gap in my activity log starting around jan 17th so it appears to have been offline until just recently.
from ha-wyzesense.
i'm on 2024.2.4 and can confirm the integration is working; however, i do have a large gap in my activity log starting around jan 17th so it appears to have been offline until just recently.
Interesting! I just updated to 2024.2.4 to see if it is fixed. I still have the gap continuing from 1/17/24 onward. I am unable to use the services, "wyzesense.scan" and "wyzesense.remove."
Furthermore, the historic devices report their state as unavailable. I see the warning, "This entity is no longer being provided by the wyzesense integration. If the entity is no longer in use, delete it in settings."
I have the same previously working integration configuration in my config yaml file. The integration appears to be downloaded, but is not running for me. I am using 0.0.11 with HACS. I run HA in docker on linux.
from ha-wyzesense.
I wonder if I have an issue with Python 3.12, introduced in 2024.2
`Logger: homeassistant.components.binary_sensor
Source: helpers/entity_platform.py:344
Integration: Binary sensor (documentation, issues)
Error while setting up wyzesense platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 344, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wyzesense/binary_sensor.py", line 116, in setup_platform
ws = beginConn()
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/retry/api.py", line 73, in retry_decorator
return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/retry/api.py", line 33, in __retry_internal
return f()
^^^
File "/config/custom_components/wyzesense/binary_sensor.py", line 114, in beginConn
return Open(config[CONF_DEVICE], on_event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wyzesense/wyzesense_custom.py", line 566, in Open
return Dongle(device, event_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wyzesense/wyzesense_custom.py", line 288, in init
self.__fd = os.open(device, os.O_RDWR | os.O_NONBLOCK)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/dev/wyzesense'
`
from ha-wyzesense.
Updates:
It is quite difficult to quantify this problem, but here's what I've learned:
- I am able to successfully run/load the WyzeSense integration on now 2024.2.5.
- I am able to check the configuration (Configuration will not prevent Home Assistant from starting!) and restart home assistant from the Developer Tools UI. The integration will load successfully. Sensors will be readable.
- However, when I reboot the PC running HA in a docker container. HA is unable to boot because of this integration. (The web interface is unable to load and is functionally unresponsive.) To fix the problem, I have to break the configuration.yaml file (by adding or deleting a space to break the formatting) such that HA is unable to parse the configuration file and then boots into recovery mode. From there, I am able to fix the configuration file with the correct formatting, reboot with the developer tools, and again successfully run the integration. This appears to last until the next time I need to reboot the PC. Thus, HA is unstable for long term use.
- When I remove the WyzeSense integration, I am able to reboot my PC as needed and HA will load successfully.
from ha-wyzesense.
Wow, that's interesting. I wasn't able to get it working with 2024.2.5 at all and just downgraded.
from ha-wyzesense.
Wow, that's interesting. I wasn't able to get it working with 2024.2.5 at all and just downgraded.
Which version of HA did you finally use (backed off to) that supported the WyzeSense sensors. I am seeing errors and trying to see what's the last version I could pick where this integration will work... I am running HASS core on RPi 5 on python venv and Python 3.12 that is now part of bookworm release...
thank you in advance.
from ha-wyzesense.
Thx. So you're pretty much on the latest version.
from ha-wyzesense.
I'll try latest too. Thanks!
from ha-wyzesense.
Sorry if this is off topic (?) but have any of you python programmers been able to fix the latest "depreciated constants" issue outlined in #232
from ha-wyzesense.
Related Issues (20)
- NEW full-featured Python SDK for Wyze HOT 1
- Wyze bridge going to sleep? HOT 7
- Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'wyzesense' HOT 1
- Anyone seeing issue with WyzeSense after upgrading to 2021.6 or 2021.6.1? HOT 5
- Config Check fails after Switching RPi 4 to SSD HOT 2
- Are V2 sensors now supported? HOT 7
- wyzesense config error HOT 3
- Error while setting up wyzesense platform HOT 1
- HASS 2021.12: WyzeSensor implements device_state_attributes HOT 3
- Sensors V2 support HOT 5
- Core 2022.4.0 looses sensor attributes HOT 16
- Wyze Sense Battery reporting non-numeric values (on:off) instead of a battery percentage. HOT 7
- Neos leak sensor
- Ready for Python 3.10? HOT 12
- Battery Attributes not working HOT 5
- Error after recent update / no sensor status HOT 2
- Binary Sensor Warning
- homebridge
- DEVICE_CLASS_TIMESTAMP, DEVICE_CLASS_MOTION & BinarySensorDeviceClass.DOOR deprecated constant which will be removed in HA Core 2025.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-wyzesense.