Using the samsuntctl
and fast api
module, I created a RESTFull api for simple Samsung TV`s controls.
- Enter the tv ip and mac address in the Dockerfile or use config.json
docker-compose -f "docker-compose.yml" up -d --build
Acess:
To integrate the API with Siri, I created a shortcut that sends a post method to the API with the command.
Edit the shortcut and enter your api's ip.