C:/git/OpenMQTTGateway/main/main.ino: In function 'void stateMeasures()':
C:/git/OpenMQTTGateway/main/main.ino:1687:27: error: 'receiveMhz' was not declared in this scope
SYSdata["mhz"] = (float)receiveMhz;
Looking at the code, it may be that the CC1101 is only supported with the “PiLight” device.
what kind of gateway are you trying to create with the CC1101? Along with its library you don’t have any other RF module lib (PiLight or otherwise) defined, so I assume the errors come from that, as no RF capable library is included to work with receiveMhz etc.
@DigiH that is exactly the issue, you need one of the RF receive gateway modules ( ie ZgatewayRTL_433, ZgatewayRF etc ) defined as well, not just the radio. Am thinking defensively, this needs to be fixed in the code base.
The radio receiver portion is part of each RF receive gateway modules as there is no general radio receiver module. This directive ZradioCC1101="CC1101" informs the RF receive gateway module which transceiver is attached.
If you want to look at the raw signal ZgatewayRTL_433 has an option RAW_SIGNAL_DEBUG=true, which outputs the raw OOK pulse stream for a received signal.