Dafang Camera Motion Alarm Will Not Download


Benww

Members
Oct 11, 2017
10
13
Hi,

Recently the 'Motion Alarms' are recording and I can see them in the list however when I go to click on the item to view them it looks as if it should start and then does nothing at all so I cannot view them.

Anyone else experiencing this issue too?

Ben

(Android Oreo)
 
  • Like
Reactions: timalpipo
This is the message (in chinese - bottom centre) I am receiving when trying to open the video files from the motion alarm.

Anyone have any knowledge of what it means? Frustration knowing something has been captured but cannot see it.
Screenshot_20180221-224416.png
 
Screenshot_20180306-163432~2.png
Has anyone got an idea what is causing this??

Can anyone translate this message that pops up when trying to access the video?
 
i have exactly the same problem about one month now, i have reset my camera, re-installed app, tried different phones, different android versions(6,7) , removed SD, camera settings ...but nothing seems to fix the problem. I thought my camera has a defect...since from day1 a had alot of problems...

ps: i have mainland china selected in region ( i have tried when i baught it( dec17), eu region but that messed the camera and had to reset it again)...is this still needed or can we change(need to change?) region now?
 
  • Like
Reactions: Benww
I troght this is server problem inn China.

Tapatalkkal küldve az én Redmi Pro eszközömről

I thing you are right, since we all have the same problem. I wrote a review regarding this problem in the mi home playstore app. What else can we do to inform xiaomi about this problem?
 
  • Like
Reactions: Benww
I thing you are right, since we all have the same problem. I wrote a review regarding this problem in the mi home playstore app. What else can we do to inform xiaomi about this problem?

Does anyone know if any of the moderators have links to Xiaomi or know where to point us?
 
  • Like
Reactions: Ioannis Tziasios
I have modified camera plugin in Mi Home so as a result I have log files. From log file I see that Mi home application received from server information about available motion events (paths to mp4 and jpg files):

2018-04-11 17:09:54.341 AlarmRecordPlayer ar = mUserID xxxxxxxxxx mDeviceID xxxxxxxx mAlarmType 1 mVideoUrl 2018/04/11/xxxxxxxxxx/xxxxxxxx_004416083.mp4 mPicUrl 2018/04/11/xxxxxxxxxx/xxxxxxxx_004416084.jpg mTimestampInSecond 1523378656 mAlarmTypeString Motion Alarm

Next it ask for direct path on server to download it and get answer with path:

2018-04-11 17:09:57.455 AlarmRecordPlayerFragment Parser :{"url":"hxxps:\/\/cnbj2.fds.api.xiaomi.com\/alarm\/2018%2F04%2F11%2Fxxxxxxxxxx%2Fxxxxxxxx_004416083.mp4?GalaxyAccessKeyId=5741748784628&Expires=1523461197000&Signature=C0f\/xr42wF99T34TORhI\/yRa+XE=","method":"GET","obj_name":"2018\/04\/11\/xxxxxxxxxx\/xxxxxxxx_004416083.mp4","ok":true,"out_time":1523461197}

It tries to download file:

2018-04-11 17:09:57.473 ImageProcesss: downloadVideo remoteUrl=hxxps://cnbj2.fds.api.xiaomi.com/alarm/2018%2F04%2F11%2Fxxxxxxxxxx%2Fxxxxxxxx_004416083.mp4?GalaxyAccessKeyId=5741748784628&Expires=1523461197000&Signature=C0f/xr42wF99T34TORhI/yRa+XE=,dirPath=/storage/emulated/0/XiaoFangCamera/video/,fileName=2018_04_11_xxxxxxxxxx_xxxxxxxx_004416083.mp4

But it received error:

2018-04-11 17:10:03.321 ImageProcesss: responseCode==404
2018-04-11 17:10:03.322 ImageProcesss: httpUrlResponse is not ok

When I try the same address via web explorer I get:

Object Not Found: Make sure your object exist in current region, request-id=8666fe67-e505-44e5-0000-0162b548fce3

So generally it looks like a server problem. The question is if it behave better if someone have premium cloud account.
 
I have modified camera plugin in Mi Home so as a result I have log files. From log file I see that Mi home application received from server information about available motion events (paths to mp4 and jpg files):

2018-04-11 17:09:54.341 AlarmRecordPlayer ar = mUserID xxxxxxxxxx mDeviceID xxxxxxxx mAlarmType 1 mVideoUrl 2018/04/11/xxxxxxxxxx/xxxxxxxx_004416083.mp4 mPicUrl 2018/04/11/xxxxxxxxxx/xxxxxxxx_004416084.jpg mTimestampInSecond 1523378656 mAlarmTypeString Motion Alarm

Next it ask for direct path on server to download it and get answer with path:

2018-04-11 17:09:57.455 AlarmRecordPlayerFragment Parser :{"url":"hxxps:\/\/cnbj2.fds.api.xiaomi.com\/alarm\/2018%2F04%2F11%2Fxxxxxxxxxx%2Fxxxxxxxx_004416083.mp4?GalaxyAccessKeyId=5741748784628&Expires=1523461197000&Signature=C0f\/xr42wF99T34TORhI\/yRa+XE=","method":"GET","obj_name":"2018\/04\/11\/xxxxxxxxxx\/xxxxxxxx_004416083.mp4","ok":true,"out_time":1523461197}

It tries to download file:

2018-04-11 17:09:57.473 ImageProcesss: downloadVideo remoteUrl=hxxps://cnbj2.fds.api.xiaomi.com/alarm/2018%2F04%2F11%2Fxxxxxxxxxx%2Fxxxxxxxx_004416083.mp4?GalaxyAccessKeyId=5741748784628&Expires=1523461197000&Signature=C0f/xr42wF99T34TORhI/yRa+XE=,dirPath=/storage/emulated/0/XiaoFangCamera/video/,fileName=2018_04_11_xxxxxxxxxx_xxxxxxxx_004416083.mp4

But it received error:

2018-04-11 17:10:03.321 ImageProcesss: responseCode==404
2018-04-11 17:10:03.322 ImageProcesss: httpUrlResponse is not ok

When I try the same address via web explorer I get:

Object Not Found: Make sure your object exist in current region, request-id=8666fe67-e505-44e5-0000-0162b548fce3

So generally it looks like a server problem. The question is if it behave better if someone have premium cloud account.

For some reason after reading your post I checked and the downloads are working again.. maybe your post prompted someone to fix something.
 
For some reason after reading your post I checked and the downloads are working again.. maybe your post prompted someone to fix something.
I have always the problem on all my dafangs.

No solutions ?

Envoyé de mon Mi A1 en utilisant Tapatalk