{"deviceReplacements":{"612":{"deviceName":"NAMain.70:ee:50:2e:9b:88","deviceLabel":"Indoors","deviceTypeName":"Netatmo Basestation","deviceTypeNamespace":"fuzzysb"},"618":{"deviceName":"Power Grid on Kilsyth Villa","deviceLabel":"Power Grid","deviceTypeName":"Virtual Presence","deviceTypeNamespace":"hubitat"},"484":{"deviceName":"Derek's iPhone - HE on Kilsyth Villa","deviceLabel":"Derek's iPhone - HE","deviceTypeName":"Mobile App Device","deviceTypeNamespace":"hubitat"},"617":{"deviceName":"Netatmo Weather Station on Kilsyth Villa","deviceLabel":"Netatmo Weather Station","deviceTypeName":"Generic Zigbee Outlet","deviceTypeNamespace":"hubitat"}},"appReplacements":{"386":{"appTypeName":"Rule-5.0","appTypeNamespace":"hubitat","appType":"sys","appName":"Rule-5.0","appLabel":"Netatmo Weather Station - Offline Recovery","parentAppInstalledAppId":"55","parentAppTypeName":"Rule Machine","parentAppTypeNamespace":"hubitat","parentAppName":"Rule Machine","parentAppLabel":"Rule Machine","childApps":{},"singleInstance":false}},"appData":{"386":{"state":{"parens":{"0":0,"1":0},"actionDone":true,"ndx":18,"nestedBlock":[false],"installedRules":[{"238":"HVAC - Downstairs AC - Night Mode - Off"},{"240":"HVAC - Downstairs AC - Vacation Mode - Off"},{"127":"Security - Set Ring Mode"},{"347":"_Hub Memory Low - Reboot"},{"319":"_Power Outage Detection & Shutdown"}],"clonedName":"Netatmo Weather Station - Offline Recovery","hasRuleAct":false,"selectActionsParams":{"label":"Netatmo Weather Station - Offline Recovery"},"editCondIf":null,"waitDone":{".11":{"3":true}},"usesTime":false,"insertN":0,"nestedIf":[false],"inIf":null,"trigCustoms":["lastupdate"],"repeating":null,"capabDone":true,"skipping":false,"lastEvtName":"Indoors","locationBlocked":[],"inRepIf":null,"ruleNdx":3,"actionList":["1","11","2","4","12","7"],"firstR":{"0":true,"1":false},"timeTriggers":[],"locVars":{},"allVarsO":[],"actLabelIndent":"","certainTimes":[],"allVarsS":[],"allVarsT":[],"prevState":{"PB":"true","367":"2:04 PM","612":"10:30 AM","1583":"closed","618":"present","619":null,"719":"present"},"blockIf":false,"eval":{"0":[],"1":[3]},"lastEvtText":null,"capabstrue":{"2":{},"13":{},"15":{},"17":"Indoors reports lastupdate(3:08 PM) *changed*","-3":{},"18":{},"9":{}},"installedCapabs":["CarbonDioxideMeasurement","Variable","Configuration","RelativeHumidityMeasurement","HealthCheck","VoltageMeasurement","Initialize","Notification","ReleasableButton","Refresh","PowerSource","SwitchLevel","SoundSensor","MotionSensor","Light","Battery","Outlet","Telnet","Actuator","PresenceSensor","Polling","Thermostat","SoundPressureLevel","PushableButton","ChangeLevel","PowerMeter","TemperatureMeasurement","Switch","IlluminanceMeasurement","Sensor"],"nestedSkipAll":[true],"skipType":"if","lastEvtDate":"20-Jul-2022","parenLev":0,"nestedInIf":[],"actions":{"11":{"wait":[3],"delay":"0:35:00","modes":{},"method":"getWaitEvents","indent":"\\t","rule":null,"label":"\\tWait for event: --> elapsed time: 0:35:00\\n","cond":0},"1":{"wait":null,"delay":"","modes":{},"method":"getIfThen","indent":"","rule":1,"label":"IF (Power Grid present(T) [TRUE]) THEN\\n","cond":0},"12":{"wait":null,"delay":"0:02:00","modes":{},"method":"getMsg","indent":"\\t","rule":null,"label":"\\tNotify Derek's iPhone - HE: 'Netatmo Weather Station was Offline and has been Power Cycled' --> delayed: 0:02:00\\n","cond":0},"2":{"wait":null,"delay":"","modes":{},"method":"getOffSwitch","indent":"\\t","rule":null,"label":"\\tOff: Netatmo Weather Station\\n","cond":0},"4":{"wait":null,"delay":"0:02:00","modes":{},"method":"getOnSwitch","indent":"\\t","rule":null,"label":"\\tOn: Netatmo Weather Station --> delayed: 0:02:00\\n","cond":0},"7":{"wait":null,"delay":"","modes":{},"method":"getEndIf","indent":"","rule":null,"label":"END-IF\\n","cond":0}},"actNdx":13,"lastEvtValue":"10:30 AM","installed":true,"allVarsGT":[],"waitEvents":[{"j":-3,"n":2}],"private":"true","waitNdx":{".11":[3]},"editingRule":null,"isPredicate":false,"allVars":{},"changedValues":true,"simpleCond":false,"tok":null,"nestedRepIf":[],"lastEvtTime":"10:31","condOper":"cond","nestedElse":[null],"allVarsI":[],"inUseVars":[],"skipAll":true,"waitMethod":"allHandlerW","needWaitCancel":false,"cutAction":[],"allVarsD":[],"stopped":false,"nestedLabel":[],"paramNdx":1,"lastEvtDevId":"612","waitCondNdx":4,"token":1,"capabsfalse":{"11":{},"2":"Indoors temp_trend(stable) = null","13":"NOT Last Event Device lastupdate *changed*","3":"Power Grid present","14":"Indoors lastupdate(2:57 PM) *changed*","15":"Indoors lastupdate(3:08 PM) *changed*","6":"Indoors temp_trend(stable) != up","18":{},"9":"Indoors temp_trend(stable) != down","10":"Indoors temp_trend(stable) != stable"},"timeTriggersW":{},"stPrimed":true,"todn":{"pred":false,"n":13},"allLocalVars":{},"timeFormat":"hh:mm","olddValues":true,"needWaitDone":false},"appSettings":[{"deviceList":null,"multiple":false,"name":"state_15","type":"text","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"delayMin.4","type":"number","value":"2"},{"deviceList":null,"multiple":false,"name":"delayHor.8","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"state_13","type":"text","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"state_14","type":"text","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"delayHor.9","type":"number","value":""},{"deviceList":null,"multiple":true,"name":"selectMinutesC12","type":"enum","value":null},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"tDev17","type":"capability.*","value":null},{"deviceList":null,"multiple":false,"name":"butEndIf","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actSubType.7","type":"enum","value":"END-IF"},{"deviceList":null,"multiple":false,"name":"pausRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_10","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_13","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"cond","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_15","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"insertAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_14","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"ranMsg.12","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"delayMin.12","type":"number","value":"2"},{"deviceList":null,"multiple":false,"name":"actSubType.1","type":"enum","value":"IF (conditions) THEN"},{"deviceList":null,"multiple":false,"name":"actSubType.2","type":"enum","value":"Turn switches off"},{"deviceList":null,"multiple":false,"name":"whichPeriod12","type":"enum","value":"Minutes"},{"deviceList":null,"multiple":false,"name":"actSubType.4","type":"enum","value":"Turn switches on"},{"deviceList":null,"multiple":false,"name":"startingA13","type":"time","value":"10:00"},{"deviceList":null,"multiple":false,"name":"butElse","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delayHor.4","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"state_10","type":"text","value":"stable"},{"deviceList":null,"multiple":false,"name":"anotherWait","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actType.1","type":"enum","value":"Conditional Actions"},{"deviceList":null,"multiple":false,"name":"editToken","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"uVar.3","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"tCustomAttrType17","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"msg.12","type":"textarea","value":"Netatmo Weather Station was Offline and has been Power Cycled"},{"deviceList":null,"multiple":false,"name":"stopRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"insertToken1","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"delayMin.11","type":"number","value":"35"},{"deviceList":null,"multiple":false,"name":"insertToken2","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"delaySec.4","type":"decimal","value":""},{"deviceList":null,"multiple":true,"name":"logging","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"editCond","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actType.2","type":"enum","value":"Control Switches, Push Buttons"},{"deviceList":null,"multiple":false,"name":"actType.5","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"delayAct.2","type":"enum","value":"none"},{"deviceList":null,"multiple":false,"name":"actType.4","type":"enum","value":"Control Switches, Push Buttons"},{"deviceList":null,"multiple":false,"name":"actType.7","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"delayAct.4","type":"enum","value":"hrs:min:sec"},{"deviceList":null,"multiple":false,"name":"updateRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delaySec.8","type":"decimal","value":""},{"deviceList":null,"multiple":false,"name":"hasRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delaySec.9","type":"decimal","value":""},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_2","type":"capability.*","value":null},{"deviceList":{"618":"Power Grid"},"multiple":true,"name":"rDev_3","type":"capability.presenceSensor","value":null},{"deviceList":null,"multiple":false,"name":"rCustomAttr_6","type":"enum","value":"temp_trend"},{"deviceList":null,"multiple":false,"name":"rCustomAttr_9","type":"enum","value":"temp_trend"},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_9","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"runAction","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_13","type":"enum","value":"Last Event Device"},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_6","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"rCapab_14","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":false,"name":"rCapab_15","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":false,"name":"randomAct.3","type":"bool","value":""},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_9","type":"capability.*","value":null},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_6","type":"capability.*","value":null},{"deviceList":null,"multiple":false,"name":"rCustomAttr_2","type":"enum","value":"temp_trend"},{"deviceList":null,"multiple":false,"name":"rCustomAttrType_2","type":"enum","value":"STRING"},{"deviceList":null,"multiple":false,"name":"rCapab_18","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"everyNMinutesC12","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"atOrBetween13","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"editAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"tCapab-3","type":"enum","value":"Elapsed Time"},{"deviceList":null,"multiple":false,"name":"ReltDev17","type":"enum","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"cutAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"not10","type":"bool","value":"false"},{"deviceList":null,"multiple":false,"name":"pasteAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"not14","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"not15","type":"bool","value":""},{"deviceList":{"484":"Derek's iPhone - HE"},"multiple":true,"name":"note.12","type":"capability.notification","value":null},{"deviceList":null,"multiple":false,"name":"not13","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"tstate17","type":"text","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"delayHor.12","type":"number","value":""},{"deviceList":null,"multiple":true,"name":"deleteAct","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"delayHor.11","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"oper","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"delayHor.10","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"tCapab2","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actionDone","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delayAct.12","type":"enum","value":"hrs:min:sec"},{"deviceList":null,"multiple":false,"name":"actSubType.12","type":"enum","value":"Send or Speak a Message"},{"deviceList":null,"multiple":false,"name":"actSubType.11","type":"enum","value":"Wait for Events"},{"deviceList":null,"multiple":false,"name":"tCapab9","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"not2","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"useST","type":"bool","value":"false"},{"deviceList":null,"multiple":false,"name":"delayHour.3","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"delaySec.10","type":"decimal","value":""},{"deviceList":null,"multiple":false,"name":"refreshActions","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"dValues","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"doneWaits","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"hasAll","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"cancelCapab","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"starting13","type":"enum","value":"A specific time"},{"deviceList":null,"multiple":false,"name":"RelrDev_6","type":"enum","value":"!="},{"deviceList":null,"multiple":false,"name":"tCustomAttr17","type":"enum","value":"lastupdate"},{"deviceList":null,"multiple":false,"name":"RelrDev_9","type":"enum","value":"!="},{"deviceList":null,"multiple":false,"name":"origLabel","type":"text","value":"Netatmo Weather Station - Offline Recovery"},{"deviceList":null,"multiple":false,"name":"rCapab_10","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":false,"name":"RelrDev_2","type":"enum","value":"="},{"deviceList":null,"multiple":false,"name":"rCapab_11","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"eraseRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delayAct.11","type":"enum","value":"hrs:min:sec"},{"deviceList":null,"multiple":false,"name":"everyNC12","type":"enum","value":"10"},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_13","type":"capability.*","value":null},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_14","type":"capability.*","value":null},{"deviceList":null,"multiple":false,"name":"delete","type":"enum","value":""},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_10","type":"capability.*","value":null},{"deviceList":null,"multiple":false,"name":"actType.12","type":"enum","value":"Send, Speak or Log a Message, Send HTTP Request"},{"deviceList":null,"multiple":false,"name":"actType.11","type":"enum","value":"Delay or Repeat Actions, Wait"},{"deviceList":null,"multiple":false,"name":"actType.13","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actionCancel","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"cancelAct.3","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"RelrDev_10","type":"enum","value":"!="},{"deviceList":null,"multiple":false,"name":"cancelAct.4","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"RelrDev_15","type":"enum","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"RelrDev_14","type":"enum","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"delaySecond.3","type":"decimal","value":""},{"deviceList":null,"multiple":false,"name":"RelrDev_13","type":"enum","value":"*changed*"},{"deviceList":null,"multiple":false,"name":"state_9","type":"text","value":"down"},{"deviceList":null,"multiple":false,"name":"rCustomAttr_13","type":"enum","value":"lastupdate"},{"deviceList":null,"multiple":false,"name":"tCapab18","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"rCustomAttr_15","type":"enum","value":"lastupdate"},{"deviceList":null,"multiple":false,"name":"tCapab17","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":true,"name":"speak.12Device","type":"capability.speechSynthesis","value":null},{"deviceList":null,"multiple":false,"name":"comments","type":"textarea","value":""},{"deviceList":null,"multiple":false,"name":"state_6","type":"text","value":"up"},{"deviceList":null,"multiple":false,"name":"rCustomAttr_14","type":"enum","value":"lastupdate"},{"deviceList":null,"multiple":false,"name":"tCapab15","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"tCapab13","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"rCustomAttr_10","type":"enum","value":"temp_trend"},{"deviceList":null,"multiple":false,"name":"ending13","type":"enum","value":"atTime"},{"deviceList":null,"multiple":false,"name":"state_3","type":"enum","value":"present"},{"deviceList":null,"multiple":false,"name":"state_2","type":"text","value":"null"},{"deviceList":null,"multiple":false,"name":"doneToken","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_3","type":"enum","value":"Presence"},{"deviceList":null,"multiple":false,"name":"not6","type":"bool","value":"false"},{"deviceList":null,"multiple":false,"name":"delaySec.12","type":"decimal","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_2","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":false,"name":"delaySec.11","type":"decimal","value":""},{"deviceList":{"617":"Netatmo Weather Station"},"multiple":true,"name":"offSwitch.2","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"media.12Device","type":"capability.musicPlayer","value":null},{"deviceList":null,"multiple":false,"name":"not3","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"not9","type":"bool","value":"false"},{"deviceList":{"612":"Indoors"},"multiple":false,"name":"rDev_15","type":"capability.*","value":null},{"deviceList":null,"multiple":true,"name":"deleteToken2","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"cancelAct.12","type":"bool","value":""},{"deviceList":{"617":"Netatmo Weather Station"},"multiple":true,"name":"onSwitch.4","type":"capability.switch","value":null},{"deviceList":null,"multiple":false,"name":"rCapab_6","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":false,"name":"rCapab_9","type":"enum","value":"Custom Attribute"},{"deviceList":null,"multiple":true,"name":"deleteToken1","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"cancelInsert","type":"button","value":""}],"subscriptions":[{"handler":"allHandler","name":"lastupdate","type":"DEVICE","typeId":612,"typeName":"Indoors","filter":"true"}]}}}