Esphome 升级时提示错误

标签: , ,

  • 该话题包含 0个回复,1 人参与,最后由okass2 - WirelessLink Forumokass2 更新于 5月前
正在查看 0 条回复
  • 作者
    帖子
    • okass2 - WirelessLink Forumokass2
      版主
      #1631
      Up
      7
      ::

      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
      

       

      访问ChatGPT的可用VPS机房IP推荐 Lisahost美国原生IP搬瓦工美西DMITTripodcloudFrantech
正在查看 0 条回复
  • 哎呀,回复话题必需登录。
WirelessLink Forum
Logo