Hi All,
Although I have done one automation, I am not fully satisfied; therefore, I am looking for recommendations from incredible folks out there!!
What I want -
If I am home, TV is on, and I receive a phone call, THEN pause the TV
What I have done so far:
- Created a Boolean variable ( Is_Saurabh_Home) that turns to True or False if I am connected to home WIFI. This I achieved through IFTTT.
- Condition created to check if TV is ON or NOT, condition must be true in this case. That is what I have achieved with the TUYA smart plug.
- Create another boolean variable (Saurabh_Incoming_Call) and set timeout to 2 mins as I want it to return false after 2 min since True.
- Major part - how would you detect incoming calls?
4.1 There are applets available in IFTTT, but none are triggered when you receive a call.
4.2 So I created a Bixby routine(available on Samsung phones), which says when I get any incoming calls, open the website(Here I have put the webhooks link to update the variable - Saurabh_Incoming_Call to TRUE ) - Last but not least, I created the logicblock that checks all the above conditions and through a webhook (I used Voice Monkey here), it calls the ALEXA routine that pauses my TV.
So by doing this, when I am home, TV is on and if I get a call, the TV gets paused.
What is the problem:
- The problem is the Bixby Routine that I set up in point 4.2 above.
- Firstly, I have to keep disabling the phone lock to work the routine. This is not a big issue, but I still feel restricted. As an alternative, I created a routine that disables the phone lock when I am at home.
- The second problem is that every time I receive the call, Chrome opens and hits the Webhooks URL to update the variable.
3.1 Because of this I dont see the incoming number straight away and have to scroll down and attend the call so it is bit annoying some time.
4 . Thirst issue, so many open chromes due to incoming call. I have to close it manually.
Do you think there a better solution for this?