Skip to content
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

OverflowError: int too big to convert #4

Open
Tvony05 opened this issue May 30, 2022 · 5 comments
Open

OverflowError: int too big to convert #4

Tvony05 opened this issue May 30, 2022 · 5 comments

Comments

@Tvony05
Copy link

Tvony05 commented May 30, 2022

Hey, maybe you help me out here? Using the Blauberg AHU app everything works just fine.

I've confirmed that the password, port (4000) and IP are correct as the socket doesn't fail as per Logs, unfortunately, I'm getting the "OverflowError: int too big to convert`"

Error while setting up ecovent platform for fan Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/ecovent/fan.py", line 77, in async_setup_platform fan = EcoVentFan( File "/config/custom_components/ecovent/fan.py", line 275, in __init__ self.update() File "/config/custom_components/ecovent/fan.py", line 542, in update self.do_func(self.func["read"], request) File "/config/custom_components/ecovent/fan.py", line 535, in do_func self.parse_response(response) File "/config/custom_components/ecovent/fan.py", line 660, in parse_response setattr( File "/config/custom_components/ecovent/fan.py", line 865, in filter_timer_countdown val = int(input, 16).to_bytes(3, "big") OverflowError: int too big to convert

Much appreciated. :)

@Tvony05 Tvony05 changed the title OverflowError: int too big to convert` OverflowError: int too big to convert May 30, 2022
@49jan
Copy link
Owner

49jan commented May 30, 2022

I would like to ask you for some information before I start researching:

  1. Which device are you using?
  2. What is your current "Time left to filter maintenance" in your mobile app (Basic settings -> Filter)?

@Tvony05
Copy link
Author

Tvony05 commented May 30, 2022

@49jan
Copy link
Owner

49jan commented Jun 3, 2022

I made some corrections that are published in 1.2b

Can you please check if it works and what is displayed in the log?

@Tvony05
Copy link
Author

Tvony05 commented Jun 4, 2022

Hi, thanks for the effort.
Unfortunately, still no go.

fan:
  - platform: ecovent
    name: Blaumberg
    ip_address: 192.168.68.24
    port: 4000
    device_id: "004400245253XXX"
    password: 11111111
Logger: homeassistant.components.fan
Source: custom_components/ecovent/fan.py:1148
Integration: Fan ([documentation](https://www.home-assistant.io/integrations/fan), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+fan%22))
First occurred: 09:01:27 (1 occurrences)
Last logged: 09:01:27

Error while setting up ecovent platform for fan
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/ecovent/fan.py", line 77, in async_setup_platform
    fan = EcoVentFan(
  File "/config/custom_components/ecovent/fan.py", line 275, in __init__
    self.update()
  File "/config/custom_components/ecovent/fan.py", line 542, in update
    self.do_func(self.func["read"], request)
  File "/config/custom_components/ecovent/fan.py", line 535, in do_func
    self.parse_response(response)
  File "/config/custom_components/ecovent/fan.py", line 660, in parse_response
    setattr(
  File "/config/custom_components/ecovent/fan.py", line 1148, in unit_type
    self._unit_type = self.unit_types[val]
KeyError: 256
Logger: custom_components.ecovent.fan
Source: custom_components/ecovent/fan.py:870
Integration: Eco Heat Recovery Ventilation ([documentation](https://github.com/49jan/hass-ecovent/), [issues](https://github.com/49jan/hass-ecovent/issues))
First occurred: 09:01:27 (1 occurrences)
Last logged: 09:01:27

Cannot parse filter_timer_countdown value '0a112c00': 'int too big to convert'

@49jan
Copy link
Owner

49jan commented Jan 2, 2023

Please update to version 1.3, the problem with unit_type should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants