Ok, so I have the GE plug connected to the Kegerator and the ST Multi in the Kegerator.
I would like to find/write a smartapp that can:
set high temp and low temp for ~5° variance (i.e., 62°–67°) and switch on/off the GE switch
text or notify me if the temperature goes 10° above or below the set temps
for over 60 mins text or notify me if the door is left open
Is there an existing smartapp that could be modified? Where would I find it? If not, I guess i’ll have to learn to create it. FYI - I am a noob coder. Any pointers on where to begin?
This is to control the Kegerator so I can control the temperature for lagering a homemade brew, which require set temps for long periods of time.
Any and all help will be rewarded with a Maibock*.
*must reside in Austin, TX, and delivery not included.
In the developer area there is a SmartApp that could be readily modified to work for your needs. Called Virtual Dehumidifier. I am going to attempt to place the code here. If it doesn’t show for you, go to the developer section and look under green living for VIrtual Dehumidifier.
definition(
name: "Virtual Dehumidifier",
namespace: "My Apps",
author: "Barry Burke",
category: "Green Living",
description: "Turns on a humidifier when humidity gets too high, back off when it reaches the target again.",
iconUrl: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience.png",
iconX2Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png"
)
preferences {
section("Humidity") {
input "humiditySensor", "capability.relativeHumidityMeasurement", title: "Which Sensor?"
input "desiredHumidity", "number", title: "Desired Humidity?"
input "dehumidifierSwitch", "capability.switch", title: "Which Switch?"
}
}
def installed() {
initialize()
}
def updated() {
unsubscribe()
initialize()
}
def initialize() {
subscribe(humiditySensor, "humidity", humidityHandler)
log.debug "Initialized... current humidity is ${humiditySensor.latestValue("humidity")}%, max humidity is ${desiredHumidity*1.05}, dehumidifier is ${dehumidifierSwitch.latestValue( "switch" )}"
dehumidifierSwitch.poll() // Update power display
}
def humidityHandler(evt) {
log.debug "Humidity: $evt.value, $evt"
if (Double.parseDouble(evt.value.replace("%", "")) <= desiredHumidity) {
if ( dehumidifierSwitch.latestValue( "switch" ) != "off" ) {
log.debug "Turning dehumidifier off"
dehumidifierSwitch.off()
}
}
else if (Double.parseDouble(evt.value.replace("%", "")) > desiredHumidity ) {
if ( dehumidifierSwitch.latestValue( "switch" ) != "on" ) {
log.debug "Turning dehumidifier on"
dehumidifierSwitch.on()
}
}
else {
log.debug "Current humidity is ${evt.value}"
}
dehumidifierSwitch.poll() // every time the humidity changes, poll the switch for power updates
}
I know they can be. I am trying to wrap my head around the ST stuff.
Wouldn’t it be better to have single SmartApp that has more functionality built in, then have several working to do one thing (i.e., monitor and control a fridge).
The ST iPhone app is confusing to say the least IMO.
They are working on a rule builder. so that should be coming soon
Soon you’ll be able to build a rule that says if it gets above this temp notify me and turn XYZ Switch. Did you want the app you jsut isntalle to notify you? I can build that in for you.