10000 Модуль неверно определяет греет ли бризер воздух в данный момент · Issue #32 · TionAPI/tion_python · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Модуль неверно определяет греет ли бризер воздух в данный момент #32

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

Closed
IATkachenko opened this issue Oct 28, 2021 · 0 comments
Labels
bug Something isn't working work in progress

Comments

@IATkachenko
Copy link
Collaborator
IATkachenko commented Oct 28, 2021

Версия модуля: 1.3.4
Модель бризера: 3S (не зависит от бризера)
Версия прошивки (если известна): 0033 (не зависит от прошивки)

Описание проблемы

Модуль неверно определяет греет ли бризер воздух в данный момент:

  • входящая 18
  • выходящая 15
  • целевая 20
    и компопент полагает что бризер подогревает воздух.
    На самом деле нет: бризер видит что входящая близка к целевой и не включает подогрев, а, из-за того что датчик входящей температуры расположен неудачно (специфично для 3S), воздух успевает еще немного остыть.

Проблема в функции __detect_heating_state класса tion

            if in_temp < target_temp and out_temp - target_temp < 3:
                self.heating = "on"
            else:
                self.heating = "off"

для описанных выше условий получаем: 18< 20 && (15 - 20) < 3

Условия нужно пересмотреть.

@IATkachenko IATkachenko added bug Something isn't working work in progress labels Oct 28, 2021
IATkachenko added a commit that referenced this issue Oct 29, 2021
To be sure that heating is on we should check that:
 * heater is on (breezer may heat)
 * out_temp > in_temp (something heat air)
 * in_temp is more thant 3 degree awy from target temperature (some internal breezer logic may be missed here, it may be not only one condition)

Fix #32
IATkachenko added a commit to TionAPI/HA-tion that referenced this issue Oct 29, 2021
bump module version to 1.4.0 that have fixed TionAPI/tion_python#32
IATkachenko added a commit to TionAPI/HA-tion that referenced this issue Oct 29, 2021
bump module version to 1.4.0 that have fixed TionAPI/tion_python#32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working work in progress
Projects
None yet
Development

No branches or pull requests

1 participant
0