i've created a flow when i am at home and connected to my own WLAN and in a specified timeframe (Monday - Friday between 08:00 and 22:00) my cellphone turn on the volume otherwise when i am not in the timeframe it should be turn off the volume. (To mute the cellphone in the night only when i am at home)
But it does not work as planned.
It ignores the WLAN status and only "trigger" the time/date...
For exmaple: I can turn off my WLAN completely - so i am not connected to my WLAN or any other WLAN. When i now run the flow manually it does still turn my volume on (or off) although the cellphone is not connected with any WLAN.
The flow is copied here:
Code: Select all
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<data version="1.20.0">
<trigger type="wifi_connected">
<useDefaultName>true</useDefaultName>
<name>WLAN Verbunden: For_PS3</name>
<enabled>true</enabled>
<all>false</all>
<ssidList>For_PS3</ssidList>
</trigger>
<condition type="time_range">
<useDefaultName>true</useDefaultName>
<name>Zeitbereich: zwischen 8:00 - 22:00</name>
<weekday>Mon</weekday>
<weekday>Tue</weekday>
<weekday>Wed</weekday>
<weekday>Thu</weekday>
<weekday>Fri</weekday>
<weekday>Sat</weekday>
<weekday>Sun</weekday>
<hourFrom>8</hourFrom>
<minuteFrom>0</minuteFrom>
<hourTo>22</hourTo>
<minuteTo>0</minuteTo>
</condition>
<action type="set_ringer_mode">
<useDefaultName>true</useDefaultName>
<name>Soundprofil einstellen: Vibrieren</name>
<ringerMode>VIBRATE</ringerMode>
</action>
<action type="notification_status_bar">
<useDefaultName>true</useDefaultName>
<name>Benachrichtigung in Statusbar: Ton deaktiviert um {triggertime,dateformat,HH:mm:ss} Sound Aus</name>
<notificationIcon>SOUND_OFF</notificationIcon>
<title>Ton deaktiviert um {triggertime,dateformat,HH:mm:ss}</title>
<message>Ton deaktiviert um {triggertime,dateformat,HH:mm:ss}</message>
<sound>false</sound>
<vibrate>true</vibrate>
<flashLED>false</flashLED>
<flashLEDColor>#ff00ff00</flashLEDColor>
<flagOngoing>false</flagOngoing>
<flagNoClear>false</flagNoClear>
<notificationIDEnabled>false</notificationIDEnabled>
<notificationID>1</notificationID>
<priority>DEFAULT</priority>
</action>
<action type="set_ringer_mode">
<useDefaultName>true</useDefaultName>
<name>Soundprofil einstellen: Normal</name>
<ringerMode>NORMAL</ringerMode>
</action>
<action type="notification_status_bar">
<useDefaultName>true</useDefaultName>
<name>Benachrichtigung in Statusbar: Ton aktiviert um {triggertime,dateformat,HH:mm:ss} Sound An</name>
<notificationIcon>SOUND_ON</notificationIcon>
<title>Ton aktiviert um {triggertime,dateformat,HH:mm:ss}</title>
<message>Ton aktiviert um {triggertime,dateformat,HH:mm:ss}</message>
<sound>false</sound>
<vibrate>true</vibrate>
<flashLED>false</flashLED>
<flashLEDColor>#ff00ff00</flashLEDColor>
<flagOngoing>false</flagOngoing>
<flagNoClear>false</flagNoClear>
<notificationIDEnabled>false</notificationIDEnabled>
<notificationID>1</notificationID>
<priority>DEFAULT</priority>
</action>
<flow type="flow">
<name>Zuhause Telefon laut stellen</name>
<group>Zuhause</group>
<enabled>true</enabled>
<lastExecutionStartTime>1391550239768</lastExecutionStartTime>
<lastExecutionEndTime>1391550239925</lastExecutionEndTime>
<actioncontainer id="t1" x="-140.0" y="577.5">Soundprofil einstellen: Normal</actioncontainer>
<actioncontainer id="t2" x="315.0" y="577.5">Soundprofil einstellen: Vibrieren</actioncontainer>
<actioncontainer id="t3" x="-2.2888184E-5" y="577.5">Benachrichtigung in Statusbar: Ton aktiviert um {triggertime,dateformat,HH:mm:ss} Sound An</actioncontainer>
<actioncontainer id="t4" x="175.0" y="577.5">Benachrichtigung in Statusbar: Ton deaktiviert um {triggertime,dateformat,HH:mm:ss} Sound Aus</actioncontainer>
<conditioncontainer id="t5" x="69.99999" y="262.5">Zeitbereich: zwischen 8:00 - 22:00</conditioncontainer>
<triggercontainer id="t6" x="70.0" y="52.5">
<trigger>WLAN Verbunden: For_PS3</trigger>
</triggercontainer>
<connection from="t5" to="t2" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t5" to="t1" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t5" to="t3" type="TRUE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t5" to="t4" type="FALSE" sourcePosition="SOUTH" targetPosition="NORTH" />
<connection from="t6" to="t5" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow>
</data>
Code: Select all
04.02.2014 22:51:42.085 [Zuhause Telefon laut stellen] Starting to execute flow 'Zuhause Telefon laut stellen' with Context{global{global_volume_music=15,global_volume_dtmf=15,global_volume_notification=15,global_volume_alarm=11,global_volume_system=15,global_volume_ring=15,global_volume_voice_call=5},local{flow_name=Zuhause Telefon laut stellen,trigger='Manual',triggertime=1391550702083}}
04.02.2014 22:51:42.088 [Zuhause Telefon laut stellen] Start executing condition 'Zeitbereich: zwischen 8:00 - 22:00'
04.02.2014 22:51:42.089 [Zuhause Telefon laut stellen] End executing condition 'Zeitbereich: zwischen 8:00 - 22:00' with return value false
04.02.2014 22:51:42.134 [Zuhause Telefon laut stellen] Flow continues executing with the next step.
04.02.2014 22:51:42.135 [Zuhause Telefon laut stellen] Start executing action 'Soundprofil einstellen: Vibrieren'
04.02.2014 22:51:42.137 [Zuhause Telefon laut stellen] End executing action 'Soundprofil einstellen: Vibrieren'
04.02.2014 22:51:42.138 [Zuhause Telefon laut stellen] Start executing action 'Benachrichtigung in Statusbar: Ton deaktiviert um {triggertime,dateformat,HH:mm:ss} Sound Aus'
04.02.2014 22:51:42.191 [Zuhause Telefon laut stellen] End executing action 'Benachrichtigung in Statusbar: Ton deaktiviert um {triggertime,dateformat,HH:mm:ss} Sound Aus'
04.02.2014 22:51:42.249 [Zuhause Telefon laut stellen] Flow ended.
Any ideas?