Create a proxy switch which you will use when you say the command to Alexa.
Create a rule for that switch and make a sendHttpGetRequest to Kodi. It will work, before openHab I used the http API to send audio streams to Kodi.
Take a look at here: SetVideoStream
I don’t really know what do you mean by that…
Also why you need Kodi addon? The addon can’t do it, as I said before you need to use the HTTP API to send a message to Kodi. You don’t need any binding for that…
I still don’t really get it. If you use it like a I said, it is just a plain HTTP call (which you can even call from a web browser). I have used the HTTP API without any “smarthome” thing before, just by sending a HTTP call to Kodi from a Linux server.
However I might misunderstand you… If you can describe it better, maybe I can help.
Theres no way as far as i know to send a http api call to an add on (im using the security cam add on) without using the add on in the http call. Im well aware no binding is needed as i send plenty of http calls to kodi for other things. My issue is the syntax of the http call to pull up the camera feed.
Don’t you have a simple video URL from the camera? (Btw, I don’t know which formats are supported by Kodi, so you need to look up…). Also you have to encode the URL, to follow the syntax required for HTTP. As far as I can remember this is not done automatically by issuing a HTTP Request in OH.
Yes I do, but this add on will display the feed in a small box and overlay it onto a kodi video so if you’re watching a movie, it will show the preview in the corner. Perfect for my front gate intercom.
Hmm… I’m not an expert of this… I haven’t really tried sending a command to an add-on and I can’t really find any reference on the internet.
Maybe you can try another way… found it here
Map a remote button
To easily to view All Cameras, a single camera feed, or a picture-in-picture (PIP) preview, you can map a remote button.
So there is examples of how you can set this… Also it says that you can call the same way externally… I don’t really know what he mean by that, because I think HTTP don’t have RunPlugin method. However you can give it a try this way.