Hi All,
I have bought 2 Ikea Tradfri bulbs and 1 Tradfri E1810 remote.
I manged to connect them with zigbee2mqtt to Domoticz.
I now want to control the bulbs with json commands.
I allready have the on/off command as:http://xxx.xxx.x.xx:8080/json.htm?type= ... tchcmd=Off
Can anybody help me with the complete list of json commands to change colour, dim, brightness and so on?
Any help is greatly appriciated.
jan
Controlling Ikea Tradfri Topic is solved
Moderator: leecollings
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Controlling Ikea Tradfri
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Controlling Ikea Tradfri
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Controlling Ikea Tradfri
Hi Waaren,
Thnx for you reply but...
2020-10-26 21:31:49.054 Error: Error opening url: http://192.168.2.16:8080/json.htm?type=command¶m= switchlight&idx=45&switchcmd=Set%20Level&level=6
Thnx for you reply but...
2020-10-26 21:31:49.054 Error: Error opening url: http://192.168.2.16:8080/json.htm?type=command¶m= switchlight&idx=45&switchcmd=Set%20Level&level=6
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Controlling Ikea Tradfri
Can you please give a bit more context? From where do you enter this command and what is the type of the device with id = 45? What do see when you enter this in the address line of a browser or from the command line using curl?JuanUil wrote: ↑Monday 26 October 2020 21:34 2020-10-26 21:31:49.054 Error: Error opening url: http://192.168.2.16:8080/json.htm?type=command¶m= switchlight&idx=45&switchcmd=Set%20Level&level=6
Can you access your system without password?
If I enter http://192.168.192.115:8084/json.htm?ty ... el&level=6 in my browser it works as expected on my RGBW dimmer device (id 73) on my test system.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Controlling Ikea Tradfri
Hi Waaren,
sorry for my late response but it became to late for me last night. I starty work at 6 in the morning.
Today I have seen that I had a space in the command and therefore it didn't work.
After deleting the space all is working well.
any idea how to set the color temperature?
I now have:
http://192.168.2.16:8080/json.htm?type= ... level=3500
but that is not working
Thnx for the help!
greetz
Jan
sorry for my late response but it became to late for me last night. I starty work at 6 in the morning.
Today I have seen that I had a space in the command and therefore it didn't work.
After deleting the space all is working well.
any idea how to set the color temperature?
I now have:
http://192.168.2.16:8080/json.htm?type= ... level=3500
but that is not working
Thnx for the help!
greetz
Jan
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Controlling Ikea Tradfri
I would like to set the bulb to warm white but can't get it right
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Controlling Ikea Tradfri
I got below API call from the same wiki page as I posted earlier in this topic. Does that work on the IKEA bulbs ?
http://192.168.2.16:8080/json.htm?type ... kelvin=100
// Range of kelvin parameter: 0..100, 0 is coldest, 100 is warmest
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Controlling Ikea Tradfri
Hi Waaren,
Thnx again. I have gone for:
/json.htm?type=command¶m=setcolbrightnessvalue&idx=130&color={"m":3,"t":0,"r":0,"g":0,"b":50,"cw":0,"ww":0}&brightness=100
And it is working like charm.
Regards
Jan
Thnx again. I have gone for:
/json.htm?type=command¶m=setcolbrightnessvalue&idx=130&color={"m":3,"t":0,"r":0,"g":0,"b":50,"cw":0,"ww":0}&brightness=100
And it is working like charm.
Regards
Jan
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Who is online
Users browsing this forum: No registered users and 1 guest