-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hello,
I changed the Bord and CAN definition like this:
esphome:
name: esp32-poe-technik
friendly_name: ESP32-PoE Technik
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
# Enable logging
logger:
level: INFO
baud_rate: 0
hardware_uart: UART1
# Enable Home Assistant API
api:
encryption:
key: !secret api_encryption_key
ota:
platform: esphome
password: !secret ota_password
substitutions:
entity_room_temperature: "sensor.durchschnittstemperatur_haus_ohne_keller"
entity_humidity: "sensor.durchschnitt_luftfeuchtigkeit_haus"
timezone: "Europe/Berlin"
#########################################
# #
# SPI configuration #
# #
#########################################
# spi:
# id: McpSpi
# clk_pin: GPIO14
# mosi_pin: GPIO13
# miso_pin: GPIO4
#########################################
# #
# CAN configuration #
# #
#########################################
# canbus:
# - id: !extend wp_can
# platform: mcp2515
# spi_id: McpSpi
# cs_pin: GPIO15
# bit_rate: 20kbps
# clock: 8MHz # 8MHz or 16MHz depending on the value of the crystal on your MCP2515
# data_rate: 4MHz # 8Mhz (4MHz, 2MHz or 1MHz in case you get CAN bus errors)
canbus:
- platform: esp32_can
id: my_can
tx_pin: GPIO15
rx_pin: GPIO16
# can_id: 0x680
use_extended_id: false
bit_rate: 20kbps
#########################################
# #
# Buttons #
# #
#########################################
button:
- platform: restart
name: "Restart ESP32-PoE Technik"
#########################################
# #
# WiFi Configuration #
# #
#########################################
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "ESP32-PoE Fallback Hotspot"
password: !secret fallback_password
#########################################
# #
# Ethernet Konfiguration #
# #
#########################################
#ethernet:
# type: LAN8720
# mdc_pin: GPIO23
# mdio_pin: GPIO18
# clk:
# pin: GPIO0
# mode: CLK_OUT
# phy_addr: 0
# power_pin: GPIO12
#########################################
# #
# Packages #
# #
#########################################
packages:
# thz304: !include OneESP32ToRuleThemAll/yaml/thz304.yaml
# thz404: !include OneESP32ToRuleThemAll/yaml/thz404.yaml
thz504: !include OneESP32ToRuleThemAll/yaml/thz504.yaml
# thz55eco: !include OneESP32ToRuleThemAll/yaml/thz5_5_eco.yaml
# ttf07: !include OneESP32ToRuleThemAll/yaml/ttf07.yaml
# wpl13: !include OneESP32ToRuleThemAll/yaml/wpl13.yaml
# energymeter: !include OneESP32ToRuleThemAll/yaml/features/energymeter.yaml
# evu: !include OneESP32ToRuleThemAll/yaml/features/evu.yaml
# watermeter: !include OneESP32ToRuleThemAll/yaml/features/watermeter.yaml
# kondensatpumpe: !include OneESP32ToRuleThemAll/yaml/features/kondensatpumpe.yaml
# sgready: !include OneESP32ToRuleThemAll/yaml/features/sg_ready.yaml
# To opt-in to community stats, uncomment the line below.
# This sends anonymous data to an MQTT server:
# - Events: Triggered by switch/setting changes.
# - Telemetry: Every 15 minutes for standard sensors (custom sensors are NEVER exposed!).
# A unique Device ID will be visible as a sensor. This can be used to access the Grafana dashboard and compare your data with the community.
# analytics: !include { file: OneESP32ToRuleThemAll/yaml/features/analytics.yaml, vars: { district: '"Landkreis"' }} <-- remember to change the district
I got this Issue while compiling:
INFO ESPHome 2026.2.4
INFO Reading configuration /config/esphome/esp32-poe-technik.yaml...
Failed config
canbus.unknown: [source /config/esphome/OneESP32ToRuleThemAll/yaml/core.yaml:120]
'canbus' requires a 'platform' key but it was not specified.
id: wp_can
can_id: 0x6a2
use_extended_id: False
on_frame:
- can_id: 0
can_id_mask: 0
then:
- lambda: |-
ESP_LOGD("CAN", "Can message received with CANId 0x%04lx", can_id);
const auto [property, value] = processCanMessage(x);
const auto canMember = getCanMemberByCanId(can_id);
if(canMember) {
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed