Skip to content

Releases: maxmacstn/mitsubishi2MQTT

2024.05.1 - magi's edition

05 May 10:11
Compare
Choose a tag to compare

Mitsubishi2MQTT 2024.05.1 - magi's edition

มีอะไรใหม่ (เมื่อเปรียบเทียบกับ 2024.4.1)

  • แก้ไขบัค ไม่สามารถควบคุมแอร์ผ่านหน้าเว็บได้
  • แก้ไขบัค ในหน้าเว็บขึ้นแสดงผล HVAC Disconnected
  • รองรับการคำนวนการใช้พลังงาน (energy)

ไฟล์ไบนารี่ (.bin) มีสองเวอร์ชั่น

  • CN105Kit V2 ให้เลือกไฟล์สำหรับ ESP07
  • CN105Kit V2.1 ให้เลือกไฟล์สำหรับ ESP12E
  • WiFiKit Serial ให้เลือกไฟล์สำหรับ ESP32S3
    • อัปเดตผ่าน OTA ให้ใช้ไฟล์ m2mqtt_2024-5-1-ESP32S3.bin
    • หากต้องการ Flash ใหม่ ให้ใช้ไฟล์ m2mqtt_2024-5-1-ESP32S3_merged.bin และ Flash ที่ address 0x0000

วิธีการ Flash Firmware สำหรับการ Update

2022.01.10 - magi's edition

31 Aug 11:20
e55d65e
Compare
Choose a tag to compare

Mitsubishi2MQTT 2022.01.10 - magi's edition

มีอะไรใหม่ (เมื่อเปรียบเทียบกับ 2022.1.9)

  • แก้ปัญหา Home Assistant แจ้งเตือน Discovered MQTT entities with a name that is equal to the device name
  • แก้ไขบัค MQTT reconnect overflow

ไฟล์ไบนารี่ (.bin) มีสองเวอร์ชั่น

  • CN105Kit V2 ให้เลือกไฟล์สำหรับ ESP07
  • CN105Kit V2.1 ให้เลือกไฟล์สำหรับ ESP12E

วิธีการ Flash Firmware สำหรับการ Update

2022.01.9 - magi's edition

01 Aug 12:11
Compare
Choose a tag to compare

Mitsubishi2MQTT 2022.01.9 - magi's edition

มีอะไรใหม่ (เมื่อเปรียบเทียบกับ 2022.1.7)

  • หลังจากสั่งงานแอร์ผ่าน HA/HomeBridge ค่าจะไม่เด้งกลับเป็นสถานะก่อนหน้าแล้ว
    (รอ 45 วินาทีให้แอร์ update สถานะตัวเองก่อนแล้วตัวโมดูลค่อยดึงข้อมูล)
  • ปรับปรุงการแสดงผล LED เล็กน้อย

ไฟล์ไบนารี่ (.bin) มีสองเวอร์ชั่น

  • CN105Kit V2 ให้เลือกไฟล์สำหรับ ESP07
  • CN105Kit V2.1 ให้เลือกไฟล์สำหรับ ESP12E

วิธีการ Flash Firmware สำหรับการ Update

2022.01.7 - magi's edition

03 Jun 12:18
Compare
Choose a tag to compare

Mitsubishi2MQTT 2022.01.7 - magi's edition

มีอะไรใหม่

  • แก้ไขปัญหาอุปกรณ์ขึ้น unavailable ใน Home Assistant (เกิดขึ้นจากอุปกรณ์หลุดจาก MQTT เป็นช่วงเวลาสั้นๆ แก้ไขโดยการเพิ่ม keep-alive time)
  • เพิ่มให้ทดลองอัปเดตค่าจากเครื่องปรับอากาศทุกๆ 5 วินาที
  • เพิ่ม Select Entity สำหรับการปรับใบบังลมแนวตั้งและแนวนอน
  • เพิ่ม Sensor Entity สำหรับอุณหภูมิห้อง

วิธีการอัปเดตอะแดปเตอร์ CN105Kit V2 / V2.1 (Wifiserial)

  1. เตรียม USB to UART และ สายจัมเปอร์สำหรับการ Flash Firmware
  2. เชื่อมต่อ USB to UART เข้ากับ CN105Kit V2
    • 5V -> 5V
    • GND -> GND
    • TX -> RX
    • RX -> TX
  3. ปรับตำแหน่งสวิตช์ไปที่ตำแหน่ง flash mode
  4. เชื่อมต่อไปที่คอมพิวเตอร์
  5. ใช้โปรแกรม NodeMCU PyFlasher (หรือโปรแกรมอื่นๆ สำหรับ flash ESP8266 ) โดยใช้การตั้งค่าดังนี้:
    • Upload Speed = 460800
    • Flash Mode = DOUT
    • Erase Flash = NO (หากต้องการคืนค่าโรงงานให้เลือก wipe all)
  6. ทำการ Flash Firmware และรอให้เสร็จ
  7. ปรับตำแหน่งสวิตช์ไปที่ตำแหน่ง normal mode
  8. ถอดสายออกแล้วเชื่อมต่อไปที่เครื่องปรับอากาศ

*ตัวโมดูล CN105Kit V2.1 (ใช้ชิพ ESP-12E) สามารถอัปเกรดผ่าน OTA ได้

Changelog

  • Fix the device disconnected from MQTT due to short keep-alive time.
  • Add 5 seconds of A/C Polling rate (experimental).
  • Add vertical and Horizontal vane entities.
  • Add a dedicated room temperature entity.

Update Guide for CN105Kit V2 / V2.1 Hardware (Wifiserial)

  1. Prepare USB to UART adapter + Jumper wires.
  2. Connect CN105Kit V2 pins to USB UART.
    • 5V -> 5V
    • GND -> GND
    • TX -> RX
    • RX -> TX
  3. Change the position of the switch to flash mode
  4. Connect to the computer.
  5. Use NodeMCU PyFlasher (or other software) to flash ESP8266 using the following settings:
    • Upload Speed = 460800
    • Flash Mode = DOUT
    • Erase Flash = NO (If you want to save existing settings)
  6. Flash the firmware and wait for the process to be completed.
  7. Change the position of the switch to normal mode
  8. Unplug from the computer and re-connect to A/C

*OTA Update is only possible for CN105Kit V2.1 Hardware (using ESP-12E Chip)

Pinout reference