Closed raschy closed 10 months ago
Hmm this Error is coming from the esp
Can you provide me the yaml of that device ?
`esphome: name: esp32-test friendly_name: esp32_test
esp32: board: esp32dev framework: type: arduino
logger:
api: encryption: key: "RK2VKBmtBdoYxxxxxxYBT2s7AWu1CmE5k="
ota: password: "a51837xxxxx585c1d245c021ebafc"
wifi: ssid: !secret wifi_ssid password: !secret wifi_password
ap: ssid: "Esp32-Test Fallback Hotspot" password: "MqiIE2K2smSA"
captive_portal:
sensor:
But this esp is flashed with different ESPHome firmware.
"But this esp is flashed with different ESPHome firmware."
can you please clarify what you mean with that :)
trying to understand the principles, if you use customised firmware or integration which is not related to ESPHome the native API component is maybe not implemented causing this issue
Possibly my mistake: I had the esp with the above yaml describe and was completely included in the ESPHome. Due to lack of material, I recorded this esp with the ESPHome Bluetooth proxy and also integrated it. Maybe I just need to delete the old tile and all is well.
Possibly my mistake: I had the esp with the above yaml describe and was completely included in the ESPHome. Due to lack of material, I recorded this esp with the ESPHome Bluetooth proxy and also integrated it. Maybe I just need to delete the old tile and all is well.
please try and let me know :)
Tile deleted in the ESP dashboard (not enough); device deleted in the adapter: error message gone. `
2023-11-29 22:29:50.199 - info: host.iobroker-pmx instance system.adapter.esphome.0 started with pid 35598 -- 2023-11-29 22:29:51.957 - info: esphome.0 (35598) starting. Version 0.5.0-beta.8 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.18.2, js-controller: 5.0.16 2023-11-29 22:29:52.229 - info: esphome.0 (35598) Try to connect to 192.168.64.16 2023-11-29 22:29:52.231 - info: esphome.0 (35598) Try to connect to 192.168.64.15 2023-11-29 22:29:52.232 - info: esphome.0 (35598) Native Integration of ESPHome Dashboard enabled 2023-11-29 22:29:52.599 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:29:54.311 - info: esphome.0 (35598) [ESPHome - Console] 2023-11-29 22:29:54,311 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0... 2023-11-29 22:29:55.235 - error: esphome.0 (35598) Client 192.168.64.16 unreachable ! 2023-11-29 22:29:57.235 - info: esphome.0 (35598) Bonjour service started, new devices will be detected automatically 2023-11-29 22:29:57.696 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:02.830 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:08.051 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:13.193 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:18.292 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:23.517 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:28.710 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:33.946 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:39.162 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:44.472 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:49.704 - error: esphome.0 (35598) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:30:54.162 - info: host.iobroker-pmx stopInstance system.adapter.esphome.0 (force=false, process=true) 2023-11-29 22:30:54.164 - info: esphome.0 (35598) Got terminate signal TERMINATE_YOURSELF 2023-11-29 22:30:54.166 - info: esphome.0 (35598) terminating 2023-11-29 22:30:54.167 - info: esphome.0 (35598) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-11-29 22:30:54.243 - info: host.iobroker-pmx stopInstance system.adapter.esphome.0 send kill signal 2023-11-29 22:30:54.667 - info: esphome.0 (35598) terminating 2023-11-29 22:30:54.816 - info: host.iobroker-pmx instance system.adapter.esphome.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-11-29 22:30:57.360 - info: host.iobroker-pmx instance system.adapter.esphome.0 started with pid 35624 2023-11-29 22:30:58.920 - info: esphome.0 (35624) starting. Version 0.5.0-beta.8 in /opt/iobroker/node_modules/iobroker.esphome, node: v18.18.2, js-controller: 5.0.16 2023-11-29 22:30:59.288 - info: esphome.0 (35624) Try to connect to 192.168.64.16 2023-11-29 22:30:59.291 - info: esphome.0 (35624) Try to connect to 192.168.64.15 2023-11-29 22:30:59.292 - info: esphome.0 (35624) Native Integration of ESPHome Dashboard enabled 2023-11-29 22:30:59.629 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:02.306 - error: esphome.0 (35624) Client 192.168.64.16 unreachable ! 2023-11-29 22:31:02.684 - info: esphome.0 (35624) [ESPHome - Console] 2023-11-29 22:31:02,683 INFO Starting dashboard web server on http://0.0.0.0:6052 and configuration dir /opt/iobroker/iobroker-data/esphome.0... 2023-11-29 22:31:04.293 - info: esphome.0 (35624) Bonjour service started, new devices will be detected automatically 2023-11-29 22:31:04.851 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:10.044 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:15.176 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:20.389 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:25.509 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:30.722 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:35.127 - warn: admin.0 (14556) esphome has an invalid jsonConfig: [{"instancePath":"/items/devices/items/encryptionKey","schemaPath":"#/definitions/passwordProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"freeSolo"},"message":"must NOT have additional properties"},{"instancePath":"/items/devices","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}] 2023-11-29 22:31:35.860 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:41.060 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:31:46.219 - error: esphome.0 (35624) ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure 2023-11-29 22:32:08.696 - info: admin.0 (14556) <== Disconnect system.user.admin from 192.168.68.44 admin 2023-11-29 22:32:09.216 - info: admin.0 (14556) ==> Connected system.user.admin from 192.168.68.44 2023-11-29 22:32:24.797 - warn: admin.0 (14556) esphome has an invalid jsonConfig: [{"instancePath":"/items/devices/items/encryptionKey","schemaPath":"#/definitions/passwordProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"freeSolo"},"message":"must NOT have additional properties"},{"instancePath":"/items/devices","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}] 2023-11-29 22:32:44.312 - info: host.iobroker-pmx stopInstance system.adapter.esphome.0 (force=false, process=true) 2023-11-29 22:32:44.316 - info: esphome.0 (35624) Got terminate signal TERMINATE_YOURSELF 2023-11-29 22:32:44.319 - info: esphome.0 (35624) terminating 2023-11-29 22:32:44.319 - info: esphome.0 (35624) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-11-29 22:32:44.538 - info: host.iobroker-pmx stopInstance system.adapter.esphome.0 send kill signal 2023-11-29 22:32:44.821 - info: esphome.0 (35624) terminating`
Tile deleted in the ESP dashboard (not enough); device deleted in the adapter: error message gone.
so we can close this or anything needed from my side ? Please leaver a comment and/or reopen if needed :)
Describe the bug
I did some experiments with ESPHome and integrated various ESPs. I'm currently getting lots of error messages like this: esphome.0 2023-11-29 15:20:01.990 error ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure esphome.0 2023-11-29 15:19:56.780 error ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure esphome.0 2023-11-29 15:19:51.650 error ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure esphome.0 2023-11-29 15:19:46.436 error ESPHome client 192.168.64.15 Error: Handshake failure: Handshake MAC failure Could it be that the MAC address is trying to find a device that no longer exists?
Versions: