|
| 1 | +--- |
| 2 | +title: Mill panel heater (generation 2) |
| 3 | +date-published: 2025-01-20 |
| 4 | +type: misc |
| 5 | +standard: global |
| 6 | +board: esp8266 |
| 7 | +project-url: https://github.com/owangen/esphome/tree/dev/esphome/components/mill_panelheater_gen2 |
| 8 | +made-for-esphome: false |
| 9 | +difficulty: 5 |
| 10 | +--- |
| 11 | + |
| 12 | +## General Notes |
| 13 | + |
| 14 | +Mill panel heaters are available in various versions. This component is specifically designed for **Generation 2 panel heaters** (not compatible with portable heater models). Have a look here to check which generation you have https://millheat.zendesk.com/hc/en-us/articles/360000252071-Which-generation-do-I-have. |
| 15 | +If you have a Generation 3 panel heater (which comes with a built-in ESP32), check out this component: https://github.com/ssieb/esphome_components/tree/mill/components/mill_heater |
| 16 | + |
| 17 | +To use this component with a Generation 2 panel heater, you’ll need to replace the HF-LPT120A module with an ESP8266. |
| 18 | + |
| 19 | + |
| 20 | +HF-LPT120A desoldered |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +Solder the ESP8266 in place. |
| 25 | +Refer to the **GPIO Pinout section** for detailed instructions |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | +## GPIO Pinout |
| 30 | + |
| 31 | +| PIN (mill board) | ESP8266 | Description | |
| 32 | +|------------------|------------|--------------------------| |
| 33 | +| +3.3V | VCC | Power input (3.3V) | |
| 34 | +| GND | GND | Ground | |
| 35 | +| WTX | TX (GPIO1) | UART transmitter | |
| 36 | +| WRX | RX (GPIO3) | UART receiver | |
| 37 | + |
| 38 | +## Configuration |
| 39 | + |
| 40 | +```yaml |
| 41 | +substitutions: |
| 42 | + devicename: "millzero_heater" #Lower case name |
| 43 | + friendly_name: "Mill Zero heater" |
| 44 | + |
| 45 | +esphome: |
| 46 | + name: "${devicename}" |
| 47 | + |
| 48 | +external_components: |
| 49 | + source: |
| 50 | + type: git |
| 51 | + url: https://github.com/owangen/esphome |
| 52 | + components: [ mill_panelheater_gen2 ] |
| 53 | + |
| 54 | +esp8266: |
| 55 | + board: d1_mini |
| 56 | + |
| 57 | +wifi: |
| 58 | + ssid: !secret wifi_ssid |
| 59 | + password: !secret wifi_password |
| 60 | + ap: |
| 61 | + |
| 62 | +captive_portal: |
| 63 | + |
| 64 | +# Enable logging |
| 65 | +logger: |
| 66 | + baud_rate: 0 # Deactived to prevent conflict with UART, sending UART to mill controller does not work if enabled |
| 67 | + |
| 68 | +# Enable Home Assistant API |
| 69 | +api: |
| 70 | + |
| 71 | +ota: |
| 72 | + |
| 73 | +uart: |
| 74 | + id: uart_bus |
| 75 | + tx_pin: GPIO01 |
| 76 | + rx_pin: GPIO03 |
| 77 | + baud_rate: 9600 |
| 78 | + |
| 79 | +climate: |
| 80 | + - platform: mill_panelheater_gen2 |
| 81 | + name: Mill heater |
| 82 | +``` |
| 83 | +
|
| 84 | +## Credits |
| 85 | +
|
| 86 | +This component is based on the work by https://github.com/JDolven/Replacing-HF_LPT120A-in-a-millheat-heater and https://github.com/trondsundt/MillHeat-ESPHome-NodeMCU |
0 commit comments