basilfx / TRADFRI-Hacking

Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.
646 stars 64 forks source link

Status of wireless peripheral support? #32

Closed gnbl closed 3 years ago

gnbl commented 4 years ago

Is there any information about the support of the wireless functions (Zigbee for Tradfri, but BLE and others seem to be supported by EFR32MG1 as well) by your efforts (https://github.com/RIOT-OS/RIOT/blob/master/boards/ikea-tradfri/doc.txt) or the RIOT project in general?


Maybe you could add some info to https://github.com/basilfx/TRADFRI-Hacking#custom-firmware (toolchain, debugger hardware, SDKs etc)?

basilfx commented 4 years ago

There is some work done on the radio driver for the EFR32 for RIOT-OS: https://github.com/RIOT-OS/RIOT/pull/9212. It's based on RAILlib, that I presume is also used for the original firmware.

gnbl commented 4 years ago

Thanks. That effort appears to have "died", so effectively there is no Tradfri radio support for RIOT and the hardware can only be used with the ARM MCU core.


https://docs.silabs.com/rail/latest/api-index

kaibeckmann commented 4 years ago

Thanks. That effort appears to have "died", so effectively there is no Tradfri radio support for RIOT and the hardware can only be used with the ARM MCU core.

It's not completely dead. If you want to try it, I can rebase it to the current RIOT version. But be aware, there is one very annoying and persistent bug with the 6LoWPAN fragmentation...

We also have a "version" for the NimBLE support of RIOT in a private repo, but currently no resources to bring it upstream to RIOT.

gnbl commented 4 years ago

Thanks for the offer, but no need - unless there's an easy-to-use toolchain or a project to reuse the tradfri remotes as BLE controllers (Simplicity Studio code examples or generator), this is currently too involved for me. I think this project's readme should point out that the hacking is somewhat limited.