Code Monkey home page Code Monkey logo

iobroker.tradfri's Introduction

Logo

ioBroker.tradfri

Build Status Total alerts

Number of Installations Number of Installations

Requirements

  • Linux (e.g. Raspberry Pi) / OSX / Windows
  • NodeJS >= 12.x
  • Trådfri gateway

Installation

  1. Install this adapter over the iobroker admin GUI or via npm install iobroker.tradfri --production
  2. In the ioBroker GUI, add an adapter instance.
  3. Configure the instance by entering the IP/hostname of your gateway and the security code that can be found on the label at the bottom.

Troubleshooting installation issues:

Linux/OSX:

Make sure you install the most recent released version. If there are compilation errors, you might have to install build-essential:

apt-get -y install build-essential

Windows:

If you are running on older NodeJS versions (< 10), the installation may fail with the following error somewhere in the log:

Can't find Python executable "python", you can set the PYTHON env variable.

To solve it, open an administrative shell:

  1. Press the ⊞ Windows key
  2. Enter cmd, press Ctrl + Shift + Enter
  3. Confirm the UAC prompt and run the following command:
npm install --add-python-to-path --global windows-build-tools

This may take a while... afterwards the installation should succeed.

Sending custom CoAP packets

You can send custom CoAP packets from other adapters by using sendTo. Example from JavaScript:

sendTo("tradfri.0", "request", options, (ret) => {
	// do something with the result
});

The options object looks as follows:

{
	path: string,
	method?: "get" | "post" | "put" | "delete", // optional, default = "get"
	payload?: object                            // optional, should be a JSON object
}

The result object ret looks as follows:

{
	error: string | null,
	result: {
		code: string,            // see https://tools.ietf.org/html/rfc7252#section-12.1.2
		payload: object | Buffer
	}
}

Changelog

Older changes

3.1.3 (2022-04-24)

  • Fix: support for Node.js 18

3.1.2 (2021-12-31)

  • Fixed a typo preventing the adapter from controlling air purifiers

3.1.1 (2021-12-21)

  • Fix: actually create states for STARKVIND Air Purifier

3.1.0 (2021-12-19)

  • Add support for STARKVIND Air Purifier

3.0.2 (2021-12-03)

  • Improve support for older browsers
  • Update dependencies

License

The MIT License (MIT)

Copyright (c) 2017-2022 AlCalzone [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.tradfri's People

Contributors

alcalzone avatar anunezde avatar apollon77 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar germanbluefox avatar instalator avatar pmant avatar tquakulinsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iobroker.tradfri's Issues

The Adapter doesn't connect

This is the Message in oibroker's log:

tradfri.0 2017-08-18 09:25:19.461 error unhandled promise rejection: No security parameters given for the resource at coaps://gw-*****************

states for blinds not shown?

Hi, just installed my first fytur blind connected to tradfri gateway - i did install 2.4.0 adapter version from git - the adapter connections successfully but there is no state to control blinds in the object listing only diagnostic data is displayed (battery state etc.).

Anything I might have not seen yet?

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/AlCalzone/ioBroker.tradfri

  • [E130] Too many news found in io-package.json. Mast be less than 21. Please remove old news.
  • [E802] No topics found in the repository. Please go to "https://github.com/AlCalzone/ioBroker.tradfri" and press "Manage topics"
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2019 AlCalzone [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2019 AlCalzone [email protected]" at the start of LICENSE

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

IKEA FYRTUR and KADRILJ

Not really an issue, but an important question:
Does the adapter already support IKEA FYRTUR and KADRILJ?
They are available now and I want to buy them, but only if I can use them in ioBroker.

Group states disappear after execution of switch command from Admin

Strange behavior occurs sometimes after switching states in tradifi groups as after change the state disappear in object overview.

As visible in the screen capture i startet the adapter, states are shown, executed a switch command and the state disappears. After restarting the adapter the state is back and switch command can be send without issue of state deletion.
Aos here, rebooting the adapter does not always bring the states back (see screencapture, 1 group it does the other not). Workarround : Stop adapter, delete all tradifi objects, start adapter = states are back

state_disappears

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/AlCalzone/ioBroker.tradfri

  • [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.tradfri"

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Group handling

First of all many thanks for the great work! The Tradfri adapter is one of the main parts in my HA.

I have a problem using groups when parts of them are not active. For example, if a bulb is not connected to the power, the status of the group resets. So if the group is turned on (state=true) - which was turned off before - the group will be reset to state=false.

If devices from a group are addressed directly, this behavior does not occur. The whole thing can be fixed with the virtual groups. Here the behavior is as I expect it to be.

But unfortunately I have another problem with virtual groups:
I recently bought the new outlets, which unfortunately do not appear in the device selection for virtual groups.

Is it possible to list the outlets in the device selection for virtual groups?

Tradfi Motion Sensor - new model

I installed the new version of the motion sensor and it is successfully paired with a Paul Neuhaus Q-Panel. I can see them in one room of the IKEA app.
There is also a Tradfi Remote Control (5 button) connected to the LED Panel.
When the motion sensor is triggered it successfully switches the LED Panel on (and off after 3 minutes inactivity).
But when it switches the LED Panel on the status of the Panel in the adapter (and IKEA app) does not change (stays "off").
As I don´t have the older version of the motion sensor: Is this the normal behavior or does it normally work that the status of the light is updated when it is switched by the motion sensor?

When I switch the LED panel directly in the IKEA app, the status changes properly.

Error message in Log: The device with ID <idnumber> was not found!

Since today i get this error everytime i switch a tradfri bulb with iobroker on or off. The buld switch on/off , but in log can i see "The device with ID was not found!"

The gateway and securitycode is beeing accepted. I startet the gateway new. The error ist still in log.

Here the debug log:

2019-07-15 13:48:58.383 - info: host.iobroker1 instance system.adapter.tradfri.0 started with pid 31385 
2019-07-15 13:48:59.440 - debug: tradfri.0 objectDB connected 
2019-07-15 13:48:59.473 - debug: tradfri.0 statesDB connected 
2019-07-15 13:48:59.538 - info: tradfri.0 starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.tradfri, node: v8.16.0 
2019-07-15 13:48:59.880 - debug: tradfri.0 Connection successful 
2019-07-15 13:48:59.900 - debug: tradfri.0 {{blue}} state with id tradfri.0.info.connection updated: ack=true; val=true 
2019-07-15 13:49:04.341 - info: tradfri.0 got all devices: [65560,65563,65555,65554,65543,65545,65541,65539,65564,65565,65552,65546,65567,65562,65544,65538,65568] 
2019-07-15 13:49:04.343 - debug: tradfri.0 adding devices with keys [65538,65539,65541,65543,65544,65545,65546,65552,65554,65555,65560,65562,65563,65564,65565,65567,65568] 
2019-07-15 13:49:04.351 - debug: tradfri.0 removing devices with keys [] 
2019-07-15 13:49:04.357 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.223","6":3,"9":47},"5750":0,"9001":"TRADFRI remote control","9002":1541233728,"9003":65538,"9019":1,"9020":1562848719,"9054":0,"15009":[{"9003":0}]} 
2019-07-15 13:49:04.383 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Leselampe","9002":1541233938,"9003":65539,"9019":1,"9020":1563150351,"9054":0} 
2019-07-15 13:49:04.399 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65538.alive updated: ack=true; val=true 
2019-07-15 13:49:04.400 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65538.lastSeen updated: ack=true; val=1562848719 
2019-07-15 13:49:04.402 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65538.batteryPercentage updated: ack=true; val=47 
2019-07-15 13:49:04.412 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":0,"5851":254,"9003":0}],"5750":2,"9001":"Deckenfluter","9002":1541234199,"9003":65541,"9019":1,"9020":1563150355,"9054":0} 
2019-07-15 13:49:04.426 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.alive updated: ack=true; val=true 
2019-07-15 13:49:04.427 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.lastSeen updated: ack=true; val=1563150351 
2019-07-15 13:49:04.432 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.223","6":3,"9":47},"5750":0,"9001":"Nachttisch Elke","9002":1542299698,"9003":65543,"9019":1,"9020":1563161475,"9054":0,"15009":[{"9003":0}]} 
2019-07-15 13:49:04.440 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.lightbulb.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:49:04.442 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.443 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.lightbulb.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.444 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.445 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65539.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.447 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.alive updated: ack=true; val=true 
2019-07-15 13:49:04.449 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"efd275","5709":30138,"5710":26909,"5711":454,"5717":0,"5850":0,"5851":53,"9003":0}],"5750":2,"9001":"Nachttischlampe Elke","9002":1542299917,"9003":65544,"9019":1,"9020":1563150498,"9054":0} 
2019-07-15 13:49:04.458 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.223","6":3,"9":47},"5750":0,"9001":"Nachttisch Carsten","9002":1542300353,"9003":65545,"9019":1,"9020":1563186477,"9054":0,"15009":[{"9003":0}]} 
2019-07-15 13:49:04.464 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lastSeen updated: ack=true; val=1563150355 
2019-07-15 13:49:04.466 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:49:04.467 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.468 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.brightness updated: ack=true; val=100 
2019-07-15 13:49:04.469 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.470 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.472 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65543.alive updated: ack=true; val=true 
2019-07-15 13:49:04.474 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 400lm","2":"","3":"1.2.221","6":1},"3311":[{"5706":"efd275","5709":30138,"5710":26909,"5711":454,"5717":0,"5850":0,"5851":51,"9003":0}],"5750":2,"9001":"Nachttischlampe Carsten","9002":1542301595,"9003":65546,"9019":1,"9020":1563150364,"9054":0} 
2019-07-15 13:49:04.486 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":254,"9003":0}],"5750":2,"9001":"Abstellraum","9002":1543651336,"9003":65552,"9019":1,"9020":1563150365,"9054":0} 
2019-07-15 13:49:04.514 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.223","6":3,"9":60},"5750":0,"9001":"TRADFRI remote control 4","9002":1543652487,"9003":65554,"9019":1,"9020":1563109836,"9054":0,"15009":[{"9003":0}]} 
2019-07-15 13:49:04.520 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65543.lastSeen updated: ack=true; val=1563161475 
2019-07-15 13:49:04.521 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65543.batteryPercentage updated: ack=true; val=47 
2019-07-15 13:49:04.522 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.alive updated: ack=true; val=true 
2019-07-15 13:49:04.524 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.lastSeen updated: ack=true; val=1563150498 
2019-07-15 13:49:04.525 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.lightbulb.colorTemperature updated: ack=true; val=100 
2019-07-15 13:49:04.526 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.527 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.lightbulb.brightness updated: ack=true; val=20.9 
2019-07-15 13:49:04.528 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.530 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65544.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.534 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65545.alive updated: ack=true; val=true 
2019-07-15 13:49:04.535 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65545.lastSeen updated: ack=true; val=1563186477 
2019-07-15 13:49:04.537 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65545.batteryPercentage updated: ack=true; val=47 
2019-07-15 13:49:04.538 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.alive updated: ack=true; val=true 
2019-07-15 13:49:04.539 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.lastSeen updated: ack=true; val=1563150364 
2019-07-15 13:49:04.540 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.lightbulb.colorTemperature updated: ack=true; val=100 
2019-07-15 13:49:04.541 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.542 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.lightbulb.brightness updated: ack=true; val=20.1 
2019-07-15 13:49:04.543 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.543 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65546.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.545 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65552.alive updated: ack=true; val=true 
2019-07-15 13:49:04.551 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.009","6":1},"3311":[{"5706":"0","5707":0,"5708":0,"5709":0,"5710":0,"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"Fernseh Licht","9002":1543652576,"9003":65555,"9019":0,"9020":1562687513,"9054":0} 
2019-07-15 13:49:04.563 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65552.lastSeen updated: ack=true; val=1563150365 
2019-07-15 13:49:04.565 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65552.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.566 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65552.lightbulb.brightness updated: ack=true; val=100 
2019-07-15 13:49:04.567 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65552.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.568 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65552.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.572 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":47},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 2","9002":1556961623,"9003":65560,"9019":1,"9020":1557417093,"9054":0} 
2019-07-15 13:49:04.582 - warn: tradfri.0 Unknown accessory type 4. Please send this info to the developer with a short description of the device! 
2019-07-15 13:49:04.586 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65554.alive updated: ack=true; val=true 
2019-07-15 13:49:04.587 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65554.lastSeen updated: ack=true; val=1563109836 
2019-07-15 13:49:04.588 - debug: tradfri.0 {{blue}} state with id tradfri.0.RC-65554.batteryPercentage updated: ack=true; val=60 
2019-07-15 13:49:04.588 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.alive updated: ack=true; val=false 
2019-07-15 13:49:04.592 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":51,"9003":0}],"5750":2,"9001":"Flur Licht","9002":1556961864,"9003":65562,"9019":1,"9020":1563169216,"9054":0} 
2019-07-15 13:49:04.603 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":60},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 4","9002":1556962184,"9003":65563,"9019":1,"9020":1559154814,"9054":0} 
2019-07-15 13:49:04.605 - warn: tradfri.0 Unknown accessory type 4. Please send this info to the developer with a short description of the device! 
2019-07-15 13:49:04.620 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Eingang Licht 1","9002":1556962296,"9003":65564,"9019":1,"9020":1563183660,"9054":0} 
2019-07-15 13:49:04.627 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lastSeen updated: ack=true; val=1562687513 
2019-07-15 13:49:04.628 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lightbulb.color updated: ack=true; val=ffffff 
2019-07-15 13:49:04.629 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lightbulb.hue updated: ack=true; val=0 
2019-07-15 13:49:04.630 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lightbulb.saturation updated: ack=true; val=0 
2019-07-15 13:49:04.631 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.632 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lightbulb.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.633 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.634 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65555.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.635 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65560.alive updated: ack=true; val=true 
2019-07-15 13:49:04.642 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb GU10 W 400lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Eingang Licht 2","9002":1556962399,"9003":65565,"9019":1,"9020":1563169209,"9054":0} 
2019-07-15 13:49:04.647 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65560.lastSeen updated: ack=true; val=1557417093 
2019-07-15 13:49:04.648 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65560.batteryPercentage updated: ack=true; val=47 
2019-07-15 13:49:04.649 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65562.alive updated: ack=true; val=true 
2019-07-15 13:49:04.650 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65562.lastSeen updated: ack=true; val=1563169216 
2019-07-15 13:49:04.652 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65562.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.653 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65562.lightbulb.brightness updated: ack=true; val=20.1 
2019-07-15 13:49:04.657 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65562.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.658 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65562.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.660 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65563.alive updated: ack=true; val=true 
2019-07-15 13:49:04.661 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65563.lastSeen updated: ack=true; val=1559154814 
2019-07-15 13:49:04.662 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65563.batteryPercentage updated: ack=true; val=60 
2019-07-15 13:49:04.663 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65564.alive updated: ack=true; val=true 
2019-07-15 13:49:04.669 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 W opal 1000lm","2":"","3":"1.2.214","6":1},"3311":[{"5850":0,"5851":78,"9003":0}],"5750":2,"9001":"Terrassen Licht","9002":1558172316,"9003":65567,"9019":1,"9020":1563150348,"9054":0} 
2019-07-15 13:49:04.678 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65564.lastSeen updated: ack=true; val=1563183660 
2019-07-15 13:49:04.679 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65564.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.680 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65564.lightbulb.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.681 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65564.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.682 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65564.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.683 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65565.alive updated: ack=true; val=true 
2019-07-15 13:49:04.688 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":60},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 5","9002":1559136046,"9003":65568,"9019":1,"9020":1563181854,"9054":0} 
2019-07-15 13:49:04.691 - warn: tradfri.0 Unknown accessory type 4. Please send this info to the developer with a short description of the device! 
2019-07-15 13:49:04.693 - info: tradfri.0 received all devices 
2019-07-15 13:49:04.700 - info: tradfri.0 got all groups: [131075,131083,131080,131086,131076,131077] 
2019-07-15 13:49:04.701 - debug: tradfri.0 adding groups with keys [131075,131076,131077,131080,131083,131086] 
2019-07-15 13:49:04.710 - debug: tradfri.0 removing groups with keys [] 
2019-07-15 13:49:04.712 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65565.lastSeen updated: ack=true; val=1563169209 
2019-07-15 13:49:04.713 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65565.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.715 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65565.lightbulb.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.717 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65565.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.718 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65565.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.719 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65567.alive updated: ack=true; val=true 
2019-07-15 13:49:04.720 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65567.lastSeen updated: ack=true; val=1563150348 
2019-07-15 13:49:04.721 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65567.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:04.724 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65567.lightbulb.brightness updated: ack=true; val=30.7 
2019-07-15 13:49:04.725 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65567.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:49:04.726 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65567.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:04.728 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65568.alive updated: ack=true; val=true 
2019-07-15 13:49:04.764 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65568.lastSeen updated: ack=true; val=1563181854 
2019-07-15 13:49:04.765 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65568.batteryPercentage updated: ack=true; val=60 
2019-07-15 13:49:04.766 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.activeScene updated: ack=true; val=196614 
2019-07-15 13:49:04.789 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.state updated: ack=true; val=false 
2019-07-15 13:49:04.800 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.transitionDuration updated: ack=true; val=null 
2019-07-15 13:49:04.801 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.802 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:49:04.813 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.color updated: ack=true; val=null 
2019-07-15 13:49:04.848 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.hue updated: ack=true; val=null 
2019-07-15 13:49:04.849 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.saturation updated: ack=true; val=null 
2019-07-15 13:49:04.851 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.activeScene updated: ack=true; val=196617 
2019-07-15 13:49:04.852 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.state updated: ack=true; val=false 
2019-07-15 13:49:04.853 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.transitionDuration updated: ack=true; val=null 
2019-07-15 13:49:04.855 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.858 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.colorTemperature updated: ack=true; val=100 
2019-07-15 13:49:04.859 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.color updated: ack=true; val=null 
2019-07-15 13:49:04.860 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.hue updated: ack=true; val=null 
2019-07-15 13:49:04.861 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.saturation updated: ack=true; val=null 
2019-07-15 13:49:04.863 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.activeScene updated: ack=true; val=196620 
2019-07-15 13:49:04.864 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.state updated: ack=true; val=false 
2019-07-15 13:49:04.866 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.transitionDuration updated: ack=true; val=null 
2019-07-15 13:49:04.883 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.885 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.colorTemperature updated: ack=true; val=100 
2019-07-15 13:49:04.891 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.color updated: ack=true; val=null 
2019-07-15 13:49:04.951 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.hue updated: ack=true; val=null 
2019-07-15 13:49:04.953 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.saturation updated: ack=true; val=null 
2019-07-15 13:49:04.959 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.activeScene updated: ack=true; val=196629 
2019-07-15 13:49:04.960 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.state updated: ack=true; val=false 
2019-07-15 13:49:04.962 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.transitionDuration updated: ack=true; val=null 
2019-07-15 13:49:04.963 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.970 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.colorTemperature updated: ack=true; val=null 
2019-07-15 13:49:04.972 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.color updated: ack=true; val=null 
2019-07-15 13:49:04.973 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.hue updated: ack=true; val=null 
2019-07-15 13:49:04.975 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.saturation updated: ack=true; val=null 
2019-07-15 13:49:04.977 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.activeScene updated: ack=true; val=196638 
2019-07-15 13:49:04.979 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.state updated: ack=true; val=false 
2019-07-15 13:49:04.991 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.transitionDuration updated: ack=true; val=null 
2019-07-15 13:49:04.992 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.brightness updated: ack=true; val=0 
2019-07-15 13:49:04.997 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.colorTemperature updated: ack=true; val=null 
2019-07-15 13:49:05.032 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.color updated: ack=true; val=ffffff 
2019-07-15 13:49:05.033 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.hue updated: ack=true; val=0 
2019-07-15 13:49:05.035 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.saturation updated: ack=true; val=0 
2019-07-15 13:49:05.043 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.activeScene updated: ack=true; val=196647 
2019-07-15 13:49:05.044 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.state updated: ack=true; val=false 
2019-07-15 13:49:05.045 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.transitionDuration updated: ack=true; val=null 
2019-07-15 13:49:05.047 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.brightness updated: ack=true; val=0 
2019-07-15 13:49:05.049 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.colorTemperature updated: ack=true; val=null 
2019-07-15 13:49:05.058 - info: tradfri.0 got all scenes in group 131075: [196614,196615,196616] 
2019-07-15 13:49:05.058 - debug: tradfri.0 adding scenes with keys [196614,196615,196616] to group 131075 
2019-07-15 13:49:05.062 - debug: tradfri.0 removing scenes with keys [] from group 131075 
2019-07-15 13:49:05.063 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.color updated: ack=true; val=null 
2019-07-15 13:49:05.064 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.hue updated: ack=true; val=null 
2019-07-15 13:49:05.065 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.saturation updated: ack=true; val=null 
2019-07-15 13:49:05.105 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.state updated: ack=true; val=false 
2019-07-15 13:49:05.106 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.brightness deleted 
2019-07-15 13:49:05.116 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:49:05.119 - info: tradfri.0 got all scenes in group 131076: [196617,196618,196619] 
2019-07-15 13:49:05.119 - debug: tradfri.0 adding scenes with keys [196617,196618,196619] to group 131076 
2019-07-15 13:49:05.121 - debug: tradfri.0 removing scenes with keys [] from group 131076 
2019-07-15 13:49:05.123 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.color deleted 
2019-07-15 13:49:05.124 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.hue deleted 
2019-07-15 13:49:05.124 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.saturation deleted 
2019-07-15 13:49:05.125 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.state updated: ack=true; val=false 
2019-07-15 13:49:05.126 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.brightness updated: ack=true; val=20.9 
2019-07-15 13:49:05.127 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.colorTemperature updated: ack=true; val=100 
2019-07-15 13:49:05.128 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.color deleted 
2019-07-15 13:49:05.128 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.hue deleted 
2019-07-15 13:49:05.129 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131076.saturation deleted 
2019-07-15 13:49:05.140 - info: tradfri.0 got all scenes in group 131077: [196620,196621,196622] 
2019-07-15 13:49:05.140 - debug: tradfri.0 adding scenes with keys [196620,196621,196622] to group 131077 
2019-07-15 13:49:05.143 - debug: tradfri.0 removing scenes with keys [] from group 131077 
2019-07-15 13:49:05.145 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.state updated: ack=true; val=false 
2019-07-15 13:49:05.161 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.brightness updated: ack=true; val=20.1 
2019-07-15 13:49:05.177 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.colorTemperature updated: ack=true; val=100 
2019-07-15 13:49:05.178 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.color deleted 
2019-07-15 13:49:05.179 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.hue deleted 
2019-07-15 13:49:05.180 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131077.saturation deleted 
2019-07-15 13:49:05.194 - info: tradfri.0 got all scenes in group 131080: [196629,196630,196631] 
2019-07-15 13:49:05.194 - debug: tradfri.0 adding scenes with keys [196629,196630,196631] to group 131080 
2019-07-15 13:49:05.197 - debug: tradfri.0 removing scenes with keys [] from group 131080 
2019-07-15 13:49:05.202 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.state updated: ack=true; val=false 
2019-07-15 13:49:05.208 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.brightness updated: ack=true; val=100 
2019-07-15 13:49:05.215 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.colorTemperature deleted 
2019-07-15 13:49:05.216 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.color deleted 
2019-07-15 13:49:05.216 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.hue deleted 
2019-07-15 13:49:05.217 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131080.saturation deleted 
2019-07-15 13:49:05.231 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.state updated: ack=true; val=false 
2019-07-15 13:49:05.237 - info: tradfri.0 got all scenes in group 131083: [196638,196639,196640] 
2019-07-15 13:49:05.237 - debug: tradfri.0 adding scenes with keys [196638,196639,196640] to group 131083 
2019-07-15 13:49:05.242 - debug: tradfri.0 removing scenes with keys [] from group 131083 
2019-07-15 13:49:05.245 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.brightness updated: ack=true; val=0 
2019-07-15 13:49:05.253 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.colorTemperature deleted 
2019-07-15 13:49:05.254 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.color updated: ack=true; val=ffffff 
2019-07-15 13:49:05.256 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.hue updated: ack=true; val=0 
2019-07-15 13:49:05.257 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131083.saturation updated: ack=true; val=0 
2019-07-15 13:49:05.278 - info: tradfri.0 got all scenes in group 131086: [196647,196648,196649] 
2019-07-15 13:49:05.278 - debug: tradfri.0 adding scenes with keys [196647,196648,196649] to group 131086 
2019-07-15 13:49:05.281 - debug: tradfri.0 removing scenes with keys [] from group 131086 
2019-07-15 13:49:05.337 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.state updated: ack=true; val=false 
2019-07-15 13:49:05.338 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.brightness deleted 
2019-07-15 13:49:05.340 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.colorTemperature deleted 
2019-07-15 13:49:05.341 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.color deleted 
2019-07-15 13:49:05.344 - info: tradfri.0 updating possible scenes for group 131075: ["196614"] 
2019-07-15 13:49:05.356 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.hue deleted 
2019-07-15 13:49:05.358 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131086.saturation deleted 
2019-07-15 13:49:05.372 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131075.activeScene updated 
2019-07-15 13:49:05.377 - info: tradfri.0 updating possible scenes for group 131075: ["196614","196615"] 
2019-07-15 13:49:05.388 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131075.activeScene updated 
2019-07-15 13:49:05.402 - info: tradfri.0 updating possible scenes for group 131075: ["196614","196615","196616"] 
2019-07-15 13:49:05.427 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131075.activeScene updated 
2019-07-15 13:49:05.431 - info: tradfri.0 updating possible scenes for group 131076: ["196617"] 
2019-07-15 13:49:05.441 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131076.activeScene updated 
2019-07-15 13:49:05.453 - info: tradfri.0 updating possible scenes for group 131076: ["196617","196618"] 
2019-07-15 13:49:05.468 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131076.activeScene updated 
2019-07-15 13:49:05.489 - info: tradfri.0 updating possible scenes for group 131076: ["196617","196618","196619"] 
2019-07-15 13:49:05.500 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131076.activeScene updated 
2019-07-15 13:49:05.510 - info: tradfri.0 updating possible scenes for group 131077: ["196620"] 
2019-07-15 13:49:05.524 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131077.activeScene updated 
2019-07-15 13:49:05.533 - info: tradfri.0 updating possible scenes for group 131077: ["196620","196621"] 
2019-07-15 13:49:05.543 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131077.activeScene updated 
2019-07-15 13:49:05.553 - info: tradfri.0 updating possible scenes for group 131077: ["196620","196621","196622"] 
2019-07-15 13:49:05.569 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131077.activeScene updated 
2019-07-15 13:49:05.598 - info: tradfri.0 updating possible scenes for group 131080: ["196629"] 
2019-07-15 13:49:05.610 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131080.activeScene updated 
2019-07-15 13:49:05.635 - info: tradfri.0 updating possible scenes for group 131080: ["196629","196630"] 
2019-07-15 13:49:05.648 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131080.activeScene updated 
2019-07-15 13:49:05.680 - info: tradfri.0 updating possible scenes for group 131080: ["196629","196630","196631"] 
2019-07-15 13:49:05.704 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131080.activeScene updated 
2019-07-15 13:49:05.723 - info: tradfri.0 updating possible scenes for group 131083: ["196638"] 
2019-07-15 13:49:05.748 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131083.activeScene updated 
2019-07-15 13:49:05.767 - info: tradfri.0 updating possible scenes for group 131083: ["196638","196639"] 
2019-07-15 13:49:05.784 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131083.activeScene updated 
2019-07-15 13:49:05.812 - info: tradfri.0 updating possible scenes for group 131083: ["196638","196639","196640"] 
2019-07-15 13:49:05.828 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131083.activeScene updated 
2019-07-15 13:49:05.860 - info: tradfri.0 updating possible scenes for group 131086: ["196647"] 
2019-07-15 13:49:05.872 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131086.activeScene updated 
2019-07-15 13:49:05.906 - info: tradfri.0 updating possible scenes for group 131086: ["196647","196648"] 
2019-07-15 13:49:05.917 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131086.activeScene updated 
2019-07-15 13:49:05.949 - info: tradfri.0 received all groups and scenes 
2019-07-15 13:49:05.951 - info: tradfri.0 updating possible scenes for group 131086: ["196647","196648","196649"] 
2019-07-15 13:49:05.961 - debug: tradfri.0 {{blue}} object with id tradfri.0.G-131086.activeScene updated 
2019-07-15 13:49:09.892 - debug: tradfri.0 ping succeeded 
2019-07-15 13:49:09.893 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:49:15.610 - debug: tradfri.0 system.adapter.admin.0: logging true 
2019-07-15 13:49:19.903 - debug: tradfri.0 ping succeeded 
2019-07-15 13:49:19.903 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:49:25.877 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":60},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 5","9002":1559136046,"9003":65568,"9019":1,"9020":1563191366,"9054":0} 
2019-07-15 13:49:25.880 - warn: tradfri.0 Unknown accessory type 4. Please send this info to the developer with a short description of the device! 
2019-07-15 13:49:25.887 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65568.alive updated: ack=true; val=true 
2019-07-15 13:49:25.891 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65568.lastSeen updated: ack=true; val=1563191366 
2019-07-15 13:49:25.895 - debug: tradfri.0 {{blue}} state with id tradfri.0.XYZ-65568.batteryPercentage updated: ack=true; val=60 
2019-07-15 13:49:29.909 - debug: tradfri.0 ping succeeded 
2019-07-15 13:49:29.910 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:49:39.923 - debug: tradfri.0 ping succeeded 
2019-07-15 13:49:39.925 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:49:49.931 - debug: tradfri.0 ping succeeded 
2019-07-15 13:49:49.931 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:49:55.169 - warn: tradfri.0 The device with ID 65541 was not found! 
2019-07-15 13:49:55.168 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.state updated: ack=false; val=true 
2019-07-15 13:49:55.182 - debug: tradfri.0 updateResource(15001/65541) > comparing {"isProxy":true,"options":{},"name":"Deckenfluter","createdAt":1541234199,"instanceId":65541,"type":2,"alive":true,"lastSeen":1563150355,"otaUpdateState":0,"deviceInfo":{"isProxy":true,"options":{},"firmwareVersion":"1.2.217","manufacturer":"IKEA of Sweden","modelNumber":"TRADFRI bulb E27 WS opal 980lm","power":1,"serialNumber":""},"lightList":[{"onOff":true,"dimmer":100,"color":"f1e0b5","colorTemperature":58.8,"transitionTime":0.5}]} with the reference {"isProxy":true,"options":{},"name":"Deckenfluter","createdAt":1541234199,"instanceId":65541,"type":2,"alive":true,"lastSeen":1563150355,"otaUpdateState":0,"deviceInfo":{"isProxy":true,"options":{},"firmwareVersion":"1.2.217","manufacturer":"IKEA of Sweden","modelNumber":"TRADFRI bulb E27 WS opal 980lm","power":1,"serialNumber":""},"lightList":[{"onOff":false,"dimmer":100,"color":"f1e0b5","colorTemperature":58.8,"transitionTime":0.5}]} 
2019-07-15 13:49:55.188 - debug: tradfri.0 updateResource(15001/65541) > sending payload: {"3311":[{"5712":5,"5850":1}]} 
2019-07-15 13:49:55.218 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":1,"5851":254,"9003":0}],"5750":2,"9001":"Deckenfluter","9002":1541234199,"9003":65541,"9019":1,"9020":1563150355,"9054":0} 
2019-07-15 13:49:55.227 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.alive updated: ack=true; val=true 
2019-07-15 13:49:55.245 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lastSeen updated: ack=true; val=1563150355 
2019-07-15 13:49:55.248 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:49:55.252 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:49:55.254 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.brightness updated: ack=true; val=100 
2019-07-15 13:49:55.255 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.state updated: ack=true; val=true 
2019-07-15 13:49:55.258 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:49:55.510 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:49:55.518 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.state deleted 
2019-07-15 13:49:59.937 - debug: tradfri.0 ping succeeded 
2019-07-15 13:49:59.937 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:50:03.821 - warn: tradfri.0 The device with ID 65541 was not found! 
2019-07-15 13:50:03.819 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.brightness updated: ack=false; val=0 
2019-07-15 13:50:03.825 - debug: tradfri.0 updateResource(15001/65541) > comparing {"isProxy":true,"options":{},"name":"Deckenfluter","createdAt":1541234199,"instanceId":65541,"type":2,"alive":true,"lastSeen":1563150355,"otaUpdateState":0,"deviceInfo":{"isProxy":true,"options":{},"firmwareVersion":"1.2.217","manufacturer":"IKEA of Sweden","modelNumber":"TRADFRI bulb E27 WS opal 980lm","power":1,"serialNumber":""},"lightList":[{"onOff":true,"dimmer":0,"color":"f1e0b5","colorTemperature":58.8,"transitionTime":0}]} with the reference {"isProxy":true,"options":{},"name":"Deckenfluter","createdAt":1541234199,"instanceId":65541,"type":2,"alive":true,"lastSeen":1563150355,"otaUpdateState":0,"deviceInfo":{"isProxy":true,"options":{},"firmwareVersion":"1.2.217","manufacturer":"IKEA of Sweden","modelNumber":"TRADFRI bulb E27 WS opal 980lm","power":1,"serialNumber":""},"lightList":[{"onOff":true,"dimmer":100,"color":"f1e0b5","colorTemperature":58.8,"transitionTime":0.5}]} 
2019-07-15 13:50:03.827 - debug: tradfri.0 updateResource(15001/65541) > sending payload: {"3311":[{"5712":0,"5851":0}]} 
2019-07-15 13:50:03.853 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":0,"5851":0,"9003":0}],"5750":2,"9001":"Deckenfluter","9002":1541234199,"9003":65541,"9019":1,"9020":1563150355,"9054":0} 
2019-07-15 13:50:03.864 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.alive updated: ack=true; val=true 
2019-07-15 13:50:03.870 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lastSeen updated: ack=true; val=1563150355 
2019-07-15 13:50:03.878 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:50:03.879 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:50:03.880 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.brightness updated: ack=true; val=0 
2019-07-15 13:50:03.882 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:50:03.883 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:50:03.952 - debug: tradfri.0 observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 WS opal 980lm","2":"","3":"1.2.217","6":1},"3311":[{"5706":"f1e0b5","5709":30138,"5710":26909,"5711":370,"5717":0,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Deckenfluter","9002":1541234199,"9003":65541,"9019":1,"9020":1563150355,"9054":0} 
2019-07-15 13:50:03.964 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.alive updated: ack=true; val=true 
2019-07-15 13:50:03.975 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lastSeen updated: ack=true; val=1563150355 
2019-07-15 13:50:03.985 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:50:03.987 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.transitionDuration updated: ack=true; val=0.5 
2019-07-15 13:50:03.988 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.brightness updated: ack=true; val=0 
2019-07-15 13:50:03.990 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.lightbulb.state updated: ack=true; val=false 
2019-07-15 13:50:03.997 - debug: tradfri.0 {{blue}} state with id tradfri.0.L-65541.batteryPercentage updated: ack=true; val=null 
2019-07-15 13:50:04.260 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.colorTemperature updated: ack=true; val=58.8 
2019-07-15 13:50:04.267 - debug: tradfri.0 {{blue}} state with id tradfri.0.G-131075.state updated: ack=true; val=false 
2019-07-15 13:50:09.947 - debug: tradfri.0 ping succeeded 
2019-07-15 13:50:09.947 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:50:19.956 - debug: tradfri.0 ping succeeded 
2019-07-15 13:50:19.957 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:50:29.961 - debug: tradfri.0 ping succeeded 
2019-07-15 13:50:29.962 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:50:39.969 - debug: tradfri.0 ping succeeded 
2019-07-15 13:50:39.969 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:50:49.980 - debug: tradfri.0 ping succeeded 
2019-07-15 13:50:49.980 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:50:59.985 - debug: tradfri.0 ping succeeded 
2019-07-15 13:50:59.987 - debug: tradfri.0 setting next timeout in 10000 
2019-07-15 13:51:02.184 - debug: tradfri.0 {{blue}} state with id tradfri.0.info.connection updated: ack=true; val=false

Adapter won´t start

I got this message in the log.

`

host.iobroker 2018-02-03 16:32:53.096 error instance system.adapter.tradfri.0 terminated with code 1 ()
Caught 2018-02-03 16:32:53.096 error by controller[0]: at Function.Module._load (module.js:438:3)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at tryModuleLoad (module.js:446:12)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Module.load (module.js:487:32)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Object.Module._extensions..js (module.js:579:10)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Module._compile (module.js:570:32)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node
Caught 2018-02-03 16:32:53.095 error by controller[0]: at require (internal/module.js:20:19)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Module.require (module.js:497:17)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Function.Module._load (module.js:417:25)
Caught 2018-02-03 16:32:53.095 error by controller[0]: at Function.Module._resolveFilename (module.js:469:15)
Caught 2018-02-03 16:32:53.095 error by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node
Caught 2018-02-03 16:32:53.095 error by controller[0]: ^
Caught 2018-02-03 16:32:53.095 error by controller[0]: throw err;
Caught 2018-02-03 16:32:53.094 error by controller[0]: module.js:471

`

Problem with group

Hi AlCalzone,

I have paired a Philips bulb with Tradfri. Since a few weeks, I have problems with this bulb.

I have a group called "Sofalampe" in Tradfri, it contains only the Philips bulb.

When switching the bulb off through the group, the state changes and switches back after a short time to true, but the bulb is off. So it's impossible to switch it on again.

Solution is switching off in the Tradfri off and on again, then the bulb is on again.

But when I switch off the bulb directly on the bulb object in ioBroker, not via the group, it works.

Here a log from switching directly off through the bulb:

tradfri.0 2019-11-12 19:24:53.230 debug {{blue}} state with id tradfri.0.G-131075.state updated: ack=true; val=false
tradfri.0 2019-11-12 19:24:53.225 debug {{blue}} state with id tradfri.0.G-131075.brightness updated: ack=true; val=100
tradfri.0 2019-11-12 19:24:52.972 debug {{blue}} state with id tradfri.0.L-65569.batteryPercentage updated: ack=true; val=null
tradfri.0 2019-11-12 19:24:52.972 debug {{blue}} state with id tradfri.0.L-65569.lightbulb.state updated: ack=true; val=false
tradfri.0 2019-11-12 19:24:52.972 debug {{blue}} state with id tradfri.0.L-65569.lightbulb.brightness updated: ack=true; val=100
tradfri.0 2019-11-12 19:24:52.968 debug {{blue}} state with id tradfri.0.L-65569.lightbulb.transitionDuration updated: ack=true; val=1
tradfri.0 2019-11-12 19:24:52.966 debug {{blue}} state with id tradfri.0.L-65569.lastSeen updated: ack=true; val=1573581789
tradfri.0 2019-11-12 19:24:52.964 debug {{blue}} state with id tradfri.0.L-65569.alive updated: ack=true; val=true
tradfri.0 2019-11-12 19:24:52.963 debug observeDevice > {"3":{"0":"Philips","1":"LWB010","2":"","3":"1.23.0_r20156","6":1},"3311":[{"5850":0,"5851":254,"9003":0}],"5750":2,"9001":"Sofalampe","9002":1573581782,"9003":65569,"9019":1,"9020":15
tradfri.0 2019-11-12 19:24:52.669 debug updateResource(15001/65569) > sending payload: {"3311":[{"5712":5,"5850":0}]}
tradfri.0 2019-11-12 19:24:52.669 debug updateResource(15001/65569) > comparing {"isProxy":true,"options":{},"name":"Sofalampe","createdAt":1573581782,"instanceId":65569,"type":2,"alive":true,"lastSeen":1573581789,"otaUpdateState":0,"device
tradfri.0 2019-11-12 19:24:52.668 debug {{blue}} state with id tradfri.0.L-65569.lightbulb.state updated: ack=false; val=false

The bulb is now switched off and the state in ioBroker and the Tradfri app is correct.

Now the same switching off action using the group in ioBroker:

tradfri.0 2019-11-12 19:26:58.261 debug {{blue}} state with id tradfri.0.G-131075.brightness updated: ack=true; val=100
tradfri.0 2019-11-12 19:26:58.259 debug {{blue}} state with id tradfri.0.G-131075.state updated: ack=true; val=true
tradfri.0 2019-11-12 19:26:58.026 debug {{blue}} state with id tradfri.0.G-131075.saturation updated: ack=true; val=null
tradfri.0 2019-11-12 19:26:58.025 debug {{blue}} state with id tradfri.0.G-131075.hue updated: ack=true; val=null
tradfri.0 2019-11-12 19:26:58.025 debug {{blue}} state with id tradfri.0.G-131075.color updated: ack=true; val=null
tradfri.0 2019-11-12 19:26:58.025 debug {{blue}} state with id tradfri.0.G-131075.colorTemperature updated: ack=true; val=null
tradfri.0 2019-11-12 19:26:58.025 debug {{blue}} state with id tradfri.0.G-131075.brightness updated: ack=true; val=0
tradfri.0 2019-11-12 19:26:58.025 debug {{blue}} state with id tradfri.0.G-131075.transitionDuration updated: ack=true; val=null
tradfri.0 2019-11-12 19:26:58.014 debug {{blue}} state with id tradfri.0.G-131075.state updated: ack=true; val=false
tradfri.0 2019-11-12 19:26:58.009 debug {{blue}} state with id tradfri.0.G-131075.activeScene updated: ack=true; val=196616
tradfri.0 2019-11-12 19:26:57.807 debug updateResource(15004/131075) > sending payload: {"5850":0}
tradfri.0 2019-11-12 19:26:57.807 debug updateResource(15004/131075) > comparing {"isProxy":true,"options":{},"name":"Sofalampe","createdAt":1515100196,"instanceId":131075,"onOff":false,"dimmer":100,"deviceIDs":[65569],"sceneId":196616,"gro
tradfri.0 2019-11-12 19:26:57.806 debug {{blue}} state with id tradfri.0.G-131075.state updated: ack=false; val=false

Result is: Bulb is off, ioBroker state for the group and the bulb is on, Tradfri app also shows it as on.

I've reconnected the bulb to Tradfri already.

Any ideas ?

Thanks and regards,

Ralf

Please check ioBroker.tradfri with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

Admin v2 is no longer supported. Please update to Admin v3 or newer!

Hi,

I have admin version 3.4.3 (latest) installed and I get the above error with tradfri version 2.0

'Admin v2 is no longer supported. Please update to Admin v3 or newer!'

Then a dialogbox came up with the text

'Please implement save function in your admin/index.html'

and an OK button.

What ist going wrong there?

Alternatively from which url can I download version 1.4.0 or 1.4.1? As you told on your github page this is the latest version running with admin v2

Thanks

Axel

Rollo Position einer Gruppe

Seit Version 2.45 habe ich vermehrt das der Status vom Objekt blind position null ist.

Was bei Scriptabfragen zu Problemen führt. Log fängt an mit

Beispiel:
var id_Rollo = 'tradfri.0.G-131074.position'/Blind position/;
var Rollo = typeof getState(id_Rollo).val === 'object' && !getState(id_Rollo).val ? Rollo_1 : getState(id_Rollo).val;

im Log kommt dann:
getState "tradfri.0.G-131074.position" not found (3)
und dann kommt ganz viel weiterer Müll.

Wann es genau passiert weiß ich nicht. Meine Vermutung:

meine 5 Rollos haben derzeit jeweils den Status 30% und die Position der Gruppe ist null

Wenn die Rollos hochfahren haben die 5 Rollos jeweils 100% und die Gruppe steht dann auf 30% Also die Position die vorher richtig gewesen wäre.
Wenn danach am nächsten Abend die Rollos wieder auf 30% fahren hat die Gruppe wieder null.

Bildschirmfoto 2019-11-15 um 19 04 32

New in tradfri-Log: 'Unknown accessory type 4'

After i switched to log-mode debug this stetment came in log:

2019-11-07 06:57:36.672 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.RC-65554.alive updated: ack=true; val=true 2019-11-07 06:57:36.673 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.RC-65554.lastSeen updated: ack=true; val=1572571809 2019-11-07 06:57:36.674 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.RC-65554.batteryPercentage updated: ack=true; val=100 2019-11-07 06:57:36.676 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.alive updated: ack=true; val=true 2019-11-07 06:57:36.677 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lastSeen updated: ack=true; val=1573041384 2019-11-07 06:57:36.678 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lightbulb.color updated: ack=true; val=00ff33 2019-11-07 06:57:36.680 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lightbulb.hue updated: ack=true; val=132 2019-11-07 06:57:36.681 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lightbulb.saturation updated: ack=true; val=100 2019-11-07 06:57:36.685 - debug: tradfri.0 (25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":47},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 5","9002":1559136046,"9003":65568,"9019":1,"9020":1573046450,"9054":0} 2019-11-07 06:57:36.697 - warn: tradfri.0 (25432) Unknown accessory type 4. Please send this info to the developer with a short description of the device! 2019-11-07 06:57:36.709 - debug: tradfri.0 (25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"2.3.014","6":3,"9":34},"5750":0,"9001":"TRADFRI remote control 5","9002":1570128543,"9003":65569,"9019":1,"9020":1573064769,"9054":0,"15009":[{"9003":0}]} 2019-11-07 06:57:36.736 - debug: tradfri.0 (25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E27 CWS opal 600lm","2":"","3":"1.3.009","6":1},"3311":[{"5706":"4a418a","5707":47822,"5708":65279,"5709":11469,"5710":3277,"5850":0,"5851":1,"9003":0}],"5750":2,"9001":"Standlicht","9002":1572440041,"9003":65572,"9019":1,"9020":1573045079,"9054":0} 2019-11-07 06:57:36.756 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lightbulb.transitionDuration updated: ack=true; val=0.5 2019-11-07 06:57:36.757 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lightbulb.brightness updated: ack=true; val=0 2019-11-07 06:57:36.758 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.lightbulb.state updated: ack=true; val=false 2019-11-07 06:57:36.759 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65555.batteryPercentage updated: ack=true; val=100 2019-11-07 06:57:36.763 - debug: tradfri.0 (25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI bulb E14 WS opal 600lm","2":"","3":"2.0.022","6":1},"3311":[{"5706":"f1e0b5","5709":30015,"5710":26870,"5711":370,"5717":0,"5850":1,"5851":1,"9003":0}],"5750":2,"9001":"Couchlampe","9002":1572449551,"9003":65577,"9019":1,"9020":1573102657,"9054":0} 2019-11-07 06:57:36.784 - debug: tradfri.0 (25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"2.0.022","6":3,"9":74},"3300":[{"9003":0}],"5750":4,"9001":"Bewegungsmelder Terrasse","9002":1572450026,"9003":65578,"9019":1,"9020":1573059528,"9054":0} 2019-11-07 06:57:36.795 - warn: tradfri.0 (25432) Unknown accessory type 4. Please send this info to the developer with a short description of the device! 2019-11-07 06:57:36.808 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65562.alive updated: ack=true; val=true 2019-11-07 06:57:36.809 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65562.lastSeen updated: ack=true; val=1573020238 2019-11-07 06:57:36.809 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65562.lightbulb.transitionDuration updated: ack=true; val=0.5 2019-11-07 06:57:36.821 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65562.lightbulb.brightness updated: ack=true; val=0 2019-11-07 06:57:36.826 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65562.lightbulb.state updated: ack=true; val=false 2019-11-07 06:57:36.828 - debug: tradfri.0 (25432) {{blue}} state with id tradfri.0.L-65562.batteryPercentage updated: ack=true; val=100 2019-11-07 06:57:36.842 - debug: tradfri.0 (25432) observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI motion sensor","2":"","3":"1.2.214","6":3,"9":47},"3300":[{"9003":0}],"5750":4,"9001":"TRADFRI motion sensor 3","9002":1572636069,"9003":65579,"9019":1,"9020":1573069084,"9054":0} 2019-11-07 06:57:36.854 - warn: tradfri.0 (25432) Unknown accessory type 4. Please send this info to the developer with a short description of the device!

Helligkeit %-Zahlen werden als Float im Request abgesetzt

Hi,

nachdem ich gemerkt habe, dass Alexa die Tradfri Lampen nur mit 0, 50 und 100% steuern konnte schaute ich mir den Code an. Bitte in der main.js entsprechend runden. Siehe hier:
// TODO: find a way to construct these from existing accessory objects _global2.default.log("drbugfinder was here"); var payload = null; if (id.endsWith(".lightbulb.state")) { val = Math.round(val); payload = { "3311": [{ "5850": val ? 1 : 0 }] }; } else if (id.endsWith(".lightbulb.brightness")) { val = Math.round(val); payload = { "3311": [{ "5851": val, "5712": 5 }] }; } else if (id.endsWith(".lightbulb.color")) { var colorX = _conversions2.default.color("out", state.val); payload = { "3311": [{ "5709": colorX, "5710": 27000, "5712": 5 }] }; }
Dann passt es!

Problem with decimal places

Hi,

I'm using Tradfri Adapter in version 1.4.1.

I've configured the decimal places in the adapter settings to 0.

This is working for single light bulbs. But when I use Tradfri's own groups or virtual groups of the adapter I always get decimal places.

Any ideas ?

Thanks and regards,

Ralf

SIGABRT when starting adapter

Adapter dies directly with SIGABRT:

host.iot	2017-05-28 17:38:22.297	error	instance system.adapter.tradfri.0 terminated with code null ()
host.iot	2017-05-28 17:38:22.297	warn	instance system.adapter.tradfri.0 terminated due to SIGABRT
host.iot	2017-05-28 17:38:21.660	info	instance system.adapter.tradfri.0 started with pid 11695

Running main.js manually (obfuscated host and psk):

These are our DTLS client opts:   {"host":"172.x.y.z","port":5684,"psk":{"type":"Buffer","data":[]},"PSKIdent":{"type":"Buffer","data":[65,65,65,65,65,65,65,65,65,65,65,65,
65,65,65]},"key":null,"peerPublicKey":null}
send_safety_check()

step() beginning
step() beginning
io.tradfri.0: ../../nan/nan.h:695: Nan::MaybeLocal<v8::Object> Nan::CopyBuffer(const char*, uint32_t): Assertion `size <= imp::kMaxLength && "too large buffer"' failed.
Aborted

Same result both on raspberry pi 3 (ARM) and an amd64 virtual machine

Investigate small issues with 3rd party bulbs

{"3":{"0":"MLI","1":"ZBT-ColorTemperature","2":"","3":"2.0","6":1},"3311":[{"5706":"f1e0b5","5709":30047,"5710":26822,"5711":372,"5717":0,"5850":1,"5851":254,"9003":0}],"5750":2,"9001":"","9002":1574102888,"9003":65541,"9019":1,"9020":1574103491,"9054":0}
  • key 9001 is empty, the name is in deviceInfo 381fe29
  • no battery info, but batteryPercentage state exists d891e64

Latest Version not running

Environment: RasPI 2, latest ioBroker, node.js 7.10

All I get once the instance is created and configured:

host.csprint01 2017-05-27 14:27:24.393 error instance system.adapter.tradfri.0 terminated with code 1 () host.csprint01 2017-05-27 14:27:22.907 info instance system.adapter.tradfri.0 started with pid 9746 host.csprint01 2017-05-27 14:27:21.566 info Restart adapter system.adapter.tradfri.0 because enabled

In additional Info is needed please let me know.

Unknown device type 1

Hi,

with version 1.5.4 I get unkown device type:

tradfri.0 2018-12-02 16:25:53.978 warn Unknown accessory type 1. Please send this info to the developer with a short description of the device!
tradfri.0 2018-12-02 16:25:53.977 debug observeDevice > {"3":{"0":"IKEA of Sweden","1":"TRADFRI remote control","2":"","3":"1.2.214","6":3,"9":74},"5750":1,"9001":"Fernbedienung Schlafzimmer","9002":1543762150,"9003":65562,"9019":1,"9020":1

It's the normal remote control, but I had to reset and reconnect it. So no problem at all, just for information.

Regards, Ralf

tradfri adapter won't start

Hi,

the tradfri adapter does not start on my banana pi. Below there ist an error list I see after starting the tradfri adapter.
I'm not sure, if all the errors are part of the tradfri adapter.

Thank you for any help

Axel

host.bananapi 2018-04-16 20:15:36.754 error instance system.adapter.tradfri.0 terminated with code 1 ()
host.bananapi 2018-04-16 20:15:36.754 error Caught by controller[0]: at startListening (dgram.js:121:10)
host.bananapi 2018-04-16 20:15:36.754 error Caught by controller[0]: at Socket.emit (events.js:185:7)
host.bananapi 2018-04-16 20:15:36.753 error Caught by controller[0]: at emitNone (events.js:86:13)
host.bananapi 2018-04-16 20:15:36.753 error Caught by controller[0]: at Socket.udp_onListening (/opt/iobroker/node_modules/node-dtls-client/build/dtls.js:111:37)
host.bananapi 2018-04-16 20:15:36.752 error Caught by controller[0]: at new ClientHandshakeHandler (/opt/iobroker/node_modules/node-dtls-client/build/DTLS/HandshakeHandler.js:125:14)
host.bananapi 2018-04-16 20:15:36.752 error Caught by controller[0]: at ClientHandshakeHandler.renegotiate (/opt/iobroker/node_modules/node-dtls-client/build/DTLS/HandshakeHandler.js:176:14)
host.bananapi 2018-04-16 20:15:36.752 error Caught by controller[0]: at ClientHandshakeHandler.sendFlight (/opt/iobroker/node_modules/node-dtls-client/build/DTLS/HandshakeHandler.js:342:14)
host.bananapi 2018-04-16 20:15:36.751 error Caught by controller[0]: at ClientHandshakeHandler.sendFlight_finish (/opt/iobroker/node_modules/node-dtls-client/build/DTLS/HandshakeHandler.js:326:26)
host.bananapi 2018-04-16 20:15:36.751 error Caught by controller[0]: at RecordLayer.sendFlight (/opt/iobroker/node_modules/node-dtls-client/build/DTLS/RecordLayer.js:69:24)
host.bananapi 2018-04-16 20:15:36.750 error Caught by controller[0]: at Socket.send (dgram.js:339:11)
host.bananapi 2018-04-16 20:15:36.749 error Caught by controller[0]: RangeError: Port should be > 0 and < 65536
tradfri.0 2018-04-16 20:15:36.465 info starting. Version 1.1.10 in /opt/iobroker/node_modules/iobroker.tradfri, node: v6.14.1
host.bananapi 2018-04-16 20:15:31.293 info instance system.adapter.tradfri.0 started with pid 12204

Tradfi bulb is detected but not controllable

I bought this led-bulb with this dimmable on/off switch from Ikea.

Both are detected, but not controllable by the adapter.

In the log are no further informations

2019-11-01 19:51:06.969  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65576.alive updated: ack=true; val=false
2019-11-01 19:51:06.971  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65576.lastSeen updated: ack=true; val=1572448005
2019-11-01 19:51:06.972  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65576.lightbulb.transitionDuration updated: ack=true; val=0.5
2019-11-01 19:51:06.973  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65576.lightbulb.brightness updated: ack=true; val=50
2019-11-01 19:51:06.974  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65576.lightbulb.state updated: ack=true; val=false
2019-11-01 19:51:06.976  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.L-65576.batteryPercentage updated: ack=true; val=100

and

2019-11-01 19:51:06.925  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65573.alive updated: ack=true; val=true
2019-11-01 19:51:06.926  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65573.lastSeen updated: ack=true; val=1572441358
2019-11-01 19:51:06.927  - debug: tradfri.0 (16336) {{blue}} state with id tradfri.0.RC-65573.batteryPercentage updated: ack=true; val=60

grafik
grafik
grafik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.