Smart Tv "The Frame"- switch from from Art mode to HDMI source via eth

I have a Samsung “the Frame” TV that I use inside a hotel. A PC is connected to the television which transmits the images of the rooms. Currently the guys at the reception use the remote control to switch from “art” mode to the HDMI source where the PC is connected. I would like to know how I can automate this process. The ideal would be to send a command via TCP/IP, but how can I proceed? I have seen that there are many possibilities (Tizen, Samsung API, Power Samsung Protocol), but it is not clear to me which is the best (and simplest) way. Can you help me?

Hello,
For Smart TV questions, please log in to TV Seller Office: (Seller2.0), go to the 1:1 Q&A section, and ask a question.