Closed kein0r closed 4 years ago
Hi kein0r,
thanks for the report.
Is the adapter not working in general or do you have only problems with the power plugs?
Do you see the message Saving authentication
in the logs?
Are there any messages like Received update for xxx yyy
?
The power plugs themselves are working. I can control them from the IKEA app. Yes at the time I installed the extension I see the following message in the log once
2020-05-28 19:01:46.135 INFO : Loading add-on: tradfri-adapter 2020-05-28 19:01:47.871 INFO : tradfri-adapter: Opening database: /home/pi/.mozilla-iot/config/db.sqlite3 2020-05-28 19:01:48.633 INFO : tradfri-adapter: Loading add-on tradfri-adapter from /home/pi/.mozilla-iot/addons/tradfri-adapter 2020-05-28 19:01:49.179 INFO : tradfri-adapter: Discovered gateway gw-d44da439d0a9 at TRADFRI-Gateway-d44da439d0a9.local 2020-05-28 19:01:49.190 INFO : tradfri-adapter: { securityCode: 'SECURITYCODEREMOVED', 2020-05-28 19:01:49.192 INFO : tradfri-adapter: experimental: { brightnessProperty: true }, 2020-05-28 19:01:49.193 INFO : tradfri-adapter: gateways: { 'gw-d44da439d0a9': {} } } 2020-05-28 19:01:49.195 INFO : tradfri-adapter: Authenticating to the gateway 2020-05-28 19:01:49.461 INFO : tradfri-adapter: Saving authentication 2020-05-28 19:01:49.554 ERROR : Invalid message received: { messageType: 4096, data: { adapterId: 'gw-d44da439d0a9', name: 'TradfriAdapter', pluginId: 'tradfri-adapter' } }
Yes, when I control the power plugs via the IKEA app the following messages appear in the logs
2020-05-30 11:42:16.739 INFO : tradfri-adapter: Received update for PrusaI3 (65538) 2020-05-30 11:42:16.742 INFO : tradfri-adapter: PrusaI3 (65538) / true 2020-05-30 11:42:16.752 INFO : tradfri-adapter: Received update for Kossel (65536) 2020-05-30 11:42:16.755 INFO : tradfri-adapter: Kossel (65536) / true
Yes, when I control the power plugs via the IKEA app the following messages appear in the logs
Nice, that means that adapter is working and receives updates from the gateway.
Are there any messages like Creating device for xxx yyy
in the log?
If yes, could you please check if the plugs are now recognized?
Yes, after controlling them once via the app and seeing above "Receive update messages" the log showed
run-app.log.2020-05-30:2020-05-30 11:12:53.954 INFO : tradfri-adapter: Creating device for Kossel (65536) run-app.log.2020-05-30:2020-05-30 11:12:53.994 INFO : tradfri-adapter: Creating device for PrusaI3 (65538)
and the devices can now be added successfully :)
Wonderful :) I'll see if I can change it, so it recognizes devices without an initial update.
Thanks a lot for helping me resolve this
You're welcome :)
I installed tradfri-adapter 0.2.2 but when adding "Things" none of two Smart Plug show up. Logs just shows these two lines
with d44da439d0a9 matching the MAC of the tradfri gateway. When executing
form the gateway I can see that the two devices are listed
and I can query each of them separately using
and