Skip to content

Commit

Permalink
Update readme with esptool web, fix not open config portal for Window…
Browse files Browse the repository at this point in the history
…s/Mac
  • Loading branch information
dzungpv committed Feb 18, 2025
1 parent 5a391b0 commit 850c21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Faulty handling may cause leakage of water, electric shock or fire! :warning:
## How to use:
- Step 1: Flash the sketch with flash size include SPIFFS option.
- Step 2: Connect to device AP with name HVAC-XXXXXXXXXXXX (XXXX... 12 character MAC address)
- Step 3: You should be automatically redirected to the web portal or go to 192.168.4.1
- Step 3: You should be automatically redirected to the web portal or go to 192.168.4.1 or 8.8.8.8 (version later than 2025.02.08)
- Step 4: Set Wifi information, mqtt(optional), language and save & reboot. Fall back to AP mode if WiFi connection fails (AP password sets to default SSID name from step 2).
- Step 5: Connect to the device I with local domain: HVAC-XXXXXXXXXXXX.local
- Step 6: (optional): Set MQTT information for use with Home Assistant
Expand All @@ -96,6 +96,7 @@ Nightly builds are available for select platforms via GitHub Actions. Go to [the
## How to flash pre-build bin file (for ESP32 only):
- Download latest release bin file `mitsubishi2MQTT_ESP32DEV_IDF.bin.zip` and exact it.
- Flash `mitsubishi2MQTT_ESP32DEV_IDF.bin` with esptool.py with command: ```esptool.py -p PORT -b 460800 --before default_reset --after no_reset --chip esp32 write_flash --flash_mode dio --flash_size keep --flash_freq 40m 0x0 mitsubishi2MQTT_ESP32DEV_IDF.bin```
- If you do not want to install EspTool, just use EspTool web with Chrome or Edge browser here: https://espressif.github.io/esptool-js/, after connected, choose file: `mitsubishi2MQTT_ESP32DEV_IDF.bin` and then enter `Flash Address` 0x0 and press `Program`.

***

Expand Down
2 changes: 1 addition & 1 deletion main/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Ticker ticker;

// Captive portal variables, only used for config page
const byte DNS_PORT = 53;
IPAddress apIP(192, 168, 4, 1);
IPAddress apIP(8, 8, 8, 8);
IPAddress netMsk(255, 255, 255, 0);
DNSServer dnsServer;

Expand Down

0 comments on commit 850c21a

Please sign in to comment.