Hello @WinterNite ,
It would be very difficult to give you advice on which direction you should take because your question wasn’t specific enough.
If, for example, you wanted to control hardware devices by creating a webpage, you may want to look into Arduino hardware. In particular, SparkFun has an Inventor’s Kit that’s a good start. If you want to create a webpage, you may want to watch Mosh’s recently released (free) HTML Tutorial for Beginners.
However, if you just want to be able to turn on or off devices at home, you could just go on Amazon.com and search for “home automation plugs”. Some are Alexa, Google, or IFTTT compatible. These are very simple to set up.
So, it’s clear that the question is: What language should you start learning?
But first, it’s important to profoundly think about what you’d like to build. What is your concrete (have a few examples) short-term goal? What are your long-term goals? Once you answer these questions, you’ll be in a better position to get advice on what languages you should learn.
I wish you the best of luck.