Yea, will have to look into it. I have to say, this is kind of a disappointing catch-22 coming from Foscam, and the main reason I moved from Foscam was the better resolution and general support/interface - there are improvements over my old Foscam but it sounds like there’s not as much flexibility ST-wise. Guess you can’t have your cake and eat it too.
ST Blue Iris Fusion SmartApp to allow trigger configuration:
Some information on Blue Iris Profiles (I do not use “Schedules”. I just have a global Profiles set as Active, Home, Home Armed & Away under Options->Profiles within Blue Iris running as a service):
I do not have a lot of time to spend on a lengthy write-up, but read through some of this stuff and install the software, then let me know if you have specific questions.
I think we are confusing the functionality here… an API call is a GET, almost by definition. There is nothing that AMCrest could add to their API that would effectively create a “PUSH” notification. What is missing in this equation. and what I was referring to in my previous comments, was the existence of a web service (or cloud service) that would receive notifications from the camera and forward them to ST.
I do not believe this will ever happen with most IP camera manufacturers as it would require their writing some form of interface from their cloud service to ST, or the introduction of some form of “hub” for AMCrest IP cameras (similar to the Blink paradigm).
All of that being said, using something like Blue Iris and coding some kind of Perl script on your own web server to effectively push notifications is certainly possible, but it is waaay outside of my available “free time” to code.
And, as I have pointed out several times before, you can get around many of these limitations by using Open/Close sensors wire to the external Alarm hard-contacts available on some AMCrest camera models, you can use IFTTT to act on emails received from individual cameras, etc…
This setup uses a separate SmartApp in addition to the DTH that directly monitors Foscam alerts and requires OAuth authentication.
I already pointed this approach out as a workaround in post #426 of this thread.
This is the link to the DTH that references the SmartApp approach you mentioned in the first part of your post… so same setup for 1 & 3.
Sorry, but there is nothing new here short of everything that I already mentioned in my previous responses.
ps.
I want to add that nothing I have said here should be interpreted as a knock on RBoy’s work… his SmartApps and DTHs are top notch and well worth the small fee he charges for access!
My point was that his motion monitoring SmartApp has 2 modes, depending on the functionality of the Foscam camera in use. I believe the SD cameras have the ability for you to define a callback uri to “PUSH” alerts to, but the HD cameras require a periodic polling, in which case the SmartApp will “ask” if the motion sensor is active during every polling cycle (15 seconds?). You can reach out to RBoy if you want clarification.
Just like the Blue Iris suggestion above, you can use Synology’s Surveillance Station to expose the cameras to ST. SS can notify ST of events. Same idea. And you include the SS cameras as ST devices. . . . Blue Iris is probably better. I dunno. But you get lots of nice features with a diskstation. For instance, you can have the cloud backup software copy all your videos to cloud storage. I’m using Amazon’s unlimted drive storage. I can view my recordings online via the Amazon app (as well as the Synology app.) . . .
fwiw. I don’t watch camera feeds locally via ST. I use Tiny Cam Pro. It’s a great app. Nothing I’ve seen comes close.
Now if I could only get stills from my new Amcrest camera to show up in Action Tiles. . . . My HIKVision cameras work fine. Oh well.
Just define a Media tile as a still image with a refresh rate using the following URL, adjust the IP to your value (substitute your [username] and [password] without the ):
I’ve tried that. It works fine in Chrome on my computer, but it fails on the tablet. The tablet can’t get the image. I think it’s the outdated authentication format. I tried allowing anonymous access and other things, such as defining a use with no password. . . Nothing works.
Just an update for those with the IP2M-841B camera (and possibly others) with the latest firmware. Amcrest has officially acknowledged this as a bug and is working on a firmware fix. Unfortunately they would not tell me a timeframe. They originally told me a new firmware was to be released last week but I think that it has been delayed for this bug fix. If I hear more I will let you all know.
Did something change/break recently? I know there are issues with the Digest-Authenitcation issue but when I added my first Amcrest IPM-841 (which was after that firmware upgrade), I had no problem connecting to the cam via port 80 in the device settings. I was able to view the stream in the ST device at that point in time but I just checked earlier today and now, after adding the second IPM-841, and both say “Camera Unavailable”
Amcrest has released a new firmware for the IP2M-841B. I will try it tonight to see if it resolves the Basic Authentication issue. I’ll let everyone know of the results.
As a note: I don’t see a specific mention of this bug in the change log. Also this new version requires resetting the camera to factory default.
As an update, this new firmware unfortunately does not fix the issue. I just received an update from Amcrest and they said that they are still working on the bug and that yes it is not resolved in the latest firmware.
@Belgarion
Is it possible to write our own implementation of Digest Auth. There is one example in PHP for reference:
We need to make two rest call, first one to get the header, “nonce, realm etc.” the other to use those headers and generate digest hash. All we need is MD5, I know we have that feature available in smartthings groovy.