-
Arduino running
main-weather.ino
from this repo. -
Linux machine (Raspberry Pi Model 1 in my case).
-
Compile the http server with
make
at./server/darkhttpd
, this is a fork from darkhttpd by emikulic. -
Run
nohup python3 logger.py &
to start the logger in the background. -
Run
(./darkhttpd ./public_index/ --port 8081 &)
to start the server and serve onlocalhost:8081
. -
Optional: run Ngrok with
./ngrok http 8081
to expose the server, or use whatever you prefer.
The logger will try and choose between a serial port from windows or unix-like systems, if this fails, you will get an error message. Fix the port yourself.