File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ substitutions:
1919 wifi_ssid : " your_wifi_ssid_here"
2020 wifi_password : " your_wifi_password_here"
2121 wifi_ap_password : " your_wifi_ap_password_here"
22+ syslog_server : " ip address of your syslog server here or empty if you don't want logging"
23+ syslog_port : " 514" # default syslog port is 514, but you can change it if your server uses a different port
2224
2325# You might want to override this:
2426esphome :
@@ -156,3 +158,19 @@ switch:
156158 name : ${relay8_name}
157159 pin : GPIO32
158160 restore_mode : RESTORE_DEFAULT_OFF
161+
162+ udp :
163+ # syslog server
164+ addresses : ${syslog_server}
165+
166+ time :
167+ platform : sntp
168+ timezone : Europe/Rome
169+ servers :
170+ - 0.pool.ntp.org
171+ - 1.pool.ntp.org
172+ - 2.pool.ntp.org
173+
174+ syslog :
175+ # emit syslog messages to server defined under "udp"
176+ port : ${syslog_port}
You can’t perform that action at this time.
0 commit comments