Closed davthomaspilot closed 3 years ago
Right now, spa is on, not pool. But pool temperature in the device page shows the spa temperature:
I change the action in Echo Speaks to look at pool temperature instead of spa temperature. Now, the EchoSpeaks action says "pool temperature is now 80 degrees"
I think a sendEvent for temperature is needed.
I added this code fragment
if (temps.waterSensor1) {
logger("Water temperature is ${temps.waterSensor1.value}")
sendEvent([name: "temperature", value: temps.waterSensor1.value.toInteger(), unit: state.units, isStateChange:true])
//logger(temps.waterSensor1.value)
}
In Pool Controller Body, parseTemps function. Now, Rules and EchoSpeaks actions get triggered when I do a refresh() (and the trigger criteria is met).
Does the driver poll via an api to get temperatures, or can it get notifications when a parameter of interest changes?
I'm trying to have Hubitat let me know when my spa is hot enough to enjoy.
but the temperature is not correct in the Spa device page:
I set up an action to speak via an Echo:
But it says spa temperature is 55 degrees.