openhab / openhab-google-assistant

openHAB Google Assistant: Actions on Google for openHAB
Eclipse Public License 2.0
174 stars 85 forks source link

Camera and MJPEG Stream via HTTP #176

Open nav208 opened 3 years ago

nav208 commented 3 years ago

Hello, is it possible to run a camera with an mjpeg stream on a google nest hub device? (hikvision MJPEG sub strem) https://ness.zendesk.com/hc/en-us/articles/360040559993-How-to-Get-IPC-MJPEG-Stream-via-HTTP-Commands-on-Hikvision-Cameras

michikrug commented 3 years ago

Hard to tell and probably the not really the right place to ask. I would recommend to find a forum from Google Nest Hub or something similar to get some information.

Google's documentation only states this: https://developers.google.com/assistant/smarthome/traits/camerastream#video-formats

To test this with openHAB you can already just do so. Set up a String item exposed as a camera device and provide the URL to test this.

Legion2 commented 3 years ago

Is the opposite possible with google smarthome, so that we can retrieve the video stream of such a CameraStream and display it on - a raspberry pi for example?

JacekKac commented 2 years ago

yes you can it's working like a charm.