Homeseer Setup Instructions - tagyoureit/nodejs-poolController GitHub Wiki

These instructions provided courtesy of @miamijerry

Enable MQTT

Configure the following items under interfaces in config.json.

Open terminal and paste

nano /home/pi/nodejs-poolController/config.json

 "mqtt": {
     "name": "MQTT",
     "type": "mqtt",
     "enabled": true,
     "fileName": "mqtt.json",
     "globals": {},
     "options": {
         "protocol": "mqtt://",
         "host": "your.ip.address.here",
         "port": 1883,
         "username": "",
         "password": "",
         "rootTopic": "pool",
         "retain": true,
         "qos": 0
        }
    }

Notes, change the following three items;

  • “true” enables MQTT client in poolController.
  • Host “IP” is the IP address of the MQTT broker ie. mcsMQTT,
  • RootTopic “pool” is used to sort mqtt topics.

PUT and MQTT Commands

NOTES – BE CAREFUL “ QUOTATION MARKS DO NOT COPY AND PASTE CORRECTLY FROM WORD TO mcsMQTT !!!

RETYPE THE QUATION MARKS IN mcsMQTT

Homeseer mcsMQTT plugin download links:

HS Device MQTT Subscribed Topic HS Device Published Topic Published Payload Template PUT

Pool

1

pool/state/circuits/6/pool:isOn

Payload off=0;off VSP

Payload on=1;on VSP

pool/state/circuits/setState {“id”:6,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:6,”state”:true}

Pool Heat Mode

2

pool/state/temps/bodies/1/pool/heatMode:heatMode:desc

Gas Heater VSP values

Off=1;Off

Heater=2;Enable

Solar VSP values

Off=1;Off

Heater=3;Enable

pool/state/body/heatMode {“id”:1, “heatMode”:$$VALUE:} PUT /state/body/heatMode {“id”:1,”mode”:1}

Spa Heat Mode

3

pool/state/temps/bodies/2/spa/heatMode:heatMode:desc

Gas Heater VSP values

Off=1;Off

Heater=2;Enable

Solar VSP values

Off=1;Off

Heater=3;Enable

pool/state/body/heatMode {“id”:2,”heatMode”:$$VALUE:} PUT /state/body/heatMode {“id”:2,”mode”:1}

Air Temp

4

pool/state/temps/air:temp Display Only

Pool Temp

5

pool/state/temps/bodies/1/pool/temp:temp Display only

Spa Temp

6

pool/state/temps/bodies/2/spa/temp:temp Display only

Pool Setpoint

7

pool/state/temps/bodies/1/pool/setPoint:setPoint pool/state/body/setPoint {“id”:1,”setPoint”:$$VALUE:} PUT /state/body/setPoint {“id”:1,”setPoint”:76}

Spa Setpoint

8

pool/state/temps/bodies/2/spa/setPoint:setPoint pool/state/body/setPoint {“id”:2,”setPoint”:$$VALUE:} PUT /state/body/setPoint {“id”:2,”setPoint”:71}

Heat Status Pool

9

pool/state/temps/bodies/1/pool/heatStatus:heatStatus:desc Display only

Heat Status Spa

9.1

pool/state/temps/bodies/2/spa/heatStatus:heatStatus:desc Display only

Spa

10

pool/state/circuits/1/spa:isOn pool/state/circuits/setState {“id”:1,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:1,”state”:true}

Aux 1

11

pool/state/circuits/2/aux1:isOn pool/state/circuits/setState {“id”:2,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:2,”state”:true}

Aux 2

12

pool/state/circuits/3/aux2:isOn pool/state/circuits/setState {“id”:3,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:3,”state”:true}

Aux 3

13

pool/state/circuits/4/aux3:isOn pool/state/circuits/setState {“id”:4,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:4,”state”:true}

Aux 4

14

pool/state/circuits/5/aux4:isOn pool/state/circuits/setState {“id”:5,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:5,”state”:true}

Aux 5

15

pool/state/circuits/7/aux5:isOn pool/state/circuits/setState {“id”:7, “isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:7,”state”:true}

Aux6

16

pool/state/circuits/8/aux6:isOn pool/state/circuits/setState {“id”:8,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:8,”state”:true}

Aux7

17

pool/state/circuits/9/aux7:isOn pool/state/circuits/setState {“id”:9,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:9,”state”:true}
New Equipment - IntelliCenter

Aux 8

Intellicenter

pool/state/circuits/10/aux8:isOn pool/state/circuits/setState {"id":10,"isOn":"$$LABEL:"}

Aux 9

Intellicenter

pool/state/circuits/11/aux9:isOn pool/state/circuits/setState {“id”:11,”isOn”:”$$LABEL:”}
New Equipment - IntelliCenter

Feature 1

Intellicenter

pool/state/features/129/feature1:isOn pool/state/features/setState {"id":129,"isOn":"$$LABEL:"}

Feature 2

Intellicenter

pool/state/features/130/feature2:isOn pool/state/features/setState {"id":130,"isOn":"$$LABEL:"}

Feature 3

Intellicenter

pool/state/features/131/feature3:isOn pool/state/features/setState {"id":131,"isOn":"$$LABEL:"}

Feature 4

Intellicenter

pool/state/features/132/feature4:isOn pool/state/features/setState {"id":132,"isOn":"$$LABEL:"}

Feature 5

Intellicenter

pool/state/features/133/feature5:isOn pool/state/features/setState {"id":133,"isOn":"$$LABEL:"}

Feature 6

Intellicenter

pool/state/features/134/feature6:isOn pool/state/features/setState {"id":134,"isOn":"$$LABEL:"}

Feature 7

Intellicenter

pool/state/features/135/feature7:isOn pool/state/features/setState {"id":135,"isOn":"$$LABEL:"}

Feature 8

Intellicenter

pool/state/features/136/feature8:isOn pool/state/features/setState {"id":136,"isOn":"$$LABEL:"}

Feature 9

Intellicenter

pool/state/features/137/feature9:isOn pool/state/features/setState {"id":137,"isOn":"$$LABEL:"}
Original Equipment - EasyTouch

Feature 1

EasyTouch

18

pool/state/features/11/feature1:isOn pool/state/features/setState {“id”:11,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:11,”state”:true}

Feature 2

19

pool/state/features/12/feature2:isOn pool/state/features/setState {“id”:12,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:12,”state”:true}

Feature 3

20

pool/state/features/13/feature3:isOn pool/state/features/setState {“id”:13,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:13,”state”:true}

Feature 4

21

pool/state/features/14/feature4:isOn pool/state/features/setState {“id”:14,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:14,”state”:true}

Feature 5

22

pool/state/features/15/feature5:isOn pool/state/features/setState {“id”:15, “isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:15,”state”:true}

Feature 6

23

pool/state/features/16/feature6:isOn pool/state/features/setState {“id”:16,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:16,”state”:true}

Feature 7

24

pool/state/features/17/feature7:isOn pool/state/features/setState {“id”:17,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:17,”state”:true}

Feature 8

25

pool/state/features/18/feature8:isOn pool/state/features/setState {“id”:18,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:18,”state”:true}

Aux Extra

26

pool/state/features/20/auxextra:isOn pool/state/features/setState {“id”:20,”isOn”:”$$LABEL:”} PUT /state/circuit/setState {“id”:20,”state”:true}

Salt Level

27

pool/state/chlorinators/1/intellichlor--40/saltLevel:saltLevel Display only

PH Level

28

EasyTouch

pool/state/chemControllers/1/chemcontroller1/alarms/ph:level

IntelliCenter

pool/state/chemControllers/1/intellichem1/pHLevel:pHLevel

Display only

ORP Level

29

EasyTouch

pool/state/chemControllers/1/chemcontroller1/alarms/orp:level

IntelliCenter

pool/state/chemControllers/1/intellichem1/orpLevel:orpLevel

Display only

PH Setpoint

EasyTouch

30

pool/state/chemControllers/1/chemcontroller1/alarms/ph:setpoint pool/state/chemController {"id":1,"ph":{"setpoint":$$VALUE:} PUT /state/chemController {“id”:1,”ph”:{“setpoint”:7.5},”orp”:{“setpoint”:720},”alkalinity”:25,”calciumHardness”:25,”cyanuricAcid”:0,”saturationIndex”:”-1.0”}

PH setpoint

IntelliCenter

pool/state/chemControllers/1/intellichem1/ph/setpoint

or

pool/state/chemControllers/1/intellichem1/pHSetpoint:pHSetpoint

pool/state/chemController {"id":1,"ph":{"setpoint":$$VALUE:}

Orp setpoint

31

EasyTouch

pool/state/chemControllers/1/chemcontroller1/alarms/orp:setpoint

IntelliCenter

pool/state/chemControllers/1/intellichem1/orp/setpoint

or

pool/state/chemControllers/1/intellichem1/orpSetpoint:orpSetpoint

pool/state/chemController {"id":1,"orp":{"setpoint":$$VALUE:} PUT /state/chemController {“id”:1,”ph”:{“setpoint”:7.4},”orp”:{“setpoint”:730},” alkalinity”:25,”calciumHardness”:25,”cyanuricAcid”:0,”saturationIndex”:”-1.0”}

Chlorinator

Pool

Setpoint

32

pool/state/chlorinators/1/intellichlor--40/poolSetpoint:poolSetpoint pool/state/chlorinator {"id":1,"poolSetpoint":$$VALUE:} PUT /state/chlorinator/poolSetpoint {“id”:1,”setPoint”:95}

Chlorinator Spa Setpoint

33

pool/state/chlorinators/1/intellichlor--40/spaSetpoint:spaSetpoint pool/state/chlorinator {"id":1,"spaSetpoint":$$VALUE:} PUT /state/chlorinator/spaSetpoint {“id”:1,”setPoint”:7}

Chlorinator

Current

Output

34

pool/state/chlorinators/1/intellichlor--40/currentOutput:currentOutput Display only

Chlorinator

SuperChlor

35

pool/state/chlorinators/1/intellichlor--40/superChlor:superChlor pool/state/chlorinator {"id":1,"superChlorinate":$$VALUE:} PUT /state/chlorinator/superChlorinate {“id”:1,”superChlorinate”:true}

Chlorinator

Super

ChlorHours

36

pool/state/chlorinators/1/intellichlor--40/superChlorHours:superChlorHours

pool/state/chlorinator

or

pool/config/chlorinator

{"id":1,"superChlorHours":$$VALUE:} PUT /state/chlorinator/superChlorHours {“id”:1,”hours”:2}

Intellibrite

Themes

37

EasyTouch

pool/state/lightgroups/192/intellibrite/lightingTheme:lightingTheme:name

Payload off=0;off VSP
Payload on=1;on VSP
Payload thumper=208;thumper VSP
Payload hold=209;hold VSP
Payload reset=210;reset VSP
Payload mode=211;mode VSP
Payload colorsync=128;colorsync VSP
Payload colorswim=144;colorswim VSP
Payload unknown=254;unknown VSP
Payload colorset=160;colorset VSP
Payload party=177;party VSP
Payload romance=178;romance VSP
Payload carribean=179;carribean VSP
Payload american=180;american VSP
Payload sunset=181;sunset VSP
Payload royal=182;royal VSP
Payload save=190;save VSP
Payload recall=191;recall VSP
Payload blue=193;blue VSP
Payload green=194;green VSP
Payload red=195;red VSP
Payload white=196;white VSP
Payload magenta=197;magenta VSP
Payload none=198;none VSP

IntelliCenter

pool/state/circuits/5/poollight/lightingTheme:lightingTheme:desc

White = 0

Green = 1

Blue = 2

Magenta = 3

Red = 4

Sam mode = 5

Party = 6

Romance = 7

Carribean = 8

American = 9

Sunset = 10

Royal = 11

pool/state/circuit/setTheme

EasyTouch

{“id”:192,”theme”:$$VALUE:}

IntelliCenter

{“id”:5,”theme”:$$VALUE:}

EasyTouch

PUT /state/circuit/setTheme {“id”:192,”theme”:128}

IntelliCenter

PUT /state/circuit/setTheme {"id":5,"theme":2}

Pump

Watts

38

EasyTouch

pool/state/pumps/1/intelliflovs/watts:watts

IntelliCenter

pool/state/pumps/1/vs/watts:watts

Display only

Pump

RPM

39

EasyTouch

pool/state/pumps/1/intelliflovs/rpm:rpm

IntelliCenter

pool/state/pumps/1/vs/rpm:rpm

Display only
⚠️ **GitHub.com Fallback** ⚠️