[PROJECT] Driver for Blink API

@scoob8000, is it working fine now? I wonder if the 1 authorization a day might be too little...

No matter what it looks like the PIN thing is going to stick with us. I am still getting them even with the new authorization version.

@jpage4500:
The import having the old version is pretty well-known.
Here is the (basically identical) CURL example from MattTW's Blink API page:

curl --request GET \
  --url https://rest-prod.immedia-semi.com/media/production/account/1234/network/1234/camera/123456/theClipFileName.jpg \
  --header 'token-auth: {Auth_Token}'

Its working for me. I can't speak for the old version because this is new to/for me.

I've been using webcore and ifttt webhooks for awhile. But this will make things more flexible.

Great work!

thanks.. rats.. i can't get it to work so I must be doing something wrong. I tried both rest-prod and rest-u008 (which is the tier my account is on). rest-prod returns 'unauthorized access and rest-u008 returns "Media not found".

I double-checked all of the values including the auth token..

Does that thumbnail name look correct?

curl --request GET \
  --url https://rest-u008.immedia-semi.com/media/production/account/ACCT/network/39640/camera/88951/fw_7.98__hBn1rSJx_2020_12_05__01_25AM.jpg \
  --header 'token-auth: AUTHTOKEN'

{"message":"Media not found","code":700}

I'm not sure I want to update to .14 :slight_smile:
I haven't had a PIN since yesterday and everything is working fine so far.
Ignore me, yeah it's working but device says:

  • Armed System(s) : [284174, 118478]
  • Authorization : Unauthorized
  • Camera(s) With Motion Enabled : [371746]
  • Status : Unauthorized. Please perform Authorization and try Disable Motion Detection again.
  • Updated : 2021-02-22T15:12:23+00:00
  • Version : New patch 0.2.14 available

Updated and entered fresh PIN. Loged in fine but still says Unauth and reminds me of new code that I already have.

  • Armed System(s) : [284174, 118478]
  • Authorization : Unauthorized
  • Camera(s) With Motion Enabled : [371746]
  • Status : OK
  • Updated : 2021-02-22T15:12:23+00:00
  • Version : New patch 0.2.14 available

State vars seem to indicate all is well though:

State Variables

  • Video Limit : 500
  • Video Purge ID : 2303387625
  • Driver : BlinkAPI
  • AuthorizationFailures : 0
  • Local Storage Notification : true
  • Max Owls : 10
  • Camera Usage Notification : true
  • Authorization : OK
  • Bandwidth Notification : true
  • Blink New Info Date : 20210204
  • Verified : true
  • Low Battery Notification : true
  • Version : 0.2.14

Yes GetHomeScreen on 0.2.14 is what I’ve done and so far, so good. Still monitoring.

Yeah, there are two oddities there:

  1. The Version field messaging only gets updated when it runs the check for any new versions. So it will clear out tomorrow. This is expected for how I have it written. I felt having it check my site every time it refreshes (the other main time) would be a bit excessive.
  2. I have NO IDEA why the Authorization EVENT has a different value than the Authorization STATE and I have seen this one myself. They are set at the same time (I call a command ProcessEvent... which sets the State for the variable passed it and then creates an Event for it). I triple checked every instance of it in the code and they all are the same. I spent a bunch of time trying to track down what causes them to be different. At this point it must be something really simple. :frowning:

Those are the worst :wink:

That thumbnail did NOT look normal to me until I looked at my Mini. All of my normal cameras start with "clip" for the thumbnail name. Only the Mini started with "fw".

The Mini has a different path I think:

https://rest-${ state.Tier }.immedia-semi.com/media/production/account/${ state.AccountID }/network/${ Network }/owls/${ it }/${ ThumbnailFile }

So your URL MIGHT look like:
...rest-u008.immedia-semi.com/media/production/account/ACCT/network/39640/owls/88951/fw_7.98__hBn1rSJx_2020_12_05__01_25AM.jpg

Is is normal/expected to get a blink access code via text daily after setting this up?

Unfortunately, yes. It did not used to be but Blink changed something about the API and it has not been figured out yet.

After the very first PIN verification, once your system is working, you can just ignore all the rest. If texting is not set up, it would be an email for it every day. The original authorization method was performed every 12 hours. But it looks like they leave the token valid for longer now so I was able to push that out at least.

Okay. No big deal. I haven't responded to or done anything with the texts and the API still works so I figured it safe to ignore. :slight_smile:

Anyone seeing a failure today?
I noticed my WC piston sends commands to Blink but none of my cameras are enable/disabling anymore.
I did get the usual PIN this morning and ignored it.
Had to manually Authorize in the driver.

I'm having to re-authorise manually every few days. The status shows as " * Status : Unauthorized. Please perform Authorization and try Arm System again.".
I then have to press the authorise button and then verify the resulting PIN that I get in a text. Then select Get Homescreen and the status changes to "OK" and everything works again.

If you do not mind, can you try to keep track of how many days it "lasts" and if possible turn on Trace and send me the logs when you perform an authorization & PIN verification?

The behavior is odd... mine has been running without a manual authorization for at least a week now (since I was doing the last code work, whenever that was). I get the daily PINs of course so I know it is doing the scheduled authorizations.

I'll do this as well. I'm always being kicked, seems like 24 hours but I'll keep track.

Thanks. I cannot guarantee I can make it better but I will definitely try. Plus maybe one of the responses will have some clue or difference that helps shed light on why it stops working quicker for some than others.

Got up this morning and gone again.
I tried the code that came in the wee hours but it was too old.
Got a new one and here are the logs.
dev:3182021-03-09 07:30:59.016 traceBlink - Event: Status = OK

dev:3182021-03-09 07:30:59.007 traceBlink - Camera-1260787 Event: Status = done

dev:3182021-03-09 07:30:58.981 traceBlink - Camera-1260787 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:58.967 traceBlink - Camera-1260787 State: Firmware Version = 10.42

dev:3182021-03-09 07:30:58.963 traceBlink - Ignored id = 1260787

dev:3182021-03-09 07:30:58.960 traceBlink - Camera-1260787 Event: Name = Back Door

dev:3182021-03-09 07:30:58.934 traceBlink - Camera-1260787 State: Usage Rate = false

dev:3182021-03-09 07:30:58.919 traceBlink - Camera-1260787 State: Serial = G8T1GH0003018G9D

dev:3182021-03-09 07:30:58.904 traceBlink - Camera-1260787 State: API Data Updated = 2021-03-09T04:33:36+00:00

dev:3182021-03-09 07:30:58.886 traceBlink - Camera-1260787 State: Battery Signal = 3

dev:3182021-03-09 07:30:58.871 traceBlink - Camera-1260787 State: LFR Signal = 4

dev:3182021-03-09 07:30:58.868 traceBlink - Camera-1260787 Event: temperature = 0.55°C

dev:3182021-03-09 07:30:58.852 traceBlink - Temperature Conversion 33°F to 0.5555555556°C

dev:3182021-03-09 07:30:58.838 traceBlink - Camera-1260787 State: WiFi Signal = 5

dev:3182021-03-09 07:30:58.834 traceBlink - Camera-1260787 Event: Network ID = 284174

dev:3182021-03-09 07:30:58.819 traceBlink - Camera-1260787 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:58.804 traceBlink - Camera-1260787 Event: switch = on

dev:3182021-03-09 07:30:58.790 traceBlink - Camera-1260787 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:58.776 traceBlink - Camera-1260787 Event: Issues = []

dev:3182021-03-09 07:30:58.762 traceBlink - Camera-1260787 Event: Battery Value = ok

dev:3182021-03-09 07:30:58.748 traceBlink - Camera-1260787 Event: Type = catalina

dev:3182021-03-09 07:30:58.722 traceBlink - Camera-1260787 State: Created = 2020-11-04T20:01:45+00:00

dev:3182021-03-09 07:30:58.708 traceBlink - Camera-1260787 State: Local Storage Compatible = true

dev:3182021-03-09 07:30:58.705 traceBlink - Camera-1260787 Event: Thumbnail File = fw_10.42__RIjn6qR4_2021_02_21__19_15PM.jpg

dev:3182021-03-09 07:30:58.694 traceBlink - Thumbnail File Name = fw_10.42__RIjn6qR4_2021_02_21__19_15PM

dev:3182021-03-09 07:30:58.691 debugBlink - Camera List = [371741, 371746, 826467, 1260785, 1260787]

dev:3182021-03-09 07:30:58.688 traceBlink - Camera-1260787 Event: ID = 1260787

dev:3182021-03-09 07:30:58.675 traceBlink - Processing Camera-1260787 Data = [thumbnail:/media/production/account/95716/network/284174/catalina/1260787/thumbnail/fw_10.42__RIjn6qR4_2021_02_21__19_15PM, local_storage_compatible:true, created_at:2020-11-04T20:01:45+00:00, type:catalina, battery:ok, issues:[], enabled:true, network_id:284174, signals:[wifi:5, temp:33, lfr:4, battery:3], updated_at:2021-03-09T04:33:36+00:00, serial:G8T1GH0003018G9D, usage_rate:false, name:Back Door, id:1260787, fw_version:10.42, local_storage_enabled:false, status:done]

dev:3182021-03-09 07:30:58.652 traceBlink - Camera-1260785 Event: Status = done

dev:3182021-03-09 07:30:58.627 traceBlink - Camera-1260785 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:58.613 traceBlink - Camera-1260785 State: Firmware Version = 10.42

dev:3182021-03-09 07:30:58.610 traceBlink - Ignored id = 1260785

dev:3182021-03-09 07:30:58.607 traceBlink - Camera-1260785 Event: Name = Front Door

dev:3182021-03-09 07:30:58.582 traceBlink - Camera-1260785 State: Usage Rate = false

dev:3182021-03-09 07:30:58.568 traceBlink - Camera-1260785 State: Serial = G8T1GH0003018GDL

dev:3182021-03-09 07:30:58.553 traceBlink - Camera-1260785 State: API Data Updated = 2021-03-09T06:33:36+00:00

dev:3182021-03-09 07:30:58.539 traceBlink - Camera-1260785 State: Battery Signal = 3

dev:3182021-03-09 07:30:58.525 traceBlink - Camera-1260785 State: LFR Signal = 5

dev:3182021-03-09 07:30:58.522 traceBlink - Camera-1260785 Event: temperature = 1.66°C

dev:3182021-03-09 07:30:58.507 traceBlink - Temperature Conversion 35°F to 1.6666666667°C

dev:3182021-03-09 07:30:58.494 traceBlink - Camera-1260785 State: WiFi Signal = 5

dev:3182021-03-09 07:30:58.491 traceBlink - Camera-1260785 Event: Network ID = 284174

dev:3182021-03-09 07:30:58.476 traceBlink - Camera-1260785 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:58.462 traceBlink - Camera-1260785 Event: switch = on

dev:3182021-03-09 07:30:58.448 traceBlink - Camera-1260785 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:58.434 traceBlink - Camera-1260785 Event: Issues = []

dev:3182021-03-09 07:30:58.420 traceBlink - Camera-1260785 Event: Battery Value = ok

dev:3182021-03-09 07:30:58.406 traceBlink - Camera-1260785 Event: Type = catalina

dev:3182021-03-09 07:30:58.380 traceBlink - Camera-1260785 State: Created = 2020-11-04T19:59:04+00:00

dev:3182021-03-09 07:30:58.366 traceBlink - Camera-1260785 State: Local Storage Compatible = true

dev:3182021-03-09 07:30:58.363 traceBlink - Camera-1260785 Event: Thumbnail File = fw_10.42__nfIK3vzm_2021_02_21__19_16PM.jpg

dev:3182021-03-09 07:30:58.352 traceBlink - Thumbnail File Name = fw_10.42__nfIK3vzm_2021_02_21__19_16PM

dev:3182021-03-09 07:30:58.349 debugBlink - Camera List = [371741, 371746, 826467, 1260785, 1260787]

dev:3182021-03-09 07:30:58.346 traceBlink - Camera-1260785 Event: ID = 1260785

dev:3182021-03-09 07:30:58.333 traceBlink - Processing Camera-1260785 Data = [thumbnail:/media/production/account/95716/network/284174/catalina/1260785/thumbnail/fw_10.42__nfIK3vzm_2021_02_21__19_16PM, local_storage_compatible:true, created_at:2020-11-04T19:59:04+00:00, type:catalina, battery:ok, issues:[], enabled:true, network_id:284174, signals:[wifi:5, temp:35, lfr:5, battery:3], updated_at:2021-03-09T06:33:36+00:00, serial:G8T1GH0003018GDL, usage_rate:false, name:Front Door, id:1260785, fw_version:10.42, local_storage_enabled:false, status:done]

dev:3182021-03-09 07:30:58.329 traceBlink - Camera-826467 Event: Status = done

dev:3182021-03-09 07:30:58.304 traceBlink - Camera-826467 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:58.289 traceBlink - Camera-826467 State: Firmware Version = 2.151

dev:3182021-03-09 07:30:58.286 traceBlink - Ignored id = 826467

dev:3182021-03-09 07:30:58.283 traceBlink - Camera-826467 Event: Name = Shed

dev:3182021-03-09 07:30:58.258 traceBlink - Camera-826467 State: Usage Rate = false

dev:3182021-03-09 07:30:58.244 traceBlink - Camera-826467 State: Serial = 180203583

dev:3182021-03-09 07:30:58.226 traceBlink - Camera-826467 State: API Data Updated = 2021-03-09T14:44:06+00:00

dev:3182021-03-09 07:30:58.212 traceBlink - Camera-826467 State: Battery Signal = 3

dev:3182021-03-09 07:30:58.194 traceBlink - Camera-826467 State: LFR Signal = 1

dev:3182021-03-09 07:30:58.190 traceBlink - Camera-826467 Event: temperature = 4.44°C

dev:3182021-03-09 07:30:58.133 traceBlink - Temperature Conversion 40°F to 4.4444444444°C

dev:3182021-03-09 07:30:58.120 traceBlink - Camera-826467 State: WiFi Signal = 4

dev:3182021-03-09 07:30:58.116 traceBlink - Camera-826467 Event: Network ID = 118478

dev:3182021-03-09 07:30:58.102 traceBlink - Camera-826467 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:58.088 traceBlink - Camera-826467 Event: switch = on

dev:3182021-03-09 07:30:58.074 traceBlink - Camera-826467 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:58.060 traceBlink - Camera-826467 Event: Issues = []

dev:3182021-03-09 07:30:58.046 traceBlink - Camera-826467 Event: Battery Value = ok

dev:3182021-03-09 07:30:58.031 traceBlink - Camera-826467 Event: Type = white

dev:3182021-03-09 07:30:58.007 traceBlink - Camera-826467 State: Created = 2018-08-15T23:01:30+00:00

dev:3182021-03-09 07:30:57.992 traceBlink - Camera-826467 State: Local Storage Compatible = false

dev:3182021-03-09 07:30:57.990 traceBlink - Camera-826467 Event: Thumbnail File = clip_E4yyunUA_2021_03_08__07_01AM.jpg

dev:3182021-03-09 07:30:57.979 traceBlink - Thumbnail File Name = clip_E4yyunUA_2021_03_08__07_01AM

dev:3182021-03-09 07:30:57.976 debugBlink - Camera List = [371741, 371746, 826467, 1260785, 1260787]

dev:3182021-03-09 07:30:57.973 traceBlink - Camera-826467 Event: ID = 826467

dev:3182021-03-09 07:30:57.960 traceBlink - Processing Camera-826467 Data = [thumbnail:/media/production/account/95716/network/118478/camera/826467/clip_E4yyunUA_2021_03_08__07_01AM, local_storage_compatible:false, created_at:2018-08-15T23:01:30+00:00, type:white, battery:ok, issues:[], enabled:true, network_id:118478, signals:[wifi:4, temp:40, lfr:1, battery:3], updated_at:2021-03-09T14:44:06+00:00, serial:180203583, usage_rate:false, name:Shed, id:826467, fw_version:2.151, local_storage_enabled:false, status:done]

dev:3182021-03-09 07:30:57.956 traceBlink - Camera-371746 Event: Status = done

dev:3182021-03-09 07:30:57.931 traceBlink - Camera-371746 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:57.917 traceBlink - Camera-371746 State: Firmware Version = 2.151

dev:3182021-03-09 07:30:57.914 traceBlink - Ignored id = 371746

dev:3182021-03-09 07:30:57.911 traceBlink - Camera-371746 Event: Name = Kitchen Door

dev:3182021-03-09 07:30:57.886 traceBlink - Camera-371746 State: Usage Rate = false

dev:3182021-03-09 07:30:57.872 traceBlink - Camera-371746 State: Serial = 160203530

dev:3182021-03-09 07:30:57.854 traceBlink - Camera-371746 State: API Data Updated = 2021-03-09T15:29:06+00:00

dev:3182021-03-09 07:30:57.840 traceBlink - Camera-371746 State: Battery Signal = 3

dev:3182021-03-09 07:30:57.826 traceBlink - Camera-371746 State: LFR Signal = 4

dev:3182021-03-09 07:30:57.823 traceBlink - Camera-371746 Event: temperature = 0°C

dev:3182021-03-09 07:30:57.808 traceBlink - Temperature Conversion 32°F to 0°C

dev:3182021-03-09 07:30:57.796 traceBlink - Camera-371746 State: WiFi Signal = 4

dev:3182021-03-09 07:30:57.792 traceBlink - Camera-371746 Event: Network ID = 118478

dev:3182021-03-09 07:30:57.778 traceBlink - Camera-371746 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:57.764 traceBlink - Camera-371746 Event: switch = on

dev:3182021-03-09 07:30:57.750 traceBlink - Camera-371746 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:57.736 traceBlink - Camera-371746 Event: Issues = []

dev:3182021-03-09 07:30:57.722 traceBlink - Camera-371746 Event: Battery Value = ok

dev:3182021-03-09 07:30:57.708 traceBlink - Camera-371746 Event: Type = white

dev:3182021-03-09 07:30:57.683 traceBlink - Camera-371746 State: Created = 2017-02-17T00:19:19+00:00

dev:3182021-03-09 07:30:57.668 traceBlink - Camera-371746 State: Local Storage Compatible = false

dev:3182021-03-09 07:30:57.666 traceBlink - Camera-371746 Event: Thumbnail File = clip_LhvMynxY_2021_02_21__19_17PM.jpg

dev:3182021-03-09 07:30:57.653 traceBlink - Thumbnail File Name = clip_LhvMynxY_2021_02_21__19_17PM

dev:3182021-03-09 07:30:57.650 debugBlink - Camera List = [371741, 371746, 826467, 1260785, 1260787]

dev:3182021-03-09 07:30:57.646 traceBlink - Camera-371746 Event: ID = 371746

dev:3182021-03-09 07:30:57.632 traceBlink - Processing Camera-371746 Data = [thumbnail:/media/production/account/95716/network/118478/camera/371746/clip_LhvMynxY_2021_02_21__19_17PM, local_storage_compatible:false, created_at:2017-02-17T00:19:19+00:00, type:white, battery:ok, issues:[], enabled:true, network_id:118478, signals:[wifi:4, temp:32, lfr:4, battery:3], updated_at:2021-03-09T15:29:06+00:00, serial:160203530, usage_rate:false, name:Kitchen Door, id:371746, fw_version:2.151, local_storage_enabled:false, status:done]

dev:3182021-03-09 07:30:57.628 traceBlink - Camera-371741 Event: Status = done

dev:3182021-03-09 07:30:57.605 traceBlink - Camera-371741 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:57.563 traceBlink - Camera-371741 State: Firmware Version = 2.151

dev:3182021-03-09 07:30:57.560 traceBlink - Ignored id = 371741

dev:3182021-03-09 07:30:57.556 traceBlink - Camera-371741 Event: Name = Garage

dev:3182021-03-09 07:30:57.533 traceBlink - Camera-371741 State: Usage Rate = false

dev:3182021-03-09 07:30:57.520 traceBlink - Camera-371741 State: Serial = 190203582

dev:3182021-03-09 07:30:57.503 traceBlink - Camera-371741 State: API Data Updated = 2021-03-09T14:29:06+00:00

dev:3182021-03-09 07:30:57.489 traceBlink - Camera-371741 State: Battery Signal = 3

dev:3182021-03-09 07:30:57.472 traceBlink - Camera-371741 State: LFR Signal = 2

dev:3182021-03-09 07:30:57.469 traceBlink - Camera-371741 Event: temperature = 10.55°C

dev:3182021-03-09 07:30:57.455 traceBlink - Temperature Conversion 51°F to 10.5555555556°C

dev:3182021-03-09 07:30:57.438 traceBlink - Camera-371741 State: WiFi Signal = 3

dev:3182021-03-09 07:30:57.434 traceBlink - Camera-371741 Event: Network ID = 118478

dev:3182021-03-09 07:30:57.421 traceBlink - Camera-371741 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:57.407 traceBlink - Camera-371741 Event: switch = on

dev:3182021-03-09 07:30:57.394 traceBlink - Camera-371741 Event: Motion Detection Enabled = true

dev:3182021-03-09 07:30:57.380 traceBlink - Camera-371741 Event: Issues = []

dev:3182021-03-09 07:30:57.367 traceBlink - Camera-371741 Event: Battery Value = ok

dev:3182021-03-09 07:30:57.354 traceBlink - Camera-371741 Event: Type = white

dev:3182021-03-09 07:30:57.330 traceBlink - Camera-371741 State: Created = 2017-02-17T00:16:13+00:00

dev:3182021-03-09 07:30:57.317 traceBlink - Camera-371741 State: Local Storage Compatible = false

dev:3182021-03-09 07:30:57.314 traceBlink - Camera-371741 Event: Thumbnail File = clip_ulO03Bhx_2021_02_21__19_47PM.jpg

dev:3182021-03-09 07:30:57.304 traceBlink - Thumbnail File Name = clip_ulO03Bhx_2021_02_21__19_47PM

dev:3182021-03-09 07:30:57.300 debugBlink - Camera List = [371741, 371746, 826467, 1260785, 1260787]

dev:3182021-03-09 07:30:57.297 traceBlink - Camera-371741 Event: ID = 371741

dev:3182021-03-09 07:30:57.284 traceBlink - Processing Camera-371741 Data = [thumbnail:/media/production/account/95716/network/118478/camera/371741/clip_ulO03Bhx_2021_02_21__19_47PM, local_storage_compatible:false, created_at:2017-02-17T00:16:13+00:00, type:white, battery:ok, issues:[], enabled:true, network_id:118478, signals:[wifi:3, temp:51, lfr:2, battery:3], updated_at:2021-03-09T14:29:06+00:00, serial:190203582, usage_rate:false, name:Garage, id:371741, fw_version:2.151, local_storage_enabled:false, status:done]

dev:3182021-03-09 07:30:57.280 traceBlink - SyncModule-706587 Event: Status = online

dev:3182021-03-09 07:30:57.265 traceBlink - SyncModule-706587 State: Local Storage Status = unavailable

dev:3182021-03-09 07:30:57.256 traceBlink - SyncModule-706587 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:57.246 traceBlink - SyncModule-706587 State: Firmware Version = 4.2.12

dev:3182021-03-09 07:30:57.243 traceBlink - Ignored id = 706587

dev:3182021-03-09 07:30:57.240 traceBlink - SyncModule-706587 Event: Name = My Blink Sync Module

dev:3182021-03-09 07:30:57.225 traceBlink - SyncModule-706587 State: Serial = G8T1LN00031513VJ

dev:3182021-03-09 07:30:57.216 traceBlink - SyncModule-706587 State: API Data Updated = 2021-03-09T00:02:15+00:00

dev:3182021-03-09 07:30:57.213 traceBlink - SyncModule-706587 Event: Network ID = 284174

dev:3182021-03-09 07:30:57.194 traceBlink - SyncModule-706587 State: Last HB = 2021-03-09T15:30:07+00:00

dev:3182021-03-09 07:30:57.184 traceBlink - SyncModule-706587 State: Temp Alerts Enabled = true

dev:3182021-03-09 07:30:57.181 traceBlink - SyncModule-706587 Event: Type = sm2

dev:3182021-03-09 07:30:57.166 traceBlink - SyncModule-706587 State: Created = 2020-11-04T19:55:49+00:00

dev:3182021-03-09 07:30:57.157 traceBlink - SyncModule-706587 State: WiFi Strength = 4

dev:3182021-03-09 07:30:57.146 traceBlink - SyncModule-706587 State: Local Storage Compatible = true

dev:3182021-03-09 07:30:57.139 traceBlink - SyncModule-706587 State: Onboarded = true

dev:3182021-03-09 07:30:57.135 debugBlink - SyncModule List = [494246, 706587]

dev:3182021-03-09 07:30:57.132 traceBlink - SyncModule-706587 Event: ID = 706587

dev:3182021-03-09 07:30:57.124 traceBlink - Processing SyncModule-706587 Data = [onboarded:true, local_storage_compatible:true, wifi_strength:4, created_at:2020-11-04T19:55:49+00:00, type:sm2, enable_temp_alerts:true, last_hb:2021-03-09T15:30:07+00:00, network_id:284174, updated_at:2021-03-09T00:02:15+00:00, serial:G8T1LN00031513VJ, name:My Blink Sync Module, id:706587, fw_version:4.2.12, local_storage_enabled:false, local_storage_status:unavailable, status:online]

dev:3182021-03-09 07:30:57.121 traceBlink - SyncModule-494246 Event: Status = online

dev:3182021-03-09 07:30:57.106 traceBlink - SyncModule-494246 State: Local Storage Status = unavailable

dev:3182021-03-09 07:30:57.096 traceBlink - SyncModule-494246 State: Local Storage Enabled = false

dev:3182021-03-09 07:30:57.087 traceBlink - SyncModule-494246 State: Firmware Version = 4.2.9

dev:3182021-03-09 07:30:57.083 traceBlink - Ignored id = 494246

dev:3182021-03-09 07:30:57.080 traceBlink - SyncModule-494246 Event: Name = My Blink Sync Module

dev:3182021-03-09 07:30:57.066 traceBlink - SyncModule-494246 State: Serial = 210067743

dev:3182021-03-09 07:30:57.056 traceBlink - SyncModule-494246 State: API Data Updated = 2021-03-09T00:02:02+00:00

dev:3182021-03-09 07:30:57.053 traceBlink - SyncModule-494246 Event: Network ID = 118478

dev:3182021-03-09 07:30:57.028 traceBlink - SyncModule-494246 State: Last HB = 2021-03-09T15:30:09+00:00

dev:3182021-03-09 07:30:57.018 traceBlink - SyncModule-494246 State: Temp Alerts Enabled = true

dev:3182021-03-09 07:30:57.014 traceBlink - SyncModule-494246 Event: Type = sm1

dev:3182021-03-09 07:30:56.997 traceBlink - SyncModule-494246 State: Created = 2018-08-15T04:27:40+00:00

dev:3182021-03-09 07:30:56.987 traceBlink - SyncModule-494246 State: WiFi Strength = 5

dev:3182021-03-09 07:30:56.977 traceBlink - SyncModule-494246 State: Local Storage Compatible = false

dev:3182021-03-09 07:30:56.969 traceBlink - SyncModule-494246 State: Onboarded = true

dev:3182021-03-09 07:30:56.966 debugBlink - SyncModule List = [494246, 706587]

dev:3182021-03-09 07:30:56.963 traceBlink - SyncModule-494246 Event: ID = 494246

dev:3182021-03-09 07:30:56.954 traceBlink - Processing SyncModule-494246 Data = [onboarded:true, local_storage_compatible:false, wifi_strength:5, created_at:2018-08-15T04:27:40+00:00, type:sm1, enable_temp_alerts:true, last_hb:2021-03-09T15:30:09+00:00, network_id:118478, updated_at:2021-03-09T00:02:02+00:00, serial:210067743, name:My Blink Sync Module, id:494246, fw_version:4.2.9, local_storage_enabled:false, local_storage_status:unavailable, status:online]

dev:3182021-03-09 07:30:56.944 traceBlink - Network-284174 State: LV Save = false

dev:3182021-03-09 07:30:56.933 traceBlink - Network-284174 State: Location ID = null

dev:3182021-03-09 07:30:56.922 traceBlink - Network-284174 State: Time Zone = America/Vancouver

dev:3182021-03-09 07:30:56.917 traceBlink - Ignored id = 284174

dev:3182021-03-09 07:30:56.909 traceBlink - Network-284174 State: Created = 2020-11-04T19:55:42+00:00

dev:3182021-03-09 07:30:56.904 traceBlink - Network-284174 Event: Name = Outdoor

dev:3182021-03-09 07:30:56.895 traceBlink - Network-284174 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.885 traceBlink - Network-284174 Event: switch = on

dev:3182021-03-09 07:30:56.874 traceBlink - Camera-1260787 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.860 traceBlink - Camera-1260787 Event: Armed = true

dev:3182021-03-09 07:30:56.820 traceBlink - Camera-1260785 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.806 traceBlink - Camera-1260785 Event: Armed = true

dev:3182021-03-09 07:30:56.688 traceBlink - Event: Armed System(s) = [284174, 118478]

dev:3182021-03-09 07:30:56.684 traceBlink - Network-284174 Event: Armed = true

dev:3182021-03-09 07:30:56.667 traceBlink - Network-284174 State: Daylight Savings Time = true

dev:3182021-03-09 07:30:56.658 traceBlink - Network-284174 State: API Data Updated = 2021-01-13T00:58:31+00:00

dev:3182021-03-09 07:30:56.655 debugBlink - Network List = [284174, 118478]

dev:3182021-03-09 07:30:56.652 traceBlink - Network-284174 Event: ID = 284174

dev:3182021-03-09 07:30:56.641 traceBlink - Processing Network-284174 Data = [updated_at:2021-01-13T00:58:31+00:00, dst:true, armed:true, name:Outdoor, created_at:2020-11-04T19:55:42+00:00, id:284174, time_zone:America/Vancouver, location_id:null, lv_save:false]

dev:3182021-03-09 07:30:56.631 traceBlink - Network-118478 State: LV Save = false

dev:3182021-03-09 07:30:56.584 traceBlink - Network-118478 State: Location ID = null

dev:3182021-03-09 07:30:56.572 traceBlink - Network-118478 State: Time Zone = America/Vancouver

dev:3182021-03-09 07:30:56.569 traceBlink - Ignored id = 118478

dev:3182021-03-09 07:30:56.560 traceBlink - Network-118478 State: Created = 2017-02-17T00:13:02+00:00

dev:3182021-03-09 07:30:56.555 traceBlink - Network-118478 Event: Name = Home

dev:3182021-03-09 07:30:56.544 traceBlink - Network-118478 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.534 traceBlink - Network-118478 Event: switch = on

dev:3182021-03-09 07:30:56.474 traceBlink - Camera-826467 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.457 traceBlink - Camera-826467 Event: Armed = true

dev:3182021-03-09 07:30:56.417 traceBlink - Camera-371746 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.401 traceBlink - Camera-371746 Event: Armed = true

dev:3182021-03-09 07:30:56.361 traceBlink - Camera-371741 Event: Arm String = Armed

dev:3182021-03-09 07:30:56.347 traceBlink - Camera-371741 Event: Armed = true

dev:3182021-03-09 07:30:56.306 traceBlink - Event: Armed System(s) = [118478]

dev:3182021-03-09 07:30:56.302 traceBlink - Network-118478 Event: Armed = true

dev:3182021-03-09 07:30:56.284 traceBlink - Network-118478 State: Daylight Savings Time = true

dev:3182021-03-09 07:30:56.273 traceBlink - Network-118478 State: API Data Updated = 2020-12-20T06:12:39+00:00

dev:3182021-03-09 07:30:56.265 debugBlink - Network List = [284174, 118478]

dev:3182021-03-09 07:30:56.259 traceBlink - Network-118478 Event: ID = 118478

dev:3182021-03-09 07:30:56.233 traceBlink - Processing Network-118478 Data = [updated_at:2020-12-20T06:12:39+00:00, dst:true, armed:true, name:Home, created_at:2017-02-17T00:13:02+00:00, id:118478, time_zone:America/Vancouver, location_id:null, lv_save:false]

dev:3182021-03-09 07:30:56.226 traceBlink - Homescreen response = {"account":{"id":95716,"email_verified":true,"email_verification_required":true,"amazon_account_linked":false},"networks":[{"id":118478,"created_at":"2017-02-17T00:13:02+00:00","updated_at":"2020-12-20T06:12:39+00:00","name":"Home","time_zone":"America/Vancouver","dst":true,"armed":true,"lv_save":false,"location_id":null},{"id":284174,"created_at":"2020-11-04T19:55:42+00:00","updated_at":"2021-01-13T00:58:31+00:00","name":"Outdoor","time_zone":"America/Vancouver","dst":true,"armed":true,"lv_save":false,"location_id":null}],"locations":[{"id":30484,"name":"Blink Account","address_1":"","address_2":null,"city":"","state":"","postal_code":"","country":""}],"sync_modules":[{"id":494246,"created_at":"2018-08-15T04:27:40+00:00","updated_at":"2021-03-09T00:02:02+00:00","onboarded":true,"status":"online","name":"My Blink Sync Module","serial":"210067743","fw_version":"4.2.9","type":"sm1","last_hb":"2021-03-09T15:30:09+00:00","wifi_strength":5,"network_id":118478,"enable_temp_alerts":true,"local_storage_enabled":false,"local_storage_compatible":false,"local_storage_status":"unavailable"},{"id":706587,"created_at":"2020-11-04T19:55:49+00:00","updated_at":"2021-03-09T00:02:15+00:00","onboarded":true,"status":"online","name":"My Blink Sync Module","serial":"G8T1LN00031513VJ","fw_version":"4.2.12","type":"sm2","last_hb":"2021-03-09T15:30:07+00:00","wifi_strength":4,"network_id":284174,"enable_temp_alerts":true,"local_storage_enabled":false,"local_storage_compatible":true,"local_storage_status":"unavailable"}],"cameras":[{"id":371741,"created_at":"2017-02-17T00:16:13+00:00","updated_at":"2021-03-09T14:29:06+00:00","name":"Garage","serial":"190203582","fw_version":"2.151","type":"white","enabled":true,"thumbnail":"/media/production/account/95716/network/118478/camera/371741/clip_ulO03Bhx_2021_02_21__19_47PM","status":"done","battery":"ok","usage_rate":false,"network_id":118478,"issues":[],"signals":{"lfr":2,"wifi":3,"temp":51,"battery":3},"local_storage_enabled":false,"local_storage_compatible":false},{"id":371746,"created_at":"2017-02-17T00:19:19+00:00","updated_at":"2021-03-09T15:29:06+00:00","name":"Kitchen Door","serial":"160203530","fw_version":"2.151","type":"white","enabled":true,"thumbnail":"/media/production/account/95716/network/118478/camera/371746/clip_LhvMynxY_2021_02_21__19_17PM","status":"done","battery":"ok","usage_rate":false,"network_id":118478,"issues":[],"signals":{"lfr":4,"wifi":4,"temp":32,"battery":3},"local_storage_enabled":false,"local_storage_compatible":false},{"id":826467,"created_at":"2018-08-15T23:01:30+00:00","updated_at":"2021-03-09T14:44:06+00:00","name":"Shed","serial":"180203583","fw_version":"2.151","type":"white","enabled":true,"thumbnail":"/media/production/account/95716/network/118478/camera/826467/clip_E4yyunUA_2021_03_08__07_01AM","status":"done","battery":"ok","usage_rate":false,"network_id":118478,"issues":[],"signals":{"lfr":1,"wifi":4,"temp":40,"battery":3},"local_storage_enabled":false,"local_storage_compatible":false},{"id":1260785,"created_at":"2020-11-04T19:59:04+00:00","updated_at":"2021-03-09T06:33:36+00:00","name":"Front Door","serial":"G8T1GH0003018GDL","fw_version":"10.42","type":"catalina","enabled":true,"thumbnail":"/media/production/account/95716/network/284174/catalina/1260785/thumbnail/fw_10.42__nfIK3vzm_2021_02_21__19_16PM","status":"done","battery":"ok","usage_rate":false,"network_id":284174,"issues":[],"signals":{"lfr":5,"wifi":5,"temp":35,"battery":3},"local_storage_enabled":false,"local_storage_compatible":true},{"id":1260787,"created_at":"2020-11-04T20:01:45+00:00","updated_at":"2021-03-09T04:33:36+00:00","name":"Back Door","serial":"G8T1GH0003018G9D","fw_version":"10.42","type":"catalina","enabled":true,"thumbnail":"/media/production/account/95716/network/284174/catalina/1260787/thumbnail/fw_10.42__RIjn6qR4_2021_02_21__19_15PM","status":"done","battery":"ok","usage_rate":false,"network_id":284174,"issues":[],"signals":{"lfr":4,"wifi":5,"temp":33,"battery":3},"local_storage_enabled":false,"local_storage_compatible":true}],"sirens":[],"chimes":[],"video_stats":{"storage":15,"auto_delete_days":14,"auto_delete_day_options":[3,7,14,30,60]},"doorbell_buttons":[],"owls":[],"app_updates":{"message":"An app update is required","code":105,"update_available":true,"update_required":true},"device_limits":{"camera":10,"chime":5,"doorbell_button":2,"owl":10,"siren":5,"total_devices":20},"whats_new":{"updated_at":20210204,"url":"https://updates.blinkforhome.com/"},"subscriptions":{"updated_at":"1970-01-01T00:00:00+00:00"},"entitlements":{"updated_at":"1970-01-01T00:00:00+00:00"},"tiv_lock_enable":true,"tiv_lock_status":{"locked":true}}

dev:3182021-03-09 07:30:55.849 traceBlink - Homescreen Params = https://rest-prod.immedia-semi.com/api/v3/accounts/95716/homescreen

dev:3182021-03-09 07:30:26.091 errorBlink - 404 from Blink

dev:3182021-03-09 07:30:25.891 traceBlink - Trying to verify PIN.

dev:3182021-03-09 07:29:31.506 traceBlink - Response successful

dev:3182021-03-09 07:29:31.502 traceBlink - Authorization headers: [Status:200 OK, X-Cache:Miss from cloudfront, Server:nginx + Phusion Passenger, X-Content-Type-Options:nosniff, X-Amz-Cf-Pop:YVR50-C1, Connection:keep-alive, X-Blink-Served-By:i-0ebea3b8be4d5abbc, Date:Tue, 09 Mar 2021 15:29:30 GMT, Via:1.1 491f87c907b27362e04dc63423010b42.cloudfront.net (CloudFront), X-Amz-Cf-Id:ErDuaSjxI0eC9Dck11YKB1y0-gJ7ywxlMMeV4YbA4-jibCjVSisOmA==, Vary:Accept-Encoding, Content-Type:application/json, X-Powered-By:Phusion Passenger]

dev:3182021-03-09 07:29:31.497 traceBlink - Authorization successful: {"account":{"account_id":95716,"user_id":95675,"client_id":3303789,"new_account":false,"tier":"prod","region":"ap","account_verification_required":false,"phone_verification_required":false,"client_verification_required":true,"verification_channel":"phone"},"auth":{"token":"EPNHm7unStaoDYw1b_Lymg"},"phone":{"number":"+1******1057","last_4_digits":"1057","country_calling_code":"1","valid":true},"verification":{"email":{"required":false},"phone":{"required":true,"channel":"sms"}},"lockout_time_remaining":0,"force_password_reset":false,"allow_pin_resend_seconds":60}

dev:3182021-03-09 07:29:30.939 traceBlink - Authorizing...

dev:3182021-03-09 07:28:58.327 errorBlink - Unauthorized

dev:3182021-03-09 07:28:57.905 traceBlink - Homescreen Params = https://rest-prod.immedia-semi.com/api/v3/accounts/95716/homescreen

dev:3182021-03-09 07:27:37.850 errorBlink - 404 from Blink

dev:3182021-03-09 07:27:37.644 traceBlink - Trying to verify PIN.

--- Live Log Started, wa

Thanks! I will have to look over it later and see if anything stands out from the authorization bits compared to ones I have seen before (and mine).

I've just had to re-authorise mine too. I'll PM you the logs now.

Mine seems to need re-authorising every 24 hours now.