Draft syslog component for esp-idf
This commit is contained in:
@@ -23,6 +23,7 @@ packages:
|
||||
wifi: !include wifi.yaml
|
||||
uptime: !include uptime.yaml
|
||||
restart: !include restart.yaml
|
||||
syslog: !include syslog.yaml
|
||||
|
||||
logger:
|
||||
|
||||
|
||||
@@ -9,3 +9,4 @@ wifi_ap_lookup:
|
||||
api_encryption_key: "K3g+SB5OYgLxKtEXhWJd1Mryfy9hGol+mAq+nq/JDsY="
|
||||
sntp_servers:
|
||||
- pool.ntp.org
|
||||
syslog_server: 1.2.3.4
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
external_components:
|
||||
# Path is relative to the main YAML file, not this device_base template!
|
||||
- source: components
|
||||
|
||||
syslog:
|
||||
ip_address: !secret syslog_server
|
||||
|
||||
mqtt:
|
||||
# Disable logging to save bandwidth.
|
||||
log_topic: null
|
||||
|
||||
logger:
|
||||
# Disable logging to save cycles.
|
||||
baud_rate: 0
|
||||
Reference in New Issue
Block a user