RobHofmann / HomeAssistant-GreeClimateComponent

Custom Gree climate component written in Python3 for Home Assistant. Controls AC's supporting the Gree protocol.
GNU General Public License v3.0
309 stars 104 forks source link

2.12 Connection issues #178

Closed RobHofmann closed 3 months ago

RobHofmann commented 3 months ago

Describe the bug We are having two connection issues currently:

To Reproduce Steps to reproduce the behavior:

  1. Install 2.12
  2. Look at the logbook after a while
  3. See flipping statusses.

Configuration

- platform: gree
  name: Zolderkamer AC
  host: 192.168.10.2
  port: 7000
  mac: 'f4:91:1e:3f:1a:c8'
  timeout: 60
  target_temp_step: 1
  lights: input_boolean.zolderkamer_ac_lights
  xfan: input_boolean.zolderkamer_ac_xfan
  health: input_boolean.zolderkamer_ac_health
  sleep: input_boolean.zolderkamer_ac_sleep
  powersave: input_boolean.zolderkamer_ac_powersave
  auto_xfan: true
  auto_light: true

- platform: gree
  name: Slaapkamer AC
  host: 192.168.10.3
  port: 7000
  mac: 'f4:91:1e:3f:1c:00'
  timeout: 60
  target_temp_step: 1
  lights: input_boolean.slaapkamer_ac_lights
  xfan: input_boolean.slaapkamer_ac_xfan
  health: input_boolean.slaapkamer_ac_health
  sleep: input_boolean.slaapkamer_ac_sleep
  powersave: input_boolean.slaapkamer_ac_powersave
  auto_xfan: true

- platform: gree
  name: Slaapkamer Puck AC
  host: 192.168.10.11
  port: 7000
  mac: 'f4:91:1e:d3:24:94'
  timeout: 60
  target_temp_step: 1
  lights: input_boolean.slaapkamer_puck_ac_lights
  xfan: input_boolean.slaapkamer_puck_ac_xfan
  health: input_boolean.slaapkamer_puck_ac_health
  sleep: input_boolean.slaapkamer_puck_ac_sleep
  powersave: input_boolean.slaapkamer_puck_ac_powersave
  auto_xfan: true

Expected behavior No connection drops & stable statusses

Screenshots image

Platform:

Additional context This issue occurs since 2.12. With 2.11 this issue is not present.

Logs

2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:43:09.557 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): dry
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 22
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] name(): Slaapkamer Puck AC
2024-06-19 21:43:09.558 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.457 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:44:09.457 INFO (SyncWorker_0) [custom_components.gree.climate] update()
2024-06-19 21:44:09.457 INFO (SyncWorker_0) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:44:09.457 INFO (SyncWorker_0) [custom_components.gree.climate] Fetching(192.168.10.2, 7000, 60, {"cid":"app","i":0,"pack":"XmHULF3UIsUHvRxsemQhzoI2ThNBaUjP6IVFJSlTmvDwNBm/6Le/NxFj7VSBuowCgxODn8Ie5jJU2zHydTnc9mnJzZI6HD9U4pN4eSAde84lB/byYbNQgvcpfVNSeLXl3K+2sSmTLQQ0TVFg0NapW74ZcUGoYw2VFj9vW+Y9ukdUPg4sIH1tyCSIHr8O7SerLD5oNtTzvqJs+9hqcXMaAMGfNKiXM/9dp65bhqo52UphGbMkKX5iJirZ4mwIVMFurH+ZY6nyT7zAa6Fm9VPY0CiOrLiRQUkhJN+UQuHmRRk1uZVAH2sdIDTXZNR0uLng","t":"pack","tcid":"f4911e3f1ac8","uid":0})
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting acOptions with retrieved HVAC values
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Pow: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Mod: 4
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting SetTem: 20
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting WdSpd: 1
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Air: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Blo: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Health: 1
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting SwhSlp: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Lig: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting SwingLfRig: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting SwUpDn: 2
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Quiet: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting Tur: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting StHt: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting TemUn: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting HeatCoolType: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting TemRec: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting SvSt: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting SlpMod: 0
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Setting TemSen: 61
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Done setting acOptions
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA target temp set according to HVAC state to: 20
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA lights option set according to HVAC state to: off
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA health option set according to HVAC state to: on
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA powersave option set according to HVAC state to: off
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA sleep option set according to HVAC state to: off
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA 8℃ heat option set according to HVAC state to: off
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA air option set according to HVAC state to: off
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA operation mode set according to HVAC state to: off
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA swing mode set according to HVAC state to: Fixed in the upmost position
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] HA fan mode set according to HVAC state to: Low
2024-06-19 21:44:09.477 INFO (SyncWorker_0) [custom_components.gree.climate] Finished SyncState
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): off
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 20
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] name(): Zolderkamer AC
2024-06-19 21:44:09.478 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.479 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:44:09.479 INFO (SyncWorker_27) [custom_components.gree.climate] update()
2024-06-19 21:44:09.479 INFO (SyncWorker_27) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:44:09.479 INFO (SyncWorker_27) [custom_components.gree.climate] Fetching(192.168.10.3, 7000, 60, {"cid":"app","i":0,"pack":"aE3h0Hx9k8Y+/phRLhRQcCpoV1SU8KdGT6j0E45zvebuNtW/4Act0soj6MruGVtj5UjVwUjpg+lSwe5ybZ8n4LUWc6w/eT/MpeW36jtW3SvPpGnnWCsSEyEmPjDWvpGi1TNdAGaPml2FaWBzZS5Y90VYnMEKPm+/289c5AY9zf+FHjoMl3qYw/maiG69dkCa9Gf/CbVGP/VIYFaKAGNTHvKadwuXu6AFmKWEcDi0Ykf6mQ14bjW+ujBN/9a0mhiBxaoxBQc/P9OtbNfZ59TfoPyJ2ce0ws7xwN/DZ4OBvy/ifX91vstRDR/wVgX0rVDm","t":"pack","tcid":"f4911e3f1c00","uid":0})
2024-06-19 21:44:09.510 INFO (SyncWorker_27) [custom_components.gree.climate] Setting acOptions with retrieved HVAC values
2024-06-19 21:44:09.510 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Pow: 0
2024-06-19 21:44:09.510 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Mod: 1
2024-06-19 21:44:09.510 INFO (SyncWorker_27) [custom_components.gree.climate] Setting SetTem: 25
2024-06-19 21:44:09.510 INFO (SyncWorker_27) [custom_components.gree.climate] Setting WdSpd: 1
2024-06-19 21:44:09.510 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Air: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Blo: 1
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Health: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting SwhSlp: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Lig: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting SwingLfRig: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting SwUpDn: 2
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Quiet: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting Tur: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting StHt: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting TemUn: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting HeatCoolType: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting TemRec: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting SvSt: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting SlpMod: 0
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Setting TemSen: 62
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Done setting acOptions
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA target temp set according to HVAC state to: 25
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA lights option set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA health option set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA powersave option set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA sleep option set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA 8℃ heat option set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA air option set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA operation mode set according to HVAC state to: off
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA swing mode set according to HVAC state to: Fixed in the upmost position
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] HA fan mode set according to HVAC state to: Low
2024-06-19 21:44:09.511 INFO (SyncWorker_27) [custom_components.gree.climate] Finished SyncState
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): off
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:44:09.512 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 25
2024-06-19 21:44:09.513 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:44:09.513 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:44:09.513 INFO (MainThread) [custom_components.gree.climate] name(): Slaapkamer AC
2024-06-19 21:44:09.513 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.513 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:44:09.513 INFO (SyncWorker_46) [custom_components.gree.climate] update()
2024-06-19 21:44:09.513 INFO (SyncWorker_46) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:44:09.513 INFO (SyncWorker_46) [custom_components.gree.climate] Fetching(192.168.10.11, 7000, 60, {"cid":"app","i":0,"pack":"qyxvFjGX+tEpoTcRX/SJQvFck/bPUihdLKJw1H8R3hSvHd/WfTpAySWiEh9m7eoiIjF5w0jWUWjUzQSeBTxO0E96fj3O7n3NdB1XEQcFFahqsnugcWwJDM71hzDzj7ZajXNuW7BPwyU95nN4hLhmC09pbJlud8tV3PqAXT+bQSckezypChtNVNfAGrbLo8UIq2QdEA6PJNECnDDhtvuAVIn0ns/+WXCGdvroTMKDbzSkCFWzrzpw4F9hE6mJBheppabSlzh1wHRCgkpORw0ADA09LgjJLJm+a7qnJ4VGQkjgX+0r3wwHCnETXVNPD9Ts","t":"pack","tcid":"f4911ed32494","uid":0})
2024-06-19 21:44:09.628 INFO (SyncWorker_46) [custom_components.gree.climate] Setting acOptions with retrieved HVAC values
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Pow: 1
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Mod: 2
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting SetTem: 22
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting WdSpd: 1
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Air: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Blo: 1
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Health: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting SwhSlp: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Lig: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting SwingLfRig: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting SwUpDn: 2
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Quiet: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting Tur: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting StHt: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting TemUn: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting HeatCoolType: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting TemRec: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting SvSt: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting SlpMod: 0
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Setting TemSen: 61
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Done setting acOptions
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA target temp set according to HVAC state to: 22
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA lights option set according to HVAC state to: off
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA health option set according to HVAC state to: off
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA powersave option set according to HVAC state to: off
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA sleep option set according to HVAC state to: off
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA 8℃ heat option set according to HVAC state to: off
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA air option set according to HVAC state to: off
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA operation mode set according to HVAC state to: dry
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA swing mode set according to HVAC state to: Fixed in the upmost position
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] HA fan mode set according to HVAC state to: Low
2024-06-19 21:44:09.629 INFO (SyncWorker_46) [custom_components.gree.climate] Finished SyncState
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): dry
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 22
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] name(): Slaapkamer Puck AC
2024-06-19 21:44:09.630 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.457 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:45:09.458 INFO (SyncWorker_7) [custom_components.gree.climate] update()
2024-06-19 21:45:09.458 INFO (SyncWorker_7) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:45:09.458 INFO (SyncWorker_7) [custom_components.gree.climate] Fetching(192.168.10.2, 7000, 60, {"cid":"app","i":0,"pack":"XmHULF3UIsUHvRxsemQhzoI2ThNBaUjP6IVFJSlTmvDwNBm/6Le/NxFj7VSBuowCgxODn8Ie5jJU2zHydTnc9mnJzZI6HD9U4pN4eSAde84lB/byYbNQgvcpfVNSeLXl3K+2sSmTLQQ0TVFg0NapW74ZcUGoYw2VFj9vW+Y9ukdUPg4sIH1tyCSIHr8O7SerLD5oNtTzvqJs+9hqcXMaAMGfNKiXM/9dp65bhqo52UphGbMkKX5iJirZ4mwIVMFurH+ZY6nyT7zAa6Fm9VPY0CiOrLiRQUkhJN+UQuHmRRk1uZVAH2sdIDTXZNR0uLng","t":"pack","tcid":"f4911e3f1ac8","uid":0})
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting acOptions with retrieved HVAC values
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Pow: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Mod: 4
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting SetTem: 20
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting WdSpd: 1
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Air: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Blo: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Health: 1
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting SwhSlp: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Lig: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting SwingLfRig: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting SwUpDn: 2
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Quiet: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting Tur: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting StHt: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting TemUn: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting HeatCoolType: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting TemRec: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting SvSt: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting SlpMod: 0
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Setting TemSen: 61
2024-06-19 21:45:09.481 INFO (SyncWorker_7) [custom_components.gree.climate] Done setting acOptions
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA target temp set according to HVAC state to: 20
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA lights option set according to HVAC state to: off
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA health option set according to HVAC state to: on
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA powersave option set according to HVAC state to: off
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA sleep option set according to HVAC state to: off
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA 8℃ heat option set according to HVAC state to: off
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA air option set according to HVAC state to: off
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA operation mode set according to HVAC state to: off
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA swing mode set according to HVAC state to: Fixed in the upmost position
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] HA fan mode set according to HVAC state to: Low
2024-06-19 21:45:09.482 INFO (SyncWorker_7) [custom_components.gree.climate] Finished SyncState
2024-06-19 21:45:09.485 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.485 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:45:09.485 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): off
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 20
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] name(): Zolderkamer AC
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.486 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:45:09.486 INFO (SyncWorker_6) [custom_components.gree.climate] update()
2024-06-19 21:45:09.486 INFO (SyncWorker_6) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:45:09.487 INFO (SyncWorker_6) [custom_components.gree.climate] Fetching(192.168.10.3, 7000, 60, {"cid":"app","i":0,"pack":"aE3h0Hx9k8Y+/phRLhRQcCpoV1SU8KdGT6j0E45zvebuNtW/4Act0soj6MruGVtj5UjVwUjpg+lSwe5ybZ8n4LUWc6w/eT/MpeW36jtW3SvPpGnnWCsSEyEmPjDWvpGi1TNdAGaPml2FaWBzZS5Y90VYnMEKPm+/289c5AY9zf+FHjoMl3qYw/maiG69dkCa9Gf/CbVGP/VIYFaKAGNTHvKadwuXu6AFmKWEcDi0Ykf6mQ14bjW+ujBN/9a0mhiBxaoxBQc/P9OtbNfZ59TfoPyJ2ce0ws7xwN/DZ4OBvy/ifX91vstRDR/wVgX0rVDm","t":"pack","tcid":"f4911e3f1c00","uid":0})
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting acOptions with retrieved HVAC values
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Pow: 0
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Mod: 1
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting SetTem: 25
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting WdSpd: 1
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Air: 0
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Blo: 1
2024-06-19 21:45:09.516 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Health: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting SwhSlp: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Lig: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting SwingLfRig: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting SwUpDn: 2
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Quiet: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting Tur: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting StHt: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting TemUn: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting HeatCoolType: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting TemRec: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting SvSt: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting SlpMod: 0
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Setting TemSen: 62
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Done setting acOptions
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA target temp set according to HVAC state to: 25
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA lights option set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA health option set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA powersave option set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA sleep option set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA 8℃ heat option set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA air option set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA operation mode set according to HVAC state to: off
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA swing mode set according to HVAC state to: Fixed in the upmost position
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] HA fan mode set according to HVAC state to: Low
2024-06-19 21:45:09.517 INFO (SyncWorker_6) [custom_components.gree.climate] Finished SyncState
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): off
2024-06-19 21:45:09.518 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 25
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] name(): Slaapkamer AC
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.519 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:45:09.519 INFO (SyncWorker_19) [custom_components.gree.climate] update()
2024-06-19 21:45:09.519 INFO (SyncWorker_19) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:45:09.519 INFO (SyncWorker_19) [custom_components.gree.climate] Fetching(192.168.10.11, 7000, 60, {"cid":"app","i":0,"pack":"qyxvFjGX+tEpoTcRX/SJQvFck/bPUihdLKJw1H8R3hSvHd/WfTpAySWiEh9m7eoiIjF5w0jWUWjUzQSeBTxO0E96fj3O7n3NdB1XEQcFFahqsnugcWwJDM71hzDzj7ZajXNuW7BPwyU95nN4hLhmC09pbJlud8tV3PqAXT+bQSckezypChtNVNfAGrbLo8UIq2QdEA6PJNECnDDhtvuAVIn0ns/+WXCGdvroTMKDbzSkCFWzrzpw4F9hE6mJBheppabSlzh1wHRCgkpORw0ADA09LgjJLJm+a7qnJ4VGQkjgX+0r3wwHCnETXVNPD9Ts","t":"pack","tcid":"f4911ed32494","uid":0})
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting acOptions with retrieved HVAC values
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Pow: 1
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Mod: 2
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting SetTem: 22
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting WdSpd: 1
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Air: 0
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Blo: 1
2024-06-19 21:45:09.542 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Health: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting SwhSlp: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Lig: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting SwingLfRig: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting SwUpDn: 2
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Quiet: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting Tur: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting StHt: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting TemUn: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting HeatCoolType: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting TemRec: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting SvSt: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting SlpMod: 0
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Setting TemSen: 61
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Done setting acOptions
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA target temp set according to HVAC state to: 22
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA lights option set according to HVAC state to: off
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA health option set according to HVAC state to: off
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA powersave option set according to HVAC state to: off
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA sleep option set according to HVAC state to: off
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA 8℃ heat option set according to HVAC state to: off
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA air option set according to HVAC state to: off
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA operation mode set according to HVAC state to: dry
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA swing mode set according to HVAC state to: Fixed in the upmost position
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] HA fan mode set according to HVAC state to: Low
2024-06-19 21:45:09.543 INFO (SyncWorker_19) [custom_components.gree.climate] Finished SyncState
2024-06-19 21:45:09.543 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] available(): Device is online
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] hvac_mode(): dry
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] current_temperature(): None
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] target_temperature(): 22
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] fan_mode(): Low
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] swing_mode(): Fixed in the upmost position
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] name(): Slaapkamer Puck AC
2024-06-19 21:45:09.544 INFO (MainThread) [custom_components.gree.climate] supported_features(): 441
2024-06-19 21:46:09.458 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-06-19 21:46:09.459 INFO (SyncWorker_59) [custom_components.gree.climate] update()
2024-06-19 21:46:09.459 INFO (SyncWorker_59) [custom_components.gree.climate] Starting SyncState
2024-06-19 21:46:09.459 INFO (SyncWorker_59) [custom_components.gree.climate] Fetching(192.168.10.2, 7000, 60, {"cid":"app","i":0,"pack":"XmHULF3UIsUHvRxsemQhzoI2ThNBaUjP6IVFJSlTmvDwNBm/6Le/NxFj7VSBuowCgxODn8Ie5jJU2zHydTnc9mnJzZI6HD9U4pN4eSAde84lB/byYbNQgvcpfVNSeLXl3K+2sSmTLQQ0TVFg0NapW74ZcUGoYw2VFj9vW+Y9ukdUPg4sIH1tyCSIHr8O7SerLD5oNtTzvqJs+9hqcXMaAMGfNKiXM/9dp65bhqo52UphGbMkKX5iJirZ4mwIVMFurH+ZY6nyT7zAa6Fm9VPY0CiOrLiRQUkhJN+UQuHmRRk1uZVAH2sdIDTXZNR0uLng","t":"pack","tcid":"f4911e3f1ac8","uid":0})
2024-06-19 21:47:09.518 INFO (SyncWorker_59) [custom_components.gree.climate] Could not connect with device. 
2024-06-19 21:47:09.518 INFO (SyncWorker_59) [custom_components.gree.climate] Could not connect with device 3 times. Set it as offline.
RobHofmann commented 3 months ago

@toughvj we still have the connection dropping issue unfortunately.

toughvj commented 3 months ago

As a matter of clarification: this component does not establish any permanent connection to the ac unit, so there is nothing to drop. Every specified time interval, defined by the SCAN_INTERVAL constant, the update() function is called to retrieve its current state from the device. The update() function calls the SyncState() function, which if it is unable to connect to the unit 3 times, makes the device unavailable until the next update() call. So as you can see, it's not a matter of a few seconds, but three minutes. I am sure that if you analyze the home-assistant.log file you will find the information: Could not connect with device 3 times. Set it as offline. We have 3 solutions: We do not change anything and the user must take care of the quality of the WiFi connection between the access point and the AC unit Or in the next release (where I plan to fix the v2 encryption bug) I can add one of 2 options: A variable that defines the number of connection attempts in the device configuration and let each user decide when the device should go into the unavailable state Or: A variable that allows you to disable switching to the unavailable state. In my opinion, this solution is the worst because the device is always listed as available and the user can make many attempts to change its settings without any effect.

RobHofmann commented 3 months ago

Hmm I understand, and indeed the Could not connect with device 3 times. Set it as offline. is displayed. However I think this is not due to my WiFi (I've got a serious WiFi setup with multiple Unifi U6 Enterprise & Unifi AP AC Pro AP's (which hangs a few meters away without any restrictions in between from one of the HVAC's).

My guess it that (at least some of) the HVAC's have shitty WiFi implementations. We must be able to handle these shitty WiFi implementations, so the first option you are suggesting is not an option.

I think we should implement both the 2nd & 3rd option actually. Preferably i'd test it with configurigurable options for retry's & timeouts. However I'm pretty sure that even that won't permanently fix it. So i'd need an option to check it on boot and after that no longer check the connection (and leave it as online) to avoid any unintended automations firing due to the Unavailable status.

Let me know your thoughts.

toughvj commented 3 months ago

Haha I'm using Unifi setup too ;) no problem, will be in next PR.

RobHofmann commented 3 months ago

Added the logs from Home Assistant for the complete image.

Machaeon commented 3 months ago

Perhaps we should add an option to adjust the delay between connection attempts?

toughvj commented 3 months ago

this will be solved in next PR

toughvj commented 3 months ago

solved with PR #179, can be closed