Skip to content

Extending nodejs-poolcontroller to additional physical hardware

Notifications You must be signed in to change notification settings

tagyoureit/poolcontroller-manager

Repository files navigation

poolcontroller-manager - Version 2.0.0

Overview

This is v2 of pool controller manager. It reads Atlas Scientific pH and ORP sensors, monitors the acid tanks, controllers stenner pumps, and read the PSI of the filter.

It communicates with nodejs-poolController 6.0+ to receive chemController updates (pHSetpoint, orpSetpoint, temps, etc) and posts status updates back to the app. It will also adjust the chlorinator higher/lower based on the ORP setpoint.

Instructions

Start the app once then kill it. Then edit config.json.

"poolController": {
        "protocol": "http://",
        "server": "10.0.0.170",
        "port": 4200
    },
    "devices": {
        "orpProbe": {
            "address": "0x62",
            "delay": 1500
        },
        "phProbe": {
            "address": "0x63",
            "delay": 1500
        },
        "tank1": {
            "sensorAddress": 21,
            "pumpAddress": 23,
            "type": "pH"
        },
        "tank2": {
            "sensorAddress": 22,
            "pumpAddress": 25,
            "type": "orp"
        }
    },

Devices used in this project

  1. Non contact liquid level sensor - These seem great but are hard to get to have a good seal on a round tank. I replaced one faulty one and on my current two tanks one works flawlessly and the other works ~50% of the time. There might be better options out there.
  2. 2x Stenner Pumps and 15 gallon tanks - These have been rock solid. I originally used one tank for chlorine and one for muriatic acid but my chlorinator negates the need for chlorine most of the year so both are acid tanks now.
  3. ADS1115 ADC - Used to read from the digital pressure sensor. Can also be used for temperature probes.
  4. 5v Pressure transducer - to read PSI from the tank. You'll need a few connectors to put this inline with your tank.
  5. Atlas Scientific ph probe, ph ezo circuit chip, orp sensor, orp ezo circuit chip, and whitebox tentacle shield and wire extenders, connectors, etc as necessary.
  6. Generic 5v relays to turn on power to the stenner pumps

Futures:

  • Support dynamic configs for users that don't have some/all (or additional) equipment

Credit for v1+

  1. Richard Sears at Hackster.io and Github/@rjsears. He has been an inspiration and my Python modules are modeled after his.
  2. @johnny2678 who has been there (in the chat rooms) with me planning and leaning
  3. TroubleFreePool.com and their Pool Calculator are some of the absolute best resources on the internet for pool knowledge.

About

Extending nodejs-poolcontroller to additional physical hardware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published