tinyCam + Fire TV = popup on motion detection work in progress

JR90210

n3wb
Nov 16, 2017
2
2
Hi all,
I just recently picked up a Fire TV stick and have been working on replicating a really nice feature we have on our Kodi PC that pops up IP camera floating window overlays (for monitoring the kids' rooms and outdoor cams) when we're e.g. watching a movie. We're considering using the FireTV stick to run our TV and manage streams, and having active IP camera monitoring and overlays would be a huge +. I recently came across tinyCam and kudos to the developers for being really forward thinking in the features they've put in to the software (!) particularly in their preconfigured plugins for Tasker.

I wanted to start a thread here to see if anyone else is doing anything similar (IP camera floating windows on a TV used for recreation/streaming), and share ideas and limitations, etc.

So even though Amazon's Fire OS it's hobbled in a few ways compared to a pure Android implementation, here's what I've been able to do so far with the Fire TV stick so far:
-1. Install tinyCam (easy--available in the App store for the Fire TV stick)
2. point tinyCam to my BlueIris webserver (easy thanks to BI being one of tinyCam's 'camera' options... helpful hint: when you select the BlueIris camera type in tinyCam, you can set which camera you're specifically viewing in tinyCam's 'advanced' options as detailed in this thread)
3. get Tasker running (slightly more difficult, requires patching a Tasker APK with Play Services Patcherand then sideloading the apk using e.g. ES File Explorer)
4. configure tasker (straightforward thanks to the tinyCam videos and tutorials out there--those guys rock!--but tedious b/c Fire OS isn't built around the touchscreen interface; you'll need to use something like Mouse Toggle so you have a point-and-click cursor inside Fire TV)

At this point, Tasker will show 30 second video floating windows from tinyCam on our big TV whenever motion is detected on one of our cameras (and play an alert sound, which Tasker can be easily configured to do). These windows can be resized and repositioned, and tinyCam will remember those sizes and positions. Nice!

Everything is working as intended so far, but I still need to do a bit of work to get tinyCam and Tasker to both stay active in the background and do their thing while we're e.g. watching a video stream or Kodi movie on the Fire TV stick. I know the stick is pretty limited on resources and restrictive on how much processing it lets background apps do, so *hopefully* this isn't too tall a task?

In any case I'll post an update when I have a chance to do a little more work on this in the next couple days, and would be happy to read anyone else's thoughts or experiences that have a similar goal of doing something like this on their Fire OS.
 
Sounds like a nice feature to have! Im current using a firestick to just stream some camera to a convient location atm.
 
Just want to add that tinyCam supports up to 4 floating windows simultaneously.
 
Hi all,
I just recently picked up a Fire TV stick and have been working on replicating a really nice feature we have on our Kodi PC that pops up IP camera floating window overlays (for monitoring the kids' rooms and outdoor cams) when we're e.g. watching a movie. We're considering using the FireTV stick to run our TV and manage streams, and having active IP camera monitoring and overlays would be a huge +. I recently came across tinyCam and kudos to the developers for being really forward thinking in the features they've put in to the software (!) particularly in their preconfigured plugins for Tasker.

I wanted to start a thread here to see if anyone else is doing anything similar (IP camera floating windows on a TV used for recreation/streaming), and share ideas and limitations, etc.

So even though Amazon's Fire OS it's hobbled in a few ways compared to a pure Android implementation, here's what I've been able to do so far with the Fire TV stick so far:
-1. Install tinyCam (easy--available in the App store for the Fire TV stick)
2. point tinyCam to my BlueIris webserver (easy thanks to BI being one of tinyCam's 'camera' options... helpful hint: when you select the BlueIris camera type in tinyCam, you can set which camera you're specifically viewing in tinyCam's 'advanced' options as detailed in this thread)
3. get Tasker running (slightly more difficult, requires patching a Tasker APK with Play Services Patcherand then sideloading the apk using e.g. ES File Explorer)
4. configure tasker (straightforward thanks to the tinyCam videos and tutorials out there--those guys rock!--but tedious b/c Fire OS isn't built around the touchscreen interface; you'll need to use something like Mouse Toggle so you have a point-and-click cursor inside Fire TV)

At this point, Tasker will show 30 second video floating windows from tinyCam on our big TV whenever motion is detected on one of our cameras (and play an alert sound, which Tasker can be easily configured to do). These windows can be resized and repositioned, and tinyCam will remember those sizes and positions. Nice!

Everything is working as intended so far, but I still need to do a bit of work to get tinyCam and Tasker to both stay active in the background and do their thing while we're e.g. watching a video stream or Kodi movie on the Fire TV stick. I know the stick is pretty limited on resources and restrictive on how much processing it lets background apps do, so *hopefully* this isn't too tall a task?

In any case I'll post an update when I have a chance to do a little more work on this in the next couple days, and would be happy to read anyone else's thoughts or experiences that have a similar goal of doing something like this on their Fire OS.

Tried setting this up tonight and I can't the camera to detect motion in the background. It says the camera is running in the background but shows In: 0kb/s. Any ideas?
 
How were you doing this in kodi?
Also why not just run kodi on the fire tv stick?
 
How were you doing this in kodi?
Also why not just run kodi on the fire tv stick?

In Kodi, there's a plugin called Surveillance Room that was originally developed around Foscams, but some dedicated/crafty users have managed to get to work for lots of different camera models. The JSON capabilities that Kodi has open up lots of possibilities for using Surveillance Room coupled to other home automation scripts. (There's a pretty good support thread on the Kodi forums website in case this plugin sounds interesting and you're using Kodi). However, I wanted something that would work no matter what we were doing on the FireTV stick (not just using Kodi), so Tinycam is the one ip camera app that addressed most of what I was looking for.

Unfortunately, as noted above, the FireOS doesn't seem to let TinyCam do motion detection in the background :(. This basically means you have to be actively running the app (i.e. TinyCam is fullscreen on your TV) for it to detect motion and show video or image popups and play alert sounds. I've read that this is because FireOS/FireTV, being very resource limited, is pretty harsh about killing off resource intensive background apps.

It would be awesome if a future release of TinyCam could do motion detection and show popups on screen while you're watching Netflix or Youtube videos on the Fire TV stick... but this might be asking too much for the FireTV's pretty limited hardware specs?
 
That's cool! I use Kodi and will check into this as soon as I get everything up and going. I have a doorbell, but for some reason everybody insists on knocking. I watch my movies pretty loud, so I never hear it. Popup on motion at the front door would be helpful. Thanks for sharing.
 
Unfortunately, as noted above, the FireOS doesn't seem to let TinyCam do motion detection in the background :(. This basically means you have to be actively running the app (i.e. TinyCam is fullscreen on your TV) for it to detect motion and show video or image popups and play alert sounds. I've read that this is because FireOS/FireTV, being very resource limited, is pretty harsh about killing off resource intensive background apps.

It would be awesome if a future release of TinyCam could do motion detection and show popups on screen while you're watching Netflix or Youtube videos on the Fire TV stick... but this might be asking too much for the FireTV's pretty limited hardware specs?

You can run tinyCam PRO in background. Go to App Settings - Developer Settings and enable background mode.

Here is demo of tinyCam running on Fire TV 2nd Gen as DVR (recording on motion) in background mode. It is very stable and runs for months without any reboot.
username: demo
password: demo

If you have sideloaded Tasker or other automation app on Fire TV, you can setup displaying floating window when motion occurred in background in tinyCam PRO. tinyCam has Tasker plugin.