tagyoureit on master
Minor code cleanup (compare)
rstrouse on master
Fixed issue where Nixie pump ci… (compare)
rstrouse on master
An exception is being thrown wh… (compare)
rstrouse on master
More testing for pump states. (compare)
rstrouse on master
Checking the state output for p… (compare)
tagyoureit on master
Chem pH demand will only use sp… (compare)
I've got everything 90% working in Home Assistant: MQTT messages controlling "on/off" switches are working great and updating perfectly.
However the pool heater control doesn't seem to be working for me. I tried posting to the Home Assistant forums with no luck yet, so thought I might ask if anyone here has any insight. Here's the snippet of code, which shows up great in Home Assistant, but toggling the heat mode from "off" to "heat" has no effect, and I don't see anything messages show up in MQTT Explorer when I toggle.
Any hints or suggestions on what I might look at?
climate:
platform: mqtt
name: "Pool Heat"
min_temp: 40
max_temp: 104
modes:
"off"
"heat"
current_temperature_topic: easytouch2-8/state/temps/bodies/1/pool/temp
value_template: "{{ value_json.temp }}"
mode_state_topic: easytouch2-8/state/temps/bodies/1/pool/heatMode
mode_state_template: "{{ value_json['heatMode']['val'] }}"
I had nodejs-poolController and nodejs-poolController-WebClient running based on the wiki. It was slow starting up so I tried tagyoureit suggestions but now I can't get any nodejs apps running. In the wiki, the NODE_ENV variable is null but tagyoureit had it set to production. I tried both ways without success.
`module.exports = {
apps: [
{
"name": "poolController",
"script": "dist/app.js",
"args": [
],
"cwd": "/home/openhabian/nodejs-poolController",
"autorestart": false,
"restart_delay": 10000,
"env": {
"NODE_ENV": ""
},
"watch": true,
"ignore_watch": ["data", "config.json", "node_modules", "logs", "dist", "replay", ".cache"],
"listen_timeout": 60000
},
{
"name": "poolController-webClient",
"script": "dist/Server.js",
"args": [
],
"cwd": "/home/openhabian/nodejs-poolController-webClient",
"autorestart": false,
"restart_delay": 10000,
"env": {
"NODE_ENV": ""
},
"watch": true,
"ignore_watch": ["node_modules", "config.json", "src", "dist", ".cache"]
}
],
deploy : {
production : {
user : 'SSH_USERNAME',
host : 'SSH_HOSTMACHINE',
ref : 'origin/master',
repo : 'GIT_REPOSITORY',
path : 'DESTINATION_PATH',
'pre-deploy-local': '',
'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production',
'pre-setup': ''
}
}
};`