Skip to content

Error schedule period after commands #45

@duedipicche

Description

@duedipicche

#35
I have the same problem, when I go from auto to off or from auto to heat, when I go back to auto the thermostat always goes to period 1.
To go back to the right period I have to physically act on the thermostat by switching first to manual and then to automatic.
The Beok thermostat is on "1234567" and the climate of HA schedule=2

climate:
  platform: floureon
  name: termostato
  unique_id: termostato
  schedule: 2
  use_external_temp: false
  host: "192.168.1.92"
  use_cooling: false
  precision: 0.5
hvac_modes:
  - auto
  - heat
  - "off"
min_temp: 5
max_temp: 35
preset_modes:
  - none
  - away
current_temperature: 21.5
temperature: 18
hvac_action: idle
preset_mode: none
away_set_point: 15
manual_set_point: 18
external_temp: 0
room_temp: 21.5
current_temp: 21.5
target_temp: 18
loop_mode: 2
friendly_name: Termostato
supported_features: 401

before

step

after

Am I doing something wrong or there is no solution.
Thanks
--EDIT--:
I did some tests.
The problem occurs only on days 6 and 7 (Saturday and Sunday) even if the loop_mode (schedule) is set to 2.
I tried to edit line 31 of "init.py" by setting DEFAUL_SCHEDULE=2, but the result does not change.
It seems that every time a command is sent from HA, "schedule"=0 is also transmitted.
Of course from the BEOK everything works normally if I use the buttons on the terostat or if I use the app.
--EDIT--:
This is the log of floureon debug

2024-11-16 11:08:08.574 DEBUG (SyncWorker_0) [custom_components.floureon] Received 192.168.1.92 thermostat data: 
{'remote_lock': 0, 'power': 1, 'active': 0, 'temp_manual': 0, 'heating_cooling': 0, 'room_temp': 19.5,
 'thermostat_temp': 18.0,
 'auto_mode': 3, 'loop_mode': 3, 'sensor': 0, 'osv': 42, 'dif': 1, 'svh': 30, 'svl': 5, 'room_temp_adj': -0.2, 'fre': 1, 'poweron': 1,
 'unknown': 0, 'external_temp': 0.0, 'hour': 11, 'min': 8, 'sec': 8, 'dayofweek': 6, 'weekday': 
[{'start_hour': 7, 'start_minute': 30, 'temp': 19.5}, {'start_hour': 9, 'start_minute': 0, 'temp': 18.0},
 {'start_hour': 11, 'start_minute': 30, 'temp': 19.5}, 
{'start_hour': 13, 'start_minute': 0, 'temp': 18.0}, {'start_hour': 17, 'start_minute': 30, 'temp': 19.5}, 
{'start_hour': 23, 'start_minute': 0, 'temp': 15.0}], 'weekend': [{'start_hour': 8, 'start_minute': 0, 'temp': 19.5},
 {'start_hour': 23, 'start_minute': 0, 'temp': 15.0}]}
2024-11-16 11:08:08.584 DEBUG (MainThread) [custom_components.floureon.climate] Thermostat termostato 
action=idle mode=auto

The auto_mode and the loop_mode value 3 is an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions