First time posting and first device type I’ve written. Hopefully this works for others.
It is based on the Foscam device type template.
Known supported cameras:
Tenvis IPROBOT3 (2014)
Foscam 9821 / 8608W
InStar (unknown models)
and probably several others.
To test if your camera is supported, open a web browser and go to:
http://(camera ip address):(camera port)/cgi-bin/hi3510/param.cgi?cmd=getinfrared
Type in your camera’s username/password. The response will be similar to:
var infraredstat= …
i can appreciate this is all in your own time and i didn’t want you to feel i was sending you a TO DO LIST hahahaha . . . I just wanted to discuss the possibilities of this device type as a pose to others as im not to code savy myself unfortunately, however i am trying my hardest to rectify this…
This device type works an absolute treat though, im very impressed, great work. I know many users will greatly benefit from this, when timing of the month allows funds to permit id be happy to donate via paypal your way for this contribution to the community as a gesture of my appreciation
Lets hope that one day SmartThings actually does open the Video Capability as a pose to keeping it locked down to partners and specific devices only.
I’ve reworked the authorization to use the HTTP “Authorization” header instead of putting it in the URL so that the ST logs aren’t potentially filled with username/password information.
After trying a bunch of stuff, there doesn’t appear to be a way to externally detect motion on the camera using the camera’s APIs. If there is an external dry-contact relay on the camera, it would be easy to attach a door sensor with a dry contact relay input and go that route. Without a relay though, it seems the only direct way of being notified when there is motion is to set up a server/daemon listening on a certain port; the camera will connect when there is motion. The ST developer sdk might allow such a thing, but I haven’t crawled through that part of the docs yet.
With all of that said, there may be another indirect and easier way of detecting new motion without a relay or daemon/server. I’ll chew on that over the weekend.
If you like the design and want to recreate it yourself into your device type, then just let me know and i will fire over all the required icons i made to do AUTO / ON / OFF for the cameras LED function.
if you click on the below image and look at in high res you will see they differ on each one
One catch is that I’m not sure how to use custom icons in the app. They apparently don’t allow the use of custom icon URLs unless I’m completely misreading the documentation. If you know how to do use those by default (instead of requiring the user do it), I’m all ears.
But, I will copy that layout and use the existing ones for the time being. Thank you!!
I have updated the UI to use the layout you designed. Once I figure out if it is possible, I’ll ask for the icons and put them in. I believe even the preset buttons need custom icons (‘1’, ‘2’, ‘3’, ‘4’) in order to have them look the way you designed them. Again, I might just not know enough about the button capabilities to make them work without custom icons.
@uncleskippy - have you managed to include IPRBOTO3 into a smarttiles setup by any chance, just interested in what STREAM URL template you used as im struggling greatly to get my IPROBOT3 to show up in smarttiles using an MJPEG stream url . . . hmmmmm
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
Unfortunately, it seems that some models of many camera brands do not support MJPEG streams anymore, only H.264. Technically H.264 via HTTP5, should play in <video> containers in some conforming browsers, but I think there are lots of variables at play here.