This client application is for use with nodejs-poolController (an app for controlling Pentair pool equipment).
To use this client, install it as a separate application:
- Download or clone the repository
npm i
to install dependencies- Optional - modify
config.json
:- Hardcode poolController app address. You may need to do this if you are running more than one version on the same network or SSDP broadcasts are being blocked.
The format should be
http://ip:port
. The default port for the main app is 4200. - Change the port where end users will load this client. Default is
8080
.
- Hardcode poolController app address. You may need to do this if you are running more than one version on the same network or SSDP broadcasts are being blocked.
The format should be
- Start the app with
npm start
. Currently, this loads ParcelJS in a development environment and will build the app upon loading. Future versions will include directions for a production build.npm start
will clean out the compiled directories and recompile all files anew. This should be the starting script every time you download/pull a new version. For faster startup times, runnpm run start:cached
to use the existing compiled files.
nodejs-poolController by default will only listen to connections from localhost (127.0.0.1). If you will be running this client on a different machine edit config.json
in the nodejs-poolController app so http/https servers listen on a different interface.