News for hackers. Stuff that matters.
Re:Ask HN: Best way to input data to a RasPi, from browsers ... by Petrakis on Thursday April 19, 2018 @07:37AM (#16874979)
Re:Ask HN: Best way to input data to a RasPi, from browsers ... by terrantech on Thursday April 19, 2018 @07:47AM (#16875032)
I thought about doing an API, but is that really the easiest way to run a single command and get a single input? Seems like overkill.
Re:Ask HN: Best way to input data to a RasPi, from browsers ... by Petrakis on Thursday April 19, 2018 @07:58AM (#16875081)
Then Websockets. There are few python implementations of websockets module, this is one of them https://pypi.org/project/websockets/