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

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

[经验分享] 【最终版本-代码开源】20元的中移铁通插排:esp+功率计量

  [复制链接]

1

主题

19

帖子

150

积分

注册会员

Rank: 2

积分
150
金钱
131
HASS币
0
发表于 2024-1-4 16:26:53 来自手机 | 显示全部楼层
感谢大佬无私奉献 我已食用 怒刷五个
回复

使用道具 举报

50

主题

1309

帖子

4992

积分

论坛DIY达人

积分
4992
金钱
3683
HASS币
20
发表于 2024-1-4 16:44:31 | 显示全部楼层
天呀!!一个插排的配置文件看得我头晕脑胀........感觉我都玩不转ESPHome了。
回复

使用道具 举报

0

主题

16

帖子

127

积分

注册会员

Rank: 2

积分
127
金钱
111
HASS币
0
发表于 2024-1-4 17:02:48 | 显示全部楼层
紧跟大佬脚步已下单三个70
回复

使用道具 举报

10

主题

183

帖子

1773

积分

论坛技术达人

积分
1773
金钱
1585
HASS币
20
 楼主| 发表于 2024-1-4 18:17:25 | 显示全部楼层
sorrypqa 发表于 2024-1-4 16:44
天呀!!一个插排的配置文件看得我头晕脑胀........感觉我都玩不转ESPHome了。 ...

大佬谦虚了
回复

使用道具 举报

0

主题

8

帖子

546

积分

高级会员

Rank: 4

积分
546
金钱
538
HASS币
0
发表于 2024-1-6 13:43:45 | 显示全部楼层
ttl刷固件提示。。。Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
- Flash Size: 4MB
- Flash Mode: dout
- Flash Frequency: 40MHz
Erasing flash (this may take a while)...
Chip erase completed successfully in 0.0s
Flash params set to 0x0340
Compressed 598304 bytes to 407593...
Unexpected error: Error while writing flash: Timed out waiting for packet content

,这个怎么解决
回复

使用道具 举报

1

主题

93

帖子

470

积分

中级会员

Rank: 3Rank: 3

积分
470
金钱
377
HASS币
0
发表于 2024-1-6 13:53:21 | 显示全部楼层
求助啊大佬三个都编译不过,我用的ephome 2023.11.4 和其他各种版本都编译不过
INFO ESPHome 2023.11.4
INFO Reading configuration /config/1-common-component.yaml...
ERROR Error while reading config: Invalid YAML syntax:

Secret 'api_key' not defined
  in "/config/1-common-component.yaml", line 2, column 19:
        node_api_key: !secret api_key
                      ^
INFO ESPHome 2023.11.4
INFO Reading configuration /config/1-common-esp8266-2m.yaml...
ERROR Error while reading config: Invalid YAML syntax:

Secret 'ap_password' not defined
  in "/config/1-common-esp8266-2m.yaml", line 64, column 15:
        password: !secret ap_password
                  ^
INFO ESPHome 2023.11.4
INFO Reading configuration /config/cmcc-powerbord-sy7t609.yaml...
ERROR Error while reading config: Invalid YAML syntax:

Secret 'ap_password' not defined
  in "/config/1-common-esp8266-2m.yaml", line 64, column 15:
        password: !secret ap_password
                  ^
回复

使用道具 举报

4

主题

47

帖子

1188

积分

论坛技术达人

积分
1188
金钱
1141
HASS币
0
发表于 2024-1-6 20:38:32 | 显示全部楼层
牛人!!
回复

使用道具 举报

10

主题

183

帖子

1773

积分

论坛技术达人

积分
1773
金钱
1585
HASS币
20
 楼主| 发表于 2024-1-6 21:23:10 | 显示全部楼层
kpxx 发表于 2024-1-6 13:43
ttl刷固件提示。。。Uploading stub...
Running stub...
Stub running...

线没接好,重新试试
回复

使用道具 举报

10

主题

183

帖子

1773

积分

论坛技术达人

积分
1773
金钱
1585
HASS币
20
 楼主| 发表于 2024-1-6 21:24:43 | 显示全部楼层
Juices 发表于 2024-1-6 13:53
求助啊大佬三个都编译不过,我用的ephome 2023.11.4 和其他各种版本都编译不过
INFO ESPHome 2023. ...

secret.yaml中配置上缺少的键值。
wifi_ssid:
wifi_password:
ap_password:
api_password:
ota_password:
api_key:
回复

使用道具 举报

0

主题

58

帖子

840

积分

高级会员

Rank: 4

积分
840
金钱
782
HASS币
0
发表于 2024-1-7 14:18:55 | 显示全部楼层
也卡在API_KEY上了,求大佬指正API_KEY该咋填
INFO ESPHome 2023.12.5
INFO Reading configuration /config/esphome/cmcc-powerbord-sy7t609.yaml...
Failed config

substitutions: None
  node_api_key: !secret api_key
  
  Must be string, got <class 'esphome.helpers.EInt'>. did you forget putting quotes around the value?.
  node_ap_password: 12345678
  button_pin: GPIO4
  relay_master_pin: GPIO0
  relay_slave_pin: GPIO12
  relay_enable_pin: GPIO15
  led_blue_pin: GPIO16
  led_red_pin: GPIO14
  led_white_pin: GPIO5
  node_name: cmcc-powerboard
  node_name_friendly: CMCC.CMPOWER-W1
  node_name_add_mac_suffix: true
  node_project_name: CMCC.CMPOWER-W1
  node_project_version: v3.0.0(espressif-esp12s-sy7t609)
  node_build_min_version: 2023.12.5
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-15 02:08 , Processed in 0.156745 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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