projects
/
smartthings-infrastructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
15834f5
)
Infrastructure compatible with locks' group!
author
Seyed Amir Hossein Aqajari
<saqajari@circinus-21.ics.uci.edu>
Thu, 30 Jan 2020 22:44:16 +0000
(14:44 -0800)
committer
Seyed Amir Hossein Aqajari
<saqajari@circinus-21.ics.uci.edu>
Thu, 30 Jan 2020 22:44:16 +0000
(14:44 -0800)
14 files changed:
eventSimulator/carbonDioxideEvent.groovy
patch
|
blob
|
history
eventSimulator/consumableStatusEvent.groovy
patch
|
blob
|
history
eventSimulator/lqiEvent.groovy
patch
|
blob
|
history
eventSimulator/nfcTouchEvent.groovy
patch
|
blob
|
history
eventSimulator/pHEvent.groovy
patch
|
blob
|
history
eventSimulator/pressureEvent.groovy
patch
|
blob
|
history
eventSimulator/rssiEvent.groovy
patch
|
blob
|
history
eventSimulator/shockEvent.groovy
patch
|
blob
|
history
eventSimulator/soundEvent.groovy
patch
|
blob
|
history
eventSimulator/soundPressureLevelEvent.groovy
patch
|
blob
|
history
eventSimulator/tamperEvent.groovy
patch
|
blob
|
history
eventSimulator/ultravioletIndexEvent.groovy
patch
|
blob
|
history
eventSimulator/voltageEvent.groovy
patch
|
blob
|
history
eventSimulator/windowShadeEvent.groovy
patch
|
blob
|
history
diff --git
a/eventSimulator/carbonDioxideEvent.groovy
b/eventSimulator/carbonDioxideEvent.groovy
index 1b951e04a00c8e1bfc0c0577aeab60b4d9c4aeee..7483f2e71e465fe848a6681517b8f3f6ce40e97a 100644
(file)
--- a/
eventSimulator/carbonDioxideEvent.groovy
+++ b/
eventSimulator/carbonDioxideEvent.groovy
@@
-1,2
+1,2
@@
- carbonDioxideMeasurementObject
[0]
.setValue([name: "carbonDioxide", value: 45, deviceId: "carbonDioxideID0", descriptionText: "",
+ carbonDioxideMeasurementObject.setValue([name: "carbonDioxide", value: 45, deviceId: "carbonDioxideID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/consumableStatusEvent.groovy
b/eventSimulator/consumableStatusEvent.groovy
index 6f470ed0ecdc98b71b83c05f469674fde7030606..8d57d89445255dbe52968c574af886b4f58eb5bf 100644
(file)
--- a/
eventSimulator/consumableStatusEvent.groovy
+++ b/
eventSimulator/consumableStatusEvent.groovy
@@
-1,2
+1,2
@@
- consumableObject
[0]
.setValue([name: "consumableStatus", value: "status", deviceId: "consumableID0", descriptionText: "",
+ consumableObject.setValue([name: "consumableStatus", value: "status", deviceId: "consumableID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/lqiEvent.groovy
b/eventSimulator/lqiEvent.groovy
index aee891798f7cf5e9fbc38b05189a1c68de97131d..9dd3d20bb45caa972cc39dab0aff70a0ea9f7cba 100644
(file)
--- a/
eventSimulator/lqiEvent.groovy
+++ b/
eventSimulator/lqiEvent.groovy
@@
-1,2
+1,2
@@
- signalStrengthObject
[0]
.setValue([name: "lqi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
+ signalStrengthObject.setValue([name: "lqi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/nfcTouchEvent.groovy
b/eventSimulator/nfcTouchEvent.groovy
index b8eef4b60e68211580edb39491523a2e7529186d..1409566e8f54f08bb5285490e14187a4c5d4f4c4 100644
(file)
--- a/
eventSimulator/nfcTouchEvent.groovy
+++ b/
eventSimulator/nfcTouchEvent.groovy
@@
-1,2
+1,2
@@
- touchSensorObject
[0]
.setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
+ touchSensorObject.setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/pHEvent.groovy
b/eventSimulator/pHEvent.groovy
index 200cafe6bc56e100eb662177916aedded1840fe5..2efdb039499005b7389303c66f2c3d46a53a78ed 100644
(file)
--- a/
eventSimulator/pHEvent.groovy
+++ b/
eventSimulator/pHEvent.groovy
@@
-1,2
+1,2
@@
- pHMeasurementObject
[0]
.setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
+ pHMeasurementObject.setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/pressureEvent.groovy
b/eventSimulator/pressureEvent.groovy
index 95b897feaf9e915b6024189d670fce2f8bf775c3..8cc4aae84fe59253fe4df79041c119d3900ab23c 100644
(file)
--- a/
eventSimulator/pressureEvent.groovy
+++ b/
eventSimulator/pressureEvent.groovy
@@
-1,2
+1,2
@@
- sensorObject
[0]
.setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
+ sensorObject.setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/rssiEvent.groovy
b/eventSimulator/rssiEvent.groovy
index a0d49e51457765b707608c1026721d69068d8bee..f45cdf68ba6c90dbd46a45c2076c7066f2aebac8 100644
(file)
--- a/
eventSimulator/rssiEvent.groovy
+++ b/
eventSimulator/rssiEvent.groovy
@@
-1,2
+1,2
@@
- signalStrengthObject
[0]
.setValue([name: "rssi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
+ signalStrengthObject.setValue([name: "rssi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/shockEvent.groovy
b/eventSimulator/shockEvent.groovy
index d700291e827e3a65c54c93a6096d2fc8a23b4ab4..4c5e8fc901886ca8d2cf389fb50ccc4359d068fd 100644
(file)
--- a/
eventSimulator/shockEvent.groovy
+++ b/
eventSimulator/shockEvent.groovy
@@
-1,2
+1,2
@@
- shockSensorObject
[0]
.setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
+ shockSensorObject.setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/soundEvent.groovy
b/eventSimulator/soundEvent.groovy
index 418c796b8326888bbe7fe220cdcc7708c23cd81b..410608a03bcd1e30077ba8e77c4dc6654ee45b1f 100644
(file)
--- a/
eventSimulator/soundEvent.groovy
+++ b/
eventSimulator/soundEvent.groovy
@@
-1,2
+1,2
@@
- soundSensorObject
[0]
.setValue([name: "sound", value: 54, deviceId: "soundSensorID0", descriptionText: "",
+ soundSensorObject.setValue([name: "sound", value: 54, deviceId: "soundSensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/soundPressureLevelEvent.groovy
b/eventSimulator/soundPressureLevelEvent.groovy
index 293302cda517e4f5bb03694b15dae5272d56e20f..98788aab1ed1b0d886cfb65e4466ab047375a955 100644
(file)
--- a/
eventSimulator/soundPressureLevelEvent.groovy
+++ b/
eventSimulator/soundPressureLevelEvent.groovy
@@
-1,2
+1,2
@@
- soundPressureLevelObject
[0]
.setValue([name: "soundPressureLevel", value: 70, deviceId: "soundPressureLevelID0", descriptionText: "",
+ soundPressureLevelObject.setValue([name: "soundPressureLevel", value: 70, deviceId: "soundPressureLevelID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/tamperEvent.groovy
b/eventSimulator/tamperEvent.groovy
index 5422153ff0a541505c939eb6c5c9b29985f2abf1..b69daeed60232df11c5997f921a5a86aeacd7ebc 100644
(file)
--- a/
eventSimulator/tamperEvent.groovy
+++ b/
eventSimulator/tamperEvent.groovy
@@
-1,2
+1,2
@@
- tamperAlertObject
[0]
.setValue([name: "tamper", value: "tampered", deviceId: "tamperAlertID0", descriptionText: "",
+ tamperAlertObject.setValue([name: "tamper", value: "tampered", deviceId: "tamperAlertID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/ultravioletIndexEvent.groovy
b/eventSimulator/ultravioletIndexEvent.groovy
index 95e1420e8e2649fd5133db8f9c71ae29e94c4830..29994fd6a2265f704dd6351836be614e966b0f46 100644
(file)
--- a/
eventSimulator/ultravioletIndexEvent.groovy
+++ b/
eventSimulator/ultravioletIndexEvent.groovy
@@
-1,2
+1,2
@@
- ultravioletIndexObject
[0]
.setValue([name: "ultravioletIndex", value: "someValue", deviceId: "ultravioletIndexID0", descriptionText: "",
+ ultravioletIndexObject.setValue([name: "ultravioletIndex", value: "someValue", deviceId: "ultravioletIndexID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/voltageEvent.groovy
b/eventSimulator/voltageEvent.groovy
index 4ea23079c6bf375b54e2cc083368348978802c7f..07c36d651bcccb45c90a2de32e14d141817ad56f 100644
(file)
--- a/
eventSimulator/voltageEvent.groovy
+++ b/
eventSimulator/voltageEvent.groovy
@@
-1,2
+1,2
@@
- voltageMeasurementObject
[0]
.setValue([name: "voltage", value: 22, deviceId: "voltageMeasurementID0", descriptionText: "",
+ voltageMeasurementObject.setValue([name: "voltage", value: 22, deviceId: "voltageMeasurementID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
diff --git
a/eventSimulator/windowShadeEvent.groovy
b/eventSimulator/windowShadeEvent.groovy
index 243753b0ff3bdb2147ad94599420aa0cabdca3ab..6f9d92db1f6469e8a99976151faa21ea1f0e7750 100644
(file)
--- a/
eventSimulator/windowShadeEvent.groovy
+++ b/
eventSimulator/windowShadeEvent.groovy
@@
-1,2
+1,2
@@
- windowShadeObject
[0]
.setValue([name: "windowShade", value: "someValue", deviceId: "windowShadeID0", descriptionText: "",
+ windowShadeObject.setValue([name: "windowShade", value: "someValue", deviceId: "windowShadeID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])