• okass2 在版块 软件平台 中发起了话题 Esphome 升级时提示错误 5个月前

    Esphome常规ota升级提示如下错误

    ‘ota’ requires a ‘platform’ key but it was not specified. safe_mode: True password: !secret ap_password

    需要将代码改为如下
    […] if your original configuration looked like this:

    #原始代码
    ota:
    password: “xxxxxxxxxxxxxxxx”
    num_attempts: 3
    safe_mode: no
    …you now need to arrange it like this:

    #更新后的代码:
    ota:
    – platform: esphome
    password: “xxxxxxxxxxxxxxxx”
    num_attempts: 3
    safe_mode: no

     

WirelessLink
Logo