I have a pant tilt hat and would like to use it via a website with up down left and right buttons.
How could I make this doable via a website and python, I’m new to iot But I know HTML and css era well and would like to know: how to set up a web server and how to interface it with python?
Thanks
Using the Flask framework would probably be the easiest way to do it. It is very light-weight and should be easy if you already know Python, HTML, and CSS.
You can probably adapt my STS-Pilot software for this purpose. It was designed for the explorer hat, but it should not be that difficult to adapt it for PAN / TILT.
It uses flask as web framework and gevent as web server. Works with both native Pi camera or UVC compatible USB cameras.