treban / pimatic-tradfri

This plugin provides a tradfri interface for pimatic.
https://pimatic.org/plugins/pimatic-tradfri/
GNU General Public License v2.0
11 stars 3 forks source link

PSK handshake error #36

Closed sverrevh closed 5 years ago

sverrevh commented 5 years ago

Pimatic version :

Plugin version :

0.1.22

Problem / Feature :

Pimatic cannot connect anymore with GW v1.8.25 out of the sudden

23:30:08.526 [pimatic-tradfri] debug: Try to connect to Tradfri
23:30:18.536 [pimatic-tradfri] debug: ...connection error!
CLEANUP
23:30:18.542 [pimatic-tradfri] debug: Try to connect to Tradfri
23:30:28.549 [pimatic-tradfri] debug: ...connection error!
CLEANUP
23:30:28.553 [pimatic-tradfri] debug: Try to connect to Tradfri
23:30:38.561 [pimatic-tradfri] debug: ...connection error!
CLEANUP

Already tried to wipe the identity and PSK again, but GW won't give a PSK anymore:

23:25:26.091 [pimatic-tradfri] debug: ...connection error!
CLEANUP
23:25:26.103 [pimatic-tradfri] debug: Try to connect to Tradfri
23:25:26.107 [pimatic-tradfri] debug: PSK Handshake...
[bot.info] bot started
23:25:36.149 [pimatic-tradfri] debug: ...connection error!
CLEANUP
23:25:36.157 [pimatic-tradfri] debug: Try to connect to Tradfri
23:25:36.160 [pimatic-tradfri] debug: PSK Handshake...
23:25:46.169 [pimatic-tradfri] debug: ...connection error!
CLEANUP
23:25:46.175 [pimatic-tradfri] debug: Try to connect to Tradfri
23:25:46.178 [pimatic-tradfri] debug: PSK Handshake...
23:25:56.215 [pimatic-tradfri] debug: ...connection error!
CLEANUP

Tradfri app on my phone works fine and connects to the GW

Expected :

Notes

EDIT: Turns out that for some reason the GW got a different IP address than it should have.