From 93b49174c1529951b2f179b5db69c0856bf4108d Mon Sep 17 00:00:00 2001 From: rtrimana Date: Tue, 24 Jul 2018 15:31:14 -0700 Subject: [PATCH] Adding config files for the phone app. --- .../HomeSecurityController.config | 45 ++++ .../IrrigationController.config | 51 ++++ benchmarks/Java/Lifxtest/Lifxtest.config | 32 ++- .../SmartLightsController.config | 32 +++ .../SpeakerController.config | 24 ++ .../Java/AmcrestCamera/AmcrestCamera.config | 7 + .../BlossomSprinkler/BlossomSprinkler.config | 12 + .../drivers/Java/DlinkAlarm/DlinkAlarm.config | 7 + .../DoorlockActuator/DoorlockActuator.config | 12 + .../Java/DoorlockSensor/DoorlockSensor.config | 12 + .../drivers/Java/EspAlarm/EspAlarm.config | 7 + .../Java/EspSprinkler/EspSprinkler.config | 7 + .../GPSPhoneGateway/GPSPhoneGateway.config | 7 + benchmarks/drivers/Java/IHome/IHome.config | 7 + .../Java/LifxLightBulb/LifxLightBulb.config | 3 +- .../Java/MotionSensor/MotionSensor.config | 12 + .../MultipurposeSensor.config | 12 + .../Java/SpruceSensor/SpruceSensor.config | 12 + .../WaterLeakSensor/WaterLeakSensor.config | 12 + .../WeatherPhoneGateway.config | 7 + iotjava/Makefile | 2 + .../AddressInformation.config | 242 ++++++++++++++++++ .../AddressInformation/AmcrestCamera.config | 13 + .../AddressInformation/AudioRoom.config | 7 + .../BlossomSprinkler.config | 16 ++ .../AddressInformation/DlinkAlarm.config | 10 + .../DoorlockActuator.config | 11 + .../AddressInformation/EspAlarm.config | 10 + .../AddressInformation/EspSprinkler.config | 10 + .../AddressInformation/GPSPhoneGateway.config | 10 + .../AddressInformation/GreenLawn.config | 6 + .../AddressInformation/HomeRoom.config | 7 + .../AddressInformation/IHome.config | 37 +++ .../IoTCloudServerDC6.config | 7 + .../AddressInformation/LabRoom.config | 6 + .../AddressInformation/LifxLightBulb.config | 10 + .../AddressInformation/MotionSensor.config | 11 + .../MultipurposeSensor.config | 11 + .../AddressInformation/SpruceSensor.config | 11 + .../AddressInformation/WaterLeakSensor.config | 11 + .../WeatherForecastAdd.config | 7 + .../WeatherPhoneGateway.config | 10 + .../SupportedDevices/AllDevices.config | 14 + .../SupportedDevices/driversList.config | 30 +++ .../AddressInformation.config | 242 ++++++++++++++++++ .../IDSubtypeInformation.config | 77 ++++++ .../IoTDeviceAddress.config | 74 ++++++ .../iotinstaller_phone_app/SetList.config | 120 +++++++++ 48 files changed, 1330 insertions(+), 12 deletions(-) create mode 100644 localconfig/SupportedDevices/AddressInformation.config create mode 100644 localconfig/SupportedDevices/AddressInformation/AmcrestCamera.config create mode 100644 localconfig/SupportedDevices/AddressInformation/AudioRoom.config create mode 100644 localconfig/SupportedDevices/AddressInformation/BlossomSprinkler.config create mode 100644 localconfig/SupportedDevices/AddressInformation/DlinkAlarm.config create mode 100644 localconfig/SupportedDevices/AddressInformation/DoorlockActuator.config create mode 100644 localconfig/SupportedDevices/AddressInformation/EspAlarm.config create mode 100644 localconfig/SupportedDevices/AddressInformation/EspSprinkler.config create mode 100644 localconfig/SupportedDevices/AddressInformation/GPSPhoneGateway.config create mode 100644 localconfig/SupportedDevices/AddressInformation/GreenLawn.config create mode 100644 localconfig/SupportedDevices/AddressInformation/HomeRoom.config create mode 100644 localconfig/SupportedDevices/AddressInformation/IHome.config create mode 100644 localconfig/SupportedDevices/AddressInformation/IoTCloudServerDC6.config create mode 100644 localconfig/SupportedDevices/AddressInformation/LabRoom.config create mode 100644 localconfig/SupportedDevices/AddressInformation/LifxLightBulb.config create mode 100644 localconfig/SupportedDevices/AddressInformation/MotionSensor.config create mode 100644 localconfig/SupportedDevices/AddressInformation/MultipurposeSensor.config create mode 100644 localconfig/SupportedDevices/AddressInformation/SpruceSensor.config create mode 100644 localconfig/SupportedDevices/AddressInformation/WaterLeakSensor.config create mode 100644 localconfig/SupportedDevices/AddressInformation/WeatherForecastAdd.config create mode 100644 localconfig/SupportedDevices/AddressInformation/WeatherPhoneGateway.config create mode 100644 localconfig/SupportedDevices/AllDevices.config create mode 100644 localconfig/SupportedDevices/driversList.config create mode 100644 localconfig/iotinstaller_phone_app/AddressInformation.config create mode 100644 localconfig/iotinstaller_phone_app/IDSubtypeInformation.config create mode 100644 localconfig/iotinstaller_phone_app/IoTDeviceAddress.config create mode 100644 localconfig/iotinstaller_phone_app/SetList.config diff --git a/benchmarks/Java/HomeSecurityController/HomeSecurityController.config b/benchmarks/Java/HomeSecurityController/HomeSecurityController.config index b4fe092..3d1f74e 100644 --- a/benchmarks/Java/HomeSecurityController/HomeSecurityController.config +++ b/benchmarks/Java/HomeSecurityController/HomeSecurityController.config @@ -3,5 +3,50 @@ ADDITIONAL_ZIP_FILE=No # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=8 + +FIELD_0=smartSensorsSet +FIELD_TYPE_0=IoTSet +FIELD_CLASS_0=SmartthingsSensorSmart +FIELD_INDEPENDENT_0=FALSE + +FIELD_1=camSet +FIELD_TYPE_1=IoTSet +FIELD_CLASS_1=CameraSmart +FIELD_INDEPENDENT_1=FALSE + +FIELD_2=alarmSet +FIELD_TYPE_2=IoTSet +FIELD_CLASS_2=AlarmSmart +FIELD_INDEPENDENT_2=TRUE + +FIELD_3=roomSet +FIELD_TYPE_3=IoTSet +FIELD_CLASS_3=RoomSmart +FIELD_INDEPENDENT_3=FALSE + +FIELD_4=doorlockSet +FIELD_TYPE_4=IoTSet +FIELD_CLASS_4=SmartthingsActuatorSmart +FIELD_INDEPENDENT_4=TRUE + +FIELD_5=iotcloudServer +FIELD_TYPE_5=IoTSet +FIELD_CLASS_5=IoTAddress +FIELD_INDEPENDENT_5=TRUE + +FIELD_6=roomSensorRelation +FIELD_TYPE_6=IoTRelation +FIELD_CLASS_0_6=RoomSmart +FIELD_CLASS_1_6=SmartthingsSensorSmart +FIELD_CONFIG_FILENAME_6=Comm_Room_SmartthingsSensor.config + +FIELD_7=roomCameraRelation +FIELD_TYPE_7=IoTRelation +FIELD_CLASS_0_7=RoomSmart +FIELD_CLASS_1_7=CameraSmart +FIELD_CONFIG_FILENAME_7=Comm_Room_Camera.config + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/Java/IrrigationController/IrrigationController.config b/benchmarks/Java/IrrigationController/IrrigationController.config index 7a56af0..a130349 100644 --- a/benchmarks/Java/IrrigationController/IrrigationController.config +++ b/benchmarks/Java/IrrigationController/IrrigationController.config @@ -3,5 +3,56 @@ ADDITIONAL_ZIP_FILE=Yes # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=9 + +FIELD_0=weatherDataAddresses +FIELD_TYPE_0=IoTSet +FIELD_CLASS_0=IoTAddress +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=weatherDataAddressMain +FIELD_TYPE_1=IoTSet +FIELD_CLASS_1=IoTAddress +FIELD_INDEPENDENT_1=TRUE + +FIELD_2=gwSet +FIELD_TYPE_2=IoTSet +FIELD_CLASS_2=WeatherGatewaySmart +FIELD_INDEPENDENT_2=TRUE + +FIELD_3=lawnSet +FIELD_TYPE_3=IoTSet +FIELD_CLASS_3=LawnSmart +FIELD_INDEPENDENT_3=FALSE + +FIELD_4=moistureSensorsSet +FIELD_TYPE_4=IoTSet +FIELD_CLASS_4=MoistureSensorSmart +FIELD_INDEPENDENT_4=FALSE + +FIELD_5=cameraSet +FIELD_TYPE_5=IoTSet +FIELD_CLASS_5=CameraSmart +FIELD_INDEPENDENT_5=FALSE + +FIELD_6=lawnCameraRelation +FIELD_TYPE_6=IoTRelation +FIELD_CLASS_0_6=LawnSmart +FIELD_CLASS_1_6=CameraSmart +FIELD_CONFIG_FILENAME_6=Comm_Lawn_Camera.config + +FIELD_7=lawnSprinklerRelation +FIELD_TYPE_7=IoTRelation +FIELD_CLASS_0_7=LawnSmart +FIELD_CLASS_1_7=SprinklerSmart +FIELD_CONFIG_FILENAME_7=Comm_Lawn_Sprinkler.config + +FIELD_8=lawnMoistureSensorRelation +FIELD_TYPE_8=IoTRelation +FIELD_CLASS_0_8=LawnSmart +FIELD_CLASS_1_8=MoistureSensorSmart +FIELD_CONFIG_FILENAME_8=Comm_Lawn_Moisture.config + # Tomoyo ADDITIONAL_MAC_POLICY=Yes diff --git a/benchmarks/Java/Lifxtest/Lifxtest.config b/benchmarks/Java/Lifxtest/Lifxtest.config index 51c6dbc..b3a415b 100644 --- a/benchmarks/Java/Lifxtest/Lifxtest.config +++ b/benchmarks/Java/Lifxtest/Lifxtest.config @@ -1,23 +1,33 @@ ADDITIONAL_ZIP_FILE=No # For C++ instrumentation -FIELD_NUMBER=3 +#FIELD_NUMBER=3 # Field lifx_light_bulb -FIELD_0=lifx_light_bulb -FIELD_CLASS_0=LightBulbTest -FIELD_TYPE_0=IoTSet +#FIELD_0=lifx_light_bulb +#FIELD_CLASS_0=LightBulbTest +#FIELD_TYPE_0=IoTSet +#FIELD_INDEPENDENT_0=TRUE # Field lab_room -FIELD_1=lab_room -FIELD_CLASS_1=RoomSmart -FIELD_TYPE_1=IoTSet +#FIELD_1=lab_room +#FIELD_CLASS_1=RoomSmart +#FIELD_TYPE_1=IoTSet +#FIELD_INDEPENDENT_0=TRUE # Field roomLightRelation -FIELD_2=roomLightRelation -FIELD_CLASS_2=RoomSmart -FIELD_CLASS_REL_2=LightBulbTest -FIELD_TYPE_2=IoTRelation +#FIELD_2=roomLightRelation +#FIELD_CLASS_2=RoomSmart +#FIELD_CLASS_REL_2=LightBulbTest +#FIELD_TYPE_2=IoTRelation +#FIELD_INDEPENDENT_0=TRUE + +# For Java instrumentation +FIELD_NUMBER=1 +FIELD_0=lifx_light_bulb +FIELD_CLASS_0=LightBulbTest +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE # Language LANGUAGE=Java diff --git a/benchmarks/Java/SmartLightsController/SmartLightsController.config b/benchmarks/Java/SmartLightsController/SmartLightsController.config index 28a4f80..8946080 100644 --- a/benchmarks/Java/SmartLightsController/SmartLightsController.config +++ b/benchmarks/Java/SmartLightsController/SmartLightsController.config @@ -3,5 +3,37 @@ ADDITIONAL_ZIP_FILE=No # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=5 + +FIELD_0=mainRoomLightBulbs +FIELD_TYPE_0=IoTSet +FIELD_CLASS_0=LightBulbSmart +FIELD_INDEPENDENT_0=FALSE + +FIELD_1=cameras +FIELD_TYPE_1=IoTSet +FIELD_CLASS_1=CameraSmart +FIELD_INDEPENDENT_1=FALSE + + +FIELD_2=rooms +FIELD_TYPE_2=IoTSet +FIELD_CLASS_2=RoomSmart +FIELD_INDEPENDENT_2=FALSE + + +FIELD_3=roomCameraRel +FIELD_TYPE_3=IoTRelation +FIELD_CLASS_0_3=RoomSmart +FIELD_CLASS_1_3=CameraSmart +FIELD_CONFIG_FILENAME_3=Comm_Room_Camera.config + +FIELD_4=roomMainBulbRel +FIELD_TYPE_4=IoTRelation +FIELD_CLASS_0_4=RoomSmart +FIELD_CLASS_1_4=LightBulbSmart +FIELD_CONFIG_FILENAME_4=Comm_Room_LightBulb.config + # Tomoyo ADDITIONAL_MAC_POLICY=Yes diff --git a/benchmarks/Java/SpeakerController/SpeakerController.config b/benchmarks/Java/SpeakerController/SpeakerController.config index 7a56af0..2bbb214 100644 --- a/benchmarks/Java/SpeakerController/SpeakerController.config +++ b/benchmarks/Java/SpeakerController/SpeakerController.config @@ -3,5 +3,29 @@ ADDITIONAL_ZIP_FILE=Yes # Language LANGUAGE=Java +# Phone App/C++ instrumentation +FIELD_NUMBER=4 + +FIELD_0=gpsSet +FIELD_TYPE_0=IoTSet +FIELD_CLASS_0=GPSGatewaySmart +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=speakerSet +FIELD_TYPE_1=IoTSet +FIELD_CLASS_1=SpeakerSmart +FIELD_INDEPENDENT_1=FALSE + +FIELD_2=audioRooms +FIELD_TYPE_2=IoTSet +FIELD_CLASS_2=RoomSmart +FIELD_INDEPENDENT_2=FALSE + +FIELD_3=roomSpeakerRel +FIELD_TYPE_3=IoTRelation +FIELD_CLASS_0_3=RoomSmart +FIELD_CLASS_1_3=SpeakerSmart +FIELD_CONFIG_FILENAME_3=Comm_Room_Speaker.config + # Tomoyo ADDITIONAL_MAC_POLICY=Yes diff --git a/benchmarks/drivers/Java/AmcrestCamera/AmcrestCamera.config b/benchmarks/drivers/Java/AmcrestCamera/AmcrestCamera.config index c4f8905..5a4615c 100644 --- a/benchmarks/drivers/Java/AmcrestCamera/AmcrestCamera.config +++ b/benchmarks/drivers/Java/AmcrestCamera/AmcrestCamera.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=CameraSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=cam_addresses +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=Yes diff --git a/benchmarks/drivers/Java/BlossomSprinkler/BlossomSprinkler.config b/benchmarks/drivers/Java/BlossomSprinkler/BlossomSprinkler.config index e6d46ef..32ec879 100644 --- a/benchmarks/drivers/Java/BlossomSprinkler/BlossomSprinkler.config +++ b/benchmarks/drivers/Java/BlossomSprinkler/BlossomSprinkler.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=SprinklerSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=blossomSprAddressSet +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=localAddressSet +FIELD_CLASS_1=IoTDeviceAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/DlinkAlarm/DlinkAlarm.config b/benchmarks/drivers/Java/DlinkAlarm/DlinkAlarm.config index b6460ee..988901a 100644 --- a/benchmarks/drivers/Java/DlinkAlarm/DlinkAlarm.config +++ b/benchmarks/drivers/Java/DlinkAlarm/DlinkAlarm.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=AlarmSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=alm_Addresses +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/DoorlockActuator/DoorlockActuator.config b/benchmarks/drivers/Java/DoorlockActuator/DoorlockActuator.config index 1faad3f..4ce91b9 100644 --- a/benchmarks/drivers/Java/DoorlockActuator/DoorlockActuator.config +++ b/benchmarks/drivers/Java/DoorlockActuator/DoorlockActuator.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=SmartthingsActuatorSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=doorlockActuatorUdpAddress +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=doorlockActuatorZigbeeAddress +FIELD_CLASS_1=IoTZigbeeAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/DoorlockSensor/DoorlockSensor.config b/benchmarks/drivers/Java/DoorlockSensor/DoorlockSensor.config index 5056c9b..fcc74ff 100644 --- a/benchmarks/drivers/Java/DoorlockSensor/DoorlockSensor.config +++ b/benchmarks/drivers/Java/DoorlockSensor/DoorlockSensor.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=SmartthingsSensorSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=DoorlockSensorUdpAddress +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=DoorlockSensorZigbeeAddress +FIELD_CLASS_1=IoTZigbeeAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/EspAlarm/EspAlarm.config b/benchmarks/drivers/Java/EspAlarm/EspAlarm.config index b6460ee..988901a 100644 --- a/benchmarks/drivers/Java/EspAlarm/EspAlarm.config +++ b/benchmarks/drivers/Java/EspAlarm/EspAlarm.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=AlarmSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=alm_Addresses +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/EspSprinkler/EspSprinkler.config b/benchmarks/drivers/Java/EspSprinkler/EspSprinkler.config index e6d46ef..931b268 100644 --- a/benchmarks/drivers/Java/EspSprinkler/EspSprinkler.config +++ b/benchmarks/drivers/Java/EspSprinkler/EspSprinkler.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=SprinklerSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=spr_Addresses +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/GPSPhoneGateway/GPSPhoneGateway.config b/benchmarks/drivers/Java/GPSPhoneGateway/GPSPhoneGateway.config index 33f397d..bce4d0d 100644 --- a/benchmarks/drivers/Java/GPSPhoneGateway/GPSPhoneGateway.config +++ b/benchmarks/drivers/Java/GPSPhoneGateway/GPSPhoneGateway.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=GPSGatewaySmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=gps_address +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/IHome/IHome.config b/benchmarks/drivers/Java/IHome/IHome.config index 34c5400..c9fac85 100644 --- a/benchmarks/drivers/Java/IHome/IHome.config +++ b/benchmarks/drivers/Java/IHome/IHome.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=SpeakerSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=speakerAddresses +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/LifxLightBulb/LifxLightBulb.config b/benchmarks/drivers/Java/LifxLightBulb/LifxLightBulb.config index da91b55..0d310aa 100644 --- a/benchmarks/drivers/Java/LifxLightBulb/LifxLightBulb.config +++ b/benchmarks/drivers/Java/LifxLightBulb/LifxLightBulb.config @@ -5,11 +5,12 @@ INTERFACE_CLASS=LightBulb INTERFACE_STUB_CLASS=LightBulbTest #INTERFACE_STUB_CLASS=LightBulbSmart -# For C++ instrumentation +# Phone app/C++ instrumentation FIELD_NUMBER=1 FIELD_0=lb_addresses FIELD_CLASS_0=IoTDeviceAddress FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE # Language LANGUAGE=Java diff --git a/benchmarks/drivers/Java/MotionSensor/MotionSensor.config b/benchmarks/drivers/Java/MotionSensor/MotionSensor.config index 5056c9b..5d9a4e4 100644 --- a/benchmarks/drivers/Java/MotionSensor/MotionSensor.config +++ b/benchmarks/drivers/Java/MotionSensor/MotionSensor.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=SmartthingsSensorSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=motionSensorUdpAddress +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=motionSensorZigbeeAddress +FIELD_CLASS_1=IoTZigbeeAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/MultipurposeSensor/MultipurposeSensor.config b/benchmarks/drivers/Java/MultipurposeSensor/MultipurposeSensor.config index 5056c9b..5a5913b 100644 --- a/benchmarks/drivers/Java/MultipurposeSensor/MultipurposeSensor.config +++ b/benchmarks/drivers/Java/MultipurposeSensor/MultipurposeSensor.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=SmartthingsSensorSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=multipurposeSensorUdpAddress +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=multipurposesensorZigbeeAddress +FIELD_CLASS_1=IoTZigbeeAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/SpruceSensor/SpruceSensor.config b/benchmarks/drivers/Java/SpruceSensor/SpruceSensor.config index 21a5f20..92326b3 100644 --- a/benchmarks/drivers/Java/SpruceSensor/SpruceSensor.config +++ b/benchmarks/drivers/Java/SpruceSensor/SpruceSensor.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=MoistureSensorSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=devUdpAddress +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=devZigbeeAddress +FIELD_CLASS_1=IoTZigbeeAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/WaterLeakSensor/WaterLeakSensor.config b/benchmarks/drivers/Java/WaterLeakSensor/WaterLeakSensor.config index 5056c9b..586202d 100644 --- a/benchmarks/drivers/Java/WaterLeakSensor/WaterLeakSensor.config +++ b/benchmarks/drivers/Java/WaterLeakSensor/WaterLeakSensor.config @@ -6,5 +6,17 @@ INTERFACE_STUB_CLASS=SmartthingsSensorSmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=2 +FIELD_0=waterleakSensorUdpAddress +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + +FIELD_1=waterleakSensorZigbeeAddress +FIELD_CLASS_1=IoTZigbeeAddress +FIELD_TYPE_1=IoTSet +FIELD_INDEPENDENT_1=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/benchmarks/drivers/Java/WeatherPhoneGateway/WeatherPhoneGateway.config b/benchmarks/drivers/Java/WeatherPhoneGateway/WeatherPhoneGateway.config index efa5fcb..055e6ea 100644 --- a/benchmarks/drivers/Java/WeatherPhoneGateway/WeatherPhoneGateway.config +++ b/benchmarks/drivers/Java/WeatherPhoneGateway/WeatherPhoneGateway.config @@ -6,5 +6,12 @@ INTERFACE_STUB_CLASS=WeatherGatewaySmart # Language LANGUAGE=Java +# Phone app/C++ instrumentation +FIELD_NUMBER=1 +FIELD_0=ph_address +FIELD_CLASS_0=IoTDeviceAddress +FIELD_TYPE_0=IoTSet +FIELD_INDEPENDENT_0=TRUE + # Tomoyo ADDITIONAL_MAC_POLICY=No diff --git a/iotjava/Makefile b/iotjava/Makefile index 7cd1f7a..d01c96b 100644 --- a/iotjava/Makefile +++ b/iotjava/Makefile @@ -47,6 +47,8 @@ installer: $(JAVAC) -d $(BIN_DIR) iotinstaller/*.java cp ../localconfig/iotruntime/MySQLInterface.config $(BIN_DIR)/iotruntime/ cp ../localconfig/iotruntime/MySQLInterface.config $(BIN_DIR)/iotinstaller/ + cp -r ../localconfig/SupportedDevices/ $(BIN_DIR)/iotinstaller/ + cp ../localconfig/iotinstaller_phone_app/*.config $(BIN_DIR)/iotinstaller/ PHONY += runtime runtime: diff --git a/localconfig/SupportedDevices/AddressInformation.config b/localconfig/SupportedDevices/AddressInformation.config new file mode 100644 index 0000000..d108b4d --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation.config @@ -0,0 +1,242 @@ +NUM_OF_TYPES=14 + +TYPE_0=SmartthingsSensorSmart +TAG_0=ST +SUBTYPE_0=3 +TYPE_0_0=WaterLeakSensor +TYPE_0_0_NUM_OF_ZBADDRESSES=1 +TYPE_0_0_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_0_0_ZBADD_0=USER +TYPE_0_0_NUM_OF_ADDRESSES=1 +TYPE_0_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_0_0_ADD_0=5005 +PROTOCOL_0_0_ADD_0=udp +DEVICEADDRESS_0_0_ADD_0=USER +TYPE_0_0_NUM_OF_DEVICE_INFO=0 +TYPE_0_1=MultipurposeSensor +TYPE_0_1_NUM_OF_ZBADDRESSES=1 +TYPE_0_1_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_0_1_ZBADD_0=USER +TYPE_0_1_NUM_OF_ADDRESSES=1 +TYPE_0_1_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_0_1_ADD_0=5005 +PROTOCOL_0_1_ADD_0=udp +DEVICEADDRESS_0_1_ADD_0=USER +TYPE_0_1_NUM_OF_DEVICE_INFO=0 +TYPE_0_2=MotionSensor +TYPE_0_2_NUM_OF_ZBADDRESSES=1 +TYPE_0_2_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_0_2_ZBADD_0=USER +TYPE_0_2_NUM_OF_ADDRESSES=1 +TYPE_0_2_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_0_2_ADD_0=5005 +PROTOCOL_0_2_ADD_0=udp +DEVICEADDRESS_0_2_ADD_0=USER +TYPE_0_2_NUM_OF_DEVICE_INFO=0 + +TYPE_1=SpeakerSmart +TAG_1=SK +SUBTYPE_1=1 +TYPE_1_0=IHome +TYPE_1_0_NUM_OF_ZBADDRESSES=0 +TYPE_1_0_NUM_OF_ADDRESSES=5 +TYPE_1_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS SOURCEWILDCARD DESTWILDCARD +PORTNUMBER_1_0_ADD_0=1024 +PROTOCOL_1_0_ADD_0=tcp +DEVICEADDRESS_1_0_ADD_0=USER +SOURCEWILDCARD_1_0_ADD_0=false +DESTWILDCARD_1_0_ADD_0=false +PORTNUMBER_1_0_ADD_1=-1 +PROTOCOL_1_0_ADD_1=nopro +DEVICEADDRESS_1_0_ADD_1=00:00:00:00:00:00 +SOURCEWILDCARD_1_0_ADD_1=false +DESTWILDCARD_1_0_ADD_1=false +PORTNUMBER_1_0_ADD_2=-1 +PROTOCOL_1_0_ADD_2=udp +DEVICEADDRESS_1_0_ADD_2=USER +SOURCEWILDCARD_1_0_ADD_2=false +DESTWILDCARD_1_0_ADD_2=true +PORTNUMBER_1_0_ADD_3=-1 +PROTOCOL_1_0_ADD_3=udp +DEVICEADDRESS_1_0_ADD_3=USER +SOURCEWILDCARD_1_0_ADD_3=false +DESTWILDCARD_1_0_ADD_3=true +PORTNUMBER_1_0_ADD_4=-1 +PROTOCOL_1_0_ADD_4=udp +DEVICEADDRESS_1_0_ADD_4=USER +SOURCEWILDCARD_1_0_ADD_4=false +DESTWILDCARD_1_0_ADD_4=true +TYPE_1_0_NUM_OF_DEVICE_INFO=0 + +TYPE_2=LightBulbSmart +TAG_2=LB +SUBTYPE_2=1 +TYPE_2_0=LifxLightBulb +TYPE_2_0_NUM_OF_ZBADDRESSES=0 +TYPE_2_0_NUM_OF_ADDRESSES=1 +TYPE_2_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_2_0_ADD_0=56700 +PROTOCOL_2_0_ADD_0=udp +DEVICEADDRESS_2_0_ADD_0=USER +TYPE_2_0_NUM_OF_DEVICE_INFO=0 + +TYPE_3=RoomSmart +TAG_3=RM +SUBTYPE_3=3 +TYPE_3_0=LabRoom +TYPE_3_0_NUM_OF_ZBADDRESSES=0 +TYPE_3_0_NUM_OF_ADDRESSES=0 +TYPE_3_0_NUM_OF_DEVICE_INFO=0 +TYPE_3_1=HomeRoom +TYPE_3_1_NUM_OF_ZBADDRESSES=0 +TYPE_3_1_NUM_OF_ADDRESSES=0 +TYPE_3_1_NUM_OF_DEVICE_INFO=1 +TYPE_3_1_DEVICE_FIELDS=ROOMID +ROOMID_3_1=USER +TYPE_3_2=AudioRoom +TYPE_3_2_NUM_OF_ZBADDRESSES=0 +TYPE_3_2_NUM_OF_ADDRESSES=0 +TYPE_3_2_NUM_OF_DEVICE_INFO=1 +TYPE_3_2_DEVICE_FIELDS=ROOMID +ROOMID_3_2=USER + +TYPE_4=LightBulbTest +TAG_4=LB +SUBTYPE_4=1 +TYPE_4_0=LifxLightBulb +TYPE_4_0_NUM_OF_ZBADDRESSES=0 +TYPE_4_0_NUM_OF_ADDRESSES=1 +TYPE_4_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_4_0_ADD_0=56700 +PROTOCOL_4_0_ADD_0=udp +DEVICEADDRESS_4_0_ADD_0=USER +TYPE_4_0_NUM_OF_DEVICE_INFO=0 + +TYPE_5=SprinklerSmart +TAG_5=SP +SUBTYPE_5=2 +TYPE_5_0=EspSprinkler +TYPE_5_0_NUM_OF_ZBADDRESSES=0 +TYPE_5_0_NUM_OF_ADDRESSES=1 +TYPE_5_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_5_0_ADD_0=5556 +PROTOCOL_5_0_ADD_0=udp +DEVICEADDRESS_5_0_ADD_0=USER +TYPE_5_0_NUM_OF_DEVICE_INFO=0 +TYPE_5_1=BlossomSprinkler +TYPE_5_1_NUM_OF_ZBADDRESSES=0 +TYPE_5_1_NUM_OF_ADDRESSES=2 +TYPE_5_1_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_5_1_ADD_0=80 +PROTOCOL_5_1_ADD_0=tcpgw +DEVICEADDRESS_5_1_ADD_0=USER +PORTNUMBER_5_1_ADD_1=80 +PROTOCOL_5_1_ADD_1=nopro +DEVICEADDRESS_5_1_ADD_1=00:00:00:00:00:00 +TYPE_5_1_NUM_OF_DEVICE_INFO=1 +TYPE_5_1_DEVICE_FIELDS=CHANNELID +CHANNELID_5_1=USER + +TYPE_6=GPSGatewaySmart +TAG_6=GG +SUBTYPE_6=1 +TYPE_6_0=GPSPhoneGateway +TYPE_6_0_NUM_OF_ZBADDRESSES=0 +TYPE_6_0_NUM_OF_ADDRESSES=1 +TYPE_6_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_6_0_ADD_0=8000 +PROTOCOL_6_0_ADD_0=tcpgw +DEVICEADDRESS_6_0_ADD_0=USER +TYPE_6_0_NUM_OF_DEVICE_INFO=0 + +TYPE_7=MoistureSensorSmart +TAG_7=SS +SUBTYPE_7=1 +TYPE_7_0=SpruceSensor +TYPE_7_0_NUM_OF_ZBADDRESSES=1 +TYPE_7_0_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_7_0_ZBADD_0=USER +TYPE_7_0_NUM_OF_ADDRESSES=1 +TYPE_7_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_7_0_ADD_0=5005 +PROTOCOL_7_0_ADD_0=udp +DEVICEADDRESS_7_0_ADD_0=USER +TYPE_7_0_NUM_OF_DEVICE_INFO=0 + +TYPE_8=IoTAddress +TAG_8=CL +SUBTYPE_8=2 +TYPE_8_0=IoTCloudServerDC6 +TYPE_8_0_NUM_OF_ZBADDRESSES=0 +TYPE_8_0_NUM_OF_ADDRESSES=0 +TYPE_8_0_NUM_OF_DEVICE_INFO=1 +TYPE_8_0_DEVICE_FIELDS=ADDRESS +ADDRESS_8_0=USER +TYPE_8_1=WeatherForecastAdd +TYPE_8_1_NUM_OF_ZBADDRESSES=0 +TYPE_8_1_NUM_OF_ADDRESSES=0 +TYPE_8_1_NUM_OF_DEVICE_INFO=1 +TYPE_8_1_DEVICE_FIELDS=ADDRESS +ADDRESS_8_1=USER + +TYPE_9=AlarmSmart +TAG_9=AL +SUBTYPE_9=1 +TYPE_9_0=EspAlarm +TYPE_9_0_NUM_OF_ZBADDRESSES=0 +TYPE_9_0_NUM_OF_ADDRESSES=1 +TYPE_9_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_9_0_ADD_0=5556 +PROTOCOL_9_0_ADD_0=udp +DEVICEADDRESS_9_0_ADD_0=USER +TYPE_9_0_NUM_OF_DEVICE_INFO=0 + +TYPE_10=WeatherGatewaySmart +TAG_10=GW +SUBTYPE_10=1 +TYPE_10_0=WeatherPhoneGateway +TYPE_10_0_NUM_OF_ZBADDRESSES=0 +TYPE_10_0_NUM_OF_ADDRESSES=1 +TYPE_10_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_10_0_ADD_0=8000 +PROTOCOL_10_0_ADD_0=tcpgw +DEVICEADDRESS_10_0_ADD_0=USER +TYPE_10_0_NUM_OF_DEVICE_INFO=0 + +TYPE_11=SmartthingsActuatorSmart +TAG_11=DR +SUBTYPE_11=1 +TYPE_11_0=DoorlockActuator +TYPE_11_0_NUM_OF_ZBADDRESSES=1 +TYPE_11_0_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_11_0_ZBADD_0=USER +TYPE_11_0_NUM_OF_ADDRESSES=1 +TYPE_11_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_11_0_ADD_0=5005 +PROTOCOL_11_0_ADD_0=udp +DEVICEADDRESS_11_0_ADD_0=USER +TYPE_11_0_NUM_OF_DEVICE_INFO=0 + +TYPE_12=CameraSmart +TAG_12=CM +SUBTYPE_12=1 +TYPE_12_0=AmcrestCamera +TYPE_12_0_NUM_OF_ZBADDRESSES=0 +TYPE_12_0_NUM_OF_ADDRESSES=1 +TYPE_12_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_12_0_ADD_0=8 +PROTOCOL_12_0_ADD_0=utp +DEVICEADDRESS_12_0_ADD_0=USER +TYPE_12_0_NUM_OF_DEVICE_INFO=2 +TYPE_12_0_DEVICE_FIELDS=PASSWORD USERNAME +PASSWORD_12_0=USER +USERNAME_12_0=USER + +TYPE_13=LawnSmart +TAG_13=LW +SUBTYPE_13=1 +TYPE_13_0=GreenLawn +TYPE_13_0_NUM_OF_ZBADDRESSES=0 +TYPE_13_0_NUM_OF_ADDRESSES=0 +TYPE_13_0_NUM_OF_DEVICE_INFO=0 + diff --git a/localconfig/SupportedDevices/AddressInformation/AmcrestCamera.config b/localconfig/SupportedDevices/AddressInformation/AmcrestCamera.config new file mode 100644 index 0000000..8960802 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/AmcrestCamera.config @@ -0,0 +1,13 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 + +# Address Information(protocal might need be changed) +DEVICEADDRESS_1=USER +PORTNUMBER_1=8 +PROTOCOL_1=utp +# Device Information +DEVICEINFO=2 +USERNAME=USER +PASSWORD=USER +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/AudioRoom.config b/localconfig/SupportedDevices/AddressInformation/AudioRoom.config new file mode 100644 index 0000000..06cdfb4 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/AudioRoom.config @@ -0,0 +1,7 @@ +# Number of Addresses +ADDRESSES=0 +ZBADDRESSES=0 +# Device Info +DEVICEINFO=1 +ROOMID=USER +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/BlossomSprinkler.config b/localconfig/SupportedDevices/AddressInformation/BlossomSprinkler.config new file mode 100644 index 0000000..7d33ec4 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/BlossomSprinkler.config @@ -0,0 +1,16 @@ +# Number of Addresses +ADDRESSES=2 +ZBADDRESSES=0 +# Address Information +ADD1=USER,80,tcpgw +DEVICEADDRESS_1=USER +PORTNUMBER_1=80 +PROTOCOL_1=tcpgw + +DEVICEADDRESS_2=00:00:00:00:00:00 +PORTNUMBER_2=80 +PROTOCOL_2=nopro +# Device Info +DEVICEINFO=1 +CHANNELID=USER +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/DlinkAlarm.config b/localconfig/SupportedDevices/AddressInformation/DlinkAlarm.config new file mode 100644 index 0000000..a155dcc --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/DlinkAlarm.config @@ -0,0 +1,10 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=80 +PROTOCOL_1=tcpgw +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/DoorlockActuator.config b/localconfig/SupportedDevices/AddressInformation/DoorlockActuator.config new file mode 100644 index 0000000..c5daf11 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/DoorlockActuator.config @@ -0,0 +1,11 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=1 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5005 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities +ZBDEVICEADDRESS_1=USER diff --git a/localconfig/SupportedDevices/AddressInformation/EspAlarm.config b/localconfig/SupportedDevices/AddressInformation/EspAlarm.config new file mode 100644 index 0000000..0e659c5 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/EspAlarm.config @@ -0,0 +1,10 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5556 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/EspSprinkler.config b/localconfig/SupportedDevices/AddressInformation/EspSprinkler.config new file mode 100644 index 0000000..7dd832e --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/EspSprinkler.config @@ -0,0 +1,10 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5556 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/GPSPhoneGateway.config b/localconfig/SupportedDevices/AddressInformation/GPSPhoneGateway.config new file mode 100644 index 0000000..5f61b78 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/GPSPhoneGateway.config @@ -0,0 +1,10 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=8000 +PROTOCOL_1=tcpgw +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/GreenLawn.config b/localconfig/SupportedDevices/AddressInformation/GreenLawn.config new file mode 100644 index 0000000..e120984 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/GreenLawn.config @@ -0,0 +1,6 @@ +# Number of Addresses +ADDRESSES=0 +ZBADDRESSES=0 +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/HomeRoom.config b/localconfig/SupportedDevices/AddressInformation/HomeRoom.config new file mode 100644 index 0000000..06cdfb4 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/HomeRoom.config @@ -0,0 +1,7 @@ +# Number of Addresses +ADDRESSES=0 +ZBADDRESSES=0 +# Device Info +DEVICEINFO=1 +ROOMID=USER +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/IHome.config b/localconfig/SupportedDevices/AddressInformation/IHome.config new file mode 100644 index 0000000..eecdd48 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/IHome.config @@ -0,0 +1,37 @@ +# Number of Addresses +ADDRESSES=5 +ZBADDRESSES=0 + +# Address Information (USER) means user will input +DEVICEADDRESS_1=USER +PORTNUMBER_1=1024 +PROTOCOL_1=tcp +SOURCEWILDCARD_1=false +DESTWILDCARD_1=false + +DEVICEADDRESS_2=00:00:00:00:00:00 +PORTNUMBER_2=-1 +PROTOCOL_2=nopro +SOURCEWILDCARD_2=false +DESTWILDCARD_2=false + +DEVICEADDRESS_3=USER +PORTNUMBER_3=-1 +PROTOCOL_3=udp +SOURCEWILDCARD_3=false +DESTWILDCARD_3=true + +DEVICEADDRESS_4=USER +PORTNUMBER_4=-1 +PROTOCOL_4=udp +SOURCEWILDCARD_4=false +DESTWILDCARD_4=true + +DEVICEADDRESS_5=USER +PORTNUMBER_5=-1 +PROTOCOL_5=udp +SOURCEWILDCARD_5=false +DESTWILDCARD_5=true +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/IoTCloudServerDC6.config b/localconfig/SupportedDevices/AddressInformation/IoTCloudServerDC6.config new file mode 100644 index 0000000..d99005a --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/IoTCloudServerDC6.config @@ -0,0 +1,7 @@ +# Number of Addresses +ADDRESSES=0 +ZBADDRESSES=0 +# Device Info +DEVICEINFO=1 +ADDRESS=USER +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/LabRoom.config b/localconfig/SupportedDevices/AddressInformation/LabRoom.config new file mode 100644 index 0000000..e120984 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/LabRoom.config @@ -0,0 +1,6 @@ +# Number of Addresses +ADDRESSES=0 +ZBADDRESSES=0 +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/LifxLightBulb.config b/localconfig/SupportedDevices/AddressInformation/LifxLightBulb.config new file mode 100644 index 0000000..7d9c044 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/LifxLightBulb.config @@ -0,0 +1,10 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=56700 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/MotionSensor.config b/localconfig/SupportedDevices/AddressInformation/MotionSensor.config new file mode 100644 index 0000000..e29234b --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/MotionSensor.config @@ -0,0 +1,11 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=1 +# Addres Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5005 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities +ZBDEVICEADDRESS_1=USER diff --git a/localconfig/SupportedDevices/AddressInformation/MultipurposeSensor.config b/localconfig/SupportedDevices/AddressInformation/MultipurposeSensor.config new file mode 100644 index 0000000..e51b597 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/MultipurposeSensor.config @@ -0,0 +1,11 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=1 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5005 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities +ZBDEVICEADDRESS_1=USER diff --git a/localconfig/SupportedDevices/AddressInformation/SpruceSensor.config b/localconfig/SupportedDevices/AddressInformation/SpruceSensor.config new file mode 100644 index 0000000..12715ee --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/SpruceSensor.config @@ -0,0 +1,11 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=1 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5005 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Possibilities +ZBDEVICEADDRESS_1=USER diff --git a/localconfig/SupportedDevices/AddressInformation/WaterLeakSensor.config b/localconfig/SupportedDevices/AddressInformation/WaterLeakSensor.config new file mode 100644 index 0000000..e51b597 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/WaterLeakSensor.config @@ -0,0 +1,11 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=1 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=5005 +PROTOCOL_1=udp +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities +ZBDEVICEADDRESS_1=USER diff --git a/localconfig/SupportedDevices/AddressInformation/WeatherForecastAdd.config b/localconfig/SupportedDevices/AddressInformation/WeatherForecastAdd.config new file mode 100644 index 0000000..da129f1 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/WeatherForecastAdd.config @@ -0,0 +1,7 @@ +# number of Addresses +ADDRESSES=0 +ZBADDRESSES=0 +# Device Info +DEVICEINFO=1 +ADDRESS=USER +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AddressInformation/WeatherPhoneGateway.config b/localconfig/SupportedDevices/AddressInformation/WeatherPhoneGateway.config new file mode 100644 index 0000000..5f61b78 --- /dev/null +++ b/localconfig/SupportedDevices/AddressInformation/WeatherPhoneGateway.config @@ -0,0 +1,10 @@ +# Number of Addresses +ADDRESSES=1 +ZBADDRESSES=0 +# Address Information +DEVICEADDRESS_1=USER +PORTNUMBER_1=8000 +PROTOCOL_1=tcpgw +# Device Info +DEVICEINFO=0 +# Zigbee Capabilities diff --git a/localconfig/SupportedDevices/AllDevices.config b/localconfig/SupportedDevices/AllDevices.config new file mode 100644 index 0000000..2a5aa2a --- /dev/null +++ b/localconfig/SupportedDevices/AllDevices.config @@ -0,0 +1,14 @@ +CameraSmart +LightBulbSmart +SpeakerSmart +WeatherGatewaySmart +GPSGatewaySmart +AlarmSmart +MoistureSensorSmart +SmartthingsSensorSmart +SmartthingsActuatorSmart +SprinklerSmart +RoomSmart +LawnSmart +IoTAddress +LightBulbTest diff --git a/localconfig/SupportedDevices/driversList.config b/localconfig/SupportedDevices/driversList.config new file mode 100644 index 0000000..72343e2 --- /dev/null +++ b/localconfig/SupportedDevices/driversList.config @@ -0,0 +1,30 @@ +FIELD_NUMBER=14 +COMMAND_PREFIX=cat ~/iot2/benchmarks/drivers/Java/ +FIELD_0=AmcrestCamera +AmcrestCamera=AmcrestCamera/AmcrestCamera.config +FIELD_1=BlossomSprinkler +BlossomSprinkler=BlossomSprinkler/BlossomSprinkler.config +FIELD_2=DoorlockActuator +DoorlockActuator=DoorlockActuator/DoorlockActuator.config +FIELD_3=DoorlockSensor +DoorlockSensor=DoorlockSensor/DoorlockSensor.config +FIELD_4=EspAlarm +EspAlarm=EspAlarm/EspAlarm.config +FIELD_5=EspSprinkler +EspSprinkler=EspSprinkler/EspSprinkler.config +FIELD_6=GPSPhoneGateway +GPSPhoneGateway=GPSPhoneGateway/GPSPhoneGateway.config +FIELD_7=IHome +IHome=IHome/IHome.config +FIELD_8=LifxLightBulb +LifxLightBulb=LifxLightBulb/LifxLightBulb.config +FIELD_9=MotionSensor +MotionSensor=MotionSensor/MotionSensor.config +FIELD_10=MultipurposeSensor +MultipurposeSensor=MultipurposeSensor/MultipurposeSensor.config +FIELD_11=SpruceSensor +SpruceSensor=SpruceSensor/SpruceSensor.config +FIELD_12=WaterLeakSensor +WaterLeakSensor=WaterLeakSensor/WaterLeakSensor.config +FIELD_13=WeatherPhoneGateway +WeatherPhoneGateway=WeatherPhoneGateway/WeatherPhoneGateway.config diff --git a/localconfig/iotinstaller_phone_app/AddressInformation.config b/localconfig/iotinstaller_phone_app/AddressInformation.config new file mode 100644 index 0000000..d108b4d --- /dev/null +++ b/localconfig/iotinstaller_phone_app/AddressInformation.config @@ -0,0 +1,242 @@ +NUM_OF_TYPES=14 + +TYPE_0=SmartthingsSensorSmart +TAG_0=ST +SUBTYPE_0=3 +TYPE_0_0=WaterLeakSensor +TYPE_0_0_NUM_OF_ZBADDRESSES=1 +TYPE_0_0_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_0_0_ZBADD_0=USER +TYPE_0_0_NUM_OF_ADDRESSES=1 +TYPE_0_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_0_0_ADD_0=5005 +PROTOCOL_0_0_ADD_0=udp +DEVICEADDRESS_0_0_ADD_0=USER +TYPE_0_0_NUM_OF_DEVICE_INFO=0 +TYPE_0_1=MultipurposeSensor +TYPE_0_1_NUM_OF_ZBADDRESSES=1 +TYPE_0_1_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_0_1_ZBADD_0=USER +TYPE_0_1_NUM_OF_ADDRESSES=1 +TYPE_0_1_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_0_1_ADD_0=5005 +PROTOCOL_0_1_ADD_0=udp +DEVICEADDRESS_0_1_ADD_0=USER +TYPE_0_1_NUM_OF_DEVICE_INFO=0 +TYPE_0_2=MotionSensor +TYPE_0_2_NUM_OF_ZBADDRESSES=1 +TYPE_0_2_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_0_2_ZBADD_0=USER +TYPE_0_2_NUM_OF_ADDRESSES=1 +TYPE_0_2_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_0_2_ADD_0=5005 +PROTOCOL_0_2_ADD_0=udp +DEVICEADDRESS_0_2_ADD_0=USER +TYPE_0_2_NUM_OF_DEVICE_INFO=0 + +TYPE_1=SpeakerSmart +TAG_1=SK +SUBTYPE_1=1 +TYPE_1_0=IHome +TYPE_1_0_NUM_OF_ZBADDRESSES=0 +TYPE_1_0_NUM_OF_ADDRESSES=5 +TYPE_1_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS SOURCEWILDCARD DESTWILDCARD +PORTNUMBER_1_0_ADD_0=1024 +PROTOCOL_1_0_ADD_0=tcp +DEVICEADDRESS_1_0_ADD_0=USER +SOURCEWILDCARD_1_0_ADD_0=false +DESTWILDCARD_1_0_ADD_0=false +PORTNUMBER_1_0_ADD_1=-1 +PROTOCOL_1_0_ADD_1=nopro +DEVICEADDRESS_1_0_ADD_1=00:00:00:00:00:00 +SOURCEWILDCARD_1_0_ADD_1=false +DESTWILDCARD_1_0_ADD_1=false +PORTNUMBER_1_0_ADD_2=-1 +PROTOCOL_1_0_ADD_2=udp +DEVICEADDRESS_1_0_ADD_2=USER +SOURCEWILDCARD_1_0_ADD_2=false +DESTWILDCARD_1_0_ADD_2=true +PORTNUMBER_1_0_ADD_3=-1 +PROTOCOL_1_0_ADD_3=udp +DEVICEADDRESS_1_0_ADD_3=USER +SOURCEWILDCARD_1_0_ADD_3=false +DESTWILDCARD_1_0_ADD_3=true +PORTNUMBER_1_0_ADD_4=-1 +PROTOCOL_1_0_ADD_4=udp +DEVICEADDRESS_1_0_ADD_4=USER +SOURCEWILDCARD_1_0_ADD_4=false +DESTWILDCARD_1_0_ADD_4=true +TYPE_1_0_NUM_OF_DEVICE_INFO=0 + +TYPE_2=LightBulbSmart +TAG_2=LB +SUBTYPE_2=1 +TYPE_2_0=LifxLightBulb +TYPE_2_0_NUM_OF_ZBADDRESSES=0 +TYPE_2_0_NUM_OF_ADDRESSES=1 +TYPE_2_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_2_0_ADD_0=56700 +PROTOCOL_2_0_ADD_0=udp +DEVICEADDRESS_2_0_ADD_0=USER +TYPE_2_0_NUM_OF_DEVICE_INFO=0 + +TYPE_3=RoomSmart +TAG_3=RM +SUBTYPE_3=3 +TYPE_3_0=LabRoom +TYPE_3_0_NUM_OF_ZBADDRESSES=0 +TYPE_3_0_NUM_OF_ADDRESSES=0 +TYPE_3_0_NUM_OF_DEVICE_INFO=0 +TYPE_3_1=HomeRoom +TYPE_3_1_NUM_OF_ZBADDRESSES=0 +TYPE_3_1_NUM_OF_ADDRESSES=0 +TYPE_3_1_NUM_OF_DEVICE_INFO=1 +TYPE_3_1_DEVICE_FIELDS=ROOMID +ROOMID_3_1=USER +TYPE_3_2=AudioRoom +TYPE_3_2_NUM_OF_ZBADDRESSES=0 +TYPE_3_2_NUM_OF_ADDRESSES=0 +TYPE_3_2_NUM_OF_DEVICE_INFO=1 +TYPE_3_2_DEVICE_FIELDS=ROOMID +ROOMID_3_2=USER + +TYPE_4=LightBulbTest +TAG_4=LB +SUBTYPE_4=1 +TYPE_4_0=LifxLightBulb +TYPE_4_0_NUM_OF_ZBADDRESSES=0 +TYPE_4_0_NUM_OF_ADDRESSES=1 +TYPE_4_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_4_0_ADD_0=56700 +PROTOCOL_4_0_ADD_0=udp +DEVICEADDRESS_4_0_ADD_0=USER +TYPE_4_0_NUM_OF_DEVICE_INFO=0 + +TYPE_5=SprinklerSmart +TAG_5=SP +SUBTYPE_5=2 +TYPE_5_0=EspSprinkler +TYPE_5_0_NUM_OF_ZBADDRESSES=0 +TYPE_5_0_NUM_OF_ADDRESSES=1 +TYPE_5_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_5_0_ADD_0=5556 +PROTOCOL_5_0_ADD_0=udp +DEVICEADDRESS_5_0_ADD_0=USER +TYPE_5_0_NUM_OF_DEVICE_INFO=0 +TYPE_5_1=BlossomSprinkler +TYPE_5_1_NUM_OF_ZBADDRESSES=0 +TYPE_5_1_NUM_OF_ADDRESSES=2 +TYPE_5_1_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_5_1_ADD_0=80 +PROTOCOL_5_1_ADD_0=tcpgw +DEVICEADDRESS_5_1_ADD_0=USER +PORTNUMBER_5_1_ADD_1=80 +PROTOCOL_5_1_ADD_1=nopro +DEVICEADDRESS_5_1_ADD_1=00:00:00:00:00:00 +TYPE_5_1_NUM_OF_DEVICE_INFO=1 +TYPE_5_1_DEVICE_FIELDS=CHANNELID +CHANNELID_5_1=USER + +TYPE_6=GPSGatewaySmart +TAG_6=GG +SUBTYPE_6=1 +TYPE_6_0=GPSPhoneGateway +TYPE_6_0_NUM_OF_ZBADDRESSES=0 +TYPE_6_0_NUM_OF_ADDRESSES=1 +TYPE_6_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_6_0_ADD_0=8000 +PROTOCOL_6_0_ADD_0=tcpgw +DEVICEADDRESS_6_0_ADD_0=USER +TYPE_6_0_NUM_OF_DEVICE_INFO=0 + +TYPE_7=MoistureSensorSmart +TAG_7=SS +SUBTYPE_7=1 +TYPE_7_0=SpruceSensor +TYPE_7_0_NUM_OF_ZBADDRESSES=1 +TYPE_7_0_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_7_0_ZBADD_0=USER +TYPE_7_0_NUM_OF_ADDRESSES=1 +TYPE_7_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_7_0_ADD_0=5005 +PROTOCOL_7_0_ADD_0=udp +DEVICEADDRESS_7_0_ADD_0=USER +TYPE_7_0_NUM_OF_DEVICE_INFO=0 + +TYPE_8=IoTAddress +TAG_8=CL +SUBTYPE_8=2 +TYPE_8_0=IoTCloudServerDC6 +TYPE_8_0_NUM_OF_ZBADDRESSES=0 +TYPE_8_0_NUM_OF_ADDRESSES=0 +TYPE_8_0_NUM_OF_DEVICE_INFO=1 +TYPE_8_0_DEVICE_FIELDS=ADDRESS +ADDRESS_8_0=USER +TYPE_8_1=WeatherForecastAdd +TYPE_8_1_NUM_OF_ZBADDRESSES=0 +TYPE_8_1_NUM_OF_ADDRESSES=0 +TYPE_8_1_NUM_OF_DEVICE_INFO=1 +TYPE_8_1_DEVICE_FIELDS=ADDRESS +ADDRESS_8_1=USER + +TYPE_9=AlarmSmart +TAG_9=AL +SUBTYPE_9=1 +TYPE_9_0=EspAlarm +TYPE_9_0_NUM_OF_ZBADDRESSES=0 +TYPE_9_0_NUM_OF_ADDRESSES=1 +TYPE_9_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_9_0_ADD_0=5556 +PROTOCOL_9_0_ADD_0=udp +DEVICEADDRESS_9_0_ADD_0=USER +TYPE_9_0_NUM_OF_DEVICE_INFO=0 + +TYPE_10=WeatherGatewaySmart +TAG_10=GW +SUBTYPE_10=1 +TYPE_10_0=WeatherPhoneGateway +TYPE_10_0_NUM_OF_ZBADDRESSES=0 +TYPE_10_0_NUM_OF_ADDRESSES=1 +TYPE_10_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_10_0_ADD_0=8000 +PROTOCOL_10_0_ADD_0=tcpgw +DEVICEADDRESS_10_0_ADD_0=USER +TYPE_10_0_NUM_OF_DEVICE_INFO=0 + +TYPE_11=SmartthingsActuatorSmart +TAG_11=DR +SUBTYPE_11=1 +TYPE_11_0=DoorlockActuator +TYPE_11_0_NUM_OF_ZBADDRESSES=1 +TYPE_11_0_ZBADDRESS_FIELDS=DEVICEADDRESS +ZBDEVICEADDRESS_11_0_ZBADD_0=USER +TYPE_11_0_NUM_OF_ADDRESSES=1 +TYPE_11_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_11_0_ADD_0=5005 +PROTOCOL_11_0_ADD_0=udp +DEVICEADDRESS_11_0_ADD_0=USER +TYPE_11_0_NUM_OF_DEVICE_INFO=0 + +TYPE_12=CameraSmart +TAG_12=CM +SUBTYPE_12=1 +TYPE_12_0=AmcrestCamera +TYPE_12_0_NUM_OF_ZBADDRESSES=0 +TYPE_12_0_NUM_OF_ADDRESSES=1 +TYPE_12_0_ADDRESS_FIELDS=PORTNUMBER PROTOCOL DEVICEADDRESS +PORTNUMBER_12_0_ADD_0=8 +PROTOCOL_12_0_ADD_0=utp +DEVICEADDRESS_12_0_ADD_0=USER +TYPE_12_0_NUM_OF_DEVICE_INFO=2 +TYPE_12_0_DEVICE_FIELDS=PASSWORD USERNAME +PASSWORD_12_0=USER +USERNAME_12_0=USER + +TYPE_13=LawnSmart +TAG_13=LW +SUBTYPE_13=1 +TYPE_13_0=GreenLawn +TYPE_13_0_NUM_OF_ZBADDRESSES=0 +TYPE_13_0_NUM_OF_ADDRESSES=0 +TYPE_13_0_NUM_OF_DEVICE_INFO=0 + diff --git a/localconfig/iotinstaller_phone_app/IDSubtypeInformation.config b/localconfig/iotinstaller_phone_app/IDSubtypeInformation.config new file mode 100644 index 0000000..fbe268f --- /dev/null +++ b/localconfig/iotinstaller_phone_app/IDSubtypeInformation.config @@ -0,0 +1,77 @@ +AmcrestCamera CM1 +AmcrestCamera CM2 +AmcrestCamera CM5 +AmcrestCamera CM6 +AmcrestCamera CM3 +AmcrestCamera CM4 +AmcrestCamera CM7 + +LifxLightBulb LB1 +LifxLightBulb LB2 +LifxLightBulb LB1 + +IHome SK1 +IHome SK2 + +WeatherPhoneGateway GW1 + +GPSPhoneGateway GG1 + +EspAlarm AL1 +EspAlarm AL2 +EspAlarm AL3 +EspAlarm AL4 +EspAlarm AL5 +EspAlarm AL6 +EspAlarm AL7 +EspAlarm AL8 +EspAlarm AL9 +EspAlarm AL10 +EspAlarm AL11 +EspAlarm AL12 +EspAlarm AL13 +EspAlarm AL14 +EspAlarm AL15 +EspAlarm AL16 +EspAlarm AL17 +EspAlarm AL18 +EspAlarm AL19 +EspAlarm AL20 +EspAlarm AL21 +EspAlarm AL22 +EspAlarm AL23 +EspAlarm AL24 +EspAlarm AL25 + +SpruceSensor SS1 +SpruceSensor SS2 + +MotionSensor ST1 +WaterLeakSensor ST2 +MultipurposeSensor ST3 +MotionSensor ST2 + +DoorlockActuator DR1 + +EspSprinkler SP1 +BlossomSprinkler SP1 +BlossomSprinkler SP3 + +LabRoom RM2 +AudioRoom RM3 +HomeRoom RM5 +HomeRoom RM6 +LabRoom RM3 +AudioRoom RM1 +LabRoom RM1 + +GreenLawn LW1 +GreenLawn LW2 + +WeatherForecastAdd WF1 +WeatherForecastAdd WF2 +IoTCloudServerDC6 CL1 + +LifxLightBulb LB1 +LifxLightBulb LB2 + diff --git a/localconfig/iotinstaller_phone_app/IoTDeviceAddress.config b/localconfig/iotinstaller_phone_app/IoTDeviceAddress.config new file mode 100644 index 0000000..f36dfae --- /dev/null +++ b/localconfig/iotinstaller_phone_app/IoTDeviceAddress.config @@ -0,0 +1,74 @@ +START +IoTDeviceAddress +LifxLightBulbAdd LB1 +LifxLightBulbAdd LB2 +EspSprinklerAdd SP1 +SpruceSensorAdd SS1 +WeatherPhoneGatewayAdd GW1 +GPSPhoneGatewayAdd GG1 +IHomeAdd1 SK1 +IHomeAdd2 SK1 +IHomeAdd3 SK1 +IHomeAdd4 SK1 +IHomeAdd5 SK1 +IHomeAdd1 SK2 +IHomeAdd2 SK2 +IHomeAdd3 SK2 +IHomeAdd4 SK2 +IHomeAdd5 SK2 +EspAlarmAdd AL1 +MotionSensorAdd ST1 +WaterLeakSensorAdd ST2 +MultipurposeSensorAdd ST3 +DoorlockActuatorAdd DR1 +AmcrestCameraAdd CM1 +AmcrestCameraAdd CM2 +AmcrestCameraAdd CM5 +BlossomSprinklerAdd1 SP1 +BlossomSprinklerAdd1 SP1 +BlossomSprinklerAdd1 SP3 +BlossomSprinklerAdd2 SP3 +MotionSensorAdd ST2 +AmcrestCameraAdd CM6 +AmcrestCameraAdd CM3 +EspAlarmAdd AL2 +AmcrestCameraAdd CM4 +AmcrestCameraAdd CM7 +LifxLightBulbAdd LB1 +SpruceSensorAdd SS2 +EspAlarmAdd AL3 +EspAlarmAdd AL4 +EspAlarmAdd AL5 +EspAlarmAdd AL6 +EspAlarmAdd AL7 +EspAlarmAdd AL8 +EspAlarmAdd AL9 +EspAlarmAdd AL10 +EspAlarmAdd AL11 +EspAlarmAdd AL12 +EspAlarmAdd AL13 +EspAlarmAdd AL14 +EspAlarmAdd AL15 +EspAlarmAdd AL16 +EspAlarmAdd AL17 +EspAlarmAdd AL18 +EspAlarmAdd AL19 +EspAlarmAdd AL20 +EspAlarmAdd AL21 +EspAlarmAdd AL22 +EspAlarmAdd AL23 +EspAlarmAdd AL24 +EspAlarmAdd AL25 +END + +START +IoTZigbeeAddress +SpruceSensorZBAdd SS1 +MotionSensorZBAdd ST1 +WaterLeakSensorZBAdd ST2 +MultipurposeSensorZBAdd ST3 +DoorlockActuatorZBAdd DR1 +MotionSensorZBAdd ST2 +SpruceSensorZBAdd SS2 +END + diff --git a/localconfig/iotinstaller_phone_app/SetList.config b/localconfig/iotinstaller_phone_app/SetList.config new file mode 100644 index 0000000..0eb6e0e --- /dev/null +++ b/localconfig/iotinstaller_phone_app/SetList.config @@ -0,0 +1,120 @@ +START +SmartthingsSensorSmart +MotionSensor ST1 +WaterLeakSensor ST2 +MultipurposeSensor ST3 +MotionSensor ST2 +END + +START +SpeakerSmart +IHome SK1 +IHome SK2 +END + +START +LightBulbSmart +LifxLightBulb LB1 +LifxLightBulb LB2 +LifxLightBulb LB1 +END + +START +RoomSmart +LabRoom RM2 +AudioRoom RM3 +HomeRoom RM5 +HomeRoom RM6 +LabRoom RM3 +AudioRoom RM1 +LabRoom RM1 +END + +START +LightBulbTest +LifxLightBulb LB1 +LifxLightBulb LB2 +LifxLightBulb LB1 +END + +START +SprinklerSmart +EspSprinkler SP1 +BlossomSprinkler SP1 +BlossomSprinkler SP3 +END + +START +GPSGatewaySmart +GPSPhoneGateway GG1 +END + +START +MoistureSensorSmart +SpruceSensor SS1 +SpruceSensor SS2 +END + +START +IoTAddress +WeatherForecastAdd WF1 +WeatherForecastAdd WF2 +IoTCloudServerDC6 CL1 +END + +START +AlarmSmart +EspAlarm AL1 +EspAlarm AL2 +EspAlarm AL3 +EspAlarm AL4 +EspAlarm AL5 +EspAlarm AL6 +EspAlarm AL7 +EspAlarm AL8 +EspAlarm AL9 +EspAlarm AL10 +EspAlarm AL11 +EspAlarm AL12 +EspAlarm AL13 +EspAlarm AL14 +EspAlarm AL15 +EspAlarm AL16 +EspAlarm AL17 +EspAlarm AL18 +EspAlarm AL19 +EspAlarm AL20 +EspAlarm AL21 +EspAlarm AL22 +EspAlarm AL23 +EspAlarm AL24 +EspAlarm AL25 +END + +START +WeatherGatewaySmart +WeatherPhoneGateway GW1 +END + +START +SmartthingsActuatorSmart +DoorlockActuator DR1 +END + +START +CameraSmart +AmcrestCamera CM1 +AmcrestCamera CM2 +AmcrestCamera CM5 +AmcrestCamera CM6 +AmcrestCamera CM3 +AmcrestCamera CM4 +AmcrestCamera CM7 +END + +START +LawnSmart +GreenLawn LW1 +GreenLawn LW2 +END + -- 2.34.1