INFO ESPHome 2024.3.0 INFO Reading configuration /config/esphome/ug-technik-pm-truenas.yaml... INFO Detected timezone 'Europe/Zurich' INFO Starting log output from 10.15.15.212 using esphome API INFO Successfully connected to athom-smart-plug @ 10.15.15.212 in 0.006s INFO Successful handshake with athom-smart-plug-89b7f2 @ 10.15.15.212 in 2.709s [11:54:33][I][app:102]: ESPHome version 2024.3.0 compiled on Mar 22 2024, 11:52:54 [11:54:33][I][app:104]: Project Athom_Technology.Smart_Plug version 1.0 [11:54:33][C][status_led:065]: Status Led Light: [11:54:33][C][status_led:066]: Pin: GPIO13 [11:54:33][C][wifi:580]: WiFi: [11:54:33][C][wifi:408]: Local MAC: D8:BC:38:89:B7:F2 [11:54:33][C][wifi:413]: SSID: 'IoT'[redacted] [11:54:33][C][wifi:416]: IP Address: 10.15.15.212 [11:54:33][C][wifi:419]: BSSID: 82:45:58:F2:18:3E[redacted] [11:54:33][C][wifi:421]: Hostname: 'athom-smart-plug-89b7f2' [11:54:33][C][wifi:423]: Signal strength: -52 dB ▂▄▆█ [11:54:33][C][wifi:427]: Channel: 11 [11:54:33][C][wifi:428]: Subnet: 255.255.255.0 [11:54:33][C][wifi:429]: Gateway: 10.15.15.1 [11:54:33][C][wifi:430]: DNS1: 0.0.0.0 [11:54:33][C][wifi:431]: DNS2: 0.0.0.0 [11:54:33][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:33][C][logger:166]: Logger: [11:54:33][C][logger:167]: Level: DEBUG [11:54:33][C][logger:169]: Log Baud Rate: 115200 [11:54:33][C][logger:170]: Hardware UART: UART0 [11:54:33][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:33][C][uptime.sensor:031]: Uptime Sensor 'Uptime Sensor' [11:54:33][C][uptime.sensor:031]: Device Class: 'duration' [11:54:33][C][uptime.sensor:031]: State Class: 'total_increasing' [11:54:33][C][uptime.sensor:031]: Unit of Measurement: 's' [11:54:33][C][uptime.sensor:031]: Accuracy Decimals: 0 [11:54:33][C][uptime.sensor:031]: Icon: 'mdi:timer-outline' [11:54:33][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:33][C][template.text_sensor:020]: Template Sensor 'Device Last Restart' [11:54:33][C][template.text_sensor:020]: Icon: 'mdi:clock' [11:54:33][C][template.text_sensor:020]: Template Sensor 'Device Uptime' [11:54:33][C][template.text_sensor:020]: Icon: 'mdi:clock-start' [11:54:33][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:33][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Power Button' [11:54:33][C][gpio.binary_sensor:016]: Pin: GPIO3 [11:54:33][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:33][C][switch.gpio:068]: GPIO Switch 'Plug' [11:54:33][C][switch.gpio:090]: Restore Mode: restore defaults to OFF [11:54:33][C][switch.gpio:031]: Pin: GPIO14 [11:54:33][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][C][light:103]: Light 'Status LED' [11:54:34][C][status:034]: Status Binary Sensor 'Status' [11:54:34][C][status:034]: Device Class: 'connectivity' [11:54:34][C][copy.sensor:015]: Copy Sensor 'WiFi Strength' [11:54:34][C][copy.sensor:015]: Device Class: 'signal_strength' [11:54:34][C][copy.sensor:015]: State Class: 'measurement' [11:54:34][C][copy.sensor:015]: Unit of Measurement: '%' [11:54:34][C][copy.sensor:015]: Accuracy Decimals: 0 [11:54:34][C][hlw8012:037]: HLW8012: [11:54:34][C][hlw8012:038]: SEL Pin: GPIO12 [11:54:34][C][hlw8012:039]: CF Pin: GPIO4 [11:54:34][C][hlw8012:040]: CF1 Pin: GPIO5 [11:54:34][C][hlw8012:041]: Change measurement mode every 1 [11:54:34][C][hlw8012:042]: Current resistor: 1.0 mΩ [11:54:34][C][hlw8012:043]: Voltage Divider: 780.0 [11:54:34][C][hlw8012:044]: Update Interval: 5.0s [11:54:34][C][hlw8012:045]: Voltage 'Voltage' [11:54:34][C][hlw8012:045]: Device Class: 'voltage' [11:54:34][C][hlw8012:045]: State Class: 'measurement' [11:54:34][C][hlw8012:045]: Unit of Measurement: 'V' [11:54:34][C][hlw8012:045]: Accuracy Decimals: 1 [11:54:34][C][hlw8012:046]: Current 'Current' [11:54:34][C][hlw8012:046]: Device Class: 'current' [11:54:34][C][hlw8012:046]: State Class: 'measurement' [11:54:34][C][hlw8012:046]: Unit of Measurement: 'A' [11:54:34][C][hlw8012:046]: Accuracy Decimals: 2 [11:54:34][C][hlw8012:047]: Power 'Power' [11:54:34][C][hlw8012:047]: Device Class: 'power' [11:54:34][C][hlw8012:047]: State Class: 'measurement' [11:54:34][C][hlw8012:047]: Unit of Measurement: 'W' [11:54:34][C][hlw8012:047]: Accuracy Decimals: 1 [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][C][total_daily_energy:023]: Total Daily Energy 'Total Energy' [11:54:34][C][total_daily_energy:023]: Device Class: 'energy' [11:54:34][C][total_daily_energy:023]: State Class: 'total_increasing' [11:54:34][C][total_daily_energy:023]: Unit of Measurement: 'kWh' [11:54:34][C][total_daily_energy:023]: Accuracy Decimals: 3 [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][C][factory_reset.button:011]: Factory Reset Button 'Reset' [11:54:34][C][factory_reset.button:011]: Icon: 'mdi:restart-alert' [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][C][safe_mode.button:022]: Safe Mode Button 'Safe Mode' [11:54:34][C][safe_mode.button:022]: Icon: 'mdi:restart-alert' [11:54:34][C][wifi_info:013]: WifiInfo Mac Address 'Mac Address' [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][C][web_server:169]: Web Server: [11:54:34][C][web_server:170]: Address: 10.15.15.212:80 [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][C][sntp:055]: SNTP Time: [11:54:34][C][sntp:056]: Server 1: '0.pool.ntp.org' [11:54:34][C][sntp:057]: Server 2: '1.pool.ntp.org' [11:54:34][C][sntp:058]: Server 3: '2.pool.ntp.org' [11:54:34][C][sntp:059]: Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3' [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][C][mdns:115]: mDNS: [11:54:34][C][mdns:116]: Hostname: athom-smart-plug-89b7f2 [11:54:34][C][ota:096]: Over-The-Air Updates: [11:54:34][C][ota:097]: Address: 10.15.15.212:8266 [11:54:34][C][ota:100]: Using Password. [11:54:34][C][ota:103]: OTA version: 2. [11:54:34][C][api:139]: API Server: [11:54:34][C][api:140]: Address: 10.15.15.212:6053 [11:54:34][C][api:142]: Using noise encryption: YES [11:54:34][C][wifi_signal.sensor:009]: WiFi Signal 'WiFi Signal' [11:54:34][C][wifi_signal.sensor:009]: Device Class: 'signal_strength' [11:54:34][C][wifi_signal.sensor:009]: State Class: 'measurement' [11:54:34][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm' [11:54:34][C][wifi_signal.sensor:009]: Accuracy Decimals: 0 [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][C][wifi_info:011]: WifiInfo SSID 'Connected SSID' [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][C][wifi_info:009]: WifiInfo IPAddress 'IP Address' [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:34][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:35][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:36][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:37][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][sensor:093]: 'Power': Sending state 0.00000 W with 1 decimals of accuracy [11:54:38][D][sensor:093]: 'Total Energy': Sending state 0.00000 kWh with 3 decimals of accuracy [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:38][D][binary_sensor:036]: 'Power Button': Sending state OFF [11:54:39][D][binary_sensor:036]: 'Power Button': Sending state ON [11:54:39][D][binary_sensor:036]: 'Power Button': Sending state OFF