Closed Theskyer closed 2 years ago
The error says timeout, which may happen when the device on the other side does not respond at all. Can you check if you Home Assistant installation can reach the P1 meter (is it in the same subnet or maybe blocked by a firewall).
I assume that you've double checked that the IP address is correct?
homewizard_energy documentation homewizard_energy source (message by IssueLinks)
@chemelli74 please note that the domain/label is ‘homewizard’
homewizard documentation homewizard source (message by IssueLinks)
Hey Guys I got it working.
Problem was with the network setup as suggested. I had plugged in my Pi running HA directly into the router while the P1 meter was connected to my router (the modem is in bridge mode). This resulted in the HA being on a different subnet than the P1 meter thus the timeout error. As soon as I pluggen my Pi into the router the problem was solved and the P1 meter was auto discoverd.
Thanks to all for support and help, it is greatly apriciated
Good to hear! You can close this issue.
The problem
I've treid the official home energy wizard intergration for Home Assistant but when I enter the IP adres of my P1 meter I get the following error:
i've verified the IP adres is correct via the MAC Adres and when I call the API using the webbrowser (http://{IP_ADDRESS}/api/v1/data) it does show actual data.
Some details:
Home Assistant OS 7.4 Core Version: core-2022.2.9 Supervisor Version: supervisor-2022.01.1 P1 meter V 2.13 API enabled in app (and callable).
I've had this issue with both the HACS version as well as the Official integration since the very start. Always this error.
What version of Home Assistant Core has the issue?
2022.2.9
What was the last working version of Home Assistant Core?
Never worked
What type of installation are you running?
Home Assistant OS
Integration causing the issue
HomeWizard Enegery
Link to integration documentation on our website
https://my.home-assistant.io/redirect/config_flow_start?domain=homewizard
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
_Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/homewizard/config_flow.py", line 175, in _async_try_connect_and_fetch await energy_api.initialize() File "/usr/local/lib/python3.9/site-packages/aiohwenergy/hwenergy.py", line 69, in initialize if not await device.update(): File "/usr/local/lib/python3.9/site-packages/aiohwenergy/device.py", line 62, in update response = await self._request("get", "api") File "/usr/local/lib/python3.9/site-packages/aiohwenergy/hwenergy.py", line 141, in request _LOGGER.debug("%s, %s", resp.status, await resp.text("utf-8")) File "/usr/local/lib/python3.9/site-packages/async_timeout/init.py", line 129, in aexit self._do_exit(exc_type) File "/usr/local/lib/python3.9/site-packages/async_timeout/init.py", line 212, in do_exit raise asyncio.TimeoutError asyncio.exceptions.TimeoutError__
Additional information
No response