[OBSOLETE] IKEA Tradfri Button -- help needed (DTH in post 36)

Have you seen the thread below? The DH used here from @thegilbertchan seem to be a bit more simple. Maybe it is a bit better starting point?