Apple Shortcut support/integration with Tinxy App on iPhone

Do you have any plan to update the tinxy App to have support or compatibility with Apple ShortCut app.

Apple shortcut help to perform the action or do the personal or home automation. There are multiple scenarios like if I have apple homePod and when I arrive home, apple shortcut will turn on the lights with home automation. Or just using iPhone and doing personal automation, It can control tinxy.

1 Like

yes i also want to buy tinxy product but due to this problem i am not buying and going in other brand

I’m already controlling my tinxy switches in Apple Shortcuts using Tinxy API .

Great! Can you please share instructions so everyone can use ?

can you please share that how to do

Hey sorry for the late response. In apple shortcuts you can use Get Contents of URL action which is under Web > Web Requests .

  1. Chose the method as POST
  2. Expand headers and create a called Authorization and put the value as Bearer
  3. Under request body Select JSON and add a key called request as type “Dictionary”
  4. Under the request dictionary create two keys called ‘state’ and ‘brightness’ and set values accordingly.
  5. Create another key outside the dictionary called deviceNubmer and set the device number for the switch.

You can refer the Tinxy API documentation at Tinxy API Documentation for getting the deviceID and deviceNumber

Its working! Just we need to first list the devices to get the deviceID which took me a little while to understand.