Skip to content

Commit 054afae

Browse files
committed
Motion and Temperature sensors (Iris, Osram, SmartThings)
1 parent 03535e0 commit 054afae

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ New devices:
2323
- HEIMAN Smoke detector
2424
- Hive Active smart bulb white LED (B22)
2525
- IKEA SURTE door light panel, dimmable, white spectrum (38x64 cm)
26+
- Iris Motion and temperature sensor
2627
- Müller Licht Tint LED bulb GU10/E14/E27 350/470/806 lumen, dimmable, color, opal white
2728
- Müller Licht Tint LED bulb GU10/E14/E27 350/470/806 lumen, dimmable, opal white
2829
- Nue ZigBee smart light controller
@@ -35,6 +36,7 @@ New devices:
3536
- Sengled Element downlight smart LED bulb
3637
- Smart Home Pty RGBW Downlight
3738
- Smart Home Pty Power plug
39+
- SmartThings Motion sensor (2015 model)
3840
- Sylvania Smart Home adjustable white A19 LED bulb
3941
- Sylvania LIGHTIFY LED gardenspot mini RGB
4042
- Trust Motion Sensor

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ git pull
122122
- Innr Spot Flex wide
123123

124124
### Iris
125-
- Iris Smart plug
126125
- Iris Contact sensor
126+
- Iris Motion and temperature sensor
127+
- Iris Smart plug
127128

128129
### JIAWEN
129130
- JIAWEN Wireless Bulb E27 9W RGBW
@@ -207,6 +208,7 @@ git pull
207208
### SmartThings
208209
- SmartThings SmartSense multi sensor
209210
- SmartThings Arrival sensor
211+
- SmartThings Motion sensor (2015 model)
210212

211213
### Sylvania
212214
- Sylvania LIGHTIFY LED RGBW A19

adapters/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from adapters.rgb_adapter import RGBAdapter
77
from adapters.rgbw_adapter import RGBWAdapter
88
from adapters.generic.motion_sensor import MotionSensorAdapter
9+
from adapters.generic.motion_temp_sensor import MotionAndTemperatureSensorAdapter
910
from adapters.generic.smoke_sensor import SmokeSensorAdapter
1011
from adapters.ikea.tradfri_wireless_dimmer import TradfriWirelessDimmer
1112
from adapters.lumi.sensor_cube import SensorCube
@@ -22,7 +23,6 @@
2223
from adapters.lumi.WXKG03LM import WXKG03LM
2324
from adapters.lumi.WXKG11LM import WXKG11LM
2425
from adapters.lumi.WXKG12LM import WXKG12LM
25-
from adapters.osram.sensor_motion import SensorMotionOsram
2626
from adapters.samsung.sensor_arrival import SensorArrival
2727
from adapters.philips.hue_dimmer_switch import HueDimmerSwitch
2828
from adapters.philips.hue_motion_sensor import HueMotionSensor
@@ -114,6 +114,7 @@
114114
# Iris
115115
'3210-L': OnOffSwitchAdapter, # Iris Smart plug
116116
'3320-L': ContactAdapter, # Iris Contact sensor
117+
'3326-L': MotionAndTemperatureSensorAdapter, # Iris Motion and temperature sensor
117118
# JIAWEN
118119
'K2RGBW01': RGBWAdapter, # JIAWEN Wireless Bulb E27 9W RGBW
119120
# Ksentry
@@ -138,7 +139,7 @@
138139
'AC03642': DimmableCtBulbAdapter, # OSRAM SMART+ CLASSIC A 60 TW
139140
'AC03645': RGBWAdapter, # OSRAM LIGHTIFY LED CLA60 E27 RGBW
140141
'AC08562': DimmableBulbAdapter, # OSRAM SMART+ Candle E14 Dimmable White
141-
'AC01353010G': SensorMotionOsram, # OSRAM SMART+ Motion Sensor
142+
'AC01353010G': MotionAndTemperatureSensorAdapter, # OSRAM SMART+ Motion Sensor
142143
'AC0251100NJ': DimmableBulbAdapter, # OSRAM SMART+ Switch Mini
143144
'4052899926110': RGBWAdapter, # OSRAM Flex RGBW
144145
'4052899926158': DimmableBulbAdapter, # OSRAM LIGHTIFY Surface Light TW
@@ -188,6 +189,7 @@
188189
# SmartThings
189190
'STSS-MULT-001': ContactAdapter, # SmartThings SmartSense multi sensor
190191
'STS-PRS-251': SensorArrival, # SmartThings SmartThings arrival sensor
192+
'3325-S': MotionAndTemperatureSensorAdapter, # SmartThings Motion sensor (2015 model)
191193
# Sylvania
192194
'71831': DimmableCtBulbAdapter, # Sylvania Smart Home adjustable white A19 LED bulb
193195
'72922-A': OnOffSwitchAdapter, # Sylvania SMART+ Smart Plug

adapters/osram/sensor_motion.py renamed to adapters/generic/motion_temp_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from devices.sensor.temperature import TemperatureSensor
44

55

6-
class SensorMotionOsram(AdapterWithBattery):
6+
class MotionAndTemperatureSensorAdapter(AdapterWithBattery):
77
def __init__(self, devices):
88
super().__init__(devices)
99
self.devices.append(MotionSensor(devices, 'motion', 'occupancy'))

adapters/osram/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)