From 34445ed393a7c3c4f03f3f476e314ecfe554befc Mon Sep 17 00:00:00 2001 From: rtrimana Date: Fri, 17 Apr 2020 12:15:15 -0700 Subject: [PATCH] Adding a feature to run single apps. --- appLists/single/singleAppList | 114 +++++++++++++++++++++++++++++++++ appLists/single/singleAppList2 | 1 + run.sh | 9 ++- 3 files changed, 122 insertions(+), 2 deletions(-) create mode 100644 appLists/single/singleAppList create mode 100644 appLists/single/singleAppList2 diff --git a/appLists/single/singleAppList b/appLists/single/singleAppList new file mode 100644 index 0000000..53bebc0 --- /dev/null +++ b/appLists/single/singleAppList @@ -0,0 +1,114 @@ +01-control-lights-and-locks-with-contact-sensor.groovy +auto-humidity-vent.groovy +auto-lock-door.smartapp.groovy +beacon-control.groovy +BetterLaundryMonitor.groovy +big-turn-off.groovy +big-turn-on.groovy +bon-voyage.groovy +bose-soundtouch-control.groovy +bright-when-dark-and-or-bright-after-sunset.groovy +brighten-dark-places.groovy +brighten-my-path.groovy +buffered-event-sender.groovy +camera-power-scheduler.groovy +cameras-on-when-im-away.groovy +circadian-daylight.groovy +close-the-valve.groovy +control-switch-with-contact-sensor.groovy +darken-behind-me.groovy +DeviceTamperAlarm.groovy +door-state-to-color-light-hue-bulb.groovy +double-tap.groovy +ecobeeAwayFromHome.groovy +energy-saver.groovy +enhanced-auto-lock-door.groovy +FireCO2Alarm.groovy +forgiving-security.groovy +gentle-wake-up.groovy +good-night.groovy +good-night-house.groovy +greetings-earthling.groovy +groveStreams.groovy +hall-light-welcome-home.groovy +hello-home-phrase-director.groovy +hue-minimote.groovy +hue-mood-lighting.groovy +Hue-Party-Mode.groovy +humidity-alert.groovy +hvac-auto-off.smartapp.groovy +initial-state-event-streamer.groovy +initial-state-event-sender.groovy +initialstate-smart-app-v1.2.0.groovy +influxdb-logger.groovy +its-too-cold.groovy +its-too-hot.groovy +keep-me-cozy.groovy +keep-me-cozy-ii.groovy +laundry-monitor.groovy +let-there-be-dark.groovy +let-there-be-light.groovy +lighting-director.groovy +Light_Rule.groovy +light-follows-me.groovy +lighting-director.groovy +lights-off-with-no-motion-and-presence.groovy +light-up-the-night.groovy +lock-it-at-a-specific-time.groovy +lock-it-when-i-leave.groovy +make-it-so.groovy +mini-hue-controller.groovy +monitor-on-sense.groovy +my-light-toggle.groovy +nfc-tag-toggle.groovy +nobody-home.groovy +notify-me-with-hue.groovy +NotifyIfLeftUnlocked.groovy +once-a-day.groovy +photo-burst-when.groovy +power-allowance.groovy +rise-and-shine.groovy +routine-director.groovy +scheduled-mode-change.groovy +simple-sync-trigger.groovy +single-button-controller.groovy +smart-alarm.groovy +smart-auto-lock-unlock.groovy +smart-home-ventilation.groovy +smart-light-timer-x-minutes-unless-already-on.groovy +smart-nightlight.groovy +smart-security.groovy +smart-turn-it-on.groovy +SmartPresence.groovy +sonos-music-modes.groovy +speaker-control.groovy +speaker-mood-music.groovy +speaker-notify-with-sound.groovy +speaker-weather-forecast.groovy +step-notifier.groovy +sunrise-sunset.groovy +switch-activates-home-phrase-or-mode.groovy +switch-changes-mode.groovy +Switches.groovy +the-big-switch.groovy +thermostat.groovy +thermostat-auto-off.groovy +thermostat-mode-director.groovy +thermostat-window-check.groovy +turn-on-at-sunset.groovy +turn-on-before-sunset.groovy +turn-on-by-zip-code.groovy +turn-it-on-for-5-minutes.groovy +turn-it-on-when-im-here.groovy +turn-it-on-when-it-opens.groovy +turn-off-with-motion.groovy +turn-on-only-if-i-arrive-after-sunset.groovy +unbuffered-event-sender.groovy +undead-early-warning.groovy +unlock-it-when-i-arrive.groovy +vacation-lighting-director.groovy +virtual-thermostat.groovy +whole-house-fan.groovy +WindowOrDoorOpen.groovy +working-from-home.groovy +WorkingFromHome.groovy diff --git a/appLists/single/singleAppList2 b/appLists/single/singleAppList2 new file mode 100644 index 0000000..a10ab77 --- /dev/null +++ b/appLists/single/singleAppList2 @@ -0,0 +1 @@ +empty_app.groovy diff --git a/run.sh b/run.sh index a599ee6..fc5be60 100755 --- a/run.sh +++ b/run.sh @@ -2,7 +2,9 @@ # Device conflict #python ModelCheck.py ../jpf-core/ ../logs/valves/ ../smartapps/ appLists/device-interaction/valvesAppList appLists/device-interaction/valvesAppList2 -python ModelCheck.py ../jpf-core/ ../logs/switches/ ../smartapps/ appLists/device-interaction/switchesAppList appLists/device-interaction/switchesAppList2 +#python ModelCheck.py ../jpf-core/ ../logs/switches/ ../smartapps/ appLists/device-interaction/switchesAppList appLists/device-interaction/switchesAppList2 +#python ModelCheck.py ../jpf-core/ ../logs/lightSwitches/ ../smartapps/ appLists/device-interaction/lightSwitchesAppList appLists/device-interaction/lightSwitchesAppList2 +#python ModelCheck.py ../jpf-core/ ../logs/dimmers/ ../smartapps/ appLists/device-interaction/dimmersAppList appLists/device-interaction/dimmersAppList2 #python ModelCheck.py ../jpf-core/ ../logs/acfanheaterSwitches/ ../smartapps/ appLists/device-interaction/acfanheaterSwitchesAppList appLists/device-interaction/acfanheaterSwitchesAppList2 #python ModelCheck.py ../jpf-core/ ../logs/cameraSwitches/ ../smartapps/ appLists/device-interaction/cameraSwitchesAppList appLists/device-interaction/cameraSwitchesAppList2 #python ModelCheck.py ../jpf-core/ ../logs/ventfanSwitches/ ../smartapps/ appLists/device-interaction/ventfanSwitchesAppList appLists/device-interaction/ventfanSwitchesAppList2 @@ -14,7 +16,7 @@ python ModelCheck.py ../jpf-core/ ../logs/switches/ ../smartapps/ appLists/devic #python ModelCheck.py ../jpf-core/ ../logs/locks/ ../smartapps/ appLists/device-interaction/locksAppList appLists/device-interaction/locksAppList2 #python ModelCheck.py ../jpf-core/ ../logs/musicPlayers/ ../smartapps/ appLists/device-interaction/musicPlayersAppList #python ModelCheck.py ../jpf-core/ ../logs/relaySwitches/ ../smartapps/ appLists/device-interaction/relaySwitchesAppList appLists/device-interaction/relaySwitchesAppList2 -#python ModelCheck.py ../jpf-core/ ../logs/cameras/ ../smartapps/ appLists/device-interaction/camerasAppList +#python ModelCheck.py ../jpf-core/ ../logs/cameras/ ../smartapps/ appLists/device-interaction/camerasAppList appLists/device-interaction/camerasAppList2 # Physical conflict #python ModelCheck.py ../jpf-core/ ../logs/ ../smartapps/ appLists/physical-interaction/soundsensorAppList appLists/physical-interaction/soundAppList @@ -24,3 +26,6 @@ python ModelCheck.py ../jpf-core/ ../logs/switches/ ../smartapps/ appLists/devic # Global variable conflict #python ModelCheck.py ../jpf-core/ ../logs/globalStateVariables/ ../smartapps/ appLists/global-state-variable-interaction/globalstatevariableAppList appLists/global-state-variable-interaction/globalstatevariableAppList2 + +# Single apps +python ModelCheck.py ../jpf-core/ ../logs/singleApps/ ../smartapps/ appLists/single/singleAppList appLists/single/singleAppList2 -- 2.34.1