override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <KnxDevice>(this, "Weather", "com.allseen.SmartHome.Weather"); statusProp.Attributes.Add(new BridgeAdapterAttribute("Temperature", 0.0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Rain", 0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Wind", 0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Dawn", 0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }
override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <OnkyoDevice>(this, "Receiver", "com.allseen.SmartHome.Receiver"); statusProp.Attributes.Add(new BridgeAdapterAttribute("OnOff", false, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("MasterVolume", -1, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Input", "-", E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Mute", false, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("ListeningMode", "-", E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }
override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <KnxDevice>(this, "Hvac", "com.allseen.SmartHome.Hvac"); statusProp.Attributes.Add(new BridgeAdapterAttribute("OpMode", 0, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("TargetTemperature", 0.0, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Temperature", 0.0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Humidity", 0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("CO2", 0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }
override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <KnxDevice>(this, "Status", "com.allseen.SmartHome.Presence"); statusProp.Attributes.Add(new BridgeAdapterAttribute("Detected", false, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }
override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <RoombaDevice>(this, "MyRoomba", "com.allseen.SmartHome.Roomba"); statusProp.Attributes.Add(new BridgeAdapterAttribute("Command", "", E_ACCESS_TYPE.ACCESS_WRITE) { COVBehavior = SignalBehavior.Never }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }
override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <KnxDevice>(this, "ShutterBlinds", "com.allseen.SmartHome.ShutterBlinds"); statusProp.Attributes.Add(new BridgeAdapterAttribute("Position", 0, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("Flaps", 0, E_ACCESS_TYPE.ACCESS_READWRITE) { COVBehavior = SignalBehavior.Always }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }
override protected void CreateProperties() { this.Properties.Clear(); var statusProp = new BridgeAdapterProperty <DlmsDevice>(this, "PowerMeter", "com.allseen.SmartHome.PowerMeter"); statusProp.Attributes.Add(new BridgeAdapterAttribute("EnergyTotal", 0.0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("EnergyHi", 0.0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); statusProp.Attributes.Add(new BridgeAdapterAttribute("EnergyLo", 0.0, E_ACCESS_TYPE.ACCESS_READ) { COVBehavior = SignalBehavior.Always }); this.Properties.Add(statusProp); this.AddChangeOfValueSignal(statusProp); }