Sartronics IoT-Master

IKEA Trådfri products

IKEA Trådfri (wireless) products use the standard IoT protocols hence it is possible to interact with these devices. However they are proprietary devices that have some of their own custom codes. Hence a few special configuration must be set up to use their devices.

 

Communication to their devices is via a gateway device. They supply a suitable gateway device that works with their range of wireless devices. The gateway use TLS (DTLS) encryption that uses a unique key code printed on the bottom of their gateway devices. This key is used to generate encryption keys. Once this process has been established their device can be monitored and controlled.

 

Note that these devices do not support standard discovery. IoT manager's auto discovery feature will not find these devices. Also they do not support the observe update feature. Thus to determine the state of a device they have to be polled. This means it may take up to a minute before the new status is reflected on the IoT manager.

 

 

Gateway IP Address

To establish communication the IP address of the gateway device must be determined. This involves inspecting the list of devices connected to the home or office router. This guide may help to achieve this. Once the IP address has been figured out it can be assumed that it will maintain the same address as long as gateway and the router remains powered up. Normally the IP address will persist even after repowered.

 

 

Device Settings

Open the IoT Manager's new device setting .

Enter a name which can be anything. In this example it is this example "IKEA Gateway".

Enter the IP address of your gateway device. It this case it is 192.168.100, but yours will likely be different.

Select the TLS option and enter the gateway key as seen on the bottom of the gateway device. Also enter the ID "Client identity" exactly as seen here with the capital 'C' and '_' characters.

 

Check that 'Use IPSO identifiers' is selected then press enter. This should then establish a connection to the gateway device.

These devices then generate a new internal key bound to the same IP of the computer running the IoT Manager. This new internal key is henceforth always used.

 

 

Lights

To set a Trådfri light control choose  from the device menu. Select new control. The node drop down list will show all of the device gateway capabilities. The Light is at the bottom of the list and is merely represented as one of the wireless devices registered with the gateway. It has a number starting from 65536.

 

 

In this case 65536 happens to be a remote light switch device. Note that the switch device has no useful properties to control or monitor. It is 65537 that is the wireless light. Choose this as the node. Specify a name and set the Type to Light.

 

 

 

To control the brightness create another control and also choose the same node but this time set light brightness type instead.

 

Back to overview