Blink Security Home Kamera - Modul - 48_BlinkCamera.pm

Begonnen von viegener, 26 Oktober 2016, 22:31:25

Vorheriges Thema - Nächstes Thema

Grimm80

Die Datei hat das gleiche Datum und Uhrzeit wie im Browser

viegener

Zitat von: Grimm80 am 12 Dezember 2017, 09:50:36
Die Datei hat das gleiche Datum und Uhrzeit wie im Browser

Das verstehe ich nicht?
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Grimm80

ich auch nicht wirklich.
Wenn ich mauell das getThumbnail ausführe bekomme ich auch ein neues.

wurde vielleicht wieder bei BLINK was geändert?

viegener

@Grimm80: Kannst Du mal ein list Deines devices hier posten und alles was Du anonymisieren willst durch was auch immer ersetzen?

Ich verwende die Thumbnails eigentlich nicht (meist nur um die Kameras auseinanderzuhalten), ich weiss nicht ob bei einem Alarm ein neues Thumbnail für die Kamera gespeichert wird, meines Wissens nach war das eigentlich nicht der Fall.
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Grimm80

Hier schonmal der letzte LOG-Eintrag von gestern


File not found in proxydir BlinkCamera_blink_thumbnail_camera_12345.jpg from (/blink/thumbnail/camera/12345.jpg)

und

File not found in proxydir BlinkCamera_blink_video_12345678.mp4 from (/blink/video/12345678.mp4)

Grimm80

#125
Hier noch LIST:


Internals:
   AuthToken  oiuhwefohwfio423hro
   DEF        a@blink.de geheim
   Email      a@blink.de
   FAILS      0
   NAME       blink
   NR         77
   POLLING    0
   SNAME      blink
   STATE      Static
   TYPE       BlinkCamera
   URL        https://rest.prde.immedia-semi.com
   alertSkipped 0
   cmd        homescreen
   cmdJson   
   cmdResult  SUCCESS
   doStatus   
   pollResult homescreen : SUCCESS
   thumbnail12345Url /media/production/account/224466/network/12345/camera/12345/clip_bgBxLb2f_2017_12_11__10_41AM
   updateTimestamp 2017-12-11T21:05:10+00:00
   HU_DO_PARAMS:
     NAME       
     addr       https://rest.prde.immedia-semi.com:443
     auth       0
     cmd        alerts
     code       200
     compress   1
     conn       
     data       
     displayurl <hidden>
     header     agent: TelegramBot/1.0
User-Agent: TelegramBot/1.0
Host: rest.prde.immedia-semi.com
TOKEN_AUTH: oiuhwefohwfio423hro
     hideurl    1
     host       rest.prde.immedia-semi.com
     httpheader HTTP/1.1 200 OK
Date: Tue, 12 Dec 2017 08:37:09 GMT
Content-Type: application/json
Connection: close
Vary: Accept-Encoding
Status: 200 OK
X-Blink-Served-By: i-098bc0424365391e3
X-Content-Type-Options: nosniff
X-Powered-By: Phusion Passenger 5.0.30
Server: nginx/1.12.1 + Phusion Passenger 5.0.30
Content-Encoding: gzip
     hu_blocking 0
     hu_filecount 32
     hu_port    443
     hu_portSfx
     loglevel   4
     method     GET
     par1       1
     par2       HIDDEN
     path       /api/v2/videos/changed?page=1&since=2017-12-11T08:23:20Z
     protocol   https
     redirects  0
     timeout    30
     url        https://rest.prde.immedia-semi.com/api/v2/videos/changed?page=1&since=2017-12-11T08:23:20Z
     args:
       alerts
       1
       HIDDEN
       2
     hash:
     sslargs:
   READINGS:
     2017-12-11 10:42:12   alertCamera     12345
     2017-12-11 10:42:12   alertCameraName Eingang
     2017-12-11 10:42:12   alertID         14837927
     2017-12-11 10:42:12   alertTime       2017-12-10T16:21:08+00:00
     2017-12-11 10:42:12   alertVideo      /media/production/account/224466/network/12345/camera/12345/clip_gWJh36Vy_2017_12_10__16_21PM.mp4
     2017-12-12 09:36:56   cameraConfig12345 $VAR1 = [
          {
            'a1' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
            'account' => 224466,
            'account_id' => 224466,
            'alert_interval' => 10,
            'alert_repeat' => 'off',
            'alert_tone_enable' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
            'alert_tone_volume' => 0,
            'auto_test' => $VAR1->[0]{'a1'},
            'battery_alarm_enable' => $VAR1->[0]{'a1'},
            'battery_alert_count' => 0,
            'battery_check_time' => '2017-12-11T21:03:00+00:00',
            'battery_state' => 'ok',
            'battery_voltage' => 146,
            'battery_voltage_hysteresis' => 512,
            'battery_voltage_interval' => 1,
            'battery_voltage_threshold' => 512,
            'buzzer_on' => $VAR1->[0]{'alert_tone_enable'},
            'camera_key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
            'camera_seq' => 1,
            'clip_bitrate' => 325,
            'clip_max_length' => 60,
            'clip_rate' => 325,
            'clip_warning_threshold' => 15,
            'created_at' => '2017-12-07T16:39:35+00:00',
            'deleted_at' => undef,
            'early_termination' => $VAR1->[0]{'alert_tone_enable'},
            'early_termination_supported' => $VAR1->[0]{'alert_tone_enable'},
            'enabled' => $VAR1->[0]{'alert_tone_enable'},
            'flip_image' => $VAR1->[0]{'a1'},
            'fw_version' => '2.102',
            'id' => 12345,
            'illuminator_duration' => 1,
            'illuminator_enable' => 2,
            'illuminator_intensity' => 5,
            'invert_image' => $VAR1->[0]{'a1'},
            'ip_address' => undef,
            'last_battery_alert' => undef,
            'last_connect' => {
                                'ac_power' => $VAR1->[0]{'a1'},
                                'account_id' => 224466,
                                'battery_alert_status' => $VAR1->[0]{'a1'},
                                'battery_voltage' => 146,
                                'camera_id' => 12345,
                                'created_at' => '2017-12-07T16:39:42+00:00',
                                'dev_1' => 955147,
                                'dev_2' => 40,
                                'dev_3' => 691002444,
                                'dhcp_failure_count' => 0,
                                'error_codes' => 0,
                                'fw_version' => '2.102',
                                'ip_address' => '10.40.5.28',
                                'ipv' => 'ipv4',
                                'lfr_108_wakeups' => 12,
                                'lfr_strength' => -50,
                                'lfr_tb_wakeups' => 12,
                                'light_sensor_ch0' => 0,
                                'light_sensor_ch1' => 137,
                                'light_sensor_data_new' => $VAR1->[0]{'a1'},
                                'light_sensor_data_valid' => $VAR1->[0]{'a1'},
                                'mac' => '11:22:33:44:55:66:77:88',
                                'network_id' => 12345,
                                'serial' => '691002444',
                                'socket_failure_count' => 0,
                                'sync_module_id' => 28156,
                                'temp_alert_status' => $VAR1->[0]{'a1'},
                                'temperature' => 46,
                                'time_108_boot' => 54406,
                                'time_dhcp_lease' => 951798,
                                'time_dns_resolve' => 0,
                                'time_first_video' => 0,
                                'time_wlan_connect' => 818115,
                                'total_108_wakeups' => 47,
                                'total_tb_wakeups' => 52271,
                                'unit_number' => 1,
                                'updated_at' => '2017-12-11T21:05:20+00:00',
                                'wifi_connect_failure_count' => 0,
                                'wifi_strength' => -68
                              },
            'last_lfr_alert' => undef,
            'last_offline_alert' => undef,
            'last_temp_alert' => undef,
            'last_wifi_alert' => undef,
            'lfr_alert_count' => 0,
            'lfr_strength' => -55,
            'lfr_sync_interval' => 60,
            'liveview_bitrate' => 191,
            'liveview_enabled' => 'off',
            'liveview_rate' => 191,
            'mac_address' => undef,
            'max_resolution' => 'r720',
            'motion_alert' => $VAR1->[0]{'alert_tone_enable'},
            'motion_regions' => 33554431,
            'motion_sensitivity' => '4',
            'name' => 'Eingang',
            'network' => 12345,
            'network_id' => 12345,
            'offline_alert_count' => 0,
            'onboarded' => $VAR1->[0]{'alert_tone_enable'},
            'record_audio' => $VAR1->[0]{'a1'},
            'record_audio_enable' => $VAR1->[0]{'a1'},
            'retry_count' => 0,
            'serial' => '691002444',
            'siren_enable' => $VAR1->[0]{'a1'},
            'siren_volume' => undef,
            'status' => 'done',
            'sync_module_id' => 28156,
            'temp_adjust' => 0,
            'temp_alarm_enable' => $VAR1->[0]{'a1'},
            'temp_alert_count' => 0,
            'temp_alert_state' => 'in_range',
            'temp_hysteresis' => undef,
            'temp_interval' => 1,
            'temp_max' => undef,
            'temp_min' => undef,
            'temperature' => 39,
            'thumbnail' => '/media/production/account/224466/network/12345/camera/12345/clip_bgBxLb2f_2017_12_11__10_41AM',
            'unit_number' => 1,
            'updated_at' => '2017-12-12T07:30:57+00:00',
            'video_50_60hz' => 'freq_60hz',
            'video_length' => 5,
            'video_quality' => 'standard',
            'video_quality_support' => [
                                         'saver',
                                         'standard',
                                         'best'
                                       ],
            'wifi_alert_count' => 0,
            'wifi_strength' => -50,
            'wifi_timeout' => 30
          }
        ];


     2017-12-12 09:37:09   cmd             homescreen
     2017-12-12 09:37:09   cmdResult       SUCCESS
     2017-12-12 09:37:09   eventTimestamp  2017-12-11T21:04:22+00:00
     2017-12-08 08:15:29   liveVideo       rtsp://lv.prde.immedia-semi.com:2731//pEXrTmzY6oORwXqC
     2017-12-12 09:37:09   networkArmed    1
     2017-12-12 09:37:09   networkCamera12345 Eingang:armed
     2017-12-12 09:37:09   networkCamera12345Batt 3
     2017-12-11 11:41:58   networkCamera12345File /tmp/BlinkCamera_blink_thumbnail_camera_12345.jpg
     2017-12-11 11:41:58   networkCamera12345Img <html><a href="/fhem/BlinkCamera/blink/thumbnail/camera/12345.jpg"><img src="/fhem/BlinkCamera/blink/thumbnail/camera/12345.jpg" height=36 widht=64>/fhem/BlinkCamera/blink/thumbnail/camera/12345.jpg</a></html>
     2017-12-12 09:37:09   networkCamera12345Temp 39
     2017-12-12 09:37:09   networkCamera12345Thumbnail /media/production/account/224466/network/12345/camera/12345/clip_bgBxLb2f_2017_12_11__10_41AM
     2017-12-12 09:37:09   networkCamera12345Url /fhem/BlinkCamera/blink/thumbnail/camera/12345.jpg
     2017-12-12 09:37:09   networkCameras  12345:Eingang

     2017-12-12 09:37:09   networkName     Zuhause
     2017-12-12 09:37:09   networkNotifications 1
     2017-12-12 09:37:09   networkStatus   ok
     2017-12-12 09:37:09   networkSyncModule 28156:online
     2017-12-11 10:37:02   networks        12345:Zuhause
     2017-12-11 10:37:02   region          prde
     2017-12-11 10:37:02   regionName      Europe
     2017-12-09 16:26:02   video           <html><a href="/fhem/BlinkCamera/blink/video/12345678.mp4">Video Id:12345678:  /fhem/BlinkCamera/blink/video/12345678.mp4</a></html>
     2017-12-09 16:26:02   videoFilename   BlinkCamera_blink_video_12345678.mp4
     2017-12-09 16:26:02   videoID         12345678
   cmdQueue:
   getoptions:
     getInfo   
     getInfoCamera Eingang,12345,all
     getThumbnail Eingang,12345,all
     getVideoAlert
     liveview   Eingang,12345,all
   setoptions:
     arm       
     camDisable Eingang,12345,all
     camEnable  Eingang,12345,all
     disarm     
     login     
     reset     
     videoDelete
     zDebug     
   videos:
     14584541   2017-12-07T16:45:14+00:00|2017-12-07T16:46:52+00:00|12345|2017-12-07T16:45:43+00:00|/media/production/account/224466/network/12345/camera/12345/clip_J0Klytev_2017_12_07__16_45PM.mp4
     14584611   2017-12-07T16:45:55+00:00|2017-12-07T16:46:49+00:00|12345|2017-12-07T16:46:41+00:00|/media/production/account/224466/network/12345/camera/12345/clip_5fvD3uEk_2017_12_07__16_45PM.mp4
     14584763   2017-12-07T16:47:26+00:00|2017-12-07T17:46:43+00:00|12345|2017-12-07T17:24:42+00:00|/media/production/account/224466/network/12345/camera/12345/clip_D5APZM2v_2017_12_07__16_47PM.mp4
     14588362   2017-12-07T17:24:32+00:00|2017-12-07T17:46:40+00:00|12345|2017-12-07T17:24:48+00:00|/media/production/account/224466/network/12345/camera/12345/clip_LP7M7Mdd_2017_12_07__17_24PM.mp4
     14591410   2017-12-07T17:57:28+00:00|2017-12-07T17:58:16+00:00|12345|2017-12-07T17:58:04+00:00|/media/production/account/224466/network/12345/camera/12345/clip_b9TOEDaJ_2017_12_07__17_57PM.mp4
     14592351   2017-12-07T18:07:12+00:00|2017-12-07T18:22:39+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_QhwLKlk6_2017_12_07__18_07PM.mp4
     14592405   2017-12-07T18:07:47+00:00|2017-12-07T18:22:39+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_D1rtfnNA_2017_12_07__18_07PM.mp4
     14592904   2017-12-07T18:13:26+00:00|2017-12-07T18:22:39+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_80yhODx8_2017_12_07__18_13PM.mp4
     14593068   2017-12-07T18:15:24+00:00|2017-12-07T18:22:39+00:00|12345|2017-12-07T18:15:50+00:00|/media/production/account/224466/network/12345/camera/12345/clip_252UD7LZ_2017_12_07__18_15PM.mp4
     14593105   2017-12-07T18:15:49+00:00|2017-12-07T18:18:08+00:00|12345|2017-12-07T18:15:56+00:00|/media/production/account/224466/network/12345/camera/12345/clip_I_u7bgL3_2017_12_07__18_15PM.mp4
     14593137   2017-12-07T18:16:11+00:00|2017-12-07T18:22:39+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_s78XP3QT_2017_12_07__18_16PM.mp4
     14593202   2017-12-07T18:16:51+00:00|2017-12-07T18:22:39+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_EPjzqaty_2017_12_07__18_16PM.mp4
     14593229   2017-12-07T18:17:07+00:00|2017-12-07T18:22:39+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_dtI7_8Q__2017_12_07__18_17PM.mp4
     14593252   2017-12-07T18:17:21+00:00|2017-12-07T18:22:39+00:00|12345|2017-12-07T18:22:22+00:00|/media/production/account/224466/network/12345/camera/12345/clip_BMcLzaUh_2017_12_07__18_17PM.mp4
     14593283   2017-12-07T18:17:39+00:00|2017-12-07T18:22:22+00:00|12345|2017-12-07T18:22:20+00:00|/media/production/account/224466/network/12345/camera/12345/clip_NZ81x1gb_2017_12_07__18_17PM.mp4
     14593301   2017-12-07T18:17:54+00:00|2017-12-07T18:22:20+00:00|12345|2017-12-07T18:22:18+00:00|/media/production/account/224466/network/12345/camera/12345/clip_Z4hOZGNu_2017_12_07__18_17PM.mp4
     14593413   2017-12-07T18:19:02+00:00|2017-12-07T18:22:17+00:00|12345|2017-12-07T18:22:16+00:00|/media/production/account/224466/network/12345/camera/12345/clip_BbptUWxn_2017_12_07__18_19PM.mp4
     14593437   2017-12-07T18:19:17+00:00|2017-12-07T18:22:15+00:00|12345|2017-12-07T18:22:12+00:00|/media/production/account/224466/network/12345/camera/12345/clip_mJvJHTax_2017_12_07__18_19PM.mp4
     14593561   2017-12-07T18:20:38+00:00|2017-12-07T18:22:12+00:00|12345|2017-12-07T18:21:53+00:00|/media/production/account/224466/network/12345/camera/12345/clip_L_C3EpG2_2017_12_07__18_20PM.mp4
     14593604   2017-12-07T18:21:06+00:00|2017-12-07T18:21:53+00:00|12345|2017-12-07T18:21:49+00:00|/media/production/account/224466/network/12345/camera/12345/clip_FuiNbPbr_2017_12_07__18_21PM.mp4
     14593635   2017-12-07T18:21:22+00:00|2017-12-07T18:21:48+00:00|12345|2017-12-07T18:21:41+00:00|/media/production/account/224466/network/12345/camera/12345/clip_zADUVJc__2017_12_07__18_21PM.mp4
     14594613   2017-12-07T18:32:37+00:00|2017-12-07T18:35:22+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_r__d3aED_2017_12_07__18_32PM.mp4
     14594664   2017-12-07T18:33:08+00:00|2017-12-07T18:35:22+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_Y267FVUX_2017_12_07__18_33PM.mp4
     14594688   2017-12-07T18:33:24+00:00|2017-12-07T18:35:22+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_DbL9Exo4_2017_12_07__18_33PM.mp4
     14594713   2017-12-07T18:33:41+00:00|2017-12-07T18:35:22+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_4_ZUIX7G_2017_12_07__18_33PM.mp4
     14594744   2017-12-07T18:33:59+00:00|2017-12-07T18:35:22+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_GP5BCwSn_2017_12_07__18_33PM.mp4
     14596813   2017-12-07T19:00:21+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-07T19:01:17+00:00|/media/production/account/224466/network/12345/camera/12345/clip_1nMcD4R3_2017_12_07__19_00PM.mp4
     14600804   2017-12-07T19:55:07+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-07T19:57:39+00:00|/media/production/account/224466/network/12345/camera/12345/clip_YeqE9Yua_2017_12_07__19_55PM.mp4
     14600848   2017-12-07T19:55:48+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-07T19:57:29+00:00|/media/production/account/224466/network/12345/camera/12345/clip_T3lYNTTr_2017_12_07__19_55PM.mp4
     14606818   2017-12-07T21:57:27+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-08T08:06:29+00:00|/media/production/account/224466/network/12345/camera/12345/clip_wn75Vncl_2017_12_07__21_57PM.mp4
     14642294   2017-12-08T10:52:24+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-08T10:53:06+00:00|/media/production/account/224466/network/12345/camera/12345/clip_CQFDZM2M_2017_12_08__10_52AM.mp4
     14720950   2017-12-09T08:48:13+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T10:18:50+00:00|/media/production/account/224466/network/12345/camera/12345/clip_jPjoO057_2017_12_09__08_48AM.mp4
     14746441   2017-12-09T13:13:00+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T13:18:36+00:00|/media/production/account/224466/network/12345/camera/12345/clip_8z__IX4I_2017_12_09__13_13PM.mp4
     14746900   2017-12-09T13:17:57+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T13:18:40+00:00|/media/production/account/224466/network/12345/camera/12345/clip__2oMyWcb_2017_12_09__13_17PM.mp4
     14747254   2017-12-09T13:21:57+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T13:37:00+00:00|/media/production/account/224466/network/12345/camera/12345/clip_kT9lNHvU_2017_12_09__13_21PM.mp4
     14752182   2017-12-09T14:11:40+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T14:16:09+00:00|/media/production/account/224466/network/12345/camera/12345/clip_4bOVeRQq_2017_12_09__14_11PM.mp4
     14754120   2017-12-09T14:32:27+00:00|2017-12-09T15:47:04+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip_TUongyNE_2017_12_09__14_32PM.mp4
     14754151   2017-12-09T14:32:43+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T14:33:00+00:00|/media/production/account/224466/network/12345/camera/12345/clip_Vjjy_1sY_2017_12_09__14_32PM.mp4
     14756361   2017-12-09T14:58:51+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T14:59:08+00:00|/media/production/account/224466/network/12345/camera/12345/clip_Q31bdbSa_2017_12_09__14_58PM.mp4
     14758000   2017-12-09T15:18:42+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T15:19:05+00:00|/media/production/account/224466/network/12345/camera/12345/clip_j_SQv5_J_2017_12_09__15_18PM.mp4
     14758030   2017-12-09T15:19:15+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T15:19:21+00:00|/media/production/account/224466/network/12345/camera/12345/clip_bOKMnm4h_2017_12_09__15_19PM.mp4
     14758072   2017-12-09T15:19:50+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T15:20:13+00:00|/media/production/account/224466/network/12345/camera/12345/clip_O923B9iq_2017_12_09__15_19PM.mp4
     14758116   2017-12-09T15:20:21+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T15:20:28+00:00|/media/production/account/224466/network/12345/camera/12345/clip_aWMhhMdU_2017_12_09__15_20PM.mp4
     14758439   2017-12-09T15:24:04+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T15:24:10+00:00|/media/production/account/224466/network/12345/camera/12345/clip_YPyj3KPs_2017_12_09__15_24PM.mp4
     12345678   2017-12-09T15:25:56+00:00|2017-12-09T15:47:04+00:00|12345|2017-12-09T15:26:02+00:00|/media/production/account/224466/network/12345/camera/12345/clip_ZmWy_z_b_2017_12_09__15_25PM.mp4
     14759714   2017-12-09T15:39:19+00:00|2017-12-09T15:47:04+00:00|12345||/media/production/account/224466/network/12345/camera/12345/clip__LH2jgDl_2017_12_09__15_39PM.mp4
     14760583   2017-12-09T15:48:35+00:00|2017-12-09T16:09:36+00:00|12345|2017-12-09T16:09:33+00:00|/media/production/account/224466/network/12345/camera/12345/clip_i4bj_gvU_2017_12_09__15_48PM.mp4
     14760616   2017-12-09T15:48:52+00:00|2017-12-09T16:09:39+00:00|12345|2017-12-09T16:09:23+00:00|/media/production/account/224466/network/12345/camera/12345/clip_L_FyM3KG_2017_12_09__15_48PM.mp4
     14767138   2017-12-09T17:04:22+00:00|2017-12-11T07:00:33+00:00|12345|2017-12-09T17:06:36+00:00|/media/production/account/224466/network/12345/camera/12345/clip_YXH3Uhem_2017_12_09__17_04PM.mp4
     14767253   2017-12-09T17:05:48+00:00|2017-12-09T17:06:35+00:00|12345|2017-12-09T17:06:26+00:00|/media/production/account/224466/network/12345/camera/12345/clip_OJ1gZe2D_2017_12_09__17_05PM.mp4
     14837048   2017-12-10T16:09:53+00:00|2017-12-11T07:00:26+00:00|12345|2017-12-11T07:00:16+00:00|/media/production/account/224466/network/12345/camera/12345/clip_LR_wccNZ_2017_12_10__16_09PM.mp4
     14837540   2017-12-10T16:16:11+00:00|2017-12-11T07:00:42+00:00|12345|2017-12-11T07:00:33+00:00|/media/production/account/224466/network/12345/camera/12345/clip_hjxA7UxF_2017_12_10__16_16PM.mp4
     14837899   2017-12-10T16:20:46+00:00|2017-12-11T07:00:43+00:00|12345|2017-12-11T07:00:43+00:00|/media/production/account/224466/network/12345/camera/12345/clip_uEt8TI6C_2017_12_10__16_20PM.mp4
     14837927   2017-12-10T16:21:08+00:00|2017-12-11T21:05:10+00:00|12345|2017-12-11T21:05:10+00:00|/media/production/account/224466/network/12345/camera/12345/clip_gWJh36Vy_2017_12_10__16_21PM.mp4
     14838196   2017-12-10T16:23:57+00:00|2017-12-11T21:05:10+00:00|12345|2017-12-11T08:23:20+00:00|/media/production/account/224466/network/12345/camera/12345/clip_eYi1Y8DH_2017_12_10__16_23PM.mp4
     14838955   2017-12-10T16:33:42+00:00|2017-12-11T21:05:07+00:00|12345|2017-12-10T20:18:43+00:00|/media/production/account/224466/network/12345/camera/12345/clip_MjqHlyUH_2017_12_10__16_33PM.mp4
     14932230   2017-12-11T18:25:36+00:00|2017-12-11T21:05:05+00:00|12345|2017-12-11T21:04:25+00:00|/media/production/account/224466/network/12345/camera/12345/clip__XDILhTs_2017_12_11__18_25PM.mp4
     14932259   2017-12-11T18:25:54+00:00|2017-12-11T21:04:25+00:00|12345|2017-12-11T19:50:54+00:00|/media/production/account/224466/network/12345/camera/12345/clip_mQq6FGq4_2017_12_11__18_25PM.mp4
     14938089   2017-12-11T19:49:20+00:00|2017-12-11T19:50:53+00:00|12345|2017-12-11T19:49:45+00:00|/media/production/account/224466/network/12345/camera/12345/clip_PHdK3nGH_2017_12_11__19_49PM.mp4
     14938143   2017-12-11T19:50:13+00:00|2017-12-11T21:05:03+00:00|12345|2017-12-11T21:05:01+00:00|/media/production/account/224466/network/12345/camera/12345/clip_CCeEFLXm_2017_12_11__19_50PM.mp4
     14941706   2017-12-11T21:02:38+00:00|2017-12-11T21:05:01+00:00|12345|2017-12-11T21:04:59+00:00|/media/production/account/224466/network/12345/camera/12345/clip_5EHp61p6_2017_12_11__21_02PM.mp4
     14941728   2017-12-11T21:03:00+00:00|2017-12-11T21:04:59+00:00|12345|2017-12-11T21:04:57+00:00|/media/production/account/224466/network/12345/camera/12345/clip_BzQbWgPh_2017_12_11__21_03PM.mp4
     14941741   2017-12-11T21:03:22+00:00|2017-12-11T21:04:57+00:00|12345|2017-12-11T21:04:55+00:00|/media/production/account/224466/network/12345/camera/12345/clip_NLHbvh1W_2017_12_11__21_03PM.mp4
     14941760   2017-12-11T21:03:39+00:00|2017-12-11T21:04:54+00:00|12345|2017-12-11T21:04:49+00:00|/media/production/account/224466/network/12345/camera/12345/clip_oTQsqPjR_2017_12_11__21_03PM.mp4
     14941796   2017-12-11T21:04:22+00:00|2017-12-11T21:04:48+00:00|12345|2017-12-11T21:04:30+00:00|/media/production/account/224466/network/12345/camera/12345/clip_rPpydOSU_2017_12_11__21_04PM.mp4
Attributes:
   room       Eingang

Grimm80

Wie ist denn eigentlich der gesamte Link für die direkte Anzeige incl. Login?
Dann würde ich diesen auch mal testen.

Grimm80

#127
So habe jetzt am Abend nochmal getestet.
Leider immer noch das alte Thumbnail. Auf dem ist es noch hell...


Hier hab ich noch eine Lösung für das aktuelle Video zum abspielen (neue html-Datei als iframe einbinden):


<!DOCTYPE html>
<html>
<head>
<link href="css/video-js.css" rel="stylesheet">
<script src="js/video.js"></script>   
</head>
<body>
<li data-row="1" data-col="1" data-sizex="4" data-sizey="4" class="semitransparent">
<div class="container">
<video id="video" class="video-js" controls preload="auto" width="640" height="480" data-setup="{}">
<source src="http://fhem:8083/fhem/BlinkCamera/blink/video/123456789.mp4" type='video/mp4'>
</video>
</div>
</li>

</body>
</html>


Mumpitz

Zitat von: Grimm80 am 12 Dezember 2017, 19:16:12
So habe jetzt am Abend nochmal getestet.
Leider immer noch das alte Thumbnail. Auf dem ist es noch hell...


Hier hab ich noch eine Lösung für das aktuelle Video zum abspielen (neue html-Datei als iframe einbinden):


<!DOCTYPE html>
<html>
<head>
<link href="css/video-js.css" rel="stylesheet">
<script src="js/video.js"></script>   
</head>
<body>
<li data-row="1" data-col="1" data-sizex="4" data-sizey="4" class="semitransparent">
<div class="container">
<video id="video" class="video-js" controls preload="auto" width="640" height="480" data-setup="{}">
<source src="http://fhem:8083/fhem/BlinkCamera/blink/video/123456789.mp4" type='video/mp4'>
</video>
</div>
</li>

</body>
</html>

Kannst du das noch etwas spezifizieren?
Hast du so das letzte aufgenommene Video eingebunden? Wie übernimmst du den Link zum Video?
Hast du schon versucht ein Live Video einzubinden?

Gruss

Grimm80

#129
Zitat
Kannst du das noch etwas spezifizieren?
Hast du so das letzte aufgenommene Video eingebunden? Wie übernimmst du den Link zum Video?
Hast du schon versucht ein Live Video einzubinden?

Ich habe es noch etwas modifiziert.

folgendes habe ich in der fhem.cfg eingetragen:

define blinkNewVideoAlert notify blink:alertID.* get blink getVideoAlert
define blinkNewVideoAvailable notify blink:videoFilename.* set copy_vid 1 ;; set copy_vid 0


define copy_vid dummy
define alarm_vid DOIF ([copy_vid] eq "1") ({system("cp /tmp/[blink:videoFilename] /opt/fhem/www/tablet/[blink:videoFilename]")} ;; {system("cp /tmp/[blink:videoFilename] /opt/fhem/www/tablet/archiv/[blink:videoFilename]")} ;; {system("mv /opt/fhem/www/tablet/[blink:videoFilename] /opt/fhem/www/tablet/alarm.mp4")} ;; {system("cp /tmp/BlinkCamera_blink_thumbnail_camera_12345.jpg /opt/fhem/www/tablet/BlinkCamera_blink_thumbnail_camera_12345.jpg")} ;; {system("mv /opt/fhem/www/tablet/BlinkCamera_blink_thumbnail_camera_12345.jpg /opt/fhem/www/tablet/alarm.jpg")} )


Bei Alarm wird der Dummy (copy_vid) auf 1 gesetzt, jetzt werden die beiden Dateien im TMP-Verzeichnis in das FTUI-Verzeichnis kopiert und umbenannt (alarm.jpg un alarm.mp4), außerdem legt er in dem selbst angelegten Ordner (archiv) die original Datei (MP4) ab.

Jetzt kann man dann die MP4 und die JPG einfach in Tablet-UI darstellen.


Korrektur:


<!DOCTYPE html>
<html>
<head>
<link href="css/video-js.css" rel="stylesheet">
<script src="js/video.js"></script>   
</head>
<body>
<li data-row="1" data-col="1" data-sizex="4" data-sizey="4" class="semitransparent">
<div class="container">
<video id="video" class="video-js" controls preload="auto" width="640" height="480" data-setup="{}">
<source src="http://fhem:8083/fhem/ftui/alarm.mp4" type='video/mp4'>
</video>
</div>
</li>

</body>
</html>

viegener

Zitat von: Grimm80 am 12 Dezember 2017, 10:25:30
Hier noch LIST:


Laut Deinem list ist bei Dir kein pollingTimeout gesetzt --> also werden neue Informationen nicht automatisch abgeholt

Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

viegener

Zitat von: Grimm80 am 12 Dezember 2017, 12:32:47
Wie ist denn eigentlich der gesamte Link für die direkte Anzeige incl. Login?
Dann würde ich diesen auch mal testen.

Welchen Link meinst Du?
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Grimm80

Das Problem hab ich mittlerweile schon behoben....
Hatte es dann gemerkt. Leider geht meine CommandRef nicht. Aber in dem Modul habe ich es dann nachgelesen :-)

Grimm80


Mumpitz

Hallo zusammen
Ich wollte mal nachfragen, ob jemand eine Möglichkeit gefunden hat, auf ein Ereignis hin die LiveView in FTUI anzuzeigen?
Meine Ausgangslage: Fully und AMAD voll funktionsfähig!

Gruss und schöne Bescherung!


Gesendet von iPad mit Tapatalk