User Tools

Site Tools



en:instructions_sw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:instructions_sw [2025/03/21 13:28] – New Mitsurunner version 84.248.112.152en:instructions_sw [2025/03/21 13:56] (current) – HomeAssistant ESPHome_Builder added 84.248.112.152
Line 115: Line 115:
   * If you use IoT-Guru without a USB connection, the trace-log will not be printed on the screen. However, you can see the log by going to the Mitsurunner IP address in a browser.   * If you use IoT-Guru without a USB connection, the trace-log will not be printed on the screen. However, you can see the log by going to the Mitsurunner IP address in a browser.
  
 +====Compiling, uploading and testing the program with the HomeAssistant ESPHome_Builder tool====
  
 +Mitsurunner software can also be compiled and uploaded with //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 **mitsu_conf.yaml** directory to the **HomeAssistant/esphome/mitsu** directory
 +
 +3) Edit **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 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**
en/instructions_sw.txt · Last modified: 2025/03/21 13:56 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