Open kernelpanic85 opened 7 months ago
Update: I found the HA community thread and updated to 0.9.0b5 and I see this in the logs now:
2024-04-10 12:23:52.394 ERROR (MainThread) [homeassistant.setup] Error during setup of component wattbox
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 390, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/wattbox/__init__.py", line 106, in async_setup
wattbox = await async_create_http_wattbox(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pywattbox/http_wattbox.py", line 223, in async_create_http_wattbox
return await _async_create_wattbox(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pywattbox/base.py", line 110, in _async_create_wattbox
await wattbox.async_get_initial()
File "/usr/local/lib/python3.12/site-packages/pywattbox/http_wattbox.py", line 39, in async_get_initial
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 761, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'http://192.168.2.62/wattbox_info.xml'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
Similar or same issue for me, except my power, voltage and current are showing unavailable.
wattbox Version: 0.9.0
I have only had this component for a couple weeks, but I've never had any sensor created for power, voltage, and current. I'm running HA 2024.10.1 and component 0.9.0b5.
It looks like it has been address in PR #22 by @aleksrozman in case anyone wants to cherry pick that into HACS.
Version of the custom_component
0.8.2
Configuration
Describe the bug
The voltage and current sensors read zero for my WB-800VPS-IPVM-12. Is it possible to fix or add support for this model? It seems to use this API
Debug log