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

Showing wrong indoor temperature. #12

Open
sonybansi opened this issue Nov 29, 2024 · 1 comment
Open

Showing wrong indoor temperature. #12

sonybansi opened this issue Nov 29, 2024 · 1 comment

Comments

@sonybansi
Copy link

sonybansi commented Nov 29, 2024

The indoor temperature is showing incorrectly (currently 127°C). I have tried using it with and without the outdoor temperature filters, but there is no change.

Indoor unit- RAS-35G2KVP-ND
Outdoor unit- RAS-35G2AVP-ND
esp32 devkit v1

Screenshot 2024-11-29 at 00 42 53

Log >

[00:44:01][I][app:100]: ESPHome version 2024.11.2 compiled on Nov 29 2024, 00:36:37
[00:44:01][I][ToshibaClimateUart:315]: Min Temp: 17
[00:45:00][I][ToshibaClimateUart:125]: Requesting data from sensor 187, checksum: 249
[00:45:00][I][ToshibaClimateUart:125]: Requesting data from sensor 190, checksum: 246
[00:45:00][I][ToshibaClimateUart:257]: Received room temp: 127 °C
[00:45:00][I][ToshibaClimateUart:262]: Received outdoor temp: -8 °C

ESPHome config file >

esphome:
  name: toshiba
  friendly_name: Toshiba

esp32:
  board: esp32dev
  framework:
    type: arduino


# Enable Home Assistant API
api:
  encryption:
    key: "xxxxxxxxxxx"

ota:
  - platform: esphome
    password: "xxxxxxx"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
captive_portal:

external_components:
  - source: 
      type: git
      url: https://github.com/pedobry/esphome_toshiba_suzumi
    components: [toshiba_suzumi]

logger:
  level: info

uart:
  id: uart_bus
  tx_pin: 33
  rx_pin: 32
  parity: EVEN
  baud_rate: 9600

climate:
  - platform: toshiba_suzumi
    name: living-room
    id: living_room
    uart_id: uart_bus
    outdoor_temp:        # Optional. Outdoor temperature sensor
      name: Outdoor Temp
      #filters:
        # Filter out value 127 as that's what unit sends when it can's measure the outside temp.
       # - filter_out: 127 
    power_select:
      name: "Power level"
    #min_temp: 7 # Optional. Min temp is by default set to 17°C. If your AC has 8° heating mode, you can set different min temperature here.
    horizontal_swing: true # Optional. Uncomment if your HVAC supports also horizontal swing
    special_mode:          # Optional. Enable only the features your HVAC supports.
      name: "Special mode"
      modes:
        #- "Off"
        #- "ECO"
        - "Hi POWER"
        #- "8 degrees"
        #- "Fireplace"
    #disable_wifi_led: true # Optional. Disable Wifi LED on internal unit.

# Enable button to scan for unknown values in AC unit. This is optional.
button:
  - platform: template
    name: "Scan for unknown sensors"
    icon: "mdi:reload"
    on_press:
      then:
        - lambda: |-
            auto* controller = static_cast<toshiba_suzumi::ToshibaClimateUart*>(id(living_room));
            controller->scan();
@pedobry
Copy link
Owner

pedobry commented Nov 29, 2024

The filter works only for the outdoor temp sensor (because when AC is running on FAN mode only, it would read 127 and it mess up the graphs. That's why there is an option to filter out this value).

Your log shows that the unit sends value 127 for room temperature. Don't know why. You can modify the source code to ignore this value, but then you would see 0 °C instead of 127 °C which is not better.

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