puuu / espilight Goto Github PK
View Code? Open in Web Editor NEWESPiLight - pilight 433.92 MHz protocols library for Arduino
License: GNU General Public License v3.0
ESPiLight - pilight 433.92 MHz protocols library for Arduino
License: GNU General Public License v3.0
Hi, im am building an Alexa All in ONE ESP8266 Controll Unit.
I have 3 Device's i read aout with Pilight on Raspian . But i can not send the code via my NodeMCU v3.
I load the example Scatch and this works but when i change to this
rf.send("kaku_switch", "{"systemcode":46008320,"unitcode":1,"on"-t}");
it says always
piLightCreatePulseTrain: invalid json ("sys....":46008320,unit .. .. . . a.s.o.
i did not find the Mistake . i have the code the unit and state on and off ?
Can someone help me . Thanks
First of all, thanks for your project.
I'm using OMG bridge (Plight module based on this code) (Sonoff RF bridge edition) that sends its data as MQTT messages in the following form:
home/OMG_SRFB/PilighttoMQTT {"message":"{\"unitcode\":441825,\"state\":\"opened\"}","protocol":"kerui_D026","length":"","repeats":2,"status":2}
home/OMG_SRFB/PilighttoMQTT {"message":"{\"id\":146.0,\"temperature\":1.2,\"humidity\":97.0,\"battery\":0.0}","protocol":"teknihall","length":"146","repeats":3,"status":2}
In an automation (Home Assistant) that is subscribed to this topic I can access top-level pairs like
trigger.payload_json.protocol == 'teknihall'
but the message
bit is special, I can't use anything like
trigger.payload_json.message.unitcode
because it's a string, HA does not parse it further.
It looks like HA expects the following pairs in JSON
"key":"string_value"
or
"key": {"key2":"string_value"}
"key":[number, "string", ..]
and the Pilight module runs a message (a python dictionary) through json_encode function that escapes all internal double quotes AND then encloses the value in double quotes to make it
"key":"value"
From what I can see here, a python dictionary represents an object and it should not be enclosed in double quotes.
So am I missing something or the way HA/ESPiLight handles JSONs is not quite correct atm?
I'm mainly bothered because currently I have to do a lot of processing just to access that internal message
values and that's not right, it shouldn't be that complicated at all.
Hi,
I have tried to use this library to pilot a set of smartwares_switch.
the receive.ino sketch works perfectly (attaching a bit of the dump on/off sequence from unit 1 ).
20:42:56.663 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (FIRST), message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.666 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (FIRST), message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.687 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (FIRST), message: {"id":23042048,"unit":1,"state":"up"}
20:42:56.819 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (VALID), message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.890 > Valid message: Protocol: [smartwares_switch], Message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.890 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (VALID), message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.890 > Valid message: Protocol: [arctech_switch], Message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.890 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (VALID), message: {"id":23042048,"unit":1,"state":"up"}
20:42:56.890 > Valid message: Protocol: [arctech_screen], Message: {"id":23042048,"unit":1,"state":"up"}
20:42:56.894 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"on"}
20:42:56.896 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"on"}
20:42:57.300 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"up"}
20:42:57.300 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"on"}
20:42:57.300 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"on"}
20:42:57.300 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"up"}
20:42:57.300 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"on"}
20:42:57.300 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"on"}
20:42:57.300 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"up"}
20:42:59.122 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (FIRST), message: {"id":23042048,"unit":1,"state":"off"}
20:42:59.126 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (FIRST), message: {"id":23042048,"unit":1,"state":"off"}
20:42:59.129 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (FIRST), message: {"id":23042048,"unit":1,"state":"down"}
20:42:59.279 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (VALID), message: {"id":23042048,"unit":1,"state":"off"}
20:42:59.341 > Valid message: Protocol: [smartwares_switch], Message: {"id":23042048,"unit":1,"state":"off"}
20:42:59.341 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (VALID), message: {"id":23042048,"unit":1,"state":"off"}
20:42:59.341 > Valid message: Protocol: [arctech_switch], Message: {"id":23042048,"unit":1,"state":"off"}
20:42:59.341 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (VALID), message: {"id":23042048,"unit":1,"state":"down"}
20:42:59.341 > Valid message: Protocol: [arctech_screen], Message: {"id":23042048,"unit":1,"state":"down"}
20:43:00.199 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"off"}
20:43:00.199 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"off"}
20:43:00.199 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"down"}
20:43:00.199 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"off"}
20:43:00.199 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"off"}
20:43:00.199 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"down"}
20:43:00.199 > RF signal arrived. Protocol: [smartwares_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"off"}
20:43:00.199 > RF signal arrived. Protocol: [arctech_switch], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"off"}
20:43:00.199 > RF signal arrived. Protocol: [arctech_screen], deviceID: [23042048], status: (KNOWN), message: {"id":23042048,"unit":1,"state":"down"}
however, when trying to adapt the transmitter sketch, I obtain this warning on serial monitor, and no codes being transmitted:
pilight(3): smartwares_switch: insufficient number of arguments
I have changed these lines
rf.send("elro_800_switch", "{\"systemcode\":17,\"unitcode\":1,\"on\":1}");
rf.send("elro_800_switch", "{\"systemcode\":17,\"unitcode\":1,\"off\":1}");
to these, using the info available at these pages:
https://manual.pilight.org/protocols/433.92/switch/elro_800.html (for original example)
https://manual.pilight.org/protocols/433.92/switch/nexa.html (one of the many supporting smartwares_switch)
rf.send("smartwares_switch", "{\"id\":23042048,\"unit\":1,\"state\":\"on\"}");
rf.send("smartwares_switch", "{\"id\":23042048,\"unit\":1,\"state\":\"off\"}");
Can you please point me in the right direction?
Also, what are the arctech_switch
and arctech_screen
that I see coming up in the dump? could it be the transmitter sending out other protocols too?
Many thanks
Hi,
I think there may be a memory leak in EsPiLight. (I'm not an expert developer, so it could well be some kind of user error...)
Here's a minimal code sample illustrating the problem I've encountered:
#include <ESPiLight.h>
#define TRANSMITTER_PIN D4
ESPiLight rf(TRANSMITTER_PIN);
#define runAtMostEvery(t) for (static uint16_t _lasttime;\
(uint16_t)((uint16_t)millis() - _lasttime) >= (t);\
_lasttime = (uint16_t)millis())
const char strOn[] = "{\"systemcode\":11,\"unitcode\":1,\"on\":1}";
void setup() {
Serial.begin(115200);
Serial.println("Booting");
}
void loop() {
runAtMostEvery(1000) {
Serial.printf("loop heap size: %u\n", ESP.getFreeHeap());
rf.send("elro_800_switch", strOn);
}
}
And here's the corresponding output:
loop heap size: 27336
piLightCreatePulseTrain: protocol: elro_800_switch create Code succeded.
loop heap size: 27088
piLightCreatePulseTrain: protocol: elro_800_switch create Code succeded.
loop heap size: 26840
piLightCreatePulseTrain: protocol: elro_800_switch create Code succeded.
loop heap size: 26592
The free heap size is decreasing until the microcontroller crashes.
In my case it's a Wemos D1 Mini. I'm using Atom/PlatformIO.
Hey, hope you can support me, slowly I'm going crazy with this.
Some protocols work, some not...
Working:
rf.send("elro_800_switch", R"( {"systemcode":5, "unitcode":1, "on":1} )");
rf.send("quigg_gt1000", R"( {"id":0, "unit":0, "on":1} )");
Not working
rf.send("intertechno_switch", R"( {"id":"20648806", "unit":0, "on":1} )");
rf.send("kaku_switch_old", R"( {"id":21, "unit":8, "on":1} )");
rf.send("kaku_switch_old", R"( {"id":19, "unit":8, "on":1} )");
I copied the config (ids, units etc.) from my working original pilight implementation on a raspberry, so that is correct.
Furhtermore with debug enabled, I got feedback like this:
piLightCreatePulseTrain: protocol: quigg_gt1000 create Code succeded.
piLightCreatePulseTrain: protocol: elro_800_switch create Code succeded.
But from the other send function calls, I get nothing.
Any idea what could be the fault? Anything I can try?
Thank you for your help!
P.S. I think the R"(...)" notation is way better to read than the " notation.
As sending pulse-trains is a time-critical thing (and as we have only one processor) we should consider to disable interrupts while sending out pulse-trains. This would also prevent that we "see" the echo of our own signal as we send it.
Arduino gives here two possibilities:
noInterrupts()
/interrupts()
to deactivate/activate interrupts globallyattachInterrupt()
/detachInterrupt()
to attach/detach specific ISRs.I'm not sure what is better. At the moment the ISR that is connected to the receiver pin will get called for every pulse we push to the sender causing the timing to always be slightly off.
Arduino: 1.8.19 (Windows 10), Плата:"Arduino Nano, ATmega328P"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\toka2000\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\toka2000\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\toka2000\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\toka2000\AppData\Local\Temp\arduino_build_446104 -warnings=none -build-cache C:\Users\toka2000\AppData\Local\Temp\arduino_cache_39238 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\toka2000\Documents\Arduino\libraries\ESPiLight\examples\Transmit\Transmit.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\toka2000\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\toka2000\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\toka2000\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\toka2000\AppData\Local\Temp\arduino_build_446104 -warnings=none -build-cache C:\Users\toka2000\AppData\Local\Temp\arduino_cache_39238 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\toka2000\Documents\Arduino\libraries\ESPiLight\examples\Transmit\Transmit.ino
Using board 'nano' from platform in folder: C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Using core 'arduino' from platform in folder: C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5
Detecting libraries used...
"C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\eightanaloginputs" "C:\Users\toka2000\AppData\Local\Temp\arduino_build_446104\sketch\Transmit.ino.cpp" -o nul
Alternatives for ESPiLight.h: [[email protected]]
ResolveLibrary(ESPiLight.h)
-> candidates: [[email protected]]
"C:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino" "-IC:\Users\toka2000\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\variants\eightanaloginputs" "-IC:\Users\toka2000\Documents\Arduino\libraries\ESPiLight\src" "C:\Users\toka2000\AppData\Local\Temp\arduino_build_446104\sketch\Transmit.ino.cpp" -o nul
Alternatives for functional: []
ResolveLibrary(functional)In file included from C:\Users\toka2000\Documents\Arduino\libraries\ESPiLight\examples\Transmit\Transmit.ino:7:0:
-> candidates: []
C:\Users\toka2000\Documents\Arduino\libraries\ESPiLight\src/ESPiLight.h:23:10: fatal error: functional: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
Используем библиотеку ESPiLight версии 0.17.0 из папки: C:\Users\toka2000\Documents\Arduino\libraries\ESPiLight
exit status 1
Ошибка компиляции для платы Arduino Nano.
Hi,
I am not able to use this library with an Uno, Nano or Mega.
Is this expected?
I receive on RPi with PiLight remote control with protocol Impuls
{ "uuid":"0000-b8-27-eb-bb373c", "message": { "systemcode":4, "state":"on", "programcode":8 }, "origin":"receiver", "protocol":"impuls", "repeats":1 }
But on ESP with ESPiLight do not receive this remote control, other remote controls receive fine.
I use receiver source code from examples.
ESP: ESP-12E
RF receiver: MX-RM-5V
Remote control: 9898XSE
Hello,
Would it be possible to integrate the last version of pilight library (8.1.4) into ESPilight so to takes the benefits of the commits done from the current integration?
Or to give the integration process and I could submit a PR.
Hi,
I wanted to try out your library with an example and when compiling I receive an error that ../core/json.h is missing. Also, "protocol_headers.h" seems to be missing. Where do I get these files from?
Dear Gentlemans
If I check the start page, you are mentioning this page https://bitbucket.org/fuzzillogic/433mhzforarduino/wiki/Home
It is one which will provide some code for RC-Switches and some Weather Stations for Arduinos.
I have now tried to use the transmit example from that page for temp and humitiy, but it will not be encoded in ESPILight, what i can see is that the debug example will see the data which is transmitted.
Do I have to do something special that the transmitted data will be decoded?
Martin
Hi there,
I have a bunch of "generic remotes" and other sensors - PIR/door mostly based on the EV1527 I believe - 20 bit address with a 4 bit code. I have these working under other radio implementations including rtl_433 and switch-rc
I can't get them to work with MQTT433gateway but I'd really like to as I like the format and my room temperature/humidity sensors are picked up nicely with ESPiLight. If I put MQTT433gateway into debug mode I see the radio picking up on the transmissions but nothing shows up as being decoded.
Can you offer any help? I can offer any debug etc at your request
Appointed by the protocol.h file -> #include "../core/json.h"
json.h does not exist, cannot compile json features using this lib.
`Arduino: 1.8.4 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"
In file included from C:\Users\torbj\Documents\Arduino\libraries\ESPiLight\src\ESPiLight.cpp:35:0:
C:\Users\torbj\Documents\Arduino\libraries\ESPiLight\src\pilight/libs/pilight/protocols/protocol.h:26:26: fatal error: ../core/json.h: No such file or directory
#include "../core/json.h"
^
compilation terminated.
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
A number of files is missing in the ZIP. Lucky for me I found http://platformio.org/lib/show/996/ESPiLight, which had all the missing files!
I know ESPiLight in stringToPulseTrain
means to implement the pulse train string format seen here:
c:102020202020202020220202020020202200202200202020202020220020202203;p:279,2511,1395,9486;r:5@
but it looks like the repeats part (e.g. r:10
) is not implemented. Repeats are supported in sendPulseTrain
as an argument. When sending raw pulses, one would usually input the string (including the repeats) to stringToPulseTrain
, and then feed the resulting codes and length into sendPulseTrain
. It would complete the circle if stringToPulseTrain
could also report the number of repeats specified.
I'm working on a PR to do this.
home/OpenMQTTGateway/433toMQTT/5535011 5535011
home/OpenMQTTGateway/433toMQTT/5535011/protocol 1
home/OpenMQTTGateway/433toMQTT/5535011/length 24
home/OpenMQTTGateway/433toMQTT/5535011/delay 185
home/OpenMQTTGateway/433toMQTT/5534979 5534979
home/OpenMQTTGateway/433toMQTT/5534979/protocol 1
home/OpenMQTTGateway/433toMQTT/5534979/length 24
home/OpenMQTTGateway/433toMQTT/5534979/delay 185
home/OMG_PiLight/PilighttoMQTT/E3/message {"id":"E3","unit":53,"state":"on"}
home/OMG_PiLight/PilighttoMQTT/E3/value E3
home/OMG_PiLight/PilighttoMQTT/E3/state on
home/OMG_PiLight/PilighttoMQTT/E3/protocol clarus_switch
home/OMG_PiLight/PilighttoMQTT/E3/length E3
home/OMG_PiLight/PilighttoMQTT/E3/repeats 2
home/OMG_PiLight/PilighttoMQTT/E3/status 2
home/OpenMQTTGateway/433toMQTT/5534979 5534979
home/OpenMQTTGateway/433toMQTT/5534979/protocol 1
home/OpenMQTTGateway/433toMQTT/5534979/length 24
home/OpenMQTTGateway/433toMQTT/5534979/delay 185
home/OMG_PiLight/PilighttoMQTT/E3/message {"id":"E3","unit":5,"state":"on"}
home/OMG_PiLight/PilighttoMQTT/E3/value E3
home/OMG_PiLight/PilighttoMQTT/E3/state on
home/OMG_PiLight/PilighttoMQTT/E3/protocol clarus_switch
home/OMG_PiLight/PilighttoMQTT/E3/length E3
home/OMG_PiLight/PilighttoMQTT/E3/repeats 3
home/OMG_PiLight/PilighttoMQTT/E3/status 2
ome/OpenMQTTGateway/433toMQTT/5534979 5534979
home/OpenMQTTGateway/433toMQTT/5534979/protocol 1
home/OpenMQTTGateway/433toMQTT/5534979/length 24
home/OpenMQTTGateway/433toMQTT/5534979/delay 185
home/OMG_PiLight/PilighttoMQTT/E3/message {"id":"E3","unit":37,"state":"on"}
home/OMG_PiLight/PilighttoMQTT/E3/value E3
home/OMG_PiLight/PilighttoMQTT/E3/state on
home/OMG_PiLight/PilighttoMQTT/E3/protocol clarus_switch
home/OMG_PiLight/PilighttoMQTT/E3/length E3
home/OMG_PiLight/PilighttoMQTT/E3/repeats 2
home/OMG_PiLight/PilighttoMQTT/E3/status 2
so you can see how the code is now decoded in 3 different ways with the same remote button press.
With your Example code for Receive_raw and Receive my ESP is crashing after some seconds:
Exception (0):
epc1=0x4021098c epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3ffffc30 end: 3fffffb0 offset: 01a0
>>>stack>>>
3ffffdd0: 401070cc 3ffeced0 3ffeced0 402109a8
3ffffde0: ffffffff 00000020 00000001 00000000
3ffffdf0: 00000000 4010142f 00000000 00000022
3ffffe00: 3fffc200 40107094 3fffc258 4000050c
3ffffe10: 4000437d 00000030 00000016 ffffffff
3ffffe20: 60000200 00000008 ffffffff 80000000
3ffffe30: 20000000 3fff6a10 80000000 203fc0e0
3ffffe40: 80000000 3fffc6fc 3fff3334 3fff6a14
3ffffe50: 00000214 003fc0e0 60000600 00000030
3ffffe60: 3fffc200 40107094 3fffc258 00000001
3ffffe70: 40107130 00000002 00000000 4010711a
3ffffe80: ffffffff 00000020 08000000 070d0000
3ffffe90: 00000000 00000000 0000001f 401055bd
3ffffea0: 4000050c 40107094 3fffc258 4000050c
3ffffeb0: 40000f68 00000030 00000014 ffffffff
3ffffec0: 40000f58 00000000 00000020 00000000
3ffffed0: feefeffe 3fff3334 3fff3334 fffffffe
3ffffee0: 00000210 3fff1828 3fff3334 3fffdab0
3ffffef0: 00000000 3fffdad0 3fff34ac 00000030
3fffff00: 00000000 400042db 3ffec771 60000600
3fffff10: 40004b31 3fff6934 000002f4 003fc000
3fffff20: 40105b22 3fff1850 3fff08c0 4010756c
3fffff30: 40215739 3fff08c0 3fff1850 00ffb031
3fffff40: 3fff6934 00001000 40215bd6 00000008
3fffff50: 00000000 00000000 40215c83 3fff0974
3fffff60: 3fff1850 004fbed9 3fff1850 4020fa24
3fffff70: 40227e0d 3fff0974 3fff1850 00ffad8a
3fffff80: 40227e52 3fffdab0 00000000 3fffdcb0
3fffff90: 3fff1870 3fffdad0 3fff34ac 402117a7
3fffffa0: 40000f49 00003976 3fffdab0 40000f49
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vc2f0c112
~ld
I connected a cc1101 to an ESP32. An indoor "weather station", e.g. temparatur and huminidy are recognized with ESPiLight. However, the remote control of my Intertechni sockets is not restored. When I turn on debug output, I get "possible log" but no further action.
I had different versions of wall plugs:
Hi,
I discovered this with OMG and before addressing it to pilight I raised it here maybe someone has an idea.
I have a DG-R8S which in Pilight v0.16.2 is decoded as TFA, but not decoded in Pilight v0.17.0.
I have a DG-R8H which started with Pilight v0.17.0 is decoded as NEXUS.
Using Pilight v0.17.0 I did following tests:
In other words, seems when both protocols are present NEXUS has priority over TFA. I tried to figure myself if here is a prioritization mechanism but with my limited knowledge I could find something.
Does anyone has any idea what could be?
Thanks
The cc1101 module have a configurable frequency which allow to send and receive not only 433.92 MHz protocols. Some protocols such as Somfy require a frequency of 433.42 MHz which is possible with the cc1101 module.
Currently the Somfy support is not merged into the master branch of pilight and it is 4 years old. I will work on the Somfy support in the pilight repo to get it merged, so it can then be ported to ESP.
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=no_ota,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=8M,UploadSpeed=921600,DebugLevel=none -vid-pid=10C4_EA60 -ide-version=10816 -build-path C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_83367 -warnings=none -build-cache C:\Users\ADMINI1\AppData\Local\Temp\arduino_cache_906401 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.esptool_py.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -verbose E:\0\Arduino8266和esp32\esp32\pilight_raw_cc1101\pilight_raw_cc1101.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=no_ota,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=8M,UploadSpeed=921600,DebugLevel=none -vid-pid=10C4_EA60 -ide-version=10816 -build-path C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_83367 -warnings=none -build-cache C:\Users\ADMINI1\AppData\Local\Temp\arduino_cache_906401 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.esptool_py.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -verbose E:\0\Arduino8266和esp32\esp32\pilight_raw_cc1101\pilight_raw_cc1101.ino
Using board 'esp32' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6
Using core 'esp32' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6
cmd /c if exist "E:\0\Arduino8266和esp32\esp32\pilight_raw_cc1101\partitions.csv" copy /y "E:\0\Arduino8266和esp32\esp32\pilight_raw_cc1101\partitions.csv" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_83367\partitions.csv"1\AppData\Local\Temp\arduino_build_83367\partitions.csv" copy "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\tools\partitions\default_8MB.csv" "C:\Users\ADMINI
cmd /c if not exist "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_83367\partitions.csv"1\AppData\Local\Temp\arduino_build_83367\sketch\pilight_raw_cc1101.ino.cpp" -o nul
Detecting libraries used...
"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10816 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "C:\Users\ADMINI
Alternatives for ELECHOUSE_CC1101_SRC_DRV.h: [[email protected]]
ResolveLibrary(ELECHOUSE_CC1101_SRC_DRV.h)
-> candidates: [[email protected]]
"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10816 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "-IC:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib" "C:\Users\ADMINI1\AppData\Local\Temp\arduino_build_83367\sketch\pilight_raw_cc1101.ino.cpp" -o nul1\AppData\Local\Temp\arduino_build_83367\sketch\pilight_raw_cc1101.ino.cpp" -o nul
Alternatives for ESPiLight.h: [[email protected]]
ResolveLibrary(ESPiLight.h)
-> candidates: [[email protected]]
"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10816 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "-IC:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib" "-IC:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src" "C:\Users\ADMINI
"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10816 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "-IC:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib" "-IC:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src" "C:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib\ELECHOUSE_CC1101_SRC_DRV.cpp" -o nul
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
-> candidates: [[email protected]]
"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10816 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "-IC:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib" "-IC:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPI\src" "C:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib\ELECHOUSE_CC1101_SRC_DRV.cpp" -o nul
"C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++" -DESP_PLATFORM "-DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h"" -DHAVE_CONFIG_H -DGCC_NOT_5_2_0=0 -DWITH_POSIX "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/config" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_trace" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/app_update" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/asio" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bootloader_support" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/bt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/coap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/console" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/driver" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/efuse" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-tls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_adc_cal" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_event" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_http_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_ota" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_https_server" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_ringbuf" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp_websocket_client" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/espcoredump" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ethernet" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/expat" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fatfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freemodbus" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/freertos" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/heap" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/idf_test" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/jsmn" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/json" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/libsodium" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/log" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/lwip" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mbedtls" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mdns" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/micro-ecc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/mqtt" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/newlib" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nghttp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/nvs_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/openssl" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protobuf-c" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/protocomm" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/pthread" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/sdmmc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/smartconfig_ack" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/soc" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spi_flash" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/spiffs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcp_transport" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/tcpip_adapter" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/ulp" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/unity" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/vfs" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wear_levelling" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wifi_provisioning" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/wpa_supplicant" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/xtensa-debug-module" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp32-camera" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/esp-face" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/include/fb_gfx" -std=gnu++11 -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-missing-field-initializers -Wno-sign-compare -fno-rtti -c -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10816 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD="ESP32_DEV"" "-DARDUINO_VARIANT="esp32"" -DESP32 -DCORE_DEBUG_LEVEL=0 "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\variants\esp32" "-IC:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib" "-IC:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src" "-IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPI\src" "C:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src\ESPiLight.cpp" -o nul
Alternatives for ../core/json.h: []
ResolveLibrary(../core/json.h)
-> candidates: []
In file included from C:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src\ESPiLight.cpp:36:0:
C:\Users\Administrator\Documents\Arduino\libraries\ESPiLight\src\pilight/libs/pilight/protocols/protocol.h:26:26: fatal error: ../core/json.h: No such file or directory
compilation terminated.
使用 2.5.7 版本的库 SmartRC-CC1101-Driver-Lib 在文件夹: C:\Users\Administrator\Documents\Arduino\libraries\SmartRC-CC1101-Driver-Lib
使用 0.17.0 版本的库 ESPiLight 在文件夹: C:\Users\Administrator\Documents\Arduino\libraries\ESPiLight
使用 1.0 版本的库 SPI 在文件夹: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPI
exit status 1
为开发板 ESP32 Dev Module 编译时出错。
Currently the callback receives the device id and protocol name from ESPiLight. However, it would be useful to know what kind of device it was, available under protocol_t - devtype and hwtype. This would allow some automated processing by the callback, such as creating an MQTT discovery topic for a temperature sensor. It's not a perfect approach but it could allow for a bit more flexibility.
Hello.
I have piles of these
https://www.ebay.com/itm/Restaurant-Wireless-Guest-Waiter-Calling-System-2-Receiver-Host-50-Button-Pagers/173181088620?hash=item285265b36c:g:AXUAAOSwTlFak6Xt
and tons of these :
https://www.ebay.com/itm/New-Green-Call-Button-Pagers-for-Wireless-Restaurant-Calling-Paging-Sysatem-HOT/312188912487?hash=item48afe8c367:g:F5QAAOSw65FXrYf5
And I would like to use them with ESPiLight.
Currently testing with RXB6 module, and in raw format seems like I am receiving the data.
The problem is that I have no idea how to parse it into a readable string. I am just not sure about the protocol.
My question is - if You have pass trough such a device or can help me understanding the protocol of these things.
Hi,
I try to get the library working with my NanoESP Board which is basically an Arduino Nano + ESP8266 (http://www.mikrocontroller-elektronik.de/wifi-board-nanoesp-bzw-pretzel-board/)
I am not an Arduino expert and so far I programmed it with the Arduino IDE with board setting "Arduino Nano".
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.
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?...
br
First of all Thanks! for all the cool code stuff. Got my rc switch controlled in minutes after my RF sender postal arrived... that included internet search to find your lib!
My 2cts:
rf.send("elro_800_switch", "{"systemcode":17,"unitcode":1,"on":1}");
delay(2000);
rf.send("elro_800_switch", "{"systemcode":17,"unitcode":1,"off":1}");
delay(2000); //<-- makes that blinking last~
There are protocols which require a MAXPULSESTREAMLENGTH bigger than 255 - for example: Tfa2017:
#define MIN_RAW_LENGTH 200 #define MAX_RAW_LENGTH 400
Unfortunately, it is not as easy as simply changing the define in ESPiLight.h:
#define MAXPULSESTREAMLENGTH 512
Because there are several variables/members which have type uint8_t - they overflow if a value bigger than 255 is assigned to them, for example:
ESPiLight::minrawlen
ESPiLight::maxrawlen
protocol_t::minrawlen
protocol_t::maxrawlen
Effectively, prorocols requiring pulsestreams longer than 255 won't ever get pulsestreams longer than 255. They might even never get pulsestreams shorter than 255 as ESPiLight::maxrawlen's calculated value is wrong due to the overflow.
i have 3 weather Sensors. each sending there data in 1 minute interval.
the status check on received data depends on a second receiving and a string compare. Only then it will be published.
the delay for repeat is to small for reconizing data as a second message.
Furthermore, the other sensors will send there data and they obviously differ from the first one.
did i miss something? how can i get all three sensor data published without dumping the VALID check
Using the example Receive.ino with RXB6 or SRX822 Receivers works with 16.0 and 16.2. Temperature sensors, Smoke sensors, Swithes ... nearby are detected. Many messages arrive, and some of them have state "VALID". With 17.0 almost no message arrives, sometimes a clarius_switch, thats all. Zero VALID messages. Looking at Receive_Raw, way more raw messages arrive with version 16.2 or 16.0.
I've implemented the Nexus decoder but a change was required in ESPiLight to get it working. Nexus requires 4000us between repeats while ESPiLight overrides this to 5100. This causes the decoder to receive several trains. This could work, but the decoder cannot signal back to the caller that it has received more trains. This means that the main program does not see if a code has been repeated and will not publish it.
I've changed this variable to 3700 locally and it seems to run fine. Not sure how other protocols are affected by this.
Each decoder publishes their own mingaplen but this seems to be ignored. maxgaplen seems to not be used at all.
Hi,
I think there may be a memory leak in EsPiLight.
(I'm not an expert developer, so it could well be some kind of user error...)
Here's a minimal code sample illustrating the problem I've encountered:
#include <ESPiLight.h>
#define RECEIVER_PIN 14 // any intterupt able pin
#define TRANSMITTER_PIN -1
ESPiLight rf(TRANSMITTER_PIN);
void rfCallback(const String &protocol, const String &message, int status,
size_t repeats, const String &deviceID)
{
Serial.printf("loop heap size: %u\n", ESP.getFreeHeap());
}
void setup()
{
Serial.begin(115200);
Serial.println("Booting");
rf.setCallback(rfCallback);
rf.initReceiver(RECEIVER_PIN);
}
void loop()
{
rf.loop();
}
And here's the corresponding output:
15:16:55.473 -> loop heap size: 31496
15:17:41.075 -> loop heap size: 31136
15:17:41.174 -> loop heap size: 30776
15:17:41.240 -> loop heap size: 30416
........
15:22:57.536 -> loop heap size: 1256
15:23:33.932 -> loop heap size: 896
15:23:33.999 -> loop heap size: 536
15:23:34.065 -> loop heap size: 176
15:23:34.164 -> Out of memory.
15:23:34.164 -> EXIT: 1
The free heap size is decreasing until the microcontroller crashes.
In my case I'm using a nodemcu esp8266.
I'm using Atom/PlatformIO.
For some of the protocols I receive an ERROR_UNAVAILABLE_PROTOCOL error (result code 0) on sending the commands.
Tested:
I don't seem to be able to find the problem as they are listed in protocol_init.h and sc2262 and arctech_switch seem to be recognized on sending the pulses from the remote.
It seems that in ESP32 lib is a new definition of "protocols" which conflicts with the definition in ESPiLight.cpp: "protocols_t *protocols = nullptr;"
liblwip.a(ppp.o)*: (.rodata.protocols+0x0): multiple definition of protocols
ESPiLight.cpp.o*: (.bss.protocols+0x0): first defined here
renaming "protocols" to "protocols_t *esplightprotocols = nullptr;" etc. and changing the rest of code in ESPiLight.cpp resolves the problem.
Rgds
Hi,
I try to use this library with ESP 8266 Board under Arduino IDE.
ESPiLight: 1.7.0
ESP8266 (NodeMCU1.0): 3.0.1
In addition to my own I tested the example receive sketch, same problem here.
Keeps getting this error since I switched to ESP lib version 3.0.0:
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\rev_v3.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\rsl366.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/rsl366.h:24: multiple definition of rsl366'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/rsl366.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\rsl366.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\sc2262.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/sc2262.h:24: multiple definition of sc2262'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/sc2262.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\sc2262.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\secudo_smoke.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/secudo_smoke.h:24: multiple definition of secudo_smoke'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/secudo_smoke.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\secudo_smoke.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\selectremote.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/selectremote.h:24: multiple definition of selectremote'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/selectremote.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\selectremote.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\silvercrest.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/silvercrest.h:24: multiple definition of silvercrest'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/silvercrest.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\silvercrest.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\smartwares_switch.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/smartwares_switch.h:14: multiple definition of smartwares_switch'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/smartwares_switch.h:14: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\smartwares_switch.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tcm.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tcm.h:24: multiple definition of tcm'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tcm.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tcm.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\techlico_switch.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/techlico_switch.h:24: multiple definition of techlico_switch'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/techlico_switch.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\techlico_switch.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\teknihall.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/teknihall.h:24: multiple definition of teknihall'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/teknihall.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\teknihall.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa.h:24: multiple definition of tfa'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa2017.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa2017.h:14: multiple definition of tfa2017'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa2017.h:14: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa2017.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa30.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa30.h:24: multiple definition of tfa30'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/tfa30.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\tfa30.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\x10.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/x10.h:24: multiple definition of x10'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\protocol.c.o:C:\Users\dummy\Documents\Arduino\libraries\ESPiLight\src\pilight\libs\pilight\protocols\433.92/x10.h:24: first defined here c:/users/dummy/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.3-gcc10.3-9bcba0b/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\x10.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: multiple definition of
dso'; C:\Users\dummy\AppData\Local\Temp\arduino_build_341315\libraries\ESPiLight\pilight\libs\pilight\protocols\433.92\alecto_ws1700.c.o:c:\users\dummy\documents\arduino\libraries\espilight\src\pilight\libs\pilight\core/dso.h:36: first defined here
collect2.exe: error: ld returned 1 exit status`
Thank you
Hello
Im quite out of my leage when it comes to this stuff, but i've got some sonsors that should work with this newer protocol version. How can i include this branch of pilight in ESPLight?
I have following RF-Signals:
RF signal arrived [clarus_switch][A3] (0) {"id":"A3","unit":12,"state":"off"}
RF signal arrived [clarus_switch][B3] (0) {"id":"B3","unit":12,"state":"off"}
RF signal arrived [clarus_switch][C7] (0) {"id":"C7","unit":12,"state":"off"}
RF signal arrived [clarus_switch][D11] (0) {"id":"D11","unit":12,"state":"off"}
RF signal arrived [clarus_switch][E3] (0) {"id":"E3","unit":13,"state":"off"}
when I try to send it via
rf.send("clarus_switch", "{\"id\":\"A3\",\"unit\":12,\"state\":\"off\"}");
rf.send("clarus_switch", "{\"id\":\"B3\",\"unit\":12,\"state\":\"off\"}");
rf.send("clarus_switch", "{\"id\":\"C7\",\"unit\":12,\"state\":\"off\"}");
rf.send("clarus_switch", "{\"id\":\"D11\",\"unit\":12,\"state\":\"off\"}");
rf.send("clarus_switch", "{\"id\":\"E3\",\"unit\":13,\"state\":\"off\"}");
rf.send("clarus_switch", "{\"id\":\"A3\",\"unit\":12,\"state\":\"on\"}");
rf.send("clarus_switch", "{\"id\":\"B3\",\"unit\":12,\"state\":\"on\"}");
rf.send("clarus_switch", "{\"id\":\"C7\",\"unit\":12,\"state\":\"on\"}");
rf.send("clarus_switch", "{\"id\":\"D11\",\"unit\":12,\"state\":\"on\"}");
rf.send("clarus_switch", "{\"id\":\"E3\",\"unit\":13,\"state\":\"on\"}");
I just get an error
piLightCreatePulseTrain: protocol: clarus_switch
LOG(3): clarus_switch: insufficient num
create Code failed.
Hello!
I have a Arduino Mega with RFlink V48 connected to a raspberry running Domoticz.
This combination detects my two devices (a weather sensor from a TFA Nexus weather station, another cheap 433 MHz) as devices of type Alecto V4 (cheap device, plugin 34 of RFLink) and Cresta (TFA Nexus, plugin 32 of RFLink).
Unfortunately I don't get any results in ESPiLight.
The protocols from RFLink are:
Alecto V4:
0;79;DEBUG;Pulses=74;Pulses(uSec)=570,1830,420,3780,420,1830,420,3780,420,1830,420,1830,420,3780,420,1830,420,1830,390,1830,420,3780,420,1830,390,3780,420,1830,420,1830,420,1830,420,1830,420,1830,420,1860,390,1830,390,3810,420,3780,390,3810,390,3780,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,390,3810,420,1830,420,1830,390,1830,420,1830,390,6990;
20;7A;Alecto V4;ID=5228;TEMP=00ff;HUM=80;
20;7B;DEBUG;Pulses=74;Pulses(uSec)=570,1830,420,3780,420,1800,420,3780,420,1830,420,1830,390,3810,420,1830,420,1830,420,1830,390,3810,420,1830,420,3780,420,1830,420,1830,390,1830,420,1830,420,1830,420,1830,420,1830,390,3810,390,3810,420,3780,420,3780,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,420,3780,420,1830,420,1830,420,1830,420,1830,390,6990;
Cresta:
20;95;DEBUG;Pulses=130;Pulses(uSec)=1050,810,930,840,900,360,420,360,420,870,390,360,900,870,390,390,870,390,390,900,390,420,360,420,360,420,360,420,840,900,840,450,330,450,360,930,840,930,330,420,840,930,840,930,360,420,840,930,360,420,840,450,330,930,330,420,840,450,360,450,330,450,330,930,360,450,330,450,330,420,360,450,330,450,330,450,840,930,330,450,840,930,330,420,360,420,360,420,840,930,330,420,360,420,840,930,360,420,360,420,840,930,840,930,330,450,330,450,840,930,840,930,840,930,360,420,360,420,840,930,330,420,840,930,840,450,360,930,330,450;
20;96;DEBUG;Pulses=60;Pulses(uSec)=540,1800,450,1800,450,1830,420,3780,450,1800,450,3750,450,1800,450,1830,420,1830,450,1800,420,1800,450,1830,420,1830,420,3780,450,3750,450,3750,420,3780,420,3780,450,3750,450,1830,420,3780,420,1830,420,3780,450,1830,420,3780,420,1800,420,1800,450,1830,420,1830,420,6990;
20;97;DEBUG;Pulses=48;Pulses(uSec)=480,1710,390,1740,390,1740,390,1800,420,1830,420,1830,390,1830,420,3780,420,3810,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,420,3810,390,1830,420,3780,420,1860,390,1860,420,1830,390,1860,390,6990;
20;98;DEBUG;Pulses=52;Pulses(uSec)=480,1770,360,3660,420,1830,420,1860,390,1860,420,1860,390,1860,390,1860,390,1860,390,3810,420,3780,420,3810,420,3780,420,3780,420,3780,420,1830,390,3780,420,1830,390,3810,420,1830,420,3780,420,1830,420,1860,390,1860,420,1830,420,6990;
20;99;DEBUG;Pulses=52;Pulses(uSec)=60,1740,360,3600,390,1770,390,1830,420,1830,420,1830,420,1830,420,1860,390,1830,420,3810,390,3780,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,420,3810,390,1830,420,3780,390,1860,420,1830,420,1830,420,1830,420,6990;
20;9A;DEBUG;Pulses=52;Pulses(uSec)=210,1740,390,3600,390,1770,420,1830,420,1830,420,1830,420,1830,390,1860,420,1830,390,3780,420,3780,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,390,3810,420,1830,420,3780,390,1830,420,1830,390,1830,420,1830,420,6990;
20;9B;DEBUG;Pulses=52;Pulses(uSec)=60,1740,390,3600,390,1740,420,1860,390,1830,420,1830,390,1860,420,1830,390,1830,420,3780,420,3780,420,3780,390,3780,420,3780,420,3780,420,1830,390,3780,420,1830,420,3780,420,1830,420,3780,420,1830,390,1830,420,1830,390,1860,420,6990;
20;9C;DEBUG;Pulses=52;Pulses(uSec)=210,1740,360,3600,390,1770,420,1830,390,1830,420,1830,420,1830,420,1830,420,1830,390,3780,420,3780,420,3780,420,3780,420,3780,420,3780,420,1830,390,3780,420,1830,420,3780,420,1830,420,3810,390,1830,420,1830,390,1830,420,1830,420,6990;
20;9D;DEBUG;Pulses=128;Pulses(uSec)=1110,750,990,780,960,330,450,330,450,810,480,270,960,840,420,360,930,360,420,840,420,360,420,360,420,360,420,360,900,870,900,390,390,390,390,900,870,870,390,390,870,900,870,900,390,420,870,420,360,900,840,420,360,900,360,420,840,420,360,420,360,420,360,900,360,420,360,420,360,420,360,420,360,420,360,420,840,900,360,420,840,930,360,420,360,420,360,420,840,900,360,420,360,420,840,900,360,420,360,420,840,930,840,930,360,420,360,420,840,930,840,930,840,900,840,930,840,900,840,930,360,420,360,420,840,930,360,420;
20;9E;Cresta;ID=2B01;TEMP=000f;HUM=63;BAT=OK;
20;9F;DEBUG;Pulses=130;Pulses(uSec)=1050,810,930,840,900,360,420,360,420,870,420,360,900,870,390,390,870,390,390,900,390,420,360,390,390,420,360,420,870,900,840,420,360,420,360,930,840,930,360,450,840,930,840,930,330,450,810,930,330,450,840,450,330,930,330,450,840,450,330,420,330,450,330,930,330,450,330,420,360,450,330,450,330,450,330,420,840,930,330,450,840,930,360,420,330,450,330,450,840,930,330,450,330,450,840,930,330,450,330,450,840,930,840,930,330,420,360,420,840,930,840,930,840,930,330,450,330,450,840,930,330,450,840,930,840,420,360,930,330,450;
20;A0;DEBUG;Pulses=50;Pulses(uSec)=510,3750,450,1800,450,1830,420,1830,420,1830,450,1800,420,1800,450,1830,420,3780,420,3780,420,3750,450,3750,450,3780,420,3780,450,1800,450,3750,450,1830,420,3780,450,1800,420,3750,450,1830,420,1830,420,1830,420,1800,420,6990;
20;A1;DEBUG;Pulses=52;Pulses(uSec)=480,1740,390,3600,390,1800,420,1830,420,1830,420,1830,420,1830,420,1830,420,1860,390,3810,390,3780,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,420,3780,420,1830,390,3810,420,1830,420,1830,390,1830,420,1860,390,6990;
20;A2;DEBUG;Pulses=52;Pulses(uSec)=60,1740,390,3600,360,1770,420,1830,420,1860,390,1860,420,1830,390,1860,390,1860,390,3780,420,3810,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,390,1830,420,3780,420,1830,390,3810,420,1830,390,1860,420,1830,420,1830,390,6990;
20;A3;DEBUG;Pulses=52;Pulses(uSec)=240,1740,390,3600,390,1740,420,1830,390,1830,420,1830,420,1860,390,1830,420,1860,390,3780,420,3810,390,3780,420,3780,390,3780,420,3780,420,1830,420,3780,420,1830,420,3780,420,1830,420,3780,420,1830,420,1860,390,1830,420,1830,420,6990;
20;A4;DEBUG;Pulses=52;Pulses(uSec)=60,1740,390,3600,390,1740,420,1830,420,1830,420,1830,390,1830,420,1830,420,1830,420,3780,390,3810,420,3780,420,3780,390,3780,420,3780,420,1830,420,3780,420,1830,420,3780,420,1830,390,3780,420,1830,420,1830,420,1830,420,1830,420,6990;
20;A5;DEBUG;Pulses=52;Pulses(uSec)=210,1740,390,3600,390,1740,420,1830,420,1830,420,1830,420,1830,390,1860,420,1830,420,3780,420,3780,420,3780,420,3780,420,3780,420,3780,420,1830,390,3780,420,1830,420,3780,420,1830,420,3780,420,1830,420,1860,420,1830,420,1830,420,6990;
20;A6;DEBUG;Pulses=52;Pulses(uSec)=60,1740,390,3600,390,1740,420,1830,420,1830,420,1830,420,1830,390,1860,420,1830,390,3810,390,3780,420,3780,420,3780,420,3780,420,3780,420,1830,420,3780,420,1830,420,3780,390,1830,420,3780,420,1830,390,1830,420,1830,420,1830,420,6990;
Are these protocols not implemented in ESPiLight or am I doing something wrong?
Hi,
Thanks for the great library !
I have used the library on wemos D1 mini pro to receive temperature and humidity from a Konig Weatherstation using the alecto_ws1700 protocol.
It works fine with version 0.16.2, but the messages for this protocol are not received with version 0.17.0 of the library.
I loaded the libraries in Arduino v1.8.13 with standard library manager.
Thanks!
From what I understand from the pilight sources, device protocols can be referenced through different names.
For instance, the arctech_switch_old
protocol has an alias kaku_switch_old
, as defined here.
However, using the alias doesn't work with ESPiLight: it will only allow the actual name of the protocol to be used (in this case, arctech_switch_old
). Using the alias generates an empty pulse train.
It took me a while to realize this while trying to get my old KaKu switch to work. I used the alias, as it's mentioned here as protocol name.
Hi there, I'm using the new integration of ESPiLight in OpenMQTTGateway and getting a lot of "invalid pulse train message" but seems as the rf signal is sent by the gateway. Any idea what's happening here?
https://community.openmqttgateway.com/t/invalid-pulse-train-message/376/2
Hi, i want to read signals from a rainmeter:
Hi!
I try to use ESPiLite c TTGO T-Call (ESP32) and srx882, but unfortunately nothing works, there is no answer at all. Although the same code works on The Wemos D1 mini.
Tried different pins, different code, but all the same does not work.
#define RECEIVER_PIN 27
#define TRANSMITTER_PIN -1
#include <ESPiLight.h>
ESPiLight rf(TRANSMITTER_PIN);
String getValue(String id, String message) {
String value = "";
int idIndex = message.indexOf('"' + id + '"' + ':');
if (idIndex != -1) {
int valueIndex = idIndex + id.length() + 3;
value = message.substring(valueIndex, message.indexOf(",", valueIndex));
}
return value;
}
void rfCallback(const String &protocol, const String &message, int status, int repeats, const String &deviceID) {
if (status == VALID && protocol.equals("arctech_screen_old")) {
String t = getValue("unit", message);
// Blynk.virtualWrite(V0, t);
Serial.println("unit: " + t);
String h = getValue("state", message);
Serial.println("state: " + h);
// Blynk.virtualWrite(V1, h);
}
Serial.println("rfCallback ends");
}
void setup() {
Serial.begin(115200);
rf.setCallback(rfCallback);
rf.initReceiver(RECEIVER_PIN);
}
void loop() {
rf.loop();
}
Hi all,
I am trying to implement the Nexus protocol into ESPilight, but cannot get it to work. I tried several things, but I am probably not overseeing everything. Apparently, this protocol has only just been implemented in Pilight if I am correct. I checked several forums, but cannot get it to work. In the end I am trying to get an Auriol weather sensor to send data to an ESP8266 device.
Hope someone can help!
Thanks!
Hello,
I get this error on using the example "Receive" of the library installed from arduino library manager:
/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt1000.c.o: In function createCode': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt1000.c:325: undefined reference to
putchar'
/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt1000.c:341: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt9000.c.o: In function
createEncryptedData':
/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt9000.c:247: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c.o: In function
createCode':
/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c:215: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c.o: In function
createParity':
/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_gt7000.c:197: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/quigg_screen.c.o:/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/quigg_screen.c:232: more undefined references to
putchar' follow
/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/core/json.c.o: In function sb_finish': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/core/json.c:396: undefined reference to
calloc'
/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/core/json.c.o: In function mknode': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/core/json.c:396: undefined reference to
calloc'
/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c.o: In function checkValues': /home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c:141: undefined reference to
putchar'
/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_ws1700.c.o:(.text.parseCode+0x80): undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_wsd17.c.o:(.text.parseCode+0x5c): undefined reference to
putchar'
/tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/alecto_wx500.c.o:(.text.parseCode+0x70): undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/arctech_contact.c.o: In function
parseCode':
/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/arctech_contact.c:69: undefined reference to putchar' /tmp/arduino_build_82692/libraries/ESPiLight/pilight/libs/pilight/protocols/433.92/arctech_dimmer.c.o:/home/user/Arduino/libraries/ESPiLight/src/pilight/libs/pilight/protocols/433.92/arctech_dimmer.c:91: more undefined references to
putchar' follow
collect2: error: ld returned 1 exit status
It seems several functions are missing.
Thank you
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.