跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[生活] 小米家用监控低成本云存储方案

发表于

A 、业务需求:

小米监控头 CW500 安装的室外,存储卡插在监控头中,为了避免监控头被一锅端,有需求实时将监控数据存储到云上,但是小米自带的云存储要按月付费(作为码农,有动手能力,想站着就把这个钱省了),是否有办法将数据自动存储在云上呢?

B 、前置条件:

1 、7/18 活动价格( 288 元,含固速 64G 卡,抽奖还返还了 30 元的京豆)在某东买了一个 小米 CW500 监控摄像头(支持 nas 转存视频数据); 2 、家里刚好有一个 刷了 armbian 的 onecloud (某鱼,20 多块钱),当然有更好的 linux 主机也可以; 3 、还有一个开了黄金会员的天翼云盘(活动价,每月 1 元)。

C 、最终效果:

监控画面实时自动转存到 天翼云盘;

D 、实现步骤:

1 、onecloud 拆机短接,刷 armbian 系统;

2 、armbian 中安装 docker 的 alist ,挂载 天翼云盘 到 局域网 ,并提供 webdav 的文件服务; (题外话:局域网设备, 电脑用 RaiDrive 、电视手机用 RCX ,可以直接看天翼云盘的影音资源)

3 、armbian 中安装 rclone ,将上述 webdav 挂载( rclone mount 命令)到 linux 本机 目录;

4 、armbian 中安装 samba 服务,将步骤 2 中的挂载目录 分享到局域网;

5 、米家 APP 设置,将数据转存 nas 服务(可以设置保留多久,1 周,1 月 等) ,选择步骤 3 的 samba 及填写 samba 账号密码。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.