Blink XT Cameras w/ motion etc piston


#1

Good morning folks :slight_smile:

So i have a new system of sensors, bulbs, switches, cameras etc.
I set up a webcore piston that does the following.

Motion activated from blink turns on outside light, and if the motion isnt detected for 5 minutes, than it turns the light back off.

None of it is working based on motion.

However if i change it to run based on opening a door, the lights turn on as expected.

So the problem is something with how webcore is or isnt seeing the blinks to the point of accepting their motion.

The boxed out things are just the name of the camera twice, and the name of the lights twice.

Any help would be greatly appreciated.


#2

The first thing I would do is get rid of the sunset and sunrise variables and use the presets that have been provided for this very scenario.
The issue is probably how blink motion is being reported.
If you open logging in the ide, is the camera reporting motion.


#3

bobbles, thanks for the help…
so i created a VERY simple test.
If motion is active turn on light.
The log is showing nothing. which i assume means ST/Webcore isnt seeing them properly.
Inside Blink Camera manager in ST, i see the three cameras there. There are perhaps some settings in there im missing. I guess :slight_smile:

Under devices in the IDE i see the cameras as well


#4

I’m not sure from your answer if you went into live logging in the ide.
When you are in live logging you will see what’s happening as it happens.
When you activate motion on your camera, is this being reported in the ide under the camera.
You will see something like below. Click on your camera and look at the logs.
I do not have cameras so I don’t know if these report motion in the logs but I would think they should.
image


#5

i do not get anything except

10:53:08 AM: debug getChildDevices(false), children=0

over and over and over and over.


#6

On the Blink camera manager in IDE, if i disable the device in ST, and renable it, i get

ca4eb1c1-4a8a-4243-96f3-1df71b7b3873 12:43:33 PM: warn Polling not enabled, not polling for motion events
ca4eb1c1-4a8a-4243-96f3-1df71b7b3873 12:43:33 PM: trace Start Monitor Called, start polling for motion events. Asynchronously: true
ca4eb1c1-4a8a-4243-96f3-1df71b7b3873 12:43:32 PM: debug Got camera Blink SW Outdoor -> Motion Alerts enabled status true


#7

I can’t really help with that I’m afraid.
Are you using a custom DH?
If so, it might be worth while pinging the author to see if this is an option.
As said above, I don’t have any cameras so have no knowledge of what they can or cannot do.

If you are not seeing motion in the ide then I would suggest the DH is not reporting it. Not sure though.
Any ideas @webCoRE_Minions?


#8

We’ll need to know what handler you are using… can you see motion / no motion events when viewing the device in the ST mobile app?

Maybe look at buying a premium handler:


#9

So literally all it took to fix it, was going to in to ST under things, turn the cameras off, and back on again.
No idea why, but seems to work now… now its an argument issue as to why the light wont turn off after inactivity :slight_smile:

Turns on fine after activity, but wont turn off, but at least the motion is being picked up


#10

In your bottom IF to turn the lights off I would do the following.
IF
Motion is Inactive for 5 minutes.
WITH
Light
DO
Turn Off


#11

Actually just changed it from “changes to inactive” to changes away from active and the lights shut off.

Looks like that piston is now working perfectly.


#12

Less messy, no need for two separate IF’s… just use the else::

IF
Motion IS active
THEN
with light
turn on
send notification
end with
ELSE
with light
wait 5 minutes
turn off
end with
end IF


#13

I simplified it as per your recomendation… it worked… thanks