moroen / IKEA-Tradfri-plugin

A Python plugin for Domoticz to controll IKEA Gateway
68 stars 23 forks source link

Hub bricked, reset to factory and now won't add new devices #108

Closed Dutchy-79 closed 3 years ago

Dutchy-79 commented 3 years ago

Hi,

Yesterday I bricked the hub and now reset it to default, added my lights and remote to it. deleted the hub hardware from domoticz en updated the config with IP and Code to be sure it didn't store a old IP. The list command shows my new lights and I added new hardware to domoticz. It says hardware added check devices and there are no devices for IKEA on domoticz.

pi@raspberrypi:~/domoticz/plugins/IKEA-Tradfri $ python3 plugin.py list
Lights:
65537: Lamp Op TV Kast (State: 0 - Level: 186 - Hex: a9d62b)
65538: Lamp Op Vitrine Kast (State: 0 - Level: 211 - Hex: a9d62b)

Others:
65536: TRADFRI remote control (State: None - Level: None - Hex: None)

Batteries:
65536: TRADFRI remote control - 11

I changed the name of the lights and they also changed on the list command so that works fine.

Dutchy-79 commented 3 years ago

2020-07-28 10:24:03.333 (Ikea Tradfri Hub) Pushing 'onHeartbeatCallback' on to queue 2020-07-28 10:24:03.341 (Ikea Tradfri Hub) Processing 'onHeartbeatCallback' message 2020-07-28 10:24:03.341 (Ikea Tradfri Hub) Calling message handler 'onHeartbeat'. 2020-07-28 10:24:03.341 (Ikea Tradfri Hub) Timeout flag set, retrying... 2020-07-28 10:24:03.346 (Ikea Tradfri Hub) Connection to gateway timed out 2020-07-28 10:24:13.335 (Ikea Tradfri Hub) Pushing 'onHeartbeatCallback' on to queue 2020-07-28 10:24:13.370 (Ikea Tradfri Hub) Processing 'onHeartbeatCallback' message 2020-07-28 10:24:13.371 (Ikea Tradfri Hub) Calling message handler 'onHeartbeat'. 2020-07-28 10:24:13.371 (Ikea Tradfri Hub) Timeout flag set, retrying... 2020-07-28 10:24:13.376 (Ikea Tradfri Hub) Connection to gateway timed out 2020-07-28 10:24:23.874 (Ikea Tradfri Hub) Pushing 'onHeartbeatCallback' on to queue 2020-07-28 10:24:23.889 (Ikea Tradfri Hub) Processing 'onHeartbeatCallback' message 2020-07-28 10:24:23.889 (Ikea Tradfri Hub) Calling message handler 'onHeartbeat'. 2020-07-28 10:24:23.889 (Ikea Tradfri Hub) Timeout flag set, retrying... 2020-07-28 10:24:23.895 (Ikea Tradfri Hub) Connection to gateway timed out 2020-07-28 10:24:33.876 (Ikea Tradfri Hub) Pushing 'onHeartbeatCallback' on to queue 2020-07-28 10:24:33.919 (Ikea Tradfri Hub) Processing 'onHeartbeatCallback' message 2020-07-28 10:24:33.919 (Ikea Tradfri Hub) Calling message handler 'onHeartbeat'. 2020-07-28 10:24:33.919 (Ikea Tradfri Hub) Timeout flag set, retrying... 2020-07-28 10:24:33.926 (Ikea Tradfri Hub) Connection to gateway timed out 2020-07-28 10:24:43.878 (Ikea Tradfri Hub) Pushing 'onHeartbeatCallback' on to queue 2020-07-28 10:24:43.901 (Ikea Tradfri Hub) Processing 'onHeartbeatCallback' message 2020-07-28 10:24:43.901 (Ikea Tradfri Hub) Calling message handler 'onHeartbeat'. 2020-07-28 10:24:43.902 (Ikea Tradfri Hub) Timeout flag set, retrying...

Debug shows a time out, Is there a way to check the IP?

martin-g-it commented 3 years ago

IP address is saved in the \home\pi\domoticz\plugins\IKEA-Tradfri\config.json file

Dutchy-79 commented 3 years ago

Thanks, works now.