One hint for all who are interested in using the Ikea bulbs it with Philips hue https://www.google.de/amp/stadt-bremerhaven.de/ikea-tradfri-neue-chargen-lassen-sich-ohne-gateway-in-philips-hue-einbinden/amp/
-
New pimatic tradfri plugin / IKEA Smart Lights
-
@kosta i have done several resets, waited to pair remote and bulb half an hour (have seen this tip on reddit). Also connected the hub direct to my FritzBox.
I’m waiting for an answer of Ikeas customer service. -
added a Osram Lightify RGB Bulb. But cant change the color via Frontend or via API.
In the Ikea Tradfri App i can change the Color of the RGB Bulb with 20 color buttonsAPI GET:
http://rasp/api/devices/device?setColor&colorCode=#00FF00 doesnt work.How is this possible?
-
@kosta said in New pimatic tradfri plugin / IKEA Smart Lights:
@V1per please clear the browser cache
Sometimes it can be so easy… after clearing the browser cache it works perfect.
Pick a color from the color picker is really awesome.
Thank you so much for your work. -
@Felix-Haverkamp
The API is a little bit confusing.
setColor is for color temperature changing. 0-100
setRGB is for color with parameters r,g,b 0-255
Sorry for that. I will improve that and make a documentation.I suppose that you have used the device class tradfiRGB. Is only color not working?
-
@kosta color is not working and when the light goes off, the light goes first to 100% and then off. But i think this is a problem of the gateway.
In the Plugin pimatic-led-light i can send color with: http://rasp/api/devices/device?setColor&colorCode=#00FF00
maybe you can implement that for tradfri too. -
@kosta tried several things to connect to the gateway. The python pytradfri scripts doesn’t work, too. Reinstall of your plugin doesn’t work. The Ikea app connects on iOS and Android. Found Hue & Me for Android which also connects to the gateway.
-
This post is deleted!
-
@kosta Still no update und the message from Ikea was the usual bla, reset, look at the website.
-
85km to Ikea and back, think about…
Found this, can this cause the problems?
11:21:20.135 [pimatic] Installing: “pimatic-tradfri@0.1.13” from npm-registry.
11:21:33.801 [pimatic, ppm] WARN engine node-mbed-dtls@2.4.4: wanted: {“node”:">=5.0.0"} (current: {“node”:“4.8.2”,“npm”:“2.15.12”}) -
@hanss
i had the same problem.
in my case the version of pimatic was old. I deinstalled the tradfri plugin, updated pimatic and reinstalled tradfri. Its working fine now. -
The warning about the node version can be ignored. It works anyway. Pimatic needs 4.x.
I think it is the firmware. Because the python code also doesn’t work.I tested the plugin only with pimatic 9.
Release notes:
New features and changes in Gateway: 1.1.0015: Stability improvements. Security improvements in Datagram Transport Layer Security.
-
@kosta it works! It was a network and probably a firmware error . The gateway got an ip and was pingable, but loaded no firmware update. When I played around with a fake update server I noticed that the network led was not blinking. Today I commected the gateway to my brothers cable modem and the update was loaded immediately. Now it works with you plugin.
Hope the update of remote and build works on my router now. -
Got an update of my Gateway. After I restarted Pimatic today I’m getting this error:
error [pimatic]: An uncaught exception occurred: SyntaxError: Unexpected end of input at Object.parse (native) at OutgoingMessage.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/tradfri-coapdtls.js:340:37) at emitOne (events.js:82:20) at OutgoingMessage.emit (events.js:169:7) at Agent.handle [as _handle] (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/lib/agent.js:326:7) at DtlsClientSocket.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/lib/agent.js:95:14) at emitOne (events.js:77:13) at DtlsClientSocket.emit (events.js:169:7) at readableAddChunk (_stream_readable.js:153:18) at DtlsClientSocket.Readable.push (_stream_readable.js:111:10) at DtlsClientSocket._onMessage (/home/pi/pimatic-app/node_modules/pimatic-tradfri/node_modules/tradfri-coapdtls/node_modules/node-mbed-dtls/client_socket.js:89:12) at emitTwo (events.js:87:13) at Socket.emit (events.js:172:7) at UDP.onMessage (dgram.js:506:8) This is most probably a bug in pimatic or in a module, please report it!
Pimatic is not more able to operate the bulbs…
-
Version 1.2.42