if indigo.devices[575567701].states["door_lock_state"] == 'UNLOCKED':
indigo.actionGroup.execute(485819022)
elif indigo.devices[575567701].states["door_lock_state"] in ['LOCKED','SELECTIVE_LOCKED','SECURED']:
indigo.actionGroup.execute(1804331331)
else:
indigo.server.log("BMW is not locked or unlocked")
DaveL17 wrote:
...You might try deleting and re-entering your server information.
Aug 1, 2023 at 12:36:55
Error reflector connection test failed: local server unreachable
Warning reflector reconnection scheduled in 5 seconds
Error failed to create reflector connection: local server unreachable
Error check your Firewall and Network configurations and try restarting the server
Warning reflector reconnection scheduled in 15 minutes
Reflector starting reflector connection to https://kropla.indigodomo.net
Error failed to create reflector connection: local server unreachable
Error check your Firewall and Network configurations and try restarting the server
Jul 31, 2023 at 17:08:54
Starting Indigo Server version 2022.2.2 on macOS Version 12.6.8 (Build 21G725)
Loading database "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Databases/My House.indiDb"
Waiting for client to connect
Indigo Cocoa client connected
Waiting for client to sync
Finding disabled plugins
Found disabled plugin "DIRECTV DVR Control 1.1.1" using API v1.19
Found disabled plugin "Growl 7.4.1" using API v2.0
Found disabled plugin "Z-Wave Sensor Logger 3.0.31" using API v3.0
Found disabled plugin "Global Property Manager 2022.1.0" using API v3.0
Found disabled plugin "Vera Bridge 1.0.10" using API v1.19
Found disabled plugin "Timers and Pesters 2022.1.0" using API v3.0
Found disabled plugin "WUnderground 6.0.07" using API v1.0
Warning plugin "WUnderground 6.0.07" may not be compatible with next Indigo release without an update
Found disabled plugin "Alexa 2022.2.0" using API v3.2
Found disabled plugin "Airfoil Pro 2022.1.0" using API v3.0
Found disabled plugin "NOAA Weather 2022.2.6" using API v3.2
Found disabled plugin "SQL Logger 2022.2.1" using API v3.0
Found disabled plugin "EasyDAQ Relay Card 2021.2.1" using API v3.0
Found disabled plugin "Airfoil 1.1.14" using API v1.19
Found disabled plugin "WeatherSnoop 3.0.0" using API v2.0
Warning plugin "WeatherSnoop 3.0.0" may not be compatible with next Indigo release without an update
Found disabled plugin "iTunes 2021.1.0" using API v2.5
Found disabled plugin "iCal Alarm Processor 7.4.1" using API v2.0
Loading internal plugins
Loading interface "Z-Wave 2022.2.1" using API v3.0
Starting interface "Z-Wave 2022.2.1" (pid 9222)
Loading interface "Virtual Devices 2022.1.0" using API v3.0
Starting interface "Virtual Devices 2022.1.0" (pid 9223)
Loading plugin "Web Server 2022.2.0" using API v3.0
Starting plugin "Web Server 2022.2.0" (pid 9224)
Loading interface "INSTEON Commands 2022.2.1" using API v3.0
Starting interface "INSTEON Commands 2022.2.1" (pid 9225)
Loading plugin "Action Collection 2022.2.0" using API v3.0
Starting plugin "Action Collection 2022.2.0" (pid 9226)
Loading plugin "Email+ 2022.2.0" using API v3.0
Starting plugin "Email+ 2022.2.0" (pid 9227)
Started interface "Virtual Devices 2022.1.0"
Started plugin "Action Collection 2022.2.0"
Started interface "INSTEON Commands 2022.2.1"
Started plugin "Email+ 2022.2.0"
Started interface "Z-Wave 2022.2.1"
Z-Wave connected to Z-Stick 7 (ZWA010) interface on /dev/cu.usbserial-14310 (firmware 7.00, minimum SDK 7.00.00)
Z-Wave found module included in controller with no matching device (missing or disabled): 005 - Relay Switch
Z-Wave found module included in controller with no matching device (missing or disabled): 008 - Relay Power Switch
Started plugin "Web Server 2022.2.0"
Z-Wave found module included in controller with no matching device (missing or disabled): 018 - Notification Sensor
Z-Wave found module included in controller with no matching device (missing or disabled): 023 - Notification Sensor
Z-Wave found module included in controller with no matching device (missing or disabled): 031 - Relay Power Switch
Z-Wave found module included in controller with no matching device (missing or disabled): 034 - Relay Switch
Z-Wave found module included in controller with no matching device (missing or disabled): 036 - Relay Switch
Z-Wave found module included in controller with no matching device (missing or disabled): 037 - Relay Switch
Z-Wave found module included in controller with no matching device (missing or disabled): 038 - Relay Switch
Z-Wave found module included in controller with no matching device (missing or disabled): 039 - Relay Switch
Web Server starting internal Web server on http://localhost:8176
Z-Wave found module included in controller with no matching device (missing or disabled): 041 - Notification Sensor
Waiting for internal plugins to initialize
Bonjour registered "Indigo - My House"
Reflector starting reflector connection to https://kropla.indigodomo.net
Loading external plugins
Loading plugin "Clock Display 3.0.16" using API v3.0
Starting plugin "Clock Display 3.0.16" (pid 9232)
Loading plugin "minMax 2022.13.18" using API v3.0.0
Starting plugin "minMax 2022.13.18" (pid 9233)
Loading plugin "UPS and Battery Monitor 2022.0.0" using API v3.0.0
Starting plugin "UPS and Battery Monitor 2022.0.0" (pid 9234)
Loading plugin "Survey Plugin 2.2.2" using API v1.0.0
Warning plugin "Survey Plugin 2.2.2" may not be compatible with next Indigo release without an update
Starting plugin "Survey Plugin 2.2.2" (pid 9235)
Loading plugin "NetatmoWelcome 2022.0.1" using API v3.0
Starting plugin "NetatmoWelcome 2022.0.1" (pid 9236)
Loading plugin "Backup 1.0.4" using API v1.0.0
Warning plugin "Backup 1.0.4" may not be compatible with next Indigo release without an update
Starting plugin "Backup 1.0.4" (pid 9237)
Loading plugin "Sensor Stats 0.1.0" using API v3.0
Starting plugin "Sensor Stats 0.1.0" (pid 9238)
Loading plugin "Prowl 1.2.0" using API v3.0
Starting plugin "Prowl 1.2.0" (pid 9239)
Clock Display Waiting for system clock to reach :00 seconds...
Started plugin "Clock Display 3.0.16"
Clock Display Starting clock timer at 01 seconds
minMax initializing ...
minMax path To files: =================
minMax indigo /Library/Application Support/Perceptive Automation/
minMax installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.2/
minMax plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/minMax.indigoPlugin/Contents/Server Plugin/
minMax Plugin params /Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.minMax/
minMax logger enabled for INFO
minMax Warning logger enabled for WARNING
minMax Error logger enabled for ERROR
minMax Error logger enabled for CRITICAL
minMax check /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.minMax/plugin.log <<<< for detailed logging
minMax Plugin short Name minMax
minMax my PID 9233
Started plugin "UPS and Battery Monitor 2022.0.0"
Started plugin "minMax 2022.13.18"
minMax testing if variable enableTimeTracking_minMax is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
minMax Configuration:
Dev/Var-Name------------ ID State ignoreLess ignoreGreater format tracking measures: -------
minMax config parameters foldername >minMax<
minMax config parameters refreshRate >180.0<
minMax config parameters liteOrPsql >sqlite<
minMax config parameters refreshRate >180.0<[secs]
minMax config parameters liteOrPsql >sqlite<
minMax config parameters liteOrPsqlString >/Applications/Postgres.app/Contents/Versions/latest/bin/psql indigo_history postgres<
minMax config parameters postgresPassword ><
minMax config parameters timeFormatDisplay >%Y-%m-%d-%H:%M:%S<
Started plugin "Backup 1.0.4"
Backup Starting Backup, saving to ~/Documents/IndigoBackup
Backup archive filename /Users/steve/Documents/IndigoBackup/Indigo_Backup_07_31_2023__17_09_01
Backup save path ~/Documents/IndigoBackup
Started plugin "Survey Plugin 2.2.2"
Started plugin "Sensor Stats 0.1.0"
Started plugin "Prowl 1.2.0"
Started plugin "NetatmoWelcome 2022.0.1"
NetatmoWelcome Starting Netatmo Multi plugin
NetatmoWelcome Current tokens are valid; authentication not required
Waiting for external plugins to initialize
NetatmoWelcome Weather Station Data for Device Creation:
{'body': {'devices': [{'_id': '70:ee:50:84:88:fa', 'date_setup': 1642420848, 'last_setup': 1642420848, 'type': 'NAMain', 'last_status_store': 1690841342, 'module_name': 'Netatmo base - Den', 'firmware': 201, 'wifi_status': 34, 'reachable': True, 'co2_calibrating': False, 'data_type': ['Temperature', 'CO2', 'Humidity', 'Noise', 'Pressure'], 'place': {'altitude': 20, 'city': 'Houston', 'country': 'US', 'timezone': 'America/Chicago', 'location': [-95.15081255813152, 30.0505586511581]}, 'station_name': 'Home (Netatmo base - Den)', 'home_id': '61e55a3cfe50d977b92f7bc3', 'home_name': 'Home', 'dashboard_data': {'time_utc': 1690840731, 'Temperature': 25.2, 'CO2': 528, 'Humidity': 47, 'Noise': 53, 'Pressure': 1014.1, 'AbsolutePressure': 1011.7, 'min_temp': 24.2, 'max_temp': 27.3, 'date_max_temp': 1690820128, 'date_min_temp': 1690779833, 'temp_trend': 'stable', 'pressure_trend': 'down'}, 'modules': [{'_id': '02:00:00:84:3c:da', 'type': 'NAModule1', 'module_name': 'Netatmo - Outdoor', 'last_setup': 1642420796, 'data_type': ['Temperature', 'Humidity'], 'battery_percent': 100, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 62, 'battery_vp': 6770, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 39.6, 'Humidity': 40, 'min_temp': 28.1, 'max_temp': 39.8, 'date_max_temp': 1690836751, 'date_min_temp': 1690805273, 'temp_trend': 'stable'}}, {'_id': '03:00:00:09:8c:f2', 'type': 'NAModule4', 'module_name': 'Netatmo - Master BR', 'last_setup': 1642539297, 'data_type': ['Temperature', 'CO2', 'Humidity'], 'battery_percent': 100, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 76, 'battery_vp': 6580, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 23.8, 'CO2': 981, 'Humidity': 49, 'min_temp': 23.4, 'max_temp': 25.1, 'date_max_temp': 1690820090, 'date_min_temp': 1690802248, 'temp_trend': 'stable'}}, {'_id': '03:00:00:09:ce:72', 'type': 'NAModule4', 'module_name': 'Netatmo - SK office', 'last_setup': 1642944963, 'data_type': ['Temperature', 'CO2', 'Humidity'], 'battery_percent': 94, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 86, 'battery_vp': 5897, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 26.3, 'CO2': 541, 'Humidity': 43, 'min_temp': 24.8, 'max_temp': 27.9, 'date_max_temp': 1690819782, 'date_min_temp': 1690779791, 'temp_trend': 'stable'}}, {'_id': '05:00:00:08:74:0c', 'type': 'NAModule3', 'module_name': 'Netatmo - Rain Gauge', 'last_setup': 1642954661, 'data_type': ['Rain'], 'battery_percent': 100, 'reachable': True, 'firmware': 14, 'last_message': 1690841340, 'last_seen': 1690841334, 'rf_status': 64, 'battery_vp': 6918, 'dashboard_data': {'time_utc': 1690840718, 'Rain': 0, 'sum_rain_1': 0, 'sum_rain_24': 0}}, {'_id': '03:00:00:09:f5:94', 'type': 'NAModule4', 'module_name': 'Netatmo - Work Room', 'last_setup': 1643150297, 'data_type': ['Temperature', 'CO2', 'Humidity'], 'battery_percent': 100, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 76, 'battery_vp': 6494, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 23.6, 'CO2': 526, 'Humidity': 51, 'min_temp': 22.8, 'max_temp': 24.6, 'date_max_temp': 1690819782, 'date_min_temp': 1690779791, 'temp_trend': 'stable'}}, {'_id': '06:00:00:05:46:c6', 'type': 'NAModule2', 'module_name': 'Netatmo - Wind Gauge', 'last_setup': 1649108328, 'data_type': ['Wind'], 'battery_percent': 100, 'reachable': True, 'firmware': 27, 'last_message': 1690841340, 'last_seen': 1690841340, 'rf_status': 63, 'battery_vp': 6512, 'dashboard_data': {'time_utc': 1690840725, 'WindStrength': 2, 'WindAngle': 355, 'GustStrength': 5, 'GustAngle': 120, 'max_wind_str': 9, 'max_wind_angle': 181, 'date_max_wind_str': 1690833156}}]}], 'user': {'mail': 'steve.kropla@hotmail.com', 'administrative': {'lang': 'en-US', 'reg_locale': 'en-US', 'country': 'US', 'unit': 1, 'windunit': 1, 'pressureunit': 1, 'feel_like_algo': 1}}}, 'status': 'ok', 'time_exec': 0.07669496536254883, 'time_server': 1690841343}
NetatmoWelcome ********************************************************************
NetatmoWelcome Starting Netatmo Multi monitoring thread
NetatmoWelcome Access and Refresh Tokens will be saved on shutdown
NetatmoWelcome Weather station(s) will be polled
NetatmoWelcome - Weather station message logging is on
NetatmoWelcome ********************************************************************
NetatmoWelcome Weather Station Data:
{'devices': [{'_id': '70:ee:50:84:88:fa', 'date_setup': 1642420848, 'last_setup': 1642420848, 'type': 'NAMain', 'last_status_store': 1690841342, 'module_name': 'Netatmo base - Den', 'firmware': 201, 'wifi_status': 34, 'reachable': True, 'co2_calibrating': False, 'data_type': ['Temperature', 'CO2', 'Humidity', 'Noise', 'Pressure'], 'place': {'altitude': 20, 'city': 'Houston', 'country': 'US', 'timezone': 'America/Chicago', 'location': [-95.15081255813152, 30.0505586511581]}, 'station_name': 'Home (Netatmo base - Den)', 'home_id': '61e55a3cfe50d977b92f7bc3', 'home_name': 'Home', 'dashboard_data': {'time_utc': 1690840731, 'Temperature': 25.2, 'CO2': 528, 'Humidity': 47, 'Noise': 53, 'Pressure': 1014.1, 'AbsolutePressure': 1011.7, 'min_temp': 24.2, 'max_temp': 27.3, 'date_max_temp': 1690820128, 'date_min_temp': 1690779833, 'temp_trend': 'stable', 'pressure_trend': 'down'}, 'modules': [{'_id': '02:00:00:84:3c:da', 'type': 'NAModule1', 'module_name': 'Netatmo - Outdoor', 'last_setup': 1642420796, 'data_type': ['Temperature', 'Humidity'], 'battery_percent': 100, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 62, 'battery_vp': 6770, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 39.6, 'Humidity': 40, 'min_temp': 28.1, 'max_temp': 39.8, 'date_max_temp': 1690836751, 'date_min_temp': 1690805273, 'temp_trend': 'stable'}}, {'_id': '03:00:00:09:8c:f2', 'type': 'NAModule4', 'module_name': 'Netatmo - Master BR', 'last_setup': 1642539297, 'data_type': ['Temperature', 'CO2', 'Humidity'], 'battery_percent': 100, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 76, 'battery_vp': 6580, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 23.8, 'CO2': 981, 'Humidity': 49, 'min_temp': 23.4, 'max_temp': 25.1, 'date_max_temp': 1690820090, 'date_min_temp': 1690802248, 'temp_trend': 'stable'}}, {'_id': '03:00:00:09:ce:72', 'type': 'NAModule4', 'module_name': 'Netatmo - SK office', 'last_setup': 1642944963, 'data_type': ['Temperature', 'CO2', 'Humidity'], 'battery_percent': 94, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 86, 'battery_vp': 5897, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 26.3, 'CO2': 541, 'Humidity': 43, 'min_temp': 24.8, 'max_temp': 27.9, 'date_max_temp': 1690819782, 'date_min_temp': 1690779791, 'temp_trend': 'stable'}}, {'_id': '05:00:00:08:74:0c', 'type': 'NAModule3', 'module_name': 'Netatmo - Rain Gauge', 'last_setup': 1642954661, 'data_type': ['Rain'], 'battery_percent': 100, 'reachable': True, 'firmware': 14, 'last_message': 1690841340, 'last_seen': 1690841334, 'rf_status': 64, 'battery_vp': 6918, 'dashboard_data': {'time_utc': 1690840718, 'Rain': 0, 'sum_rain_1': 0, 'sum_rain_24': 0}}, {'_id': '03:00:00:09:f5:94', 'type': 'NAModule4', 'module_name': 'Netatmo - Work Room', 'last_setup': 1643150297, 'data_type': ['Temperature', 'CO2', 'Humidity'], 'battery_percent': 100, 'reachable': True, 'firmware': 53, 'last_message': 1690841340, 'last_seen': 1690841314, 'rf_status': 76, 'battery_vp': 6494, 'dashboard_data': {'time_utc': 1690840699, 'Temperature': 23.6, 'CO2': 526, 'Humidity': 51, 'min_temp': 22.8, 'max_temp': 24.6, 'date_max_temp': 1690819782, 'date_min_temp': 1690779791, 'temp_trend': 'stable'}}, {'_id': '06:00:00:05:46:c6', 'type': 'NAModule2', 'module_name': 'Netatmo - Wind Gauge', 'last_setup': 1649108328, 'data_type': ['Wind'], 'battery_percent': 100, 'reachable': True, 'firmware': 27, 'last_message': 1690841340, 'last_seen': 1690841340, 'rf_status': 63, 'battery_vp': 6512, 'dashboard_data': {'time_utc': 1690840725, 'WindStrength': 2, 'WindAngle': 355, 'GustStrength': 5, 'GustAngle': 120, 'max_wind_str': 9, 'max_wind_angle': 181, 'date_max_wind_str': 1690833156}}]}], 'user': {'mail': 'steve.kropla@hotmail.com', 'administrative': {'lang': 'en-US', 'reg_locale': 'en-US', 'country': 'US', 'unit': 1, 'windunit': 1, 'pressureunit': 1, 'feel_like_algo': 1}}}
NetatmoWelcome Processing Weather Station 0
NetatmoWelcome Processing Modules:
NetatmoWelcome Processing Netatmo base - Den NAMain
NetatmoWelcome Processing Noise
NetatmoWelcome Processing Temp
NetatmoWelcome Processing Temp Trend
NetatmoWelcome Processing Pressure
NetatmoWelcome Processing Humidity
NetatmoWelcome Processing CO2
NetatmoWelcome Processing CO2 Cal
NetatmoWelcome Processing Min/Max
NetatmoWelcome Processing Timestamp
NetatmoWelcome Finding weather device
NetatmoWelcome - Updating Netatmo base - Den
NetatmoWelcome Processing Netatmo - Outdoor NAModule1
NetatmoWelcome Processing Netatmo - Master BR NAModule4
NetatmoWelcome Processing Netatmo - SK office NAModule4
NetatmoWelcome Processing Netatmo - Rain Gauge NAModule3
NetatmoWelcome Processing Netatmo - Work Room NAModule4
NetatmoWelcome Processing Netatmo - Wind Gauge NAModule2
Backup Backup Finished.
Starting triggers and schedules
Jul 31, 2023 at 17:09:07
Connected to PowerLinc 2413U interface on port usbserial-A600B3T4
PowerLinc address 44.84.59, firmware version 9.14
Jul 31, 2023 at 07:07:00
Clock Display Starting clock timer at 00 seconds
Error reflector connection test failed: local server unreachable
Warning reflector reconnection scheduled in 5 seconds
Error failed to create reflector connection: local server unreachable
Error check your Firewall and Network configurations and try restarting the server
Warning reflector reconnection scheduled in 15 minutes
domlazar wrote:
After the actions are done
if allLightsOff:
# This code will execute if allLightsOff is True
else:
# This code will execute if it's False
if not allLightsOff:
# This code will execute if allLightsOff is False
else:
# This code will execute if it's True
lCheckMessage = "Inside Lights Are On: "
# Start from the assumption that all lights are off until proven otherwise
allLightsOff = True
if indigo.devices[937130354].onState is True:
# Found one that's on, add to the message and set allLightsOff to False
lCheckMessage += "Bill's Office, "
allLightsOff = False
if indigo.devices[571187066].onState is True:
lCheckMessage += "Bex's Room, "
allLightsOff = False
#
# Repeat for each one
#
if allLightsOff:
# All lights are off, message appropriately
lCheckMessage = "Inside Lights Are Off."
emojiLights = emojiDash
else:
# At least one light is on, but you've been building the string of lights that are on, so no more to do
emojiLights = emojiCouch
lCheckMessage = ""
allLightsOff = False
if indigo.devices[937130354].onState is False \
and indigo.devices[1633673098].onState is False \
and indigo.devices[571187066].onState is False:
allLightsOff = True
if indigo.devices[937130354].onState is True:
lCheckMessage = lCheckMessage + "Bill's Office, "
if indigo.devices[571187066].onState is True:
lCheckMessage = lCheckMessage + "Bex's Room, "
if allLightsOff == True:
lCheckMessage = "Inside Lights Are Off."
emojiLights = emojiDash
if allLightsOff == False:
lCheckMessage = "Inside Lights Are On: " + lCheckMessage
emojiLights = emojiCouch
emojiDash = "➖"
emojiCouch = "🛋"
if indigo.devices[993557412].onState == True:
isLightsOn = True
theMessage = theMessage + "Front Yard, "
else:
isLightsOn = False
if isLightsOn == False:
theMessage = "All Lights Are Off"
indigo.server.log(theMessage)
indigo.actionGroup.execute(948838716) # Closeout Script
else:
theMessage = "Lights are still on. Check " + theMessage
indigo.server.log(theMessage)
indigo.variable.updateValue(1862150451, theMessage) # send_alexa_variable
if isLightsOn:
theMessage = "Lights are still on. Check " + theMessage
indigo.server.log(theMessage)
indigo.variable.updateValue(1862150451, theMessage) # send_alexa_variable
else:
theMessage = "All Lights Are Off"
indigo.server.log(theMessage)
indigo.actionGroup.execute(948838716) # Closeout Script
siclark wrote:I took tiny baby steps. Created an action with a script to check one category; lights. Once I got that working, I could duplicate the action and substitute all the light devices for fan devices, etc. Eventually, stitch all the scripts together.
My head hurts thinking about how you got this working.
theMessage = ""
isLightsOn = True
if indigo.devices[937130354].onState == True:
isLightsOn = True
theMessage = theMessage + "Bill's Office, "
if indigo.devices[65936415].onState == True:
isLightsOn = True
theMessage = theMessage + "Vikki's Office, "
if indigo.devices[1192336408].onState == True:
isLightsOn = True
theMessage = theMessage + "Garage, "
if indigo.devices[162659895].onState == True:
isLightsOn = True
theMessage = theMessage + "Living Room, "
if indigo.devices[1053474190].onState == True:
isLightsOn = True
theMessage = theMessage + "Dining Room, "
if indigo.devices[1006557169].onState == True:
isLightsOn = True
theMessage = theMessage + "Front Hallway, "
if indigo.devices[1486920762].onState == True:
isLightsOn = True
theMessage = theMessage + "Breakfast Table, "
if indigo.devices[55601007].onState == True:
isLightsOn = True
theMessage = theMessage + "Pantry, "
if indigo.devices[1051393994].onState == True:
isLightsOn = True
theMessage = theMessage + "Kitchen, "
if indigo.devices[675197519].onState == True:
isLightsOn = True
theMessage = theMessage + "Kid Rooms, "
if indigo.devices[134858586].onState == True:
isLightsOn = True
theMessage = theMessage + "Back Yard, "
if indigo.devices[993557412].onState == True:
isLightsOn = True
theMessage = theMessage + "Front Yard, "
else:
isLightsOn = False
if isLightsOn == False:
theMessage = "All Lights Are Off"
indigo.server.log(theMessage)
indigo.actionGroup.execute(948838716) # Closeout Script
if isLightsOn == True:
theMessage = "Lights are still on. Check " + theMessage
indigo.server.log(theMessage)
indigo.variable.updateValue(1862150451, theMessage) # send_alexa_variable
if indigo.devices[649246778].onState == False:
sMessage = sMessage + "front door lock, "
if indigo.devices[375771754].states['onOffState'] is True:
sMessage = sMessage + "Right Garage Door, "
https://myreflector.indigodomo.net/message/PLUGINID/actionId/
https://myreflector.indigodomo.net/message/PLUGINID/actionId/
mundmc wrote:
This is a really awesome implementation. Thank you for sharing it.
https://username:password@username.indigodomo.net/controlpagename=_internal_devices_&uiName=Climate&asList=1&folderFilter=488543452&useJS=True
matt (support) wrote:
We just had a user report that they were able to prevent Indigo Touch from crashing by changing the iOS font text size to not be large. This setting is inside iOS Settings->Display & Brightness->Text Size. Also try turning off Display Zoom (at the bottom of the Display & Brightness settings sheet) which require an iOS reboot.
If you are experiencing the crash, then try editing those iOS settings to see if it fixes the problem. Note we've still been unable to reproduce the problem even when changing the settings to use the largest text size (and bold and display zoom) enabled so we cannot verify if these steps prevent the crash.