display turns ON after BT connected
Moderator: Martin
display turns ON after BT connected
Hello, can anyboby please help me with this? If my phone /Sony Z3Compact, KITKAT/ connect to my car BT /BMW X5 professional/ the display always turn on itself. I want to make flow which will not allow the display to turn on after every connection to car.
If I start the car, phone BT connect to car BT, the display is turned on by the connection itself. How can I do the flow? I tried: Condition: BT connected--action: lock display. But it do not work. If I hit execute, display immediately lock /super/ but in reality after starting car, BT connect in few seconds, and display turns ON.
I also tried another action after bt connection--action: vibrate- it works perfectly. So Automagic can recognize the BT connection, but I can understand how make the action /lock phone/ to work.
Thank You for answer and sorry for my English
If I start the car, phone BT connect to car BT, the display is turned on by the connection itself. How can I do the flow? I tried: Condition: BT connected--action: lock display. But it do not work. If I hit execute, display immediately lock /super/ but in reality after starting car, BT connect in few seconds, and display turns ON.
I also tried another action after bt connection--action: vibrate- it works perfectly. So Automagic can recognize the BT connection, but I can understand how make the action /lock phone/ to work.
Thank You for answer and sorry for my English
Re: display turns ON after BT connected
Maybe it's just a timing problem? The Automagic trigger might be fired before the Bluetooth connection itself turns on the screen, so with the Screen Lock action you would then simply turn off a screen that has not yet been switched onundymm wrote:If I start the car, phone BT connect to car BT, the display is turned on by the connection itself. How can I do the flow? I tried: Condition: BT connected--action: lock display. But it do not work. If I hit execute, display immediately lock /super/ but in reality after starting car, BT connect in few seconds, and display turns ON.
Try adding a Sleep action before the Lock Screen action to add a delay of a few seconds. Maybe that solves the problem?
If yes we can come up with a more elaborate scheme to turn off the display right after it has been switched on.
Re: display turns ON after BT connected
Yes You are right! If I try vibrate after BT connected, it vibrate 5 seconds before the display go on, so i will try the sleep and will let You know. Thank You!!!
Re: display turns ON after BT connected
Unfortunatelly, it does not work, I tried sleep from 1s to 35 s, still the same result. My timeout is set to 30 s. I do not know how to continue...
Re: display turns ON after BT connected
Could you send the flow here?
Re: display turns ON after BT connected
Yes, this is it:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<data version="1.24.0">
<trigger type="bluetooth_device_connected">
<useDefaultName>true</useDefaultName>
<name>Bluetooth Device Connected: BMW 43310 </name>
<enabled>true</enabled>
<all>false</all>
<deviceAddress></deviceAddress>
<deviceName>BMW 43310 </deviceName>
</trigger>
<action type="lock_device">
<useDefaultName>true</useDefaultName>
<name>Lock Device</name>
</action>
<flow type="flow">
<name>Flow1</name>
<enabled>true</enabled>
<lastExecutionStartTime>1413954672360</lastExecutionStartTime>
<lastExecutionEndTime>1413954672360</lastExecutionEndTime>
<executionPolicy>PARALLEL</executionPolicy>
<triggercontainer id="t1" x="70.0" y="52.5">
<trigger>Bluetooth Device Connected: BMW 43310 </trigger>
</triggercontainer>
<actioncontainer id="t2" x="105.0" y="297.5">Lock Device</actioncontainer>
<connection from="t1" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow>
</data>
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<data version="1.24.0">
<trigger type="bluetooth_device_connected">
<useDefaultName>true</useDefaultName>
<name>Bluetooth Device Connected: BMW 43310 </name>
<enabled>true</enabled>
<all>false</all>
<deviceAddress></deviceAddress>
<deviceName>BMW 43310 </deviceName>
</trigger>
<action type="lock_device">
<useDefaultName>true</useDefaultName>
<name>Lock Device</name>
</action>
<flow type="flow">
<name>Flow1</name>
<enabled>true</enabled>
<lastExecutionStartTime>1413954672360</lastExecutionStartTime>
<lastExecutionEndTime>1413954672360</lastExecutionEndTime>
<executionPolicy>PARALLEL</executionPolicy>
<triggercontainer id="t1" x="70.0" y="52.5">
<trigger>Bluetooth Device Connected: BMW 43310 </trigger>
</triggercontainer>
<actioncontainer id="t2" x="105.0" y="297.5">Lock Device</actioncontainer>
<connection from="t1" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow>
</data>
Re: display turns ON after BT connected
I was playing in my car with this BT and now I believe it is impossible to set the display to not turn ON after connected to car BT
The application can recognize BT connection /verified by " vibrate action"/ which is executed after BT connection, then after 8 seconds display on phone anyway allways turns ON. I tried all options, sleep, stay awake for period from 1 up to 31 seconds, result is still the same. After phone connects to car BT, display turns and remain ON.
The application can recognize BT connection /verified by " vibrate action"/ which is executed after BT connection, then after 8 seconds display on phone anyway allways turns ON. I tried all options, sleep, stay awake for period from 1 up to 31 seconds, result is still the same. After phone connects to car BT, display turns and remain ON.
Re: display turns ON after BT connected
Does your phone have settings related to docking in car? Maybe it's conflicting with the flow?
Re: display turns ON after BT connected
No, there is no setting about it in phone / Sony Z3 compact, android 444/ And I do not use dock in car, only holder. Thank You, Martin
Re: display turns ON after BT connected
Maybe try this:
When BT is connected to your car, start loop with sleep 5 seconds.
If screen is on, turn screen off, exit loop.
Execute and monitor if screen on is detected and if it's turning off
When BT is connected to your car, start loop with sleep 5 seconds.
If screen is on, turn screen off, exit loop.
Execute and monitor if screen on is detected and if it's turning off