scruss/ihsctrl: a package of bash scripts to control selected IKEA Home smart (aka “TRÅDFRI”) devices via their network gateway
This is built on stock Raspbian packages, so you don't have to build anything. Older scripts/howtos¹ relied on building a package from source that doesn't seem to be available any more. Controls are currently on/off only. Includes configuration script and hints on successful use with cron. Runs as a regular user; no sudo required (except once, to install the couple of packages it uses).
I wrote this because my old Raspberry Pi/X10 system from 2012 was failing and it was easier/cheaper to replace it with IKEA's system. Runs adequately on a Raspberry Pi Zero W.
¹: such as Controlling IKEA Trådfri Lights from your Pi.