Files
esphome-yambms/packages/base/device_base_ethernet.yaml
T
2025-12-17 00:42:53 +01:00

35 lines
1.2 KiB
YAML

# Updated : 2025.12.09
# Version : 1.2.2
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
# This YAML is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/gpl.html>.
text_sensor:
# https://esphome.io/components/text_sensor/ethernet_info.html
- platform: ethernet_info
ip_address:
name: ${name} ESP32 IP address
id: esp32_ip_address
device_id: board_${board_id}
dns_address:
name: ${name} ESP32 DNS address
id: esp32_dns_address
device_id: board_${board_id}
mac_address:
name: ${name} ESP32 MAC address
id: esp32_mac_address
device_id: board_${board_id}