moroen / IKEA-Tradfri-plugin

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

Plugin not working anymore #88

Closed mrwolf78 closed 4 years ago

mrwolf78 commented 4 years ago

Since 2 days, the plugin doesn't work anymore on my RPi4. I did a full re-install once, and it worked for a day. I can't figure out what's going wrong. Nothing has changed on my setup and no updates have been done.

Can anyone help me resolving this?

`pi@domoticz:~ $ sudo service ikea-tradfri status
● ikea-tradfri.service - IKEA Tradfri COAP-adapter
   Loaded: loaded (/etc/systemd/system/ikea-tradfri.service; enabled; vendor pre
   Active: active (running) since Tue 2019-12-24 16:17:10 CET; 4h 3min ago
 Main PID: 240 (tradfri)
   CGroup: /system.slice/ikea-tradfri.service
           └─240 /home/pi/domoticz/plugins/IKEA-Tradfri/env/bin/python3 /home/pi

Dec 24 18:11:20 domoticz tradfri[240]: Dec 24 18:11:20 WARN Wrong epoch, expecte
Dec 24 18:11:20 domoticz tradfri[240]: Dec 24 18:11:20 WARN Wrong epoch, expecte
Dec 24 18:11:22 domoticz tradfri[240]: Dec 24 18:11:22 WARN Wrong epoch, expecte
Dec 24 18:11:22 domoticz tradfri[240]: Dec 24 18:11:22 WARN Wrong epoch, expecte
Dec 24 18:11:26 domoticz tradfri[240]: Dec 24 18:11:26 WARN Wrong epoch, expecte
Dec 24 18:11:26 domoticz tradfri[240]: Dec 24 18:11:26 WARN Wrong epoch, expecte
Dec 24 18:11:34 domoticz tradfri[240]: Dec 24 18:11:34 WARN Wrong epoch, expecte
Dec 24 18:11:34 domoticz tradfri[240]: Dec 24 18:11:34 WARN Wrong epoch, expecte
Dec 24 18:11:50 domoticz tradfri[240]: Dec 24 18:11:50 WARN Wrong epoch, expecte
Dec 24 18:11:50 domoticz tradfri[240]: Dec 24 18:11:50 WARN Wrong epoch, expecte
lines 1-17/17 (END)
● ikea-tradfri.service - IKEA Tradfri COAP-adapter
   Loaded: loaded (/etc/systemd/system/ikea-tradfri.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-12-24 16:17:10 CET; 4h 3min ago
 Main PID: 240 (tradfri)
   CGroup: /system.slice/ikea-tradfri.service
           └─240 /home/pi/domoticz/plugins/IKEA-Tradfri/env/bin/python3 /home/pi/domoticz/plugins/IKEA-Tradfr

Dec 24 18:11:20 domoticz tradfri[240]: Dec 24 18:11:20 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:20 domoticz tradfri[240]: Dec 24 18:11:20 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:22 domoticz tradfri[240]: Dec 24 18:11:22 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:22 domoticz tradfri[240]: Dec 24 18:11:22 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:26 domoticz tradfri[240]: Dec 24 18:11:26 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:26 domoticz tradfri[240]: Dec 24 18:11:26 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:34 domoticz tradfri[240]: Dec 24 18:11:34 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:34 domoticz tradfri[240]: Dec 24 18:11:34 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:50 domoticz tradfri[240]: Dec 24 18:11:50 WARN Wrong epoch, expected 1, got: 0
Dec 24 18:11:50 domoticz tradfri[240]: Dec 24 18:11:50 WARN Wrong epoch, expected 1, got: 0`
moroen commented 4 years ago

Try stopping the ikea-tradfri service, and try running tradfri server from the command line using debug, though if you haven't updated the plugin or tradfri, the problem might be elsewhere... I must confess I'm not sure what the WARN Wrong epoch message is about...

mrwolf78 commented 4 years ago

Today I had to install it all again, starting from step 4; none of the tradfri-commands were recognized. I really don't understand what the problem is and why this is happening, but you might be right. It has nothing to do with your plugin or tradfri, it's some other process on my RPi

moroen commented 4 years ago

Closing this as of now, please feel free to reopen if needed.