Lets say I want to control the lighting of my house via my phone, which language would I need to learn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Lets say I want to control the lighting of my house via my phone, which language would I need to learn?

7th Jun 2019, 7:38 AM
Sudarshan Rai
Sudarshan Rai - avatar
4 Answers
+ 6
You need to build electronic digital to relay output board to control power on off of the lighting first. Use a Arduino or Raspberry, write C++ or Python programs to control on off signal of the IO port, connect the its output port to the relay input port. Connect the raspberry to internet by using network router using wifi or cap5 network cable. Install nodejs in Raspberry, use Express to build a rest api server, and save data update for the python code. Write a light control button app program in java/kotlin or react native that communicate with the Raspberry resp api server.
7th Jun 2019, 8:53 AM
Calviղ
Calviղ - avatar
+ 4
use body language or an emp. lmao
7th Jun 2019, 7:55 AM
Farry
Farry - avatar
+ 2
you can use a rassberypi (python) to controll it i think
7th Jun 2019, 7:50 AM
Cat Sauce
Cat Sauce - avatar
0
Calviղ I want to be your apprentice xD
23rd Jun 2019, 5:15 PM
Orlando Labrador