[APP][PRO] Blink for Home

Thanks Ronny, I saw in the code that you use this construct:

ase 'sftp':
        let sftpClient = new (require('ssh2-sftp-client'));
        try{
          await sftpClient.connect({
            host: args.ftp_host,
            port: args.ftp_port,
            username: args.ftp_user,
            password: args.ftp_pw
          });

Checking the ftp client implementation it should pass a private key in the connect method.

This feature would be greatly usefull to connect to a cloud SFTP server like on on AWS called AWS Transfer Family which syncs with S3 cloud storage.

Happy to help if needed

Hello,
Could you please add a tag to the “start recording a new camera video” with the video id ?
I’d like to record a video when triggered and then be able to export it
Thanks

Start record a video is an async API call. The camera will start recording and stores the video.
The result should the “A liveview was recorded” trigger when video is stored and this provides the video id.

1 Like

I missed the “liveview was recorded” tag. Thanks :pray:

Hi Ronny and all,

Incredible work with creating this app for Homey while also providing fantastic support to all in this thread!

I recently started out my Homey-adventure with the purpose of getting rid of subscription-based alarm system. Hence, I want to have the following work flow:

  1. Activate Heimdall (ARMED status)
  2. Automatically trigger flow to turn on Blink cameras. I suppose this can be done like shown below.

  1. If motion is detected, I want only the camera(s) that detect motion to record. For now I will store on cloud while on free subscription, but going forward this will be USB. I suppose flow would start out like this, but which cards should i activate and with which inputs?

Best,
Jakob

Yes, you can turn on/off the camera. That means you will turn on/off the motion recognition for this camera. This way you can arm the cameras.
Another way would be to arm/disarm the system (where the cameras are assigned to - the SyncModule). It’s similar to arm/disarm systen in Blink mobile app.

If motion detection is on for a camera (and the system is armed), the camera will record if a motion is detected. No need to check this in Homey.

The “motion was detected” trigger will just inform you about a recorded video.
For cloud storage it’s fast. For local storage it’s really slow. You won’t be able to use this as instant messaging in Homey.
But the video is recorded in any case and you get the push message from Blink.
But if want to process instant actions in Homey you will need a motion sensor in addition.

So is there a way only using Blink Cameras to start recording on these cameras based on motion?

Cameras can start recording if window sensors are activated, but I want to use cameras for outside motion detection.

I basically want it to work the same was as when arming the cameras in the Blink App directly where all motions are detected and captured. Is that possible?

Yes. You can activate/deactivate motion detection from Homey (turn the camera device on/off).
If motuon detection is activated, the cameras will record and store the video.

I use this with time based flows to activate garden camera at the evening and for away state (like you would do it with Heimdall app).

It doesn’t seem to be working on my end.

The motion detection and video recording only seems to be working directly in Blink app. In Blink app, if i arm the system, it does what I expect it to - Record if movement is detected.

In homey, however, nothing happens.

First flow activated with Heimdall. After this flow, the camera is activated and the icon in dashboard is no longer grey. But there is no video being recorded.

So i guess i have to have a second flow to trigger recoding based on motion. I currently have below flow. This is not working. Even if I remove the AND card, it is not working. If I run the flow as TEST, it works as expected.

What would be your guess - why is the camera not detecting motion and starting to record?

First, please read the first post and the description how motion detection is done in this app.
It’s not based on any trigger or push message. It’s based on already recorded video.

When you turn a camera device on in Homey, it won’t record. It just turns on the motion recognition for the camera. I think that’s what you want to do in the first flow. You should see in Blink app that motion alert is turned on in Blink app.

Your second flow won’t work in real scenario. If a motion is detected, the camera records. If you have cloud storage active, the camera still records while the flow is started. In this case, you can’t record again because the camera is busy.
Just send you a push message from Homey to check it this flow is started.

Did you send a diagnostics report today?

It so frustrating :laughing:

If the motion recognition is being activated (=motion is being detected), I suppose the Blink app wil start recording, right?

Now I have removed all flows for my camera except the one turning it on after arming Heimdall. But no motions is being detected.

If i turn on the camera device via homey (activating the motion recognition) by clicking the icon and place the camera in front of me for 2 hours, nothing happens. But if i Arm directly in Blink app, it works flawlessly.

These are my settings in Blink app:

And my settings on my Blink Account showed in Homey: