Comments (3)
tried to compile "Receive_Raw" example, got error :
Selected boards "ESP32 Dev Module" or "DOIT ESP32 DEVKIT V1", same result:
In file included from C:\Users\xxx\Documents\Arduino\libraries\ESPiLight-master\src\ESPiLight.cpp:36:0:
C:\Users\xxx\Documents\Arduino\libraries\ESPiLight-master\src\pilight/libs/pilight/protocols/protocol.h:26:26: fatal error: ../core/json.h: No such file or directory
compilation terminated.
Using library ESPiLight-master at version 0.15.0 in folder: C:\Users\xxx\Documents\Arduino\libraries\ESPiLight-master
exit status 1
Error compiling for board ESP32 Dev Module.
from espilight.
Hi @hycday , thank you for testing ESPiLight!
Probably, this is not an ESP32 issue. I expect you use the master branch and did not followed the README (same as #12, #25 and #31). Please try with release branch, download from releases or use the Arduino Library manager.
from espilight.
you are correct...installing from the Library Manager allowed me to compile successfully :)
so i tested, and was able to successfully receive a signal that has 2 sync bits, (but with some "issues") :
the signal from your library is
RAW signal: 250 2583 253 1310 246 316 236 1323 239 318 237 1322 235 320 238 308 238 1326 242 1322 238 313 239 321 231 1323 241 1324 237 326 232 306 239 1329 237 310 239 1328 237 1321 241 314 242 1320 238 316 241 1325 235 318 237 1323 237 320 233 312 239 1329 237 305 243 1323 244 1326 234 311 241 313 238 1326 238 309 240 1327 239 308 239 1328 239 310 238 1328 237 308 240 1324 242 305 243 1327 239 313 236 1321 244 308 240 1330 236 312 236 1327 237 308 242 1327 238 306 243 1320 251 298 251 1318 246 302 247 1326 240 295 252 1318 249 1330 230 311 241 302 248 1316 249 251 257 4451 201 2328 317 5135
while I tested, and actually managed to make it work just an hour ago, to send this signal (and switch the light off successfully):
10765,249,2578,252,1303,249,303,250,1314,236,308,247,1307,246,303,249,305,241,1307,251,1304,249,301,251,297,248,1323,237,1310,242,309,243,298,248,1317,241,300,246,1310,246,1306,249,309,244,1309,244,306,247,1306,246,306,247,1307,245,309,244,303,242,1307,251,301,245,1309,251,1306,246,306,242,305,244,1313,245,300,246,1308,250,311,235,1314,244,301,246,1315,242,324,222,1316,242,306,240,1314,244,300,246,1311,247,313,230,1314,248,310,235,1321,237,300,245,1311,247,307,239,1322,236,305,242,1318,238,304,243,1309,249,312,234,1320,238,1313,238,307,247,304,242,1320,236
so your code doesnt catch the first "10765", and then has some extra data bits at the end (you can compare them here https://test.sui.li/oszi/)
i tried with a single data sync bit, and with your code i get :
960 590 449 1107 446 1106 448 1100 453 1104 450 1108 965 590 448 1101 452 1101 971 589 450 1111 961 589 449 1103 969 593 964 587 970 588 969 596 442 1101 457 1095 977 579 458 1101 972 582 457 1096 457 1108 3038 7328
with another library I get
Decimal: 8542100 (24Bit) Binary: 100000100101011110010100
so looks good :)
from espilight.
Related Issues (20)
- Is the message formatted properly? HOT 1
- 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
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.