Bonjour,
Je recherche à transférer les prises de vues du plugin-blink_camera sur mon serveur NAS Synology
En cherchant sur la community j’ai découvert le plugin Cloudsync
Il semble répondre à ce que je cherche à faire, mais je n’arrive pas à le configurer car quand je lance la sauvegarde, j’ai une erreur et voici les logs
[2023-10-28 23:25:42]DEBUG : postSave:: this:cloudsyncpro::__set_state(array( 'id' => '160', 'name' => 'saveimage', 'logicalId' => '', 'generic_type' => NULL, 'object_id' => '1', 'eqType_name' => 'cloudsyncpro', 'isVisible' => '1', 'isEnable' => '1', 'configuration' => array ( 'createtime' => '2023-10-28 22:42:44', 'comment' => '', 'type' => 'ftp', 'param1' => 'xxx', 'param2' => '21', 'param3' => 'xxx', 'param4' => 'xxx, 'updatetime' => '2023-10-28 23:13:08', ), 'timeout' => NULL, 'category' => array ( 'heating' => '0', 'security' => '0', 'energy' => '0', 'light' => '0', 'opening' => '0', 'automatism' => '0', 'multimedia' => '0', 'default' => '1', ), 'display' => '{"backGraph::info":0,"width":"232px","height":"100px"}', 'order' => '18', 'comment' => NULL, 'tags' => NULL, '_debug' => false, '_object' => NULL, '_needRefreshWidget' => false, '_timeoutUpdated' => false, '_batteryUpdated' => false, '_changed' => false, ))
[2023-10-28 23:25:42]DEBUG : loadConfigFile::
[2023-10-28 23:25:42]DEBUG : loadConfigFile:: rclone.conf:array ( 160 => array ( 'type' => 'ftp', 'host' => '192.168.1.151', 'user' => 'jeedom', 'port' => '21', 'pass' => 'VCCNnYvHRDDL7oAeSQz9orez3A3et6XiZXVp', ), )
[2023-10-28 23:25:42]DEBUG : saveConfigFile:: array:array ( 160 => array ( 'type' => 'ftp', 'host' => '192.168.1.151', 'user' => 'jeedom', 'port' => '21', 'pass' => 'sWZYdaVgA3pIPbLzjG7csXRZSpIFwa-HrYgK', ), )
[2023-10-28 23:25:42]DEBUG : saveConfigFile:: content:'[160] type = ftp host = 192.168.1.151 user = jeedom port = 21 pass = sWZYdaVgA3pIPbLzjG7csXRZSpIFwa-HrYgK '
[2023-10-28 23:25:48]DEBUG : execute:: options:array ( 'user_login' => 'admin', 'user_id' => '1', )
[2023-10-28 23:25:48]DEBUG : execute:: this:cloudsyncproCmd::__set_state(array( 'id' => '2375', 'logicalId' => NULL, 'generic_type' => NULL, 'eqType' => 'cloudsyncpro', 'name' => 'timelapse', 'order' => '0', 'type' => 'action', 'subType' => 'other', 'eqLogic_id' => '160', 'isHistorized' => '0', 'unite' => '', 'configuration' => array ( 'command' => 'copy', 'source' => 'var/www/html/plugins/blink_camera/medias', 'destination' => '/jeedom/Camera', 'include' => '', 'exclude' => '', 'minage' => '', 'maxage' => '', ), 'template' => '{"dashboard":"default","mobile":"default"}', 'display' => '{"showStatsOnmobile":0,"showStatsOndashboard":0}', 'value' => NULL, 'isVisible' => '1', 'alert' => '[]', '_collectDate' => '', '_valueDate' => '', '_eqLogic' => cloudsyncpro::__set_state(array( 'id' => '160', 'name' => 'saveimage', 'logicalId' => '', 'generic_type' => NULL, 'object_id' => '1', 'eqType_name' => 'cloudsyncpro', 'isVisible' => '1', 'isEnable' => '1', 'configuration' => '{"createtime":"2023-10-28 22:42:44","comment":"","type":"ftp","param1":"xx","param2":"21","param3":"xxx","param4":"xxxx","updatetime":"2023-10-28 23:13:08"}', 'timeout' => NULL, 'category' => '{"heating":"0","security":"0","energy":"0","light":"0","opening":"0","automatism":"0","multimedia":"0","default":"1"}', 'display' => '{"backGraph::info":0,"width":"232px","height":"100px"}', 'order' => '18', 'comment' => NULL, 'tags' => NULL, '_debug' => false, '_object' => jeeObject::__set_state(array( 'id' => '1', 'name' => 'Maison', 'father_id' => NULL, 'isVisible' => '1', 'position' => '1', 'configuration' => '{"parentNumber":0,"tagColor":"#000000","tagTextColor":"#FFFFFF","mobile::summaryTextColor":"","icon":"<\/i>","hideOnDashboard":"0","hideOnOverview":"0"}', 'display' => '{"icon":"<\/i>"}', 'image' => '{"type":"jpg","sha512":"b046d42faf919b0b98ddec6c1ff242887fba0c733db4cc5a5bdcc16b53cae19cb0d9007959abd385c98ee6db9025bc988d648c24bff1ebd7a3813bd397a27502"}', '_child' => array ( ), '_changed' => false, '_summaryChanged' => false, )), '_needRefreshWidget' => false, '_timeoutUpdated' => false, '_batteryUpdated' => false, '_changed' => false, )), '_needRefreshWidget' => NULL, '_needRefreshAlert' => NULL, '_changed' => false, ))
[2023-10-28 23:25:48]DEBUG : execute:: this:array ( 'command' => 'copy', 'source' => 'var/www/html/plugins/blink_camera/medias', 'destination' => '/jeedom/Camera', 'include' => '', 'exclude' => '', 'minage' => '', 'maxage' => '', )
[2023-10-28 23:25:48]ALERT : Starting task (saveimage/timelapse #2375)
[2023-10-28 23:25:48]DEBUG : execute:: pid:'3081' rclone:'/var/www/html/plugins/cloudsyncpro/3rparty/rclone-v1.57.0-linux-arm64/rclone -v --log-file /var/www/html/core/class/../../log/cloudsyncpro.#2375 --config /var/www/html/plugins/cloudsyncpro/data/rclone.conf copy \'var/www/html/plugins/blink_camera/medias\' 160:\'/jeedom/Camera\''
[2023-10-28 23:25:58]DEBUG : execute:: value:'2023/10/28 21:25:52 Failed to create file system for "160:/jeedom/Camera": NewFs: failed to make FTP connection to "192.168.1.151:21": dial tcp 192.168.1.151:21: connect: connection refused '
[2023-10-28 23:25:58]DEBUG : execute:: statistics:array ( 'Errors' => NULL, 'Checks' => NULL, 'Transferred' => NULL, 'Elapsed time' => NULL, )
[2023-10-28 23:25:58]ERROR : Erreur exécution de la commande [Maison][saveimage][timelapse] : Task finished on Error (saveimage/timelapse #2375)
Voici la commande créée
Je vous remercie par avance,
Yoyouri