Skip to content

merliot/prostar

Repository files navigation

ProStar Device

Device for monitoring and controlling Morningstar ProStar PWM solar charge controller.

Demo

Try the live demo. Click the 📥 button to see how to build and deploy a prostar device.

Running on Merliot Hub

A Merliot Hub is the easiest way to run the prostar device.

Run Standalone with Docker

git clone https://github.com/merliot/prostar.git
cd prostar
docker build -t prostar .
docker run -p 8000:8000 prostar

Now the device is now running in a docker container as a web server, listening on port :8000.

Browse to http://<host>:8000 to view and setup the device.

If the docker host is using https://, pass in the environment variable WS_SCHEME=wss://.

docker run -e "WS_SCHEME=wss://" -p 8000:8000 prostar

See full list of environment variables.

Run from Source Code

git clone https://github.com/merliot/prostar.git
cd prostar
PORT_PRIME=8000 go run -tags prime ./cmd

Browse to http://<host>:8000 to view and deploy device.