-
Notifications
You must be signed in to change notification settings - Fork 13
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
Several errors... #12
Comments
Thank You for report. Can You please let me know:
An if You can download https://github.com/gody01/pyEcoventV2 and in test.py change IP address of 10.94.0.106 to IP of Your fan. Than run with python3 test.py and look at output of line with battery_voltage: 3258 mV It looks, like Your fan does not report battery voltage with unit (mV) at the end. Perhaps they changed something in newer firmware version. |
Hi and thank you for qick respond, Version of ecovent_2" is: 0.9.2 I downloaded and added pyEcoventV2 to Home Assistant. Changed the ip adress in test.py and restarted. Got some new errors... Update for binary_sensor.vento_expert_fan_filter_replacement_status fails Logger: homeassistant.helpers.entity Update for binary_sensor.vento_expert_fan_filter_replacement_status fails Error handling request `Logger: aiohttp.server Error handling request `Logger: homeassistant.components.sensor Error adding entities for domain sensor with platform ecovent_v2 |
test.py is not started by home assistant. This is comand line tool, which queries fans and prints results on screen. In the first post, error is still the same: This means, that result from fan is not in format 2350 mV as in my fans, but only number. In second post, it could be, thatn pyEcovent in custom_components breaks sometging. Better to remove. test.py can be invoked on any computer with python installed not necessary on HomeAssistant. On phone App, can You select Firmware option and post what it print on the screen. A have: |
Ok :) On phone app, im only getting app version as 2.1.6, nothing about firmware.. But as mention, i got version 1.1.2, when connected with USB to fan and used software. From manual, i cant find anything about battery, not eather inclued in SmartHome manual. |
Oh. Those manuals are not for V2 versions. Perhaps You should try this one: |
Or maybe this one could work for You: https://www.dingus.dk/dukaone-ventilation-with-heat-exchanger-and-home-assistant/ |
Thank you. |
I suspect, that https://github.com/aglehmann/home_assistant_ecovent could support Your Vento, since it is for earlier version of fans. |
Just have a look at my comment here - this split error looks really the same to me - so double check you pin/password of the device you want to initialize! I have added the Raumluft Oxxify Smart 50 which is pretty much the same fan device - it has just an other device id. And the fans work with this integration. But I installed the HA custom component manually and als the ecoventV2 library. So there are some small changes to the code in my environment to load the library from the custom component directory off HA. |
Update for binary_sensor.vento_expert_fan_filter_replacement_status fails
`Logger: homeassistant.helpers.entity
Source: custom_components/ecovent_v2/sensor.py:266
Integration: Vento Eco Vent v 2.0
First occurred: 16:47:37 (6 occurrences)
Last logged: 17:01:58
Update for binary_sensor.vento_expert_fan_filter_replacement_status fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 428, in async_update
await self.coordinator.async_request_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 189, in async_request_refresh
await self._debounced_refresh.async_call()
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 82, in async_call
await task
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 215, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 390, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 600, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 565, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 470, in state
value = self.native_value
File "/config/custom_components/ecovent_v2/sensor.py", line 235, in native_value
self._attr_native_value = self._method()
File "/config/custom_components/ecovent_v2/sensor.py", line 266, in battery_voltage
voltage = int(self._fan.battery_voltage.split()[0])
AttributeError: 'int' object has no attribute 'split'
`
Error adding entities for domain sensor with platform ecovent_v2
Error while setting up ecovent_v2 platform for sensor
`Logger: homeassistant.components.sensor
Source: custom_components/ecovent_v2/sensor.py:266
Integration: sensor (documentation, issues)
First occurred: 16:47:06 (4 occurrences)
Last logged: 17:01:27
Error adding entities for domain sensor with platform ecovent_v2
Error while setting up ecovent_v2 platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 717, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 807, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 600, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 565, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 470, in state
value = self.native_value
File "/config/custom_components/ecovent_v2/sensor.py", line 235, in native_value
self._attr_native_value = self._method()
File "/config/custom_components/ecovent_v2/sensor.py", line 266, in battery_voltage
voltage = int(self._fan.battery_voltage.split()[0])
AttributeError: 'int' object has no attribute 'split'
`
[139646456843136] 'int' object has no attribute 'split'
`Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/ecovent_v2/sensor.py:266
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 17:06:38 (1 occurrences)
Last logged: 17:06:38
[139646456843136] 'int' object has no attribute 'split'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 199, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1808, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1845, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 686, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 961, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 726, in _handle_entity_call
await result
File "/config/custom_components/ecovent_v2/fan.py", line 155, in async_turn_on
await self.coordinator.async_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 215, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 390, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 600, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 565, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 470, in state
value = self.native_value
File "/config/custom_components/ecovent_v2/sensor.py", line 235, in native_value
self._attr_native_value = self._method()
File "/config/custom_components/ecovent_v2/sensor.py", line 266, in battery_voltage
voltage = int(self._fan.battery_voltage.split()[0])
AttributeError: 'int' object has no attribute 'split'
Home Assistant 2023.3.6
Supervisor 2023.03.2
Operating System 9.5
I sussessfull added the device. Show 1 device and 25 entier.
Its respind on network ping, and unit is online and respond on Blauberg Vento mobile application.
Its not working true Home Assistant.
The text was updated successfully, but these errors were encountered: