I am trying to setup a NodeJs app that will control my Samsung SmartTv. So far I succeeded in controlling everything except switching it ON. For that I want to use Wake on LAN.
The problem is, when I send the TV the magic packet, the TV doesn't react to it regardless of how I send the packet. I tried wake on lan software, the npm 'wake_on_lan', 'wake-on-lan-node' and 'node-wol' packages.
I'm on a MacBookAir under Mac OS X 10.13.6, and my TV is a 'HG49EE690' which is one of the HotelTv models from 2014 to 2016 with the encryption protocol for remote control via a WebSocket.
I have the TV connected via Ethernet to the same network I am using, and I know from the Samsung's specifications that the TV has Wake on LAN ability.