Homey Community Forum

[App] Blink

You can get an test version with the fix at Blink | Homey

Thanks RonnyW

1 Like

Hello to all Blink users…
Thanks to @ObelixNL for pulishing the new test version.

If you want to use this test/beta version, please use this link to the app store:

Here is a short list of fixes:

  • adding new camera (fixed changed account field by Blink)
  • getting snaphots (http header correction)
  • motion trigger (correction for reading video timestamt)

Other changes:

  • addes brand color for app icon
  • hide video timestamp in sensor view - it’s internal used for video timestamp comparison

And some improvements:

Snapshots:

  • If a snapshot is requested, the camera need some time to record and publish it for the API. The app is waiting up to 10 seconds for a new snapshot. If no snapshot could be read, “invalid_image_buffer” is shows as error in the Homey app. This could occour, is the camera is recording during snapshot request of is the camera is not reachable.

Motion detection:

  • No snapshot is recorded when motion is detected. The camera is recording at this time. A snapshot is not possible and will delay the alarm.
  • If you need a snapshot, it should be created via flow (action: capture snapshot) with a delay (duration of recording). Create a second flow for flow event “a snapshot was created” to send a push message.
  • Please note:
    The snapshot will only show a moment after the video recording ended.
    The motion detection is not pushed by the camera. It’s recognized if there is a new video timestamp. So if the camera recognizes motion, it is recording the video. Based on the new video, the Homey app is raising the motion alert.
    If you record a video using the Blink app, it will trigger a motion alert in Homey based on the new video timestamp.

BlinkMini:

  • new flow actions: create snapshot, create video
  • new flow event: alarm_motion

SyncModule (called system or network):

  • On arm/disarm (app flow action), the state of all sync modules is changed.
1 Like

error on adding cameras…

Yes, there is still another bug causing a error on startup. We’ll fix it and publish a new test version…

thanks i’ll try as soon as new test will be published…

Using the latest test version 1.0.8, why is the motion alarm blinkning and reporting motion as a warning with a year ago as timestamp? Same for all my cameras in Homey.

@all
@ObelixNL has just published a new test version. Thanks!

Please test this version. Hopefully, the error while adding a new camera is fixed.
Let me know if there are still errors. Please describe if you used a new/existing install and which camera you are using.

Hi,

with test version 1.0.8 finally the motion detection worked for me (for the first time I am using Blink and Homey after more than a year)

After the 1.0.10 has been automatically installed it stopped working again (as before 1.0.8 - it never worked, only with 1.0.8…)

Can it be please checked and fixed as it worked in 1.0.8?

Thx for your support.

Hello Alex,

I tested with this version and all is working for we.
Please consider that the mnotion recognition does not directly work with the camera sensor. Due to the Blink-API, only the last video timestamt can be used to determine a motion alert. This happens, when a camera is recognices motions and stores a video.

Please check the following settings:

  • is the network armed in Blink app?
  • in motion detection enablen for the camera in Blink app?
  • in your Homey device switched on? If you switch off the camera device, motion recognition is disabled for the camera
  • is a video recorded by the camera? Did you get a push alert from Blink app?
  • Can Homey connect to your camera? Is the snapsot visible?

You can test the motion recognition by recording a video using the Blink app. This way, a video is stored and it’s recognized by the Homey app.

Please consider, that many test/snapshots/API-calls in a short time will raise a rate limit for your Homey app. That means, that further API calls are blocked for a time (I think 15 to 30 minutes). This results in error massages in snapshot view.

Bye
Ronny

Dear Ronny,

I can confirm that all points are OK and according to your explanation.

It is strange that for me using Blink anf Homey for more than a year now only 1.0.8 worked with motion detection.

When I got the Blink message that a video has been recorded it triggered some lamps to switch on.

Since 1.0.10 everything works incl Snapshot via Homey etc but lamps are not turned on after recording. So back to the state before 1.0.8 (made no changes to flows etc)…

Alex

If you are using a Blink Indoor/Ouztdoor, there are 2 trigger for motion:

  • motion detected (the old one triggered by the app itself) and
  • motion alert switched on/off (troggered by changed capability.

Perhaps there is a difference.
Please could you check which one you are using in the flows.
I would suggest to use the second one (alert switched on), because it’s a default use case for Homey.

I will check later if I can reproduce this scenario.

I am using the first one.
I will try the other one today as well and will give feedback.

Hi, wow - it works by using the 2nd trigger!
Great! Then I know what to do. Thx for your great help!

Thanks for the feedback. I’ll check the first trigger, but it makes more sense to remove it for a better consistence, I think.

Indeed!

Hello @ObelixNL ,

I created a new pull request some time ago with deactivating the old trigger (without breaking flows) and german translation for flow description.
Ot would be nice if you could merge and publish a new testversion next time. Many thanks.

My blink app seems to have broken again…
Getting invalid login credentials again :frowning:

I checked it with my current app setup (stored credentials and assigned cameras).
If I change the credentials to invalid values (wrong user or pw), then the “invalid credentials” popup is shown.
Setting the credentials back to the right values results in “credentials saved”.
I think, the app is still registered in blink account and doesn’t need a new validation. If the app settings are cleared, a new validation with pincode is needed.

After changing the credentials in app settings, a API call is done. Depending on the response a 2FA validation is done (if requested by blink api) or credentials are stored in app (if not).

Please can you check if you can login in blink app with your account? I had the effect while testing that my account got blocked because of some invalid logins. In this case, the login into blink app is not possible, too. Then please wait some time and retry in blink app.
After this is possible, please retry in Homey app.

If there is still a problem, please describe what you changed before (uninstall/install app? changed credentials?).

I anyone has identical problems, please describe your blink settings, changes (app settings) and what you are trying to to when the error message appears. Thanks.

Thanks Ronny
I probably won’t get to this til midweek as it’s my birthday today, but will have a look
I did just want to clarify tho that nothing has changed on my side. The only possibility is the expiry of a support code (as I contacted support with some issues) a month or so ago, but no idea how long that lasts

When I went in to settings in Homey it looks like it forgot credentials (they were blank), but using my official credentials gives me invalid

Happy Birthday :birthday:

Just want to say that there could be a issue setting the credentials without need of 2F4 pincode. This was, the credentuals are stored in the app but no login and token-retrival is done. I thought, a pincode is needed every time you set the credentials. Perhaps a app restart will get it work after set credentials. That’s something you can try.
And now party on :beers: