『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: wangzhenchao

[基础教程] 老婆又让买摄像头了!请大家给参考下

[复制链接]

14

主题

165

帖子

750

积分

高级会员

Rank: 4

积分
750
金钱
585
HASS币
0
 楼主| 发表于 2021-11-9 22:30:00 | 显示全部楼层
zxyny1989 发表于 2021-11-8 22:57
我用的C6-XP1,我从代理商手里拿的,150

可以完美接入?
回复

使用道具 举报

60

主题

737

帖子

4243

积分

论坛元老

Rank: 8Rank: 8

积分
4243
金钱
3501
HASS币
20
发表于 2021-11-9 23:22:18 | 显示全部楼层
tplink 100多的那个
可以先接入群晖,然后后面就随便你咋折腾了
回复

使用道具 举报

32

主题

2011

帖子

5134

积分

论坛元老

Rank: 8Rank: 8

积分
5134
金钱
3123
HASS币
50
QQ
发表于 2021-11-9 23:39:49 | 显示全部楼层

我先接入的群晖。
我不生产技术,我只是技术的搬运工。
回复

使用道具 举报

24

主题

623

帖子

2762

积分

金牌会员

Rank: 6Rank: 6

积分
2762
金钱
2129
HASS币
40
发表于 2021-11-11 18:29:02 | 显示全部楼层
有RTSP. 录像我用录像机, 4路才100多, 丢一块没用的硬盘随便造. 群晖用稍微好点的硬盘,以免硬盘废了数据全丢
回复

使用道具 举报

14

主题

165

帖子

750

积分

高级会员

Rank: 4

积分
750
金钱
585
HASS币
0
 楼主| 发表于 2021-11-12 01:09:58 | 显示全部楼层
感谢大家一直以来提供信息!经过我一周的研究!我一共研究了!萤石!大华!tp.海康!还有几个忘记了!最后我还是选择了tp的!o萤石的客服态度不好!tp明确指出可以对接群晖!我也是先试试!到时候给大家出结果!
回复

使用道具 举报

27

主题

147

帖子

945

积分

高级会员

Rank: 4

积分
945
金钱
798
HASS币
0
发表于 2021-12-4 14:09:46 | 显示全部楼层
mikeinblue 发表于 2021-11-6 12:25
不用的,在卡上做一个文件,就好了,具体看文档。

求文档 感谢
回复

使用道具 举报

15

主题

331

帖子

2388

积分

金牌会员

Rank: 6Rank: 6

积分
2388
金钱
2057
HASS币
10
发表于 2021-12-4 16:44:57 | 显示全部楼层
mikeinblue 发表于 2021-11-6 12:25
不用的,在卡上做一个文件,就好了,具体看文档。

具体看哪个文档啊?可以给个连接吗
回复

使用道具 举报

0

主题

50

帖子

1168

积分

金牌会员

Rank: 6Rank: 6

积分
1168
金钱
1118
HASS币
0
发表于 2021-12-6 08:59:40 | 显示全部楼层
本帖最后由 mikeinblue 于 2021-12-6 09:02 编辑

Aqara Camera Hub G2/G2H (ZNSXJ12LM) related binutils
The repository includes the following feature.

busybox-armv7l

bettery busybox

imggrabber

Use to snapshot of camera

h264grabber

For streaming of camera

rRTSPServer (Manually add) RTSP server still have some bug on performace and decoding frame, use with your risk. Notice: For G2, RTSP server only work at high resolution in firmware 3.5.8, For firmware 3.4.6 and 3.5.7,

for Camera G2, open rtsp://[IP]]/ch0_0.h265 (high resolution) or rtsp://[IP]]/ch0_1.h265 (low resolution) with vlc etc.
For low resolution.

   h264grabber -f -r low &
   rRTSPServer -e -r low &
For high resolution.

   h264grabber -f &
   rRTSPServer -e &
for Camera G2H, open rtsp://[IP]]/ch0_0.h264 (high resolution) or rtsp://[IP]]/ch0_1.h264 (low resolution) with vlc etc.
For low resolution.

   h264grabber -f -r low &
   rRTSPServer -r low &
For high resolution.

   h264grabber -f &
   rRTSPServer &
Or copy two binary and a script to /system/bin, then add rtsp_start.sh to /etc/init.d/S90app or use monitor (add configuration to /etc/normal.xml)

www.tar.gz www folder of httpd, add httpd to /etc/init.d/S90app or use monitor (add configuration to /etc/normal.xml) for example
busybox-armv7l httpd -p 8080 -h /www
How to enable telnet without open case and no need solder UART (on G2H only from @macchas )

create a file 'hostname' which its content as below and put it in sdcard.

#!/bin/sh
passwd -d root
echo WITH_TELNET=y >> /etc/.config

Then try to use putty to login to see it works or not. If it worked, you can remove hostname

How to enable telnet in hard way (need to solder UART)

See the image to know TX RX of UART and wire out the UART TTL (115200 8N1), login with root/09qjuS@3.

echo WITH_TELNET=y >> /etc/.config
If you want to remove password, you can enter the below command

passwd -d root


红字部分:在sd卡上做一个“hostname”的文件,内容是下面的命令。
#!/bin/sh
passwd -d root
echo WITH_TELNET=y >> /etc/.config
回复

使用道具 举报

15

主题

164

帖子

1962

积分

金牌会员

Rank: 6Rank: 6

积分
1962
金钱
1798
HASS币
0
发表于 2021-12-12 21:18:22 来自手机 | 显示全部楼层
接群晖本地存储视频?总觉得没啥用,ffmpeg直接ha就行
回复

使用道具 举报

27

主题

147

帖子

945

积分

高级会员

Rank: 4

积分
945
金钱
798
HASS币
0
发表于 2021-12-13 22:35:00 | 显示全部楼层
mikeinblue 发表于 2021-12-6 08:59
Aqara Camera Hub G2/G2H (ZNSXJ12LM) related binutils
The repository includes the following feature.
...

我加入文件以后ssh还是不能登陆摄像头
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-9 02:30 , Processed in 0.056293 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表