User Tools

Site Tools


Translations of this page:

fi:drafts

This is an old revision of the document!


Compiling, uploading and testing the program with the HomeAssistant ESPHome_Builder tool

Mitsurunner software can also be compiled and uploaded with the HomeAssistant ESPHome_Builder tool There are several ways to do this, one straightforward way is described below. Mitsurunner program created in this way can be uploaded as OTA over the version created with ESPTool without USB upload.

1) Create a new directory mitsu in the HomeAssistant/esphome directory

2) Copy the files defined in the mitsu_conf.yaml directory to the HomeAssistant/esphome/mitsu directory

3) Edit the mitsu_conf.yaml file by specifying the directory where the files are located.

 <<: !include mitsu/platform_wemos.yaml
 packages:
 wifi_base: !include mitsu/secrets.yaml
 dallas_base: !include mitsu/dallas_hub.yaml
 mqtt_base: !include mitsu/mqtt_disabled.yaml
 core_base: !include mitsu/mitsurunner.yaml
 esphome:
 includes:
 - mitsu/constants.h
 - mitsu/state.h

4) Add the mitsu_conf.yaml file you edited to the HomeAssistant/esphome directory.

5) Open HomeAssistant ESPHome Builder, there you will now see “Device” as mitsu_conf Select edit, you will see the contents of the “mitsu_conf.yaml” file, the first time the download is done via USB as follows:

6) Compile the code by selecting install –> Manual download –> a window will open where you can see the progress of the compilation. If/when the translation goes without errors, save the generated mitsurunner.bin file and close the window

7) Select ESPHome/Device on the Mitsurunner/Edit

  • select install again in the upper right corner
  • select Plug into this computer
  • select Open ESPHome Web
  • select Connect
  • select USB port
  • select Establish connection
  • select Install
  • select the previously saved mitsurunner.bin file
  • select Install

Mitsurunner software is now downloaded and now Mitsurunner should work. By selecting ESPHome/Device Mitsurunner/logs you can see the trace_log data sent by Mitsurunner.

You can do the following downloads via OTA connection ESPHome/Device Mitsurunner“/Edit install =⇒ Wirelessly

fi/drafts.1742557398.txt.gz · Last modified: 2025/03/21 13:43 by 84.248.112.152

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki