moroen / IKEA-Tradfri-plugin

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

Domoticz Error Log messages #85

Closed mpovel closed 4 years ago

mpovel commented 4 years ago

Hello, I really love to add all my Smart Home stuff to domoticz. So I am trying to get the Tradfri stuff also controlled, and it works at least. But I get several error messages like: 2019-12-02 12:39:47.378 Error: (Tradfri) 'onMessage' failed 'KeyError'. 2019-12-02 12:39:47.378 Error: (Tradfri) ----> Line 569 in '/home/pi/domoticz/plugins/Tradfri/plugin.py' 2019-12-02 12:39:47.378 Error: (Tradfri) ----> Line 371 in '/home/pi/domoticz/plugins/Tradfri/plugin.py' 2019-12-02 12:39:47.378 Error: (Tradfri) ----> Line 224 in '/home/pi/domoticz/plugins/Tradfri/plugin.py'

And I can't make any sense of them. I can control devices OK with domoticz and also with the cli.

Thanks

Michael

SchietSchijf commented 4 years ago

Did you use the correct code? it's the one from underneath the qr code. see http://illuminator.hynst.at/images/tradfriHubBottom.png, it is the security code in the image, not the number XXX-XX-XXX

mpovel commented 4 years ago

Hi Roeland,

I am using the code from underneath. I even can control my devices, but I still get the error messages in the logfile.

Cu

Michael

Von: Roeland van den Broeck [mailto:notifications@github.com] Gesendet: Montag, 2. Dezember 2019 14:18 An: moroen/IKEA-Tradfri-plugin IKEA-Tradfri-plugin@noreply.github.com Cc: mpovel Michael@Povel-Walsrode.de; Author author@noreply.github.com Betreff: Re: [moroen/IKEA-Tradfri-plugin] Domoticz Error Log messages (#85)

Did you use the correct code? it's the one from underneath the qr code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/moroen/IKEA-Tradfri-plugin/issues/85?email_source=notifications&email_token=AAWUBXGBP3VD2LFNUOMPMOLQWUDI5A5CNFSM4JTURB7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFTOSRI#issuecomment-560392517 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWUBXE5B7NGP6TJJMUK4LDQWUDI5ANCNFSM4JTURB7A . https://github.com/notifications/beacon/AAWUBXDBADSJKOUETTCQ4GTQWUDI5A5CNFSM4JTURB7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFTOSRI.gif

moroen commented 4 years ago

I would recommend that you try the "new" version, found in the pycoap branch, please check the readme in that branch for instructions!