Please can someone give me a bit of help on how to resolve this problem.
I have a Sonoff basic R2 which have been part of my home Assistent configuration for a couple of years I want to to make a few minor changes to the Yaml configuration (primarely description) but I found that the original YAML file no longer compiles corectly. and I am lost in trying to fix this.
Here is the compile error:
esphome-web-d5b2af (board: esp01_1m; framework: arduino; platform: platformio/[email protected])
ESPHome Sonoff DIY BASICR2 configuration
INFO ESPHome 2025.5.2
INFO Reading configuration /config/esphome/esphome-web-d5b2af.yaml…
INFO Generating C++ source…
INFO Compiling app…
Processing esphome-web-d5b2af (board: esp01_1m; framework: arduino; platform: platformio/[email protected])
MissingPackageManifestError: Could not find one of ‘package.json’ manifest files in the package
I believe that could be that the framework arduno might be the casue but so far I have not been able to find out what it should actually be. Looking through the example in the documention: Sonoff-BASIC-R2-v1.4
Here is the relevant part of the YAML confiuration file:
substitutions:
device_description: "Ventilator no 2"
esphome:
name: esphome-web-d5b2af
comment: "${device_description}"
#esp8266:
# board: esp8285
#board: esp01_1m
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
## Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-D5B2Af"
password: "9f9PJlQ845EX"
web_server:
port: 80
I hope someone have a good idea for me or can point me in the direction of the documentation that can resolve this for me.