Giter Site home page Giter Site logo

shorai-esp32's Introduction

Buy Me A Coffee

shorai-esp32

This will work for Toshiba Shorai and Seiya

This works great for me, but is at your own risk!

Hit me up on (https://discord.gg/wF8QsGe74s) if there is anything i can help with

Software install

PCB Schematic

PCB Schematic

PCB Layout

PCB layout U5 is a jumper, close the jumper to be powered from the heatpump. Remove jumper when powered from usb.

R1: 220R
R2: 470R
R3: 10K
R7,R8,R9,R10: 1K
U1,U2: 817A (Optocouplers)
C1: 100uF
U5: When connected with a Jumper, the pcb is powered from the AC (can be soldered)

Files for PCB (and possible to order): https://oshwlab.com/toremick/toshiba-ac-heatpump-mqtt

Parts list

Extra part list for creating a extension cable

This can be skipped if you are solder the capacitor on the solder side laying flat. This way it will fit inside the AC unit

PCB solder PCB cover

Home assistant Climate config part

Important note: If you have more than one device, please remember to change the name, unique_id and all the mqtt strings to have unique names. For each device replace the heatpump name with the unique 'maintopic' you have configured in the config.py of your ESP32 device.

climate:
  - platform: mqtt
    name: HeatPump
    icon: mdi:air-conditioner
    unique_id: toshibaheatpump
    modes:
      - "off"
      - "auto"
      - "cool"
      - "heat"
      - "dry"
      - "fan_only"
    swing_modes:
      - "on"
      - "off"
    fan_modes:
      - "quiet"
      - "lvl_1"
      - "lvl_2"
      - "lvl_3"
      - "lvl_4"
      - "lvl_5"
      - "auto"
    power_command_topic: "heatpump/state/set"
    power_state_topic: "heatpump/state/state"
    mode_command_topic: "heatpump/mode/set"
    mode_state_topic: "heatpump/mode/state"
    current_temperature_topic: "heatpump/roomtemp"
    temperature_command_topic: "heatpump/setpoint/set"
    temperature_state_topic: "heatpump/setpoint/state"
    fan_mode_command_topic: "heatpump/fanmode/set"
    fan_mode_state_topic: "heatpump/fanmode/state"
    swing_mode_command_topic: "heatpump/swingmode/set"
    swing_mode_state_topic: "heatpump/swingmode/state"
    temp_step: 1
    precision: 1
    

Add following to automations.yaml or where you have your automations

(this will query the heatpump for all values so HA will have current state for everything)

- id: gethpvalues_on_startup 
  alias: "HP states on HA start-up" 
  trigger:
    platform: homeassistant
    event: start
  action: 
  - service: mqtt.publish 
    data: 
      topic: heatpump/doinit
      payload: startup-ha
    

shorai-esp32's People

Contributors

jrkalf-cambrian avatar lauwiex avatar stoffelll avatar toremick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.