Error detected unknown package espressif8266 esphome

Detected unknown package ‘espressif8266_stage’ #4 Comments Originally reported by: Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown) PS C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417code> pio run -e node-debug [11/28/16 14:16:13] Processing node-debug (build_flags: -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1, lib_deps: 19, 31, 44, 64, 305, 306, 346, 359, 408, 727, https://bitbucket.org/xoseperez /justwifi.git, https://bitbucket.org/xoseperez/nofuss.git, https://bitbucket.org/xoseperez/hlw8012.git, https://bitbucket.org/xoseperez/emonliteesp.git, https://bitbucket.org/xoseperez/fauxmoesp .git, https://github.com/jccprj/RemoteSwitch-arduino-library, platform: espressif8266_stage, board: nodemcuv2, framework: arduino, […]

Содержание

  1. Detected unknown package ‘espressif8266_stage’ #4
  2. Comments
  3. [11/28/16 14:16:13] Processing node-debug (build_flags: -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1, lib_deps: 19, 31, 44, 64, 305, 306, 346, 359, 408, 727, https://bitbucket.org/xoseperez /justwifi.git, https://bitbucket.org/xoseperez/nofuss.git, https://bitbucket.org/xoseperez/hlw8012.git, https://bitbucket.org/xoseperez/emonliteesp.git, https://bitbucket.org/xoseperez/fauxmoesp .git, https://github.com/jccprj/RemoteSwitch-arduino-library, platform: espressif8266_stage, board: nodemcuv2, framework: arduino, extra_script: pio_hooks.py)
  4. Detected unknown package ‘espressif8266_stage’ about espurna HOT 3 CLOSED
  5. Comments (3)
  6. Related Issues (20)
  7. Recommend Projects
  8. React
  9. Vue.js
  10. Typescript
  11. TensorFlow
  12. Django
  13. Laravel
  14. Recommend Topics
  15. javascript
  16. server
  17. Machine learning
  18. Visualization
  19. Recommend Org
  20. Facebook
  21. Microsoft
  22. How to resolve “Board generic (platform esp8266, package esp8266) is unknown” error?¶
  23. The Root CauseВ¶
  24. How to Fix it?В¶
  25. More InformationВ¶
  26. Unable to compile ESP32 boards #3070
  27. Comments
  28. The problem
  29. Which version of ESPHome has the issue?
  30. What type of installation are you using?
  31. Which version of Home Assistant has the issue?
  32. What platform are you using?
  33. Board
  34. Component causing the issue
  35. Example YAML snippet
  36. Anything in the logs that might be useful for us?
  37. Additional information
  38. Footer
  39. Compilation and upload problem #805
  40. Comments

Detected unknown package ‘espressif8266_stage’ #4

Originally reported by: Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown)

PS C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417code> pio run -e node-debug

[11/28/16 14:16:13] Processing node-debug (build_flags: -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1, lib_deps: 19, 31, 44, 64, 305, 306, 346, 359, 408, 727, https://bitbucket.org/xoseperez
/justwifi.git, https://bitbucket.org/xoseperez/nofuss.git, https://bitbucket.org/xoseperez/hlw8012.git, https://bitbucket.org/xoseperez/emonliteesp.git, https://bitbucket.org/xoseperez/fauxmoesp
.git, https://github.com/jccprj/RemoteSwitch-arduino-library, platform: espressif8266_stage, board: nodemcuv2, framework: arduino, extra_script: pio_hooks.py)

PlatformManager: Installing espressif8266_stage
Error: Detected unknown package ‘espressif8266_stage’

Tried to run your ‘pio’ command and get the above error.

The text was updated successfully, but these errors were encountered:

Original comment by Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown):

For more information.
i’m trying to compile and run this for my sonoff device. i noticed that the build flag was using nodemcu, but i was expecting the arduio library. Maybe the instructions aren’t exactly clear,
i did install the libraries my self and upload the main.ino using the arduino IDE. however, it does not upload the HTML/CSS/JS files that way. Which means i can’t exactly configure it from the web portal.but the wifi name does show up and i can connect to it.
I haven’t really used PlatformIO before, but i set it up using the windows instructions for AtomIO
when i run your command located at https://bitbucket.org/xoseperez/espurna/src/b102ec52e4173d3f8ae882962d7e019dcded31ab/docs/Firmware.md
pio run -e node-debug

i get the error above. i had to resolve some other issues to get to that point.
it does download the libraries needed. but i suspect there’s something going on with the espressif8266_stage

one other thing, i had to copy the contents from platformio.official.ini into platformio.ini for it to really do anything at all.
otherwise, it would fail saying that
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417codeplatformio.ini, line: 1
‘platformio.official.inin’

which basically tells me that it isn’t loading that file which is just a pointer for platformio.official.ini

OK, there are several things going on here:

The node-debug environment is using fauxmoESP library which requires latest (i.e. staging) version of the espressif8266 platform. The documentation is not up-to-date but you can read about how to do it in my post about the library (http://tinkerman.cat/emulate-wemo-device-esp8266/) or in the library repository itself (https://bitbucket.org/xoseperez/fauxmoesp).

If you are trying to run it in a sonoff use the sonoff environment, hardware will be configured for the device (and you won’t have the problem above):

PlatformIO should take care of all the library dependencies, you don’t have to install anything by hand

You have to upload the filesystem too. Read how to do it in the «Build and flash the filesystem». Actually you don’t have to build it if you want the default one, just flash it.

Источник

Detected unknown package ‘espressif8266_stage’ about espurna HOT 3 CLOSED

Original comment by an_indian_man (Bitbucket: an_indian_man, GitHub: Unknown):

from a terminal, retry the compile.

xoseperez commented on January 15, 2023

OK, there are several things going on here:

The node-debug environment is using fauxmoESP library which requires latest (i.e. staging) version of the espressif8266 platform. The documentation is not up-to-date but you can read about how to do it in my post about the library (http://tinkerman.cat/emulate-wemo-device-esp8266/) or in the library repository itself (https://bitbucket.org/xoseperez/fauxmoesp).

If you are trying to run it in a sonoff use the sonoff environment, hardware will be configured for the device (and you won’t have the problem above):

PlatformIO should take care of all the library dependencies, you don’t have to install anything by hand

You have to upload the filesystem too. Read how to do it in the «Build and flash the filesystem». Actually you don’t have to build it if you want the default one, just flash it.

  1. The platformio.ini file is indeed a softlink to platformio.official.ini, but I see you are using a Windows OS. I will change it to make it work.

xoseperez commented on January 15, 2023

Original comment by Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown):

For more information.
i’m trying to compile and run this for my sonoff device. i noticed that the build flag was using nodemcu, but i was expecting the arduio library. Maybe the instructions aren’t exactly clear,
i did install the libraries my self and upload the main.ino using the arduino IDE. however, it does not upload the HTML/CSS/JS files that way. Which means i can’t exactly configure it from the web portal.but the wifi name does show up and i can connect to it.
I haven’t really used PlatformIO before, but i set it up using the windows instructions for AtomIO
when i run your command located at https://bitbucket.org/xoseperez/espurna/src/b102ec52e4173d3f8ae882962d7e019dcded31ab/docs/Firmware.md
pio run -e node-debug

i get the error above. i had to resolve some other issues to get to that point.
it does download the libraries needed. but i suspect there’s something going on with the espressif8266_stage

one other thing, i had to copy the contents from platformio.official.ini into platformio.ini for it to really do anything at all.
otherwise, it would fail saying that
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417codeplatformio.ini, line: 1
‘platformio.official.inin’

which basically tells me that it isn’t loading that file which is just a pointer for platformio.official.ini

  • Nicer TZ config & help
  • WebUI ping for inactive tabs
  • Trying to get 0.5 resolution for BH1750 LUX sensor. HOT 11
  • Homeassistant API breakage HOT 1
  • InfluxDB 2.0 Cloud Support. HOT 1
  • V9261F Miscalculated Sensors HOT 8
  • Problem dht11 Module HOT 5
  • Setting `#define DEBUG_SERIAL_SUPPORT 0` no longer stops serial port. HOT 4
  • mqtt topic format HOT 1
  • bin file corresponding to the sonoff S26 model HOT 2
  • Telnet OTA command is broken HOT 42
  • PUTTY broken on snapshot builds HOT 5
  • Toggle not working via mqtt
  • Tuya generic dimmer not working for all incoming values. HOT 2
  • Alexa discovery issue with latest 1.15.0(221212) HOT 4
  • Relay is missing on MINI_SMART_SOCKET HOT 7
  • Wich is the correct FW for the Shelly Plug S HOT 1
  • ad-hoc network available even if connected to infrastructure HOT 3
  • HA discover adds random sensors from time to time HOT 2
  • MAXCIO WDE004: Physical HW button and LED do not respond/display HOT 1

Recommend Projects

React

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

Typescript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

Laravel

A PHP framework for web artisans

Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Microsoft

Open source projects and samples from Microsoft.

Источник

How to resolve “Board generic (platform esp8266, package esp8266) is unknown” error?¶

This error may pop up after switching between staging and stable esp8266 / Arduino package installations, or after upgrading the package version.

If you face this issue, you will not be able to compile any sketch for any ESP8266 module type.

Read below what is the error root cause or jump straight to the resolution

The Root CauseВ¶

This issue is attributed to Arduino IDE Boards Manager not cleaning up previous package installation before a new one is applied. As this is not done, then it is user responsibility to remove previous package before applying a new one.

To prevent it from happening, if you are changing between staging and stable, first press Remove button to delete currently used installation.

There is no need to remove the installed package if you are changing it to another version (without switching between staging and stable).

Depending on selected module the error message is slightly different. For instance, if you choose Generic ESP8266 Module, it will look as follows:

Below is an example messages for WeMos :

If the issue already happens, then uninstalling and re-installing the package with Boards Manager typically will not fix it.

Uninstalling and re-installing the Arduino IDE will not fix it as well.

Well, OK, fine. You will be able to fix it with Boards Manager. To do so, you need to carefully go step by step through the effort of removing new and then the old package. Once done you can install again the new package. Did I mention that in between you need to change twice JOSN in Additional Boards Manager URLs?

Fortunately there is a quicker and more effective fix. See below.

How to Fix it?В¶

Issue resolution is as simple as deleting a folder with older esp8266 / Arduino installation.

Procedure is identical on Windows, Linux and Mac OS. The only difference is folder path. For instance, on Mac, it will be /Users/$USER/Library/Arduino15/packages/esp8266/hardware/esp8266 . Example below shows the path for Windows.

Check location of installation folder by going to File > Preferences (Ctrl+,). The folder location is at the very bottom of the Preferences window.

Click provided link to open the folder. For Windows 7 it will look as follows:

Navigate further down to Arduino15packagesesp8266hardwareesp8266 directory. Inside you will find two folders with different esp8266 / Arduino package installations.

Delete the older folder. Restart Arduino IDE, select your ESP module and the error should be gone.

Note: If you are not sure which folder to delete, then remove both of them. Restart Arduino IDE, go to Tools > Board: > Boards Manager and install the esp8266 / Arduino package again. Select ESP8266 module and the issue should be resolved.

More InformationВ¶

This issue has been reported quite frequently in Issues section of esp8266 / Arduino repository. The most appreciated solution was provided by [@anhhuy0501](https://github.com/anhhuy0501) in #1387.

© Copyright 2017, Ivan Grokhotkov Revision 6af463ba .

Источник

Unable to compile ESP32 boards #3070

The problem

Seems some standard c++ libs are missing in esp32

Which version of ESPHome has the issue?

What type of installation are you using?

Which version of Home Assistant has the issue?

What platform are you using?

Board

Component causing the issue

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

All esp8266 boards I can compile with 2022.2.4 but none of the esp32’s will build

The text was updated successfully, but these errors were encountered:

Works for me.
Maybe the same as #3072 ?

on x86 host getting a different error

removed the entire /config/.esphome/platformio folder now getting different error

Remove the addon too, restart HA, reinstall.

Remove the addon too, restart HA, reinstall.

Just using plan docker in Kubernetes. So have restarted. Cleared platformio folder ran on both arm64 and x86_64. What I haven’t tried is downgrading and see if the issues go away

Just updated to 2022.2.5 and was able to compile all boards on arm64 host
I did end up having to remove the /config/.esphone/platformio folder

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Compilation and upload problem #805

Operating environment/Installation (Hass.io/Docker/pip/etc.):

Docker aarch64 odroidc2
ESP (ESP32/ESP8266, Board/Sonoff):

ESP8266 sonoff mini
Affected component:

Description of problem:
Compilation and upload problem

Problem-relevant YAML-configuration entries:

Logs (if applicable):

Additional information and things you’ve tried:

The text was updated successfully, but these errors were encountered:

Same issue here. The same configuration works fine when building for ESP32.
This was working prior to 1.14 update.
Thank you

Note that the xtensa compiler itself is crashing. ESP8266 and ESP32 have different toolchains so that would explain why one is working and not the other.

Yeah so this is almost certainly due to the Arduino framework update.

For the 2.4.2 version, I manually compiled a toolchain for aarch64. For the latest one I was under the impression the one supplied by the framework worked for aarch64 — at least it did on my RPi 3b+. Maybe it’s because it’s armv8 with both aarch64 and armhf support, whereas your board does not.

You can use the old version by putting arduino_version: 2.4.2 in your core-esphome config.

I tried using:
arduino_version: 2.4.2
but I still get the same result.
Is it feasible that something else might have changed?

Yeah so this is almost certainly due to the Arduino framework update.

For the 2.4.2 version, I manually compiled a toolchain for aarch64. For the latest one I was under the impression the one supplied by the framework worked for aarch64 — at least it did on my RPi 3b+. Maybe it’s because it’s armv8 with both aarch64 and armhf support, whereas your board does not.

You can use the old version by putting arduino_version: 2.4.2 in your core-esphome config.

Why can’t you use a ready-made toolchain for aarch64 ?
I tried it in a docker, it works well for me.

curl -L https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/aarch64-linux-gnu.xtensa-lx106-elf-b40a506.1563313032.tar.gz | tar —strip-components=1 -xzf — -C /root/.platformio/packages/toolchain-xtensa/

Why can’t you use a ready-made toolchain for aarch64 ?

That’s not the toolchain arduino SDK 2.5.2 is using.

To clear this up:

  • Arduino SDK 2.6.0 (not released on platformio yet) is using the earlephilhower 2.5.0-4 toolchain, which works well for aarch64
  • Arduino SDK 2.5.0 (current default) is using a different toolchain, can’t remember which one again
  • Arduino SDK 2.4.2 (default in esphome v1.13.x) used yet another toolchain, for which I compiled a separate toolchain for aarch64 — it appears though SDK 2.4.2 is using the 2.5.0 toolchain, and the patch is not active.

I don’t think SDK 2.5.0 can be used with toolchain 2.5.0-4, most toolchain updates are not forwards-compatible, so likely also not backwards-compatible.

I don’t think SDK 2.5.0 can be used with toolchain 2.5.0-4, most toolchain updates are not forwards-compatible, so likely also not backwards-compatible.

With 2.5.0-4 I compiled 2.5.2, 2.5.1, 2.5.0 and 2.4.2 on aarch64.
Why can’t using different toolchain depending on sdk ?

I tried esphome/esphome:dev (x86-64) in the docker. There, too, I was able to compile only 2.5.2, 2.5.1, 2.5.0 and 2.4.2. Below 2.4.1, compilation errors appear. So what’s the difference then?

The documentation contains incorrect default versions of sdk (arduino_version).

I have the same problem using the Hass.io ESPHome plugin, 1.14.3, on an Orange Pi Prime (Allwinner H5, Armbian).

I have the same problem using the Hass.io ESPHome plugin, 1.14.3, on an Orange Pi Prime (Allwinner H5, Armbian).

Try it — #805 (comment)
It’s in a docker with esphome.

I have the same problem using the Hass.io ESPHome plugin, 1.14.3, on an Orange Pi Prime (Allwinner H5, Armbian).

Try it — #805 (comment)
It’s in a docker with esphome.

Yup, that worked, thanks @zvldz

For others who are stuck:
Find the Container ID of the ESPHome container:
docker ps
get a shell in that container:
docker exec -it /bin/bash
Fetch the toolchain:
curl -L https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/aarch64-linux-gnu.xtensa-lx106-elf-b40a506.1563313032.tar.gz | tar —strip-components=1 -xzf — -C /root/.platformio/packages/toolchain-xtensa/

I have the same problem using the Hass.io ESPHome plugin, 1.14.3, on an Orange Pi Prime (Allwinner H5, Armbian).

Try it — #805 (comment)
It’s in a docker with esphome.

Yup, that worked, thanks @zvldz

For others who are stuck:
Find the Container ID of the ESPHome container:
docker ps
get a shell in that container:
docker exec -it /bin/bash
Fetch the toolchain:
curl -L https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/aarch64-linux-gnu.xtensa-lx106-elf-b40a506.1563313032.tar.gz | tar —strip-components=1 -xzf — -C /root/.platformio/packages/toolchain-xtensa/

I have installation on QNAP VM (Ubuntu 16.4 — Docker)
I have new problem after this:
|— 1.2 | |— 1.0 Compiling /data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_connection.cpp.o Compiling /data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_pb2.cpp.o sh: 1: xtensa-lx106-elf-g++: Exec format errorsh: 1: xtensa-lx106-elf-g++: Exec format error *** [/data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_pb2.cpp.o] Error 2 *** [/data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_connection.cpp.o] Error 2 ========================== [FAILED] Took 7.15 seconds ==========================

I have new problem after this:
|— 1.2 | |— 1.0 Compiling /data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_connection.cpp.o Compiling /data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_pb2.cpp.o sh: 1: xtensa-lx106-elf-g++: Exec format errorsh: 1: xtensa-lx106-elf-g++: Exec format error *** [/data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_pb2.cpp.o] Error 2 *** [/data/light_bedroom_upperlight/.pioenvs/light_bedroom_upperlight/src/esphome/components/api/api_connection.cpp.o] Error 2 ========================== [FAILED] Took 7.15 seconds ==========================

You probably don’t have arm64

Yes. It’s my trouble. I set up i686-linux-gnu.xtensa-lx106-elf-b40a506.1563313032.tar.gz and it’s working! Thanx

Are you running a 32-bit OS? I think all the non-ARM Docker containers are set up expecting x86_64.

True, there are no x86/i686 versions of the docker images available — iirc that’s because the base image for Hass.io (ubuntu-hassio-base) does not have a 32-bit x86 variant.

I am seeing the exact same error message when I try to compile my esphome yamls while running hassio on an Odroid C2.

Having the same issue with vanilla hassio on an ODroid C2.

I had the same error and I was also able to solve my error by following the below instructions with a little difference, I had to delete the contents of the toolchain-xtensa directory first else it did not work. But after successful compilation the code encountered an exception on the ESP.

Find the Container ID of the ESPHome container:
docker ps
get a shell in that container:
docker exec -it /bin/bash
Fetch the toolchain:
curl -L https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/aarch64-linux-gnu.xtensa-lx106-elf-b40a506.1563313032.tar.gz | tar —strip-components=1 -xzf — -C /root/.platformio/packages/toolchain-xtensa/

Also after deleting and getting its contents afresh , on my first compile ESPHome installed the toolchain-xtensa files as below:
INFO Reading configuration /config/esphome/tank_controller.yaml. INFO Generating C++ source. INFO Compiling app. INFO Running: platformio run -d /config/esphome/tank_controller Processing tank_controller (board: d1_mini; framework: arduino; platform: espressif8266@2.2.3) PackageManager: Installing toolchain-xtensa @

I was able to compile well on RPi3, Hassio/Buster/addon ESPHome 1.14.3
but got the following exception on running the code on ESP:

Exception 29: StoreProhibited: A store referenced a page mapped with an attribute that does not permit stores PC: 0x4020c39a EXCVADDR: 0x00000000 Decoding stack results 0x4023218a: scalbn at ../../../../../../dl/newlib-xtensa/newlib/libm/common/s_scalbn.c line 93

Источник

PlatformIO Community

Loading

Detected unknown package ‘espressif8266_stage’ #4

Comments

xoseperez commented Nov 28, 2016

Originally reported by: Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown)

PS C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417code> pio run -e node-debug

[11/28/16 14:16:13] Processing node-debug (build_flags: -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1, lib_deps: 19, 31, 44, 64, 305, 306, 346, 359, 408, 727, https://bitbucket.org/xoseperez
/justwifi.git, https://bitbucket.org/xoseperez/nofuss.git, https://bitbucket.org/xoseperez/hlw8012.git, https://bitbucket.org/xoseperez/emonliteesp.git, https://bitbucket.org/xoseperez/fauxmoesp
.git, https://github.com/jccprj/RemoteSwitch-arduino-library, platform: espressif8266_stage, board: nodemcuv2, framework: arduino, extra_script: pio_hooks.py)

PlatformManager: Installing espressif8266_stage
Error: Detected unknown package ‘espressif8266_stage’

Tried to run your ‘pio’ command and get the above error.

The text was updated successfully, but these errors were encountered:

xoseperez commented Nov 28, 2016

Original comment by Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown):

For more information.
i’m trying to compile and run this for my sonoff device. i noticed that the build flag was using nodemcu, but i was expecting the arduio library. Maybe the instructions aren’t exactly clear,
i did install the libraries my self and upload the main.ino using the arduino IDE. however, it does not upload the HTML/CSS/JS files that way. Which means i can’t exactly configure it from the web portal.but the wifi name does show up and i can connect to it.
I haven’t really used PlatformIO before, but i set it up using the windows instructions for AtomIO
when i run your command located at https://bitbucket.org/xoseperez/espurna/src/b102ec52e4173d3f8ae882962d7e019dcded31ab/docs/Firmware.md
pio run -e node-debug

i get the error above. i had to resolve some other issues to get to that point.
it does download the libraries needed. but i suspect there’s something going on with the espressif8266_stage

one other thing, i had to copy the contents from platformio.official.ini into platformio.ini for it to really do anything at all.
otherwise, it would fail saying that
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417codeplatformio.ini, line: 1
‘platformio.official.inin’

which basically tells me that it isn’t loading that file which is just a pointer for platformio.official.ini

xoseperez commented Nov 29, 2016

OK, there are several things going on here:

The node-debug environment is using fauxmoESP library which requires latest (i.e. staging) version of the espressif8266 platform. The documentation is not up-to-date but you can read about how to do it in my post about the library (http://tinkerman.cat/emulate-wemo-device-esp8266/) or in the library repository itself (https://bitbucket.org/xoseperez/fauxmoesp).

If you are trying to run it in a sonoff use the sonoff environment, hardware will be configured for the device (and you won’t have the problem above):

PlatformIO should take care of all the library dependencies, you don’t have to install anything by hand

You have to upload the filesystem too. Read how to do it in the «Build and flash the filesystem». Actually you don’t have to build it if you want the default one, just flash it.

Источник

ESP8266 Community Forum

Explore. Chat. Share.

Information

The requested topic does not exist.

Giving me code6 whenever connecting to WI-FI

I think you can check this: https://www.esp8266.co[…]

View voltage from firebase

What problem are you facing? Is the code not compi[…]

ESP-01 3.7V Battery Voltage Dropping Need help!

I have many projects running off single cell lith[…]

connecting RC522 VCC to VIN of ESP8266

Yes, ESP8266 is supplying 3V. But from the tutoria[…]

Thonny IDE, no connection to ESP8266

From this thread I assume that WeMos D1 mini is no[…]

esp8226 webserver reset on power restart

I normally use a 220uF 6.3V reservoir. Bigger is n[…]

Bare min to get the esp8266 ESP 01 running.

Have a look at this :- Check that your ESP8266 is[…]

Different ADC readings if using deep sleep WAKE_RF_DISABLED

Does anyone know what’s going on here, with this i[…]

is possible Esp8266ex boot from HSPI ?

The TI LP2985 3.3V regulator on a real Uno is only[…]

D1 Mini Pro ESP8266 based not recognized in W 11

You can check this thread: https://forum.arduino.c[…]

Esp01 relay control

You may get some clues from here: https://communit[…]

ESP-12F only as Wi-Fi module

However, I have to ask the obvious question; why […]

How install plugins for Arduino IDE 2.x

I incorporate this in my baseSupport library whi[…]

Roll Back Firmware After OTA Update

I don’t use the roll back methodology myself as I […]

How to measure duty cycle, transmit it and replicate it

I’ve been looking for a solution for the last week[…]

newb question

It’s strongly recommended that expensive electroni[…]

execute run-time generated asm code

About the pin change frequency, yes that is correc[…]

Raspberry Pi Access Point with STATIC IP for ESp8266+MQTT Co

I was able to achieve this using RPi as a broker w[…]

ESP-01F and dc motor control

There are several resources online that provide co[…]

3 esp8266 wemos d1 esptool.py chip_id no response

On both a raspberry pi 4 and MacBook, a set of 3 […]

Follow US on Twitter and get ESP8266 news and updates first.

About us

We are a strong Community of developers, hackers, and visionaries. No, seriously, we are!

Источник

ESP8266 Community Forum

Explore. Chat. Share.

Information

The requested topic does not exist.

Giving me code6 whenever connecting to WI-FI

I think you can check this: https://www.esp8266.co[…]

View voltage from firebase

What problem are you facing? Is the code not compi[…]

ESP-01 3.7V Battery Voltage Dropping Need help!

I have many projects running off single cell lith[…]

connecting RC522 VCC to VIN of ESP8266

Yes, ESP8266 is supplying 3V. But from the tutoria[…]

Thonny IDE, no connection to ESP8266

From this thread I assume that WeMos D1 mini is no[…]

esp8226 webserver reset on power restart

I normally use a 220uF 6.3V reservoir. Bigger is n[…]

Bare min to get the esp8266 ESP 01 running.

Have a look at this :- Check that your ESP8266 is[…]

Different ADC readings if using deep sleep WAKE_RF_DISABLED

Does anyone know what’s going on here, with this i[…]

is possible Esp8266ex boot from HSPI ?

The TI LP2985 3.3V regulator on a real Uno is only[…]

D1 Mini Pro ESP8266 based not recognized in W 11

You can check this thread: https://forum.arduino.c[…]

Esp01 relay control

You may get some clues from here: https://communit[…]

ESP-12F only as Wi-Fi module

However, I have to ask the obvious question; why […]

How install plugins for Arduino IDE 2.x

I incorporate this in my baseSupport library whi[…]

Roll Back Firmware After OTA Update

I don’t use the roll back methodology myself as I […]

How to measure duty cycle, transmit it and replicate it

I’ve been looking for a solution for the last week[…]

newb question

It’s strongly recommended that expensive electroni[…]

execute run-time generated asm code

About the pin change frequency, yes that is correc[…]

Raspberry Pi Access Point with STATIC IP for ESp8266+MQTT Co

I was able to achieve this using RPi as a broker w[…]

ESP-01F and dc motor control

There are several resources online that provide co[…]

3 esp8266 wemos d1 esptool.py chip_id no response

On both a raspberry pi 4 and MacBook, a set of 3 […]

Follow US on Twitter and get ESP8266 news and updates first.

About us

We are a strong Community of developers, hackers, and visionaries. No, seriously, we are!

Источник

Detected unknown package ‘espressif8266_stage’ about espurna HOT 3 CLOSED

Comments (3)

Original comment by an_indian_man (Bitbucket: an_indian_man, GitHub: Unknown):

from a terminal, retry the compile.

xoseperez commented on January 13, 2023

OK, there are several things going on here:

The node-debug environment is using fauxmoESP library which requires latest (i.e. staging) version of the espressif8266 platform. The documentation is not up-to-date but you can read about how to do it in my post about the library (http://tinkerman.cat/emulate-wemo-device-esp8266/) or in the library repository itself (https://bitbucket.org/xoseperez/fauxmoesp).

If you are trying to run it in a sonoff use the sonoff environment, hardware will be configured for the device (and you won’t have the problem above):

PlatformIO should take care of all the library dependencies, you don’t have to install anything by hand

You have to upload the filesystem too. Read how to do it in the «Build and flash the filesystem». Actually you don’t have to build it if you want the default one, just flash it.

  1. The platformio.ini file is indeed a softlink to platformio.official.ini, but I see you are using a Windows OS. I will change it to make it work.

xoseperez commented on January 13, 2023

Original comment by Curtis Joslin (Bitbucket: curtis_joslin, GitHub: Unknown):

For more information.
i’m trying to compile and run this for my sonoff device. i noticed that the build flag was using nodemcu, but i was expecting the arduio library. Maybe the instructions aren’t exactly clear,
i did install the libraries my self and upload the main.ino using the arduino IDE. however, it does not upload the HTML/CSS/JS files that way. Which means i can’t exactly configure it from the web portal.but the wifi name does show up and i can connect to it.
I haven’t really used PlatformIO before, but i set it up using the windows instructions for AtomIO
when i run your command located at https://bitbucket.org/xoseperez/espurna/src/b102ec52e4173d3f8ae882962d7e019dcded31ab/docs/Firmware.md
pio run -e node-debug

i get the error above. i had to resolve some other issues to get to that point.
it does download the libraries needed. but i suspect there’s something going on with the espressif8266_stage

one other thing, i had to copy the contents from platformio.official.ini into platformio.ini for it to really do anything at all.
otherwise, it would fail saying that
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: C:UserscitruDocumentsArduinoSketchesxoseperez-espurna-b102ec52e417codeplatformio.ini, line: 1
‘platformio.official.inin’

which basically tells me that it isn’t loading that file which is just a pointer for platformio.official.ini

Related Issues (20)

  • Nicer TZ config & help
  • WebUI ping for inactive tabs
  • Trying to get 0.5 resolution for BH1750 LUX sensor. HOT 11
  • Homeassistant API breakage HOT 1
  • InfluxDB 2.0 Cloud Support. HOT 1
  • V9261F Miscalculated Sensors HOT 8
  • Problem dht11 Module HOT 5
  • Setting `#define DEBUG_SERIAL_SUPPORT 0` no longer stops serial port. HOT 4
  • mqtt topic format HOT 1
  • bin file corresponding to the sonoff S26 model HOT 2
  • Telnet OTA command is broken HOT 42
  • PUTTY broken on snapshot builds HOT 5
  • Toggle not working via mqtt
  • Tuya generic dimmer not working for all incoming values. HOT 2
  • Alexa discovery issue with latest 1.15.0(221212) HOT 4
  • Relay is missing on MINI_SMART_SOCKET HOT 7
  • Wich is the correct FW for the Shelly Plug S HOT 1
  • ad-hoc network available even if connected to infrastructure HOT 3
  • HA discover adds random sensors from time to time HOT 2
  • MAXCIO WDE004: Physical HW button and LED do not respond/display

Recommend Projects

React

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

Typescript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

Laravel

A PHP framework for web artisans

Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Microsoft

Open source projects and samples from Microsoft.

Источник

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

> Executing task: C:UsersDNS.platformiopenvScriptsplatformio.exe run --target buildfs --environment esp_wroom_02 <

Processing esp_wroom_02 (platform: espressif8266; framework: esp8266-rtos-sdk; board: esp_wroom_02)        
-----------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp_wroom_02.html
PLATFORM: Espressif 8266 (2.6.3) > ESP-WROOM-02
HARDWARE: ESP8266 80MHz, 80KB RAM, 2MB Flash   
PACKAGES:
 - framework-esp8266-rtos-sdk 1.5.0-beta.5     
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0) 
 - tool-mklittlefs 1.203.210203 (2.3)    
 - tool-mkspiffs 1.200.0 (2.0)
 - toolchain-xtensa 1.40802.0 (4.8.2)    
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...    
No dependencies
Building in release mode
AssertionError: :
  File "C:UsersDNS.platformiopenvLibsite-packagesplatformiobuildermain.py", line 178:
    env.SConscript("$BUILD_SCRIPT")
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsScriptSConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsScriptSConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:UsersDNS.platformioplatformsespressif8266buildermain.py", line 243:
    target_firm = env.DataToBin(
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsEnvironment.py", line 238:    
    return super().__call__(target, source, *args, **kw)
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsUtil.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsBuilder.py", line 650:
    return self._execute(env, target, source, OverrideWarner(kw), ekw)
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsBuilder.py", line 560:
    tlist, slist = self._create_nodes(env, target, source)
  File "C:UsersDNS.platformiopackagestool-sconsscons-local-4.1.0SConsBuilder.py", line 522:
    target, source = self.emitter(target=tlist, source=slist, env=env)
  File "C:UsersDNS.platformioplatformsespressif8266buildermain.py", line 119:
    fetch_fs_size(env)
  File "C:UsersDNS.platformioplatformsespressif8266buildermain.py", line 98:
    assert all([
======================================= [FAILED] Took 3.75 seconds =======================================

Environment    Status    Duration
-------------  --------  ------------
esp_wroom_02   FAILED    00:00:03.749
================================== 1 failed, 0 succeeded in 00:00:03.749 ==================================
The terminal process "C:UsersDNS.platformiopenvScriptsplatformio.exe 'run', '--target', 'buildfs', '--environment', 'esp_wroom_02'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error detected in pubspec yaml
  • Error detected in index
  • Error detected by routine peeki
  • Error detected attempting load of package engine xcom 2
  • Error details ссылка на объект не указывает на экземпляр объекта

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии