Closed structure7 closed 7 years ago
Maybe add something in status if under "bypass control."
Use of Eventor (new idea): In the app my rule is when K's room gets to 68, set vPin 25 = heatingKK. However, I would need to know what the trigger temperature was. So when I get that call, I could record KK's room temp and use that to produce the desired temperature to shut down.
Pseudo (at the relay device):
bool coolingKK;
double tempKK;
double triggerTempKK;
double targetTempKK;
string callStatus;
int tempSplit = 3; // Predefined value of how much I want to heat or cool above trigger point.
void loop(){
if (runStatus == TRUE && targetTemp >= triggerTemp && heatRelay == CLOSED
void checkTriggers() {
Blynk.syncVirtual(V25);
}
BLYNK_WRITE(V25) {
callStatus = param.asString();
}
if (callStatus == heatingKK){ // Only run this once on trigger.
triggerTempKK = tempKK; // 68
targetTempKK = triggerTempKK + tempSplit; // 73
closeRelayForHeatingKK();}
void closeRelayForHeatingKK(){
heatRelay(CLOSED);
You know, I'm not feeling Eventor. There's a little too much fooling with vPin syncs, etc. Bah!
New idea: One big scrolling menu in app with a giant switch case setup.
Twerks: