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
Foscam 8608W
InStar (unknown models)
Wansview NCH536MW
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 will install and test tomorrow, thanks alot i have been waiting for this to be integrated for ages, it is much appreciated by myself and i know a good few others have IPROBOT3s too thanks again
I wonder if it is possible to add buttons for the preset camera locations . . . .
That way you could do stuff like " IF MOTION IS DETECTED IN ROOM WHILST HOME IS ARMED, GO TO LOCATION 1 & TAKE A SNAPSHOT AND SEND TO USER "
and then if the doorbell rang you could make it look out of the window, so it basically went " IF DOORBELL RINGS, GO TO LOCATION 2 & SEND SNAPSHOT TO USER "
Just had an interesting read through the full @rboy topic on his Foscam Device Type:
It seems there is alot of features id forgot our beloved IPROBOT3s have that could be utalised such as motion detection / alarm / preset locations / etc
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’m going to probably add a toggle to take a picture after the preset position has been reached. I’ll look at adding the Motion Sensor capability after that.
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.
external icons should be possible for iOS users, but not for Android, so to keep it universal it would have to stay as-is, or have a separate device type.
@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
2 Likes
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
18
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.
If there turns out to be a pretty common standard, then we’ll experiment with adding such a container to SmartTiles sometime. Stay tuned to Loading... for any updates.
thanks a ton to @tgauchat for assisting me today in identifying this was the case for IPROBOT3 however got a nice STOP MOTION setup sorted instead, cheers again