Christo976, Dany Schibli,
I had some problem with Power On and Power Off the Sunrise TV Box UHD also. I tried to change flirc_util record_api 48 102 by 47 or 49 but it didn't work.
In fact, the Sunrise box was powering on but I couldn't get any sound or image.
I realised that my A/V receiver (Onkyo TX-NR-535) was bugging the Sunrise Box (especially when powering off). Despite I deactivated all "HDMI through" function of my devices, or even when I activated them, it was still bugging.
My configuration was like that: Sunrise TV Box UHD <-HDMI-> Onkyo <-HDMI-> TV