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

 找回密码
 立即注册
123
返回列表 发新帖
楼主: honglei

ESP32Cam直接接入HomeKit

[复制链接]

1

主题

58

帖子

407

积分

中级会员

Rank: 3Rank: 3

积分
407
金钱
349
HASS币
0
发表于 2020-5-6 00:34:53 | 显示全部楼层
编译的时候出现以下错误

lin@h2:~/esp32cam/esp32-homekit-camera$ make menuconfig
mconf-idf is not required on this platform
mconf-idf is not required on this platform
The following Python requirements are not satisfied:
click>=5.0
pyserial>=3.0
future>=0.15.2
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
gdbgui>=0.13.2.0
pygdbmi<=0.9.0.2
Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide
make: *** No rule to make target 'check_python_dependencies', needed by 'menuconfig'.  Stop.
回复

使用道具 举报

4

主题

32

帖子

537

积分

论坛技术达人

积分
537
金钱
500
HASS币
20
 楼主| 发表于 2020-5-6 00:43:14 | 显示全部楼层
lowkeyboy 发表于 2020-5-6 00:34
编译的时候出现以下错误

lin@h2:~/esp32cam/esp32-homekit-camera$ make menuconfig

按照提示升级或降级你的相关依赖,用pip
回复

使用道具 举报

1

主题

58

帖子

407

积分

中级会员

Rank: 3Rank: 3

积分
407
金钱
349
HASS币
0
发表于 2020-5-6 11:46:34 | 显示全部楼层
本帖最后由 lowkeyboy 于 2020-5-6 12:06 编辑
honglei 发表于 2020-5-6 00:43
按照提示升级或降级你的相关依赖,用pip

进去编译好了,感谢。
回复

使用道具 举报

1

主题

58

帖子

407

积分

中级会员

Rank: 3Rank: 3

积分
407
金钱
349
HASS币
0
发表于 2020-5-6 15:59:25 | 显示全部楼层
大佬,烧录的时候出现这个问题
esptool.py v3.0-dev
Building partitions from /Users/lin/esp32/esp32-homekit-camera/partitions.csv...
Partitions defined in '/Users/lin/esp32/esp32-homekit-camera/partitions.csv' occupy 2.1MB of flash (2162688 bytes) which does not fit in configured flash size 2MB. Change the flash size in menuconfig under the 'Serial Flasher Config' menu.
make: *** [/Users/lin/esp32/esp32-homekit-camera/build/partitions.bin] Error 2
请问怎么解决
回复

使用道具 举报

12

主题

351

帖子

1172

积分

金牌会员

Rank: 6Rank: 6

积分
1172
金钱
821
HASS币
0
发表于 2020-5-15 13:54:44 | 显示全部楼层
在esphome 里添加的AI TINKer esp32cam 这个固件上传的,没用烧写 成功,正在研究中,另外搂着的编译好的固件有没有, 以及红外触发的接线方式,  做个附件造福大众吧
回复

使用道具 举报

0

主题

80

帖子

670

积分

高级会员

Rank: 4

积分
670
金钱
590
HASS币
0
发表于 2021-1-11 14:59:13 | 显示全部楼层
你这外壳好酷,是自己3D打印的吗?还是怎么做的。
回复

使用道具 举报

3

主题

36

帖子

216

积分

中级会员

Rank: 3Rank: 3

积分
216
金钱
180
HASS币
0
发表于 2021-4-10 19:55:12 | 显示全部楼层
我有个树莓派zero W的摄像头,接入HA后可以看到监控视频,但是在Home APP上就不能看,不知道是什么原因
回复

使用道具 举报

0

主题

16

帖子

93

积分

注册会员

Rank: 2

积分
93
金钱
77
HASS币
0
发表于 2021-4-20 11:31:08 | 显示全部楼层
你好,麻烦问一下make manuconfig 中component config没有camera和homekit选项是什么原因
屏幕截图 2021-04-20 112543.png
回复

使用道具 举报

0

主题

1

帖子

4

积分

新手上路

Rank: 1

积分
4
金钱
3
HASS币
0
发表于 2021-5-4 19:52:38 | 显示全部楼层
honglei 发表于 2020-4-19 00:42
如果遇到问题可以贴出报错,一起分析研究。

Last login: Tue May  4 17:47:44 on ttys000
chejinping@chejinpingdeMacBook-Pro ~ % git clone --recursive https://github.com/maximkulkin/esp32-homekit-camera.git
Cloning into 'esp32-homekit-camera'...
remote: Enumerating objects: 1227, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 1227 (delta 3), reused 8 (delta 3), pack-reused 1217
Receiving objects: 100% (1227/1227), 2.96 MiB | 275.00 KiB/s, done.
Resolving deltas: 100% (350/350), done.
Submodule 'components/cJSON' (https://github.com/maximkulkin/esp-cjson) registered for path 'components/cJSON'
Submodule 'components/esp32-camera' (https://github.com/espressif/esp32-camera.git) registered for path 'components/esp32-camera'
Submodule 'components/homekit' (https://github.com/maximkulkin/esp-homekit) registered for path 'components/homekit'
Submodule 'components/http-parser' (https://github.com/maximkulkin/esp-http-parser.git) registered for path 'components/http-parser'
Submodule 'components/wolfssl' (https://github.com/maximkulkin/esp-wolfssl) registered for path 'components/wolfssl'
Cloning into '/Users/chejinping/esp32-homekit-camera/components/cJSON'...
remote: Enumerating objects: 16, done.        
remote: Total 16 (delta 0), reused 0 (delta 0), pack-reused 16        
Cloning into '/Users/chejinping/esp32-homekit-camera/components/esp32-camera'...
remote: Enumerating objects: 751, done.        
remote: Counting objects: 100% (138/138), done.        
remote: Compressing objects: 100% (104/104), done.        
remote: Total 751 (delta 67), reused 85 (delta 31), pack-reused 613        
Receiving objects: 100% (751/751), 323.95 KiB | 536.00 KiB/s, done.
Resolving deltas: 100% (446/446), done.
Cloning into '/Users/chejinping/esp32-homekit-camera/components/homekit'...
fatal: unable to access 'https://github.com/maximkulkin/esp-homekit/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
fatal: clone of 'https://github.com/maximkulkin/esp-homekit' into submodule path '/Users/chejinping/esp32-homekit-camera/components/homekit' failed
Failed to clone 'components/homekit'. Retry scheduled
Cloning into '/Users/chejinping/esp32-homekit-camera/components/http-parser'...
fatal: unable to access 'https://github.com/maximkulkin/esp-http-parser.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
fatal: clone of 'https://github.com/maximkulkin/esp-http-parser.git' into submodule path '/Users/chejinping/esp32-homekit-camera/components/http-parser' failed
Failed to clone 'components/http-parser'. Retry scheduled
Cloning into '/Users/chejinping/esp32-homekit-camera/components/wolfssl'...
remote: Enumerating objects: 2857, done.        
remote: Total 2857 (delta 0), reused 0 (delta 0), pack-reused 2857        
Receiving objects: 100% (2857/2857), 7.91 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (1119/1119), done.
Cloning into '/Users/chejinping/esp32-homekit-camera/components/homekit'...
fatal: unable to access 'https://github.com/maximkulkin/esp-homekit/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
fatal: clone of 'https://github.com/maximkulkin/esp-homekit' into submodule path '/Users/chejinping/esp32-homekit-camera/components/homekit' failed
Failed to clone 'components/homekit' a second time, aborting
chejinping@chejinpingdeMacBook-Pro ~ % cd ~/esp32-homekit-camera
make menuconfig
Makefile:5: /make/project.mk: No such file or directory
make: *** No rule to make target `/make/project.mk'.  Stop.
chejinping@chejinpingdeMacBook-Pro esp32-homekit-camera % cd ~/esp32
git clone --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.
chejinping@chejinpingdeMacBook-Pro esp32 % make erase_flash
make: *** No rule to make target `erase_flash'.  Stop.
chejinping@chejinpingdeMacBook-Pro esp32 % make flash
make: *** No rule to make target `flash'.  Stop.
chejinping@chejinpingdeMacBook-Pro esp32 % make flash
make: *** No rule to make target `flash'.  Stop.
chejinping@chejinpingdeMacBook-Pro esp32 %
chejinping@chejinpingdeMacBook-Pro esp32 %
chejinping@chejinpingdeMacBook-Pro esp32 % make flash
make: *** No rule to make target `flash'.  Stop.
chejinping@chejinpingdeMacBook-Pro esp32 %
chejinping@chejinpingdeMacBook-Pro esp32 %
chejinping@chejinpingdeMacBook-Pro esp32 %
chejinping@chejinpingdeMacBook-Pro esp32 % format
zsh: command not found: format
chejinping@chejinpingdeMacBook-Pro esp32 % Restore factory settings
zsh: command not found: Restore
chejinping@chejinpingdeMacBook-Pro esp32 % mkdir ~/esp32
cd ~/esp32
wget https://dl.espressif.com/dl/xten ... c4433a-5.2.0.tar.gz
tar -xzf xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
mkdir: /Users/chejinping/esp32: File exists
zsh: command not found: wget
tar: Error opening archive: Failed to open 'xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz'
chejinping@chejinpingdeMacBook-Pro esp32 % cd ~/esp32
git clone --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.
chejinping@chejinpingdeMacBook-Pro esp32 % cd ~/esp32-homekit-camera
make menuconfig
Makefile:5: /make/project.mk: No such file or directory
make: *** No rule to make target `/make/project.mk'.  Stop.
chejinping@chejinpingdeMacBook-Pro esp32-homekit-camera %
这个求大佬告诉怎么处理
回复

使用道具 举报

0

主题

2

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
16
HASS币
0
发表于 2022-4-24 14:50:17 | 显示全部楼层
che1214344023 发表于 2021-5-4 19:52
**** 作者被禁止或删除 内容自动屏蔽 ****

回归2020年10月份的版本就可以了
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-28 14:31 , Processed in 0.300192 second(s), 39 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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