Jump to content

Tuya Wifi Bulb control?

Recommended Posts

11 hours ago, Johno said:

STEP 3

Create a action script to use with PreShow.

Change the ** ** to suit.

http://**YOUR HA IP ADDRESS**:8123/api/services/script/turn_on
HEADERS: {"Authorization": "Bearer **PASTE YOUR LONG-LIVED ACCESS TOKEN HERE**", "Content-Type": "application/json"}
POST: {"entity_id": "**YOU SCRIPT NAME  eg script.Turn_on_Cinema_Light **"}


Sample attached.

Let me know if you run into any problems and I will create a pdf guide with screen shots etc.

HA is fantastic to what you can do with it example: If someone presses my door bell camera and I am in my home cinema, I have a automation script that will pause the movie playing and display a popup message, saying someones at the front door and also shows the camera video feed. Once you start theirs no going back 🙂.

Movie_Pause.cvaction 368 B · 3 downloads

This helped immensely! I appreciate the assistance, I've got it up and running and yes, now I've got some other ideas too 🙂

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


 Share

×
×
  • Create New...