Jump to content
Flirc Forums

Sunrise TV Box UHD + Logitech Harmony or any universal remote

Recommended Posts


I configured Flirc to control the Sunrise TV Box UHD (Swiss internet provider).

This box is manufactured by Sagemcom (DIW384 UHD) and is controlled by a bluetooth remote.


Below the list of all remote command that I found using the command line function:


Power flirc_util record_api 48 102
red flirc_util record_api 105 102
green flirc_util record_api 106 102
yellow flirc_util record_api 108 102
blue flirc_util record_api 107 102
TV Guide flirc_util record_api 141 102
Back/Cancel flirc_util record_api 70 102
Info flirc_util record_api 149 102
OK flirc_util record_api 65 102
UP flirc_util record_api 66 102
DOWN flirc_util record_api 67 102
LEFT flirc_util record_api 68 102
RIGHT flirc_util record_api 69 102
Recordings flirc_util record_api 153 102
Menu flirc_util record_api 64 102
Volume up flirc_util record_api 233 102
Volume down flirc_util record_api 234 102
Mute flirc_util record_api 226 102
Channel UP flirc_util record_api 156 102
Channel Down flirc_util record_api 157 102
Play/Pause flirc_util record_api 205 102
Fast forward flirc_util record_api 179 102
Fast rewind flirc_util record_api 180 102
REC flirc_util record_api 178 102
Next flirc_util record_api 181 102
Back flirc_util record_api 182 102


The keypad can be programmed using the Flirc application and by simulating a standard keyboard.

Thanks to yawor for his post explaning this function : 

Config for the logitech Harmony HUB

This is the last config I am using now : https://www.dropbox.com/s/mptca2zqjcqvtmd/Sunrise_Flirc.fcfg?dl=0

You can use the config file without learning the commands (they are saved in the flirc config file).

  1. flash your Flirc dongle from the PC or MAC with the config file
  2. Connect the Flirc to the usb port of the sunrise tv box. Make sure that the harmony hub can send the IR signal to Flirc dongle.
  3. Add the sunrise tv box from the harmony application :IMG_9662.jpg.16fa45b544b4014b10612d21a80a44da.jpg
  4. Now you can validate that it works in the next screen from the harmony application :IMG_9663.jpg.25b5fd841f909714ebfb0ea240e01948.jpg



Edited by a.l3881
Add config file and Harmony application config
  • Like 1

Share this post

Link to post
Share on other sites


I thank you very much for sharing your config file!

As I don't have an HID keyboard, I cannot add number 0 to 9 in your config file. Could you add those command line functions?

I thank you in advance!

Share this post

Link to post
Share on other sites


You can import the config file and plug back the flirc to the sunrise UHD box.

The file work for the Logitech Harmony HUB by simulating the old Sunrise TV Box that have the IR remote. 

Share this post

Link to post
Share on other sites


Thanks for the file. Unfortunately some commands are missing. It lacks the STOP, RECORDINGS and the BACK button.

Despite my efforts, Ido not get to bring the keys to run. I hope you get it.

Many thanks

Share this post

Link to post
Share on other sites


There is no stop button on the sunrise remote.

The recordings and back commands work fine in my setup. You can add them to your setup by using the command :

Recordings    flirc_util record_api 153 102

Back/Cancel    flirc_util record_api 70 102


Share this post

Link to post
Share on other sites


Thank you for sharing your work with the community.

Unfortunately it doesn't work for me :-(

  1. I connect my Flirc USB to my computer.
  2. I open the Flirc app. The app upgraded the firmware of the USB key.
  3. I go to the menu File > Load configuration and I select your file "Sunrise_Flirc.fcfg"
  4. The app confirmed "File restored".
  5. I connect the Flirc USB to the Sunrise UHD TV box
  6. I follow your instructions by adding the Sunrise Tv box as new device to my harmony remote
  7. When the Harmony app tries to turn on the device, it doesn't work. I checked that one of the IR emitter of the Harmony Hub is placed in front of the Flirc USB.

But it doesn't work.....very frustating

Did I forgot something ?

Thank you in advance for your help.


Edited by Christo976

Share this post

Link to post
Share on other sites

Hi Christo976,

You can test adding the command using : flirc_util record_api 48 102

Zwickel found that the command can be different for the recording. I don't know if there is difference in the Sunrise UHD TV box soft.

You can try replacing the command 48 by the numbers next to it.

Share this post

Link to post
Share on other sites

Bonjour a.l3881 !

Merci beaucoup pour ces informations !
Je suis comme Christo976. J'ai fait toutes les étapes de l'installation. Mais rien ne se passe, la TV Box ne s'allume pas.

J'utilise une Harmony 650, sans HUB.

Google translate :

Hello a.l3881 !

Thank you for this information !
I'm like Christo976. I did all the steps of the installation. But nothing happens, the TV Box does not turn on.

I use a Harmony 650, without HUB

Share this post

Link to post
Share on other sites

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

I changed like that now: Sunrise TV Box UHD <-HDMI-> TV <-Optical-> Onkyo. So for now it works. But I don't know if I could get Dolby Sourround or DTS sound in that configuration.


All this to say to check your A/V receiver if you have one and make some trials by bypassing it.

Share this post

Link to post
Share on other sites


The power command woks for my config but I keep the sunrise TV BOX always ON and switch OFF only the TV when I end the Sunrise activity in the Harmony config.

I use this config because my TV and the the sunrise TV BOX are sometime desynchronized (one is ON and the other is OFF) when the activity start or end.

So if the others commands works, you can just switch ON the sunrise TV BOX with the sunrise remote and keep it always ON. 

Share this post

Link to post
Share on other sites

I tried to power off only my TV and my A/V receiver but as soon as I power on them, I lost the image on my Sunrise TV Box UHD. I don't why, my A/V receiver sends a signal to my Sunrise box and my TV despite I deactivated this kind of feature.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now