overthesun / simoc-sam

Back-end system to support SIMOC Live air quality monitor sensor array as used at the SAM Mars habitat analog.
https://samb2.space/
2 stars 1 forks source link

switch default port to 8081 in all files #37

Closed granawkins closed 2 years ago

granawkins commented 2 years ago

As discussed, SIMOC-SAM should use port 8081 by default so that it works with SIMOC-web, which always uses port 8080.

This essentially does 3 things: 1) the aio server is launched on port 8081 by default (in sioserver.py). 2) the Docker commands use port 8081 by default. Before it was inconsistent. 3) the basesensor listens/broadcasts on port 8081 by default.

All 3 main commands from simoc-sam.py (run-server, run-tmux, test) are working.

One issue/question: for 1) above, there's no way to change the port besides changing the hard-coding on line 161. Do we want add a command-line arg for this?