Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
An Unusual Request: Video Alarm
#1
Does anyone know of a way to use a Firestick + Kodi to basically play a video?

What I'm trying to do is set up an IOT alarm that would turn on my projector and play a video on the wall.

In theory, it would like this:
  • Alarm off Google Home/Play/phone would trigger my IOT to turn on the projector + firestick (this is the easy part)
  • Kodi is launched with some sort of command to play a specific playlist or video (not sure how to do this part)

Just wondering if anyone's done this or seen something similar with Kodi?
Reply
#2
(2022-08-21, 03:01)wwitv Wrote: Kodi is launched with some sort of command to play a specific playlist or video (not sure how to do this part)

If the system is able to trigger a curl-command, you can do nearly anything with Kodi via JSON. Even playing a video or a playlist. Just just have to be sure that the curl-command is only triggered after Kodi and the projector is up and running. The curl-command produces an exit-code. So you could probably do that by putting it in a while-loop. Not sure how flexible your home-automation system is in that case. 

Just have a look here: 

https://kodi.wiki/view/JSON-RPC_API
Reply

Logout Mark Read Team Forum Stats Members Help
An Unusual Request: Video Alarm0