A simple webserver for Arduino IOT
A SSL certificate is needed to run the server. Run the following code to generate the certificate file (filename used in this example: server.pem
):
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
Note for Windows Users:
openssl
is not installed on Windows by default. However, Git for Windows, MSYS2, etc distribute pre-compiled openssl binaries which can be used to generate the certificate.
To start the server:
blinkpie_ser --path "/path/to/ssl_cert"
To start the serial handler:
blinkpie_hdl --port COM2
To display help message:
blinkpie_ser --help
blinkpie_hdl --help
- GUI: https://github.com/jamestansx/blinkpie-gui
- Arduino library: https://github.com/jamestansx/blinkpie-arduino