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:
|
||||
- !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
|
||||
name: Second Floor Hall
|
||||
devices:
|
||||
- id: hvac_device
|
||||
name: HVAC2
|
||||
- id: heat_pump
|
||||
name: Heat Pump 2
|
||||
area_id: attic_area
|
||||
- id: hvac_thermostat
|
||||
- id: thermostat
|
||||
name: Second Floor Thermostat
|
||||
area_id: hall
|
||||
|
||||
|
|
@ -48,8 +48,8 @@ external_components:
|
|||
|
||||
climate:
|
||||
- platform: mitsubishi_itp
|
||||
name: "Climate"
|
||||
device_id: hvac_device
|
||||
name: "Second Floor HVAC"
|
||||
device_id: heat_pump
|
||||
uart_heatpump: hp_uart
|
||||
uart_thermostat: th_uart
|
||||
enhanced_mhk: true
|
||||
|
|
@ -59,52 +59,52 @@ binary_sensor:
|
|||
- platform: mitsubishi_itp
|
||||
defrost:
|
||||
name: "Defrost"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
filter_status:
|
||||
name: "Filter Status"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
preheat:
|
||||
name: "Preheat"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
standby:
|
||||
name: "Standby"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
using_internal_temperature:
|
||||
name: "Using Internal Temperature"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
|
||||
sensor:
|
||||
- platform: mitsubishi_itp
|
||||
compressor_frequency:
|
||||
name: "Compressor Frequency"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
outdoor_temperature:
|
||||
name: "Outdoor Temperature"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
input_watts:
|
||||
name: "Input Power"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
lifetime_kwh:
|
||||
name: "Lifetime Energy"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
runtime:
|
||||
name: "Runtime"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
thermostat_humidity:
|
||||
name: "Thermostat Humidity"
|
||||
device_id: hvac_thermostat
|
||||
name: "Humidity"
|
||||
device_id: thermostat
|
||||
thermostat_temperature:
|
||||
name: "Thermostat Temperature"
|
||||
device_id: hvac_thermostat
|
||||
name: "Temperature"
|
||||
device_id: thermostat
|
||||
|
||||
text_sensor:
|
||||
- platform: mitsubishi_itp
|
||||
actual_fan:
|
||||
name: "Actual Fan"
|
||||
device_id: hvac_device
|
||||
name: "Actual Fan Speed"
|
||||
device_id: heat_pump
|
||||
error_code:
|
||||
name: "Error Code"
|
||||
device_id: hvac_device
|
||||
device_id: heat_pump
|
||||
thermostat_battery:
|
||||
name: "Thermostat Battery"
|
||||
device_id: hvac_thermostat
|
||||
name: "Battery"
|
||||
device_id: thermostat
|
||||
|
|
|
|||
|
|
@ -4,18 +4,18 @@ esphome:
|
|||
board_build.flash_mode: dio
|
||||
|
||||
esp32:
|
||||
board: esp32-c3-devkitm-1
|
||||
board: esp32-c3-devkitc-02
|
||||
|
||||
packages:
|
||||
- !include
|
||||
file: ../domain/network/ethernet_w5500.yaml
|
||||
file: ../domain/network/ethernet.yaml
|
||||
|
||||
- !include
|
||||
file: ../domain/uart.yaml
|
||||
vars:
|
||||
id: hp_uart
|
||||
tx_pin: GPIO6
|
||||
rx_pin: GPIO7
|
||||
tx_pin: GPIO0
|
||||
rx_pin: GPIO1
|
||||
baud_rate: 2400
|
||||
parity: EVEN
|
||||
|
||||
|
|
@ -27,3 +27,13 @@ packages:
|
|||
rx_pin: GPIO20
|
||||
baud_rate: 2400
|
||||
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