Comments (4)
Hi,
thank you for trying ESPiLight.
Unfortunately, ESPiLight can not run on AVR architecture, its is made to run native on the ESP8266 SoC. The NanoESP Board utilizes an Atmel ATmega 328 (AVR) and only communicate with the ESP8266 via RX/TX. You may can flash the ESP8266 of the NanoESP Board by utilizing the 8-pin header and an USB-RX/TX module directly.
I would suggest to buy a ESP8266 board, like Adafruit Feather HUZZAH, NodeMCU or wemos d1 mini. IMHO they are much more powerful and cheaper, than the NanoESP Board.
When I load the Example "Basic ESPiLight transmit example" and try to send it to the board I get the error:
WARNING: library ESPiLight claims to run on [esp8266] architecture(s) and may be incompatible with your current board which runs on [avr] architecture(s). In file included from /Users/Terra/Documents/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c:26:0: /Users/Terra/Documents/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/../../core/dso.h:25:2: error: unknown type name 'ssize_t' ssize_t size; ^ exit status 1 Error compiling for board Arduino Nano.
ESPiLight can not run on AVR architecture.
When I switch the board in the IDE to "Generic ESP8266 Board" I get the error:
Sketch uses 301,281 bytes (69%) of program storage space. Maximum is 434,160 bytes. Global variables use 46,956 bytes (57%) of dynamic memory, leaving 34,964 bytes for local variables. Maximum is 81,920 bytes. warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed error: espcomm_upload_mem failed
What am I doing wrong?...
The compilation runs fine, but the Arduino IDE was not able to flash it. That is because you did not connected the ESP8266 for flashing.
puuu
from espilight.
Thank you very much for your detailed explanation!! :)
I will try it with an adafruit board.
br
from espilight.
Just wanted to say thank you for this library.
I am using it now on a NodeMCU and it works like a charm for my Brennenstuhl RCS 1000 N plugs!
from espilight.
Thank you for using ESPiLight.
Nice to hear someone is using it.
Happily close this issue.
from espilight.
Related Issues (20)
- on Clarus switches the unit # keeps changing. HOT 1
- ESPiLight::mingaplen too large for the Nexus protocol HOT 1
- Allow protocol lookup from API? HOT 1
- wrong protokoll selection? HOT 2
- Doesn't work with TTGO T-Call (ESP32) HOT 1
- Support for parsing the specified repeats in stringToPulseTrain
- Nexus protocol HOT 13
- Intertechno codes are not reconized with cc1101
- conflict between nexus and tfa protocols? HOT 8
- Support for frequencies other than 433.92 MHz HOT 1
- Help / Clarification needed: pilight(3): smartwares_switch: insufficient number of arguments HOT 1
- Regression: ESPiLight does not work while 16.2 works
- alecto_ws1700 protocol not received with version 0.17.0 HOT 3
- Error compiling for ESP8266 HOT 5
- esp32编译错误
- Decoding Alecto V4 and Cresta protocol
- I can't figure out what the reason is. Error for Arduino nano
- MAXPULSESTREAMLENGTH limited to 255
- Possible memory leak when receiving
- some protocols not working? 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
-
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
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.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espilight.