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

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

 火... [复制链接]

1

主题

18

回帖

158

积分

注册会员

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

使用道具 举报

55

主题

1401

回帖

6307

积分

论坛DIY达人

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

使用道具 举报

0

主题

17

回帖

271

积分

中级会员

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

使用道具 举报

10

主题

174

回帖

1831

积分

论坛技术达人

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

大佬谦虚了
回复

使用道具 举报

kpxx 

0

主题

8

回帖

822

积分

高级会员

积分
822
金钱
814
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

主题

105

回帖

793

积分

高级会员

积分
793
金钱
687
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

主题

43

回帖

1308

积分

论坛技术达人

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

使用道具 举报

10

主题

174

回帖

1831

积分

论坛技术达人

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

线没接好,重新试试
回复

使用道具 举报

10

主题

174

回帖

1831

积分

论坛技术达人

积分
1831
金钱
1642
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

回帖

936

积分

高级会员

积分
936
金钱
878
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, 2025-5-4 06:47 , Processed in 0.154169 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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