Losing connection?

I made a macro to start my Dune media player and the Samsung TV. The strange thing is that when I want to use this macro after a while, nothing happens. When I then use the button for the start of the Dune in the macro, it turns on properly. Closing then goes well. If I start the macro again, the Dune turns on properly. It seems like if I don’t use the remote control for a while the connection is gone so the macro doesn’t do what it’s supposed to do.

I use the Dune and TV via ip (not ir)

Does somebody knows how I can fix this?

As we discussed over WhatsApp chat, the Operating system of Android often disconnects the connection with Haptique. We can’t do anything here. Use Infrared to start the TV so it reconnects with Haptique.