en:instructions_sw
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:instructions_sw [2024/02/20 19:08] – Added English Translation thingwizard | en:instructions_sw [2025/03/21 13:56] (current) – HomeAssistant ESPHome_Builder added 84.248.112.152 | ||
---|---|---|---|
Line 42: | Line 42: | ||
====== MitsuRunner Software Installation Guide ====== | ====== MitsuRunner Software Installation Guide ====== | ||
+ | Download Mitsurunner from https:// | ||
- | * Download the Mitsurunner program from https://github.com/VeliML/MitsuRunner, | + | Edit //mitsu_conf.yaml// to match your Mitsurunner configuration |
- | * ⇒ The packaged Mitsurunner package will downloaded | + | |
- | * Extract the package to your desired directory | + | |
- | + | ||
- | * Edit the secrets.yaml file | + | |
- | * Define your WiFi network parameters " | + | |
- | * Define Manual_ip settings: | + | |
- | * static_ip: (the IP address your device will use to connect to your home network) | + | |
- | * gateway: (the IP address through which your home network connects to the outside network) | + | |
- | * You can find your home network' | + | |
- | * Define your desired OTA password | + | |
- | * Edit the platform.yaml file: | + | |
- | * Define | + | |
- | * Check and, if necessary, modify the pin definitions for temperature sensors and relay control to match your wiring | + | |
- | * Compile and install the Mitsurunner code on your device with the command " | + | |
- | Check: A log will be printed to the Windows screen showing: | + | Some examples: |
- | * That Mitsurunner is connected to your home network | + | |
- | * the temperatures of DS18B20 temperature sensors | + | |
+ | **a) mitsu_conf.yaml for Wemos-Mitsurunner with IoT-Guru** | ||
+ | <<: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | - constants.h | ||
+ | - state.h | ||
+ | **b) mitsu_conf.yaml for Sonoff_Elite-Mitsurunner with HomeAssistant** | ||
+ | <<: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | - constants.h | ||
+ | - state.h | ||
+ | **c) mitsu_conf.yaml for Wemos-Mitsurunner without WiFi-connention** | ||
+ | <<: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | - constants.h | ||
+ | - state.h | ||
+ | |||
+ | **Update the parameters to the files you are using** | ||
+ | Detailed instructions for updating the parameters in each file. | ||
+ | |||
+ | **1.platform_wemos.yaml / platform_elite.yaml** | ||
+ | | ||
+ | *Used GPIO pins (DS18B20 1-wire and relay control) | ||
+ | *When using HomeAssistant, | ||
+ | *Add a comment “#” to the beginning of the “level: INFO” line for more detailed trace data, this may be helpful during the Mitsurunner installation process | ||
+ | |||
+ | **2.secrets.yaml / screts_sa.yaml** | ||
+ | | ||
+ | | ||
+ | |||
+ | **3.mqtt_Guru.yaml / mqtt_local.yaml** | ||
+ | | ||
+ | | ||
+ | |||
+ | **4. constants.h** | ||
+ | |||
+ | file defines the operating parameters of Mitsurunner (timers, temperature limits). Usually the default values work well, but you can also modify those if necessary. | ||
+ | |||
+ | =========================================== | ||
+ | |||
+ | ==== Compiling, downloading and testing the program with ESPTool ==== | ||
+ | * Connect Mitsurunner with a USB cable, compile code and install binar to the device with the command < | ||
+ | program starts, trace-log is printed on the screen. From trace-log check: | ||
+ | |||
+ | * Mitsurunner is connected to your home network | ||
+ | * The temperatures of the DS18B20 sensors are correct | ||
+ | * Mitsurunner is connected to the MQTT server (if MQTT is enabled) | ||
+ | * The information you have specified is updated to the MQTT server | ||
+ | * 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, | ||
+ | |||
+ | Mitsurunner software can also be compiled and uploaded with // | ||
+ | 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/ | ||
+ | |||
+ | 2) Copy the files defined in **mitsu_conf.yaml** directory to the **HomeAssistant/ | ||
+ | |||
+ | 3) Edit **mitsu_conf.yaml** file by specifying the directory where the files are located. | ||
+ | |||
+ | <<: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | - mitsu/ | ||
+ | - mitsu/ | ||
+ | |||
+ | 4) Add the **mitsu_conf.yaml** file you edited to the **HomeAssistant/ | ||
+ | |||
+ | 5) Open // | ||
+ | Select **edit**, you will see the contents of the " | ||
+ | |||
+ | 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 // | ||
+ | * 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/ | ||
+ | |||
+ | You can do the following downloads via OTA connection | ||
+ | ESPHome/ |
en/instructions_sw.1708448931.txt.gz · Last modified: 2024/02/20 19:08 by thingwizard