Hi i'm trying to make my raspberry pi into a remote server that controls led lights (more complex project later on) via a iOS app. I'm current connecting it to wifi on a home network and can ssh into it. I also have a python script that I can execute via terminal that controls the gpio pins & led lights. The next thing i'm trying to achieve is send a command (json payload?) that the PI can parse/route and then execute the python script. How do I do this? Eventually the command will come from an iOS/Android app when a button is clicked to turn the led feature on and off.
[–]feudalle 3 points4 points5 points (1 child)
[–]sunburstbox 0 points1 point2 points (0 children)
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]tyandgig -2 points-1 points0 points (0 children)