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

Testing in FTXS35K3V1B and FTXS25K3V1B #22

Open
txitxo0 opened this issue May 11, 2024 · 0 comments
Open

Testing in FTXS35K3V1B and FTXS25K3V1B #22

txitxo0 opened this issue May 11, 2024 · 0 comments

Comments

@txitxo0
Copy link

txitxo0 commented May 11, 2024

Hi there!!

Really good job, i like it so much!

I am trying to get it working for both units (FTXS35K3V1B and FTXS325K3V1B)
I build a circuit with an ESP32-c3 super mini a logic converter (from 5v to 3.3v) and a transformet to get 5v from the unit.

  • FTXS35K3V1B: apparently it is working like a charm using its S21 connector🥳 🥳 🥳
  • FTXS25K3V1B: It doesn't have the S21 connector, so testing over the S403 connector (which it is not main reference isolated. >300V in some pins)
S403
pin 1 Vcc (+14V)
pin 2 
pin 3
pin 4 Tx
pin 5 Rx
pin 6 GND
pin 7 GND
...

using this configuration for the unit with S403 connector I have some problems apparently related with the data. The esp32 is running so pins for Vcc and GND should be okay, but the Tx and Rx maybe are the ones failing. These are the ESPHome logs:

[12:50:32][D][daikin_s21.climate:312]: Room temp from external sensor: 23.6 °C (23.6 °C)
[12:50:32][D][daikin_s21.climate:313]:   Offset: -23.6
[12:50:32][W][daikin_s21:265]: No ACK from S21 for F1 query
[12:50:32][W][daikin_s21:265]: No ACK from S21 for F5 query
[12:50:32][W][daikin_s21:265]: No ACK from S21 for RH query
[12:50:32][W][daikin_s21:265]: No ACK from S21 for RI query
[12:50:33][W][daikin_s21:265]: No ACK from S21 for Ra query
[12:50:33][W][daikin_s21:265]: No ACK from S21 for RL query
[12:50:33][W][daikin_s21:265]: No ACK from S21 for Rd query
[12:50:33][W][component:237]: Component daikin_s21 took a long time for an operation (183 ms).
[12:50:33][W][component:238]: Components should block for at most 30 ms.
...
[14:24:05][D][daikin_s21:261]: NAK from S21 for Rd query
[14:24:05][W][component:237]: Component daikin_s21 took a long time for an operation (291 ms).
[14:24:05][W][component:238]: Components should block for at most 30 ms.
[14:24:07][W][daikin_s21:265]: No ACK from S21 for F1 query
[14:24:07][E][uart:015]: Reading from UART timed out at byte 0!
[14:24:07][W][daikin_s21:257]: Timeout waiting for RH response
[14:24:07][W][daikin_s21:265]: No ACK from S21 for RI query
[14:24:07][W][daikin_s21:265]: No ACK from S21 for Ra query
[14:24:07][E][uart:015]: Reading from UART timed out at byte 0!
[14:24:07][W][daikin_s21:257]: Timeout waiting for RL response
[14:24:07][W][daikin_s21:265]: No ACK from S21 for Rd query
[14:24:07][W][component:237]: Component daikin_s21 took a long time for an operation (430 ms).
[14:24:07][W][component:238]: Components should block for at most 30 ms.
[14:24:09][D][daikin_s21.climate:312]: Room temp from external sensor: 23.8 °C (23.8 °C)
[14:24:09][D][daikin_s21.climate:313]:   Offset: 0.2
[14:24:09][W][daikin_s21:265]: No ACK from S21 for F1 query
[14:24:09][W][daikin_s21:225]: Checksum mismatch: 6a (frame) != 2a (calc from 07:31:30:33:4E:41)
[14:24:09][W][daikin_s21:271]: Failed reading F5 response frame
[14:24:09][W][daikin_s21:265]: No ACK from S21 for RH query
[14:24:09][W][daikin_s21:265]: No ACK from S21 for RI query
[14:24:09][W][daikin_s21:265]: No ACK from S21 for Ra query
[14:24:09][W][daikin_s21:265]: No ACK from S21 for RL query
[14:24:09][W][daikin_s21:265]: No ACK from S21 for Rd query
[14:24:09][W][component:237]: Component daikin_s21 took a long time for an operation (231 ms).
[14:24:09][W][component:238]: Components should block for at most 30 ms.
[14:24:11][W][daikin_s21:265]: No ACK from S21 for F1 query
[14:24:11][W][daikin_s21:265]: No ACK from S21 for F5 query
[14:24:11][W][daikin_s21:265]: No ACK from S21 for RH query
[14:24:11][W][daikin_s21:265]: No ACK from S21 for RI query
[14:24:11][W][daikin_s21:265]: No ACK from S21 for Ra query
[14:24:11][W][daikin_s21:265]: No ACK from S21 for RL query
[14:24:11][W][daikin_s21:265]: No ACK from S21 for Rd query
[14:24:11][W][component:237]: Component daikin_s21 took a long time for an operation (185 ms).
[14:24:11][W][component:238]: Components should block for at most 30 ms.
[14:24:13][W][daikin_s21:265]: No ACK from S21 for F1 query
[14:24:13][W][daikin_s21:265]: No ACK from S21 for F5 query
[14:24:13][W][daikin_s21:265]: No ACK from S21 for RH query
[14:24:13][W][daikin_s21:265]: No ACK from S21 for RI query
[14:24:13][W][daikin_s21:265]: No ACK from S21 for Ra query
[14:24:13][W][daikin_s21:207]: Unexpected ACK waiting to read start of frame
[14:24:13][W][daikin_s21:225]: Checksum mismatch: 9c (frame) != 5a (calc from 47:30:33:30:80)
[14:24:13][W][daikin_s21:271]: Failed reading RL response frame
[14:24:13][W][daikin_s21:265]: No ACK from S21 for Rd query
[14:24:13][W][component:237]: Component daikin_s21 took a long time for an operation (186 ms).
[14:24:13][W][component:238]: Components should block for at most 30 ms.

For a yaml template like this:

external_components:
  - source: github://joshbenner/esphome-daikin-s21@main
    components: [ daikin_s21 ]

uart:
  - id: s21_uart
    tx_pin: GPIO21
    rx_pin: GPIO20
    baud_rate: 2400
    data_bits: 8
    parity: EVEN
    stop_bits: 2

# The base UART communication hub.
daikin_s21:
  tx_uart: s21_uart
  rx_uart: s21_uart

climate:
  - name: $upper_devicename
    platform: daikin_s21
    visual:
      temperature_step: 1.0
    # Optional HA sensor used to alter setpoint.
    room_temperature_sensor: room_temp  # See homeassistant sensor below

# Optional additional sensors.
sensor:
  - platform: daikin_s21
    inside_temperature:
      name: $upper_devicename Inside Temperature
    outside_temperature:
      name: $upper_devicename Outside Temperature
    coil_temperature:
      name: $upper_devicename Coil Temperature
    fan_speed:
      name: $upper_devicename Fan Speed
  - platform: homeassistant
    id: room_temp
    entity_id: sensor.zb_salon_sensor_temperature
    unit_of_measurement: °C

Someone who has some ligth on this?
Thank you!

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

1 participant