/* Variables */ // Astro Variables DateTime nauticDawn_Time "nauticDawn [%1$tH:%1$tM]" {channel="astro:sun:home:nauticDawn#start"} DateTime civilDawn_Time "civilDawn [%1$tH:%1$tM]" {channel="astro:sun:home:civilDawn#start"} DateTime Sunrise_Time "Sunrise [%1$tH:%1$tM]" {channel="astro:sun:home:rise#start"} DateTime Sunset_Time "Sunset [%1$tH:%1$tM]" {channel="astro:sun:home:set#start"} DateTime civilDusk_Time "civilDusk [%1$tH:%1$tM]" {channel="astro:sun:home:civilDusk#start"} DateTime nauticDusk_Time "nauticDusk [%1$tH:%1$tM]" {channel="astro:sun:home:nauticDusk#start"} //DateTime Offset_Time "Offset time [%1$tH:%1$tM]" {astro="planet=sun, type=set, property=end, offset=-80"} DateTime tRandomLights Number AlarmMode /* Items */ Dimmer Living_Rm_Cans "Living Room Cans" (grpLivingRoomDimmers) [Lighting] {channel="zwave:device:dc8f4be4:node5:switch_dimmer"} Dimmer Dining_Rm_Light "Dining Room Light" (grpMainFloor) [Lighting] {channel="zwave:device:dc8f4be4:node4:switch_dimmer"} Dimmer Living_Rm_Transition "Transition Cans" (grpKitchenDimmers) [Lighting] {channel="zwave:device:dc8f4be4:node14:switch_dimmer"} Dimmer Kitchen_Cans "Kitchen Cans" (grpKitchenDimmers) [Lighting] {channel="zwave:device:dc8f4be4:node16:switch_dimmer"} //Switch Lights Switch Ext_1FL_Porch_Lights "Front Porch Light" (grpExterior) [Lighting] {channel="zwave:device:dc8f4be4:node21:switch_binary"} Switch Ext_2FL_Porch_Lights "Front Deck Light" (grpExterior) [Lighting] {channel="zwave:device:dc8f4be4:node9:switch_binary"} Switch Ext_Garage_Lights "Garage Light" (grpExterior) [Lighting] {channel="zwave:device:dc8f4be4:node6:switch_binary"} Switch Ext_Flood_Lights "Flood Light" (grpBackyard) [Lighting] {channel="zwave:device:dc8f4be4:node8:switch_binary"} Switch Bmt_Walkout_Lights "Walkout Light" (grpBackyard) [Lighting] {channel="zwave:device:dc8f4be4:node10:switch_binary"} Switch Ext_Outlet_1737 "Exterior Outlet 1737" (grpBackyard,grpExteriorOutlets) [Lighting] {channel="zwave:device:dc8f4be4:node12:switch_binary"} //Switch Living_Rm_Lights "Living Room Lights" [Lighting] {channel="zwave:device:dc8f4be4:node13:switch_binary"} Switch Island_Lights "Island Lights" (grpKitchenSwitches) [Lighting] {channel="zwave:device:dc8f4be4:node15:switch_binary"} Switch Ext_Outlet_1752 "Exterior Outlet 1752" (grpBackyard,grpExteriorOutlets) [Lighting] {channel="zwave:device:dc8f4be4:node17:switch_binary"} Dimmer Office_Lights "Office Lights" (grpInterior) [Lighting] {channel="zwave:device:dc8f4be4:node18:switch_dimmer"} Dimmer Back_Deck_Outside_Cans "Back Outside Deck Lights" (grpBackyard) [Lighting] {channel="zwave:device:dc8f4be4:node19:switch_dimmer"} //Dimmer Back_Deck_Inside_Cans "Back Inside Deck Lights" (grpBackyard) [Lighting] {channel="zwave:device:dc8f4be4:node20:switch_dimmer"} //Dimmer myunknown "Bunknown" (grpExterior) [Lighting] {channel="zwave:device:dc8f4be4:node23:switch_dimmer"} /*Groups*/ // 1 Overarching Group Group grpHouse // 2 Interior/Exterior Group grpInterior (grpHouse) Group grpExterior (grpHouse) Group grpExteriorOutlets (grpExterior) Group grpBackyard (grpExterior) //3 floors Group grpMainFloor (grpInterior) Group grpSecondFloor (grpInterior) //4 'Rooms' Group grpBackyard (grpExterior) Group grpEntranceHall (grpMainFloor) Group grpLivingArea (grpMainFloor) Group grpKitchen (grpLivingArea) Group grpLivingRoom (grpLivingArea) //5 subrooms Group grpKitchenDimmers (grpKitchen) Group grpKitchenSwitches (grpKitchen) Group grpLivingRoomDimmers (grpLivingRoom) Group grpLivingRoomSwitches (grpLivingRoom) //TEST //Group:Dimmer:AVG grpTEST "Test Lights [%d]" [Lighting] /* Scenes */ Number myLivingRmScenes "Scene: [%s]" Number myBackyardScenes "Scene" /*Groups*/ //Group All_Lights //Group Ext_Lights //Group Int_Lights //Group Ext_1FL_Lights //Group Int_1FL_Lights //Group Ext_2FL_Lights //Group Int_2FL_Lights //Group Int_Living_Lights //Group Int_Kitchen_Lights //Group Switch_Random //Group Dimmer_Random /* //Weather variables //Current String localStationId "ID [%s]" { channel="openweathermap:weather-and-forecast:d75e50c9:station#id" } String localStationName "Name [%s]" { channel="openweathermap:weather-and-forecast:d75e50c9:station#name" } Location localStationLocation "Location [%2$s°N %3$s°E]" { channel="openweathermap:weather-and-forecast:d75e50c9:station#location" } DateTime localLastMeasurement "Timestamp of last measurement [%1$tY-%1$tm-%1$tdT%1$tH:%1$tM:%1$tS]"