Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reboot Shows climate as offline #152

Closed
duczz opened this issue Jul 21, 2024 · 11 comments
Closed

Reboot Shows climate as offline #152

duczz opened this issue Jul 21, 2024 · 11 comments

Comments

@duczz
Copy link

duczz commented Jul 21, 2024

When i have a active climate, after a homeassistent reboot the climate shows this one as offline but it is already activ.
I think this is since a few weeks, Integration problem or homeassistent problem?

Edit: Actuall homeassistent and actuall Integration version

@hristo-atanasov
Copy link
Owner

What is that part with the "Edit"?

@duczz
Copy link
Author

duczz commented Jul 21, 2024

That you know im everywhere up2date

@duczz
Copy link
Author

duczz commented Aug 1, 2024

Code:

#Büro
- platform: tasmota_irhvac
  name: "Büro Klimaanlage"
  unique_id: "Buero Klimaanlage"
  command_topic: "cmnd/Buero_Klimaanlage/irhvac"
  # Pick one of the following:
  # State is updated when the tasmota device receives an IR signal (includes own transmission and original remote)
  # useful when a normal remote is in use alongside the tasmota device, may be less reliable than the second option.
  #state_topic: "tele/Buero_Klimaanlage/RESULT"
  # State is updated when the tasmota device completes IR transmission, should be pretty reliable.
  #state_topic: "stat/your_tasmota_device/RESULT"
  # Optional second state topic, This option allows you to subscribe to both "tele" and "stat" messages.
  #state_topic_2: "stat/your_tasmota_device/RESULT"
  # Uncomment if your 'available topic' of Tasmota IR device are different (if device in HA is disabled)
  #availability_topic: "tele/your_tasmota_device/LWT"
  temperature_sensor: sensor.wohnzimmer_temperatursensor_snzb_02_temperature
  humidity_sensor: sensor.wohnzimmer_temperatursensor_snzb_02_humidity #optional - default None
  #power_sensor: binaly_sensor.kitchen_ac_power #optional - default None
  vendor: "PANASONIC_AC"
  min_temp: 16 #optional - default 16 int value
  max_temp: 30 #optional - default 32 int value
  target_temp: 26 #optional - default 26 int value
  initial_operation_mode: "off" # optional - default "off" string value (one of the "supported_modes")
  #away_temp: 24 #optional - default 24 int value (preset_modes)
  precision: 1 #optional - default 1 int or float value. Can be set to 1, 0.5 or 0.1
  supported_modes:
    - "auto"
    - "heat"
    - "cool"
    - "dry"
    #- "fan_only" # Use "fan_only" even if Tasmota shows "Mode":"Fan"
    - "off" #Turns the AC off - Should be in quotes
    # Some devices have "auto" and "fan_only" switched. If the following two lines are uncommented, "auto" and "fan" shoud be commented out
    #- "auto_fan_only" #if remote shows fan but tasmota says auto
    #- "fan_only_auto" #if remote shows auto but tasmota says fan
  supported_fan_speeds:
    # Some devices say max,but it is high, and auto which is max. If you uncomment the following two, you have to comment high and max
    # - "auto_max" #woud become max
    # - "max_high" #would become high
    #- "on"
    #- "off"
    - "auto"
    - "min"
    - "low"
    - "medium"
    - "high"
    - "max"
  supported_swing_list:
    - "off"
    - "vertical" #up to down
    - "horizontal" # Left to right
    #- "both"
  default_quiet_mode: "Off" #Quiet und Turbo sind in der Firmware vertauscht | optional - default "Off" string value
  default_turbo_mode: "On" #Quiet und Turbo sind in der Firmware vertauscht | optional - default "Off" string value
  default_econo_mode: "Off" #optional - default "Off" string value
  hvac_model: "3" #optional - default "1" string value
  celsius_mode: "On" #optional - default "On" string value
  default_light_mode: "Off" #optional - default "Off" string value
  default_filter_mode: "Off" #optional - default "Off" string value
  default_clean_mode: "Off" #optional - default "Off" string value
  default_beep_mode: "Off" #optional - default "Off" string value
  default_sleep_mode: "-1" #optional - default "-1" string value
  default_swingv: "high" #optional - default "" string value
  default_swingh: "middle" #optional - default "" string value
  keep_mode_when_off: false #optional - default False boolean value : Must be True for MITSUBISHI_AC, ECOCLIM, etc.

@duczz
Copy link
Author

duczz commented Aug 4, 2024

@hristo-atanasov @nao-pon any ideas, Integration Problem,Code Problem or Problem on my system?

@jbrandek
Copy link

Here also after reboot all AC appear as off state.
Peobably has to be something with the retain flag? Or to load last state after a reboot?

@hristo-atanasov
Copy link
Owner

Now that is strange. Usually it will be off if the platform cannot restore the state, for the given entity, from HA. Not sure, but it realy can be a problem with retained values in MQTT. Try looking with MQTT explorer for retained values for Tasmota devices (expecially the devices used for Tasmota IRHVAC).

@nao-pon
Copy link
Collaborator

nao-pon commented Sep 12, 2024 via email

@duczz
Copy link
Author

duczz commented Sep 15, 2024

@nao-pon yep, because i want the Remote Console changes not in my homeassistant environment.

but when i activate these the state does not change in homeasssitant, the mqtt explorer shows a change only when i give a feedback for example power on etc.

image

@ProjektBisarr
Copy link

Got the same behavior myself. State is off after restarting HA. It started happening 4 months ago as @duczz reported.

@aperetti
Copy link

aperetti commented Nov 8, 2024

I'm also seeing similar behavior, oddly the temperature shoots up 145F as well. A little unsettling when you see it, too.

hristo-atanasov added a commit that referenced this issue Dec 30, 2024
@hristo-atanasov
Copy link
Owner

The problem was't in your configs. There was an error by mistake in the code. Should be fixed now.

PostLogical pushed a commit to PostLogical/Tasmota-IRHVAC that referenced this issue Dec 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants