Hi @Russ, thanks for your feedback.
I had already read these articles, but I read them again and I didn't get any progress in the sense that I can turn on my macbook screen by sending a magic packet. I saw in this link that it is possible to turn on the screen using SSH, and I even bought an Android app that sends SSH commands, but since I have no experience with scripts, I couldn't make it work either.
I'm using the WolOn app on Android to send wake-on-lan and SSH commands. I am attaching screenshots of the app to shed light on the problem.