Compare commits
3 commits
80e9f51d34
...
17ed9844be
| Author | SHA1 | Date | |
|---|---|---|---|
| 17ed9844be | |||
| fa564e2546 | |||
| e86a250e1e |
6 changed files with 58 additions and 65 deletions
|
|
@ -7,4 +7,16 @@ esp32:
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- !include
|
- !include
|
||||||
file: ../domain/network/ethernet_lan8720.yaml
|
file: ../domain/network/ethernet.yaml
|
||||||
|
|
||||||
|
ethernet:
|
||||||
|
type: LAN8720
|
||||||
|
mdc_pin: GPIO23
|
||||||
|
mdio_pin: GPIO18
|
||||||
|
clk:
|
||||||
|
pin: GPIO17
|
||||||
|
mode: CLK_OUT
|
||||||
|
phy_addr: 0
|
||||||
|
power_pin:
|
||||||
|
number: GPIO12
|
||||||
|
ignore_strapping_warning: true
|
||||||
|
|
|
||||||
7
domain/network/ethernet.yaml
Normal file
7
domain/network/ethernet.yaml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
ethernet:
|
||||||
|
domain: .km6g.us
|
||||||
|
manual_ip:
|
||||||
|
static_ip: ${ip4_address}
|
||||||
|
gateway: 192.168.81.3
|
||||||
|
subnet: 255.255.255.0
|
||||||
|
dns1: 192.168.255.2
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
ethernet:
|
|
||||||
type: LAN8720
|
|
||||||
mdc_pin: GPIO23
|
|
||||||
mdio_pin: GPIO18
|
|
||||||
clk:
|
|
||||||
pin: GPIO17
|
|
||||||
mode: CLK_OUT
|
|
||||||
phy_addr: 0
|
|
||||||
power_pin:
|
|
||||||
number: GPIO12
|
|
||||||
ignore_strapping_warning: true
|
|
||||||
domain: .km6g.us
|
|
||||||
manual_ip:
|
|
||||||
static_ip: ${ip4_address}
|
|
||||||
gateway: 192.168.81.3
|
|
||||||
subnet: 255.255.255.0
|
|
||||||
dns1: 192.168.255.2
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
ethernet:
|
|
||||||
type: W5500
|
|
||||||
mosi_pin:
|
|
||||||
number: GPIO09
|
|
||||||
ignore_strapping_warning: true
|
|
||||||
miso_pin:
|
|
||||||
number: GPIO08
|
|
||||||
ignore_strapping_warning: true
|
|
||||||
clk_pin: GPIO10
|
|
||||||
cs_pin: GPIO5
|
|
||||||
reset_pin: GPIO04
|
|
||||||
interrupt_pin: GPIO03
|
|
||||||
clock_speed: 25MHz
|
|
||||||
domain: .km6g.us
|
|
||||||
manual_ip:
|
|
||||||
static_ip: ${ip4_address}
|
|
||||||
gateway: 192.168.81.3
|
|
||||||
subnet: 255.255.255.0
|
|
||||||
dns1: 192.168.255.2
|
|
||||||
48
hvac2.yaml
48
hvac2.yaml
|
|
@ -35,10 +35,10 @@ esphome:
|
||||||
- id: hall
|
- id: hall
|
||||||
name: Second Floor Hall
|
name: Second Floor Hall
|
||||||
devices:
|
devices:
|
||||||
- id: hvac_device
|
- id: heat_pump
|
||||||
name: HVAC2
|
name: Heat Pump 2
|
||||||
area_id: attic_area
|
area_id: attic_area
|
||||||
- id: hvac_thermostat
|
- id: thermostat
|
||||||
name: Second Floor Thermostat
|
name: Second Floor Thermostat
|
||||||
area_id: hall
|
area_id: hall
|
||||||
|
|
||||||
|
|
@ -48,8 +48,8 @@ external_components:
|
||||||
|
|
||||||
climate:
|
climate:
|
||||||
- platform: mitsubishi_itp
|
- platform: mitsubishi_itp
|
||||||
name: "Climate"
|
name: "Second Floor HVAC"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
uart_heatpump: hp_uart
|
uart_heatpump: hp_uart
|
||||||
uart_thermostat: th_uart
|
uart_thermostat: th_uart
|
||||||
enhanced_mhk: true
|
enhanced_mhk: true
|
||||||
|
|
@ -59,52 +59,52 @@ binary_sensor:
|
||||||
- platform: mitsubishi_itp
|
- platform: mitsubishi_itp
|
||||||
defrost:
|
defrost:
|
||||||
name: "Defrost"
|
name: "Defrost"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
filter_status:
|
filter_status:
|
||||||
name: "Filter Status"
|
name: "Filter Status"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
preheat:
|
preheat:
|
||||||
name: "Preheat"
|
name: "Preheat"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
standby:
|
standby:
|
||||||
name: "Standby"
|
name: "Standby"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
using_internal_temperature:
|
using_internal_temperature:
|
||||||
name: "Using Internal Temperature"
|
name: "Using Internal Temperature"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: mitsubishi_itp
|
- platform: mitsubishi_itp
|
||||||
compressor_frequency:
|
compressor_frequency:
|
||||||
name: "Compressor Frequency"
|
name: "Compressor Frequency"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
outdoor_temperature:
|
outdoor_temperature:
|
||||||
name: "Outdoor Temperature"
|
name: "Outdoor Temperature"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
input_watts:
|
input_watts:
|
||||||
name: "Input Power"
|
name: "Input Power"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
lifetime_kwh:
|
lifetime_kwh:
|
||||||
name: "Lifetime Energy"
|
name: "Lifetime Energy"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
runtime:
|
runtime:
|
||||||
name: "Runtime"
|
name: "Runtime"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
thermostat_humidity:
|
thermostat_humidity:
|
||||||
name: "Thermostat Humidity"
|
name: "Humidity"
|
||||||
device_id: hvac_thermostat
|
device_id: thermostat
|
||||||
thermostat_temperature:
|
thermostat_temperature:
|
||||||
name: "Thermostat Temperature"
|
name: "Temperature"
|
||||||
device_id: hvac_thermostat
|
device_id: thermostat
|
||||||
|
|
||||||
text_sensor:
|
text_sensor:
|
||||||
- platform: mitsubishi_itp
|
- platform: mitsubishi_itp
|
||||||
actual_fan:
|
actual_fan:
|
||||||
name: "Actual Fan"
|
name: "Actual Fan Speed"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
error_code:
|
error_code:
|
||||||
name: "Error Code"
|
name: "Error Code"
|
||||||
device_id: hvac_device
|
device_id: heat_pump
|
||||||
thermostat_battery:
|
thermostat_battery:
|
||||||
name: "Thermostat Battery"
|
name: "Battery"
|
||||||
device_id: hvac_thermostat
|
device_id: thermostat
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,18 @@ esphome:
|
||||||
board_build.flash_mode: dio
|
board_build.flash_mode: dio
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
board: esp32-c3-devkitm-1
|
board: esp32-c3-devkitc-02
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- !include
|
- !include
|
||||||
file: ../domain/network/ethernet_w5500.yaml
|
file: ../domain/network/ethernet.yaml
|
||||||
|
|
||||||
- !include
|
- !include
|
||||||
file: ../domain/uart.yaml
|
file: ../domain/uart.yaml
|
||||||
vars:
|
vars:
|
||||||
id: hp_uart
|
id: hp_uart
|
||||||
tx_pin: GPIO6
|
tx_pin: GPIO0
|
||||||
rx_pin: GPIO7
|
rx_pin: GPIO1
|
||||||
baud_rate: 2400
|
baud_rate: 2400
|
||||||
parity: EVEN
|
parity: EVEN
|
||||||
|
|
||||||
|
|
@ -27,3 +27,13 @@ packages:
|
||||||
rx_pin: GPIO20
|
rx_pin: GPIO20
|
||||||
baud_rate: 2400
|
baud_rate: 2400
|
||||||
parity: EVEN
|
parity: EVEN
|
||||||
|
|
||||||
|
ethernet:
|
||||||
|
type: W5500
|
||||||
|
mosi_pin: GPIO06
|
||||||
|
miso_pin: GPIO04
|
||||||
|
clk_pin: GPIO07
|
||||||
|
cs_pin: GPIO10
|
||||||
|
reset_pin: GPIO05
|
||||||
|
interrupt_pin: GPIO03
|
||||||
|
clock_speed: 40MHz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue