Add generic mjpeg/rtsp IP camera?

Hi there,

I have a number of Cisco IP cameras installed in my house already. When I look at SmartThings all I can do is add a D-Link or Samsung camera. How do I go about adding my own cameras ? They are pretty much standard mjpeg or rtsp capable cameras.


1 Like

You can checkout Generic Camera Device by @pstuart

Device Type (GitHub) -

Thanks. That’s what I was looking for. It’s a shame that SmartThings don’t have a Beta channel that new devices can get put it. Copying a whole bundle of groovy from github perhaps isn’t the most user friendly way of doing this…

I tried to setup your app from the code, but when I go to save it, I’m presented with this error:

No signature of method: script14437909495791179149265.metadata() is applicable for argument types: (script14437909495791179149265$_run_closure1) values: [script14437909495791179149265$_run_closure1@3a8abc7] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Any idea how to get it working?


Hi pstuart, I’d like to try using the code you developed for generic camera use, but the link you gave doesn’t take me to a valid page (get 404 error). P;lease can you re-post a link to Github that works. Thanks in advance.

Search for the discussion thread on the forums, that has a working link in it to Github (I think the location was changed due to ST encouraging users to tweak their ST folder structure).

Edit2, even better, use this version since then it supports video when on home Wi-Fi, and pictures at other times.

Edit Or if you want the original then a quick search on his Github found this: