[REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Posted: Thursday 27 April 2017 13:25
Ikea have just recently released an inexpensive app-controlled network-attached home automation hub which will serve as a Gateway to control its new "Trådfri" (Tradfri) series of affordable smart lights / lightbulbs, switches / remotes, and sensors, (endpoint devices/sensors in turn so far all uses ZigBee based protocols). These products was released on the 31st of March 2017 in selected countries around the world.
https://www.cnet.com/news/ikeas-rolling ... me-lineup/
http://www.ikea.com/gb/en/products/ligh ... -lighting/
http://www.ikea.com/us/en/catalog/categ ... ing/36812/
Anyway, some clever developers have already figued out how to comminicate with the gateway using encrypted CoAP (Constrained Application Protocol) with LwM2M IPSO provide common object model and have since developed this open source Python library to make implementations easier. Hopefully some interested Domoticz developers will be able to use this to create a Python plugin for Domoticz:
https://github.com/ggravlingen/pytradfri
PS: By the way, "Trådfri" means 'wireless' in Swedish, and Ikea have so far announced this very aggresivly low-priced network-attached (Ethernet) "Ikea Trådfri Gateway" home automation hub in their "Tradfri" series, as well as a wireless Motion Sensor Kit (that have integrated light sensor too), a wireless Dimmer Remote (which is accelerator-based), a wireless multi-switch remote, and several smart light bulbs of different formats and even a few unique panel lights. All these products will then be released in most other contries worldwide too as Ikea steps up manufacturing (and irons our the initial software bugs I guess).
http://www.ikea.com/ms/en_US/img/buying ... APRIL1.pdf
Also interesting is thaty it just so happens that the current firmware of Ikea Trådfri Gateway is also compatible with Philips Hue lightbulbs (which are also ZigBee based), and while not confirmed the Ikea Trådfri Gateway might also be compatible with other ZigBee Alliance certified products (such as example Samsung SmartThings, OSRAM Lightify, and Iris by Lowe's, and perhaps even non-certified ZigBee devices as those from Xiaomi), so this Ikea Trådfri Gateway has the potential of becoming a cheap ZigBee gateway/hub for some very cheap sensors and devices.
Ikea had already leaked news about this upcoming gateway/hub more than 6-months ago, during the summer or 2016, and at that time they also revealved that they will use ZigBee and keep validated access to the gateway/hub as open as possible, and aim to be compatible with other ZigBee Alliance certified products, as well as in the future officially provide an open API and/or SDK for the Ikea Trådfri Gatewat network-attached home automation hub.
Reason why I think that this being interested to many people is Ikea's aggresive pricing might them the first to make two-way communication home automation really affordable for almost everyone while still following all the electrical safety and wireless communications regulations in all countries, as they are today well known to have very low prices yet good manufacturing quality items.
Much more detailed development information regarding is available here:
https://github.com/bwssytems/ha-bridge/issues/570
PS: There is already a generic thread about Ikea "TRÅDFRI" smart lights series here but it discusses all general aspects and not specifically a Python script for the Gateway:
https://www.domoticz.com/forum/viewtopi ... 56&t=13882
https://www.cnet.com/news/ikeas-rolling ... me-lineup/
http://www.ikea.com/gb/en/products/ligh ... -lighting/
http://www.ikea.com/us/en/catalog/categ ... ing/36812/
Anyway, some clever developers have already figued out how to comminicate with the gateway using encrypted CoAP (Constrained Application Protocol) with LwM2M IPSO provide common object model and have since developed this open source Python library to make implementations easier. Hopefully some interested Domoticz developers will be able to use this to create a Python plugin for Domoticz:
https://github.com/ggravlingen/pytradfri
PS: By the way, "Trådfri" means 'wireless' in Swedish, and Ikea have so far announced this very aggresivly low-priced network-attached (Ethernet) "Ikea Trådfri Gateway" home automation hub in their "Tradfri" series, as well as a wireless Motion Sensor Kit (that have integrated light sensor too), a wireless Dimmer Remote (which is accelerator-based), a wireless multi-switch remote, and several smart light bulbs of different formats and even a few unique panel lights. All these products will then be released in most other contries worldwide too as Ikea steps up manufacturing (and irons our the initial software bugs I guess).
http://www.ikea.com/ms/en_US/img/buying ... APRIL1.pdf
Also interesting is thaty it just so happens that the current firmware of Ikea Trådfri Gateway is also compatible with Philips Hue lightbulbs (which are also ZigBee based), and while not confirmed the Ikea Trådfri Gateway might also be compatible with other ZigBee Alliance certified products (such as example Samsung SmartThings, OSRAM Lightify, and Iris by Lowe's, and perhaps even non-certified ZigBee devices as those from Xiaomi), so this Ikea Trådfri Gateway has the potential of becoming a cheap ZigBee gateway/hub for some very cheap sensors and devices.
Ikea had already leaked news about this upcoming gateway/hub more than 6-months ago, during the summer or 2016, and at that time they also revealved that they will use ZigBee and keep validated access to the gateway/hub as open as possible, and aim to be compatible with other ZigBee Alliance certified products, as well as in the future officially provide an open API and/or SDK for the Ikea Trådfri Gatewat network-attached home automation hub.
Reason why I think that this being interested to many people is Ikea's aggresive pricing might them the first to make two-way communication home automation really affordable for almost everyone while still following all the electrical safety and wireless communications regulations in all countries, as they are today well known to have very low prices yet good manufacturing quality items.
Much more detailed development information regarding is available here:
https://github.com/bwssytems/ha-bridge/issues/570
PS: There is already a generic thread about Ikea "TRÅDFRI" smart lights series here but it discusses all general aspects and not specifically a Python script for the Gateway:
https://www.domoticz.com/forum/viewtopi ... 56&t=13882