node-red-contrib-esphome icon indicating copy to clipboard operation
node-red-contrib-esphome copied to clipboard

Connectivity issue question

Open jorkzijlstra opened this issue 1 year ago • 2 comments

I trying to connect with a new device and that seems to fail on some sort of connectivity issues and was wondering if you might know what these are or how I can mitigate them.

At first it does connect and work but it fails after seconds or minutes. The network signal of the device is a 100%. I have already tried to reduce the interval from 15 to 30 seconds but they still persist.

The ESP code is this: https://github.com/gekkekoe/esphome-ecodan-hp Within HA there doesn't seem to be an issue reading the data

The errors

msg : string[23]
"NOISE_ERROR_MAC_FAILURE"
10-7-2024, 08:26:48[node: mitsubishi ecodan]
msg : string[38]
"Handshake failure:  F   jC 
?    "
10 Jul 08:14:44 - [error] [esphome-device:mitsubishi ecodan] Unknown protocol selected by server 0
10 Jul 08:17:14 - [error] [esphome-device:mitsubishi ecodan] Unknown protocol selected by server 174
10 Jul 08:19:43 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[110B blob data]
10 Jul 08:22:43 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[107B blob data]
10 Jul 08:25:43 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[117B blob data]
10 Jul 08:28:43 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[115B blob data]
10 Jul 08:31:43 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[111B blob data]
10 Jul 08:34:43 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[120B blob data]
10 Jul 08:37:44 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[106B blob data]
q<EF><BF><BD><EF><BF><BD>8
10 Jul 08:40:44 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
[115B blob data]
10 Jul 08:43:44 - [error] [esphome-device:mitsubishi ecodan] NOISE_ERROR_MAC_FAILURE
10 Jul 08:44:44 - [error] [esphome-device:mitsubishi ecodan] Handshake failure: y<EF><BF><BD>{<EF><BF><BD>R<EF><BF><BD><EF><BF><BD>
<EF><BF><BD><EF><BF><BD>A<EF><BF><BD>g<EF><BF><BD><EF><BF><BD>F<EF><BF><BD><<EF><BF><BD>

Thanks, Jork

jorkzijlstra avatar Jul 10 '24 07:07 jorkzijlstra

try to remove encryption in api section and use password

twocolors avatar Jul 14 '24 13:07 twocolors

Sorry for the late reply but I was on holiday. I'm trying this change now.

jorkzijlstra avatar Jul 31 '24 15:07 jorkzijlstra

It seems that after I upgraded node-red to 3.1.3, this plugin to 0.2.8 and the device to esphome 2024.7.3 everything became stable again even when using the encryption key.

Not sure which component was actually the fix though

jorkzijlstra avatar Aug 21 '24 12:08 jorkzijlstra