mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 04:06:34 +00:00
parent
04ec0832fc
commit
b2d2226d5d
@ -587,10 +587,14 @@ bool MINRFhandleBeacon(scan_entry_t * entry, uint32_t offset){
|
||||
void MINRFbeaconCounter(void) {
|
||||
if (MINRF.beacon.active) {
|
||||
MINRF.beacon.time++;
|
||||
/*
|
||||
char stemp[20];
|
||||
snprintf_P(stemp, sizeof(stemp),PSTR("{%s:{\"Beacon\": %u}}"),D_CMND_NRF, MINRF.beacon.time);
|
||||
AddLog_P2(LOG_LEVEL_DEBUG, stemp);
|
||||
RulesProcessEvent(stemp);
|
||||
*/
|
||||
Response_P(PSTR("{%s:{\"Beacon\":%u}}"), D_CMND_NRF, MINRF.beacon.time);
|
||||
XdrvRulesProcess();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -978,10 +978,14 @@ void HM10_TaskEvery100ms(){
|
||||
}
|
||||
|
||||
void HM10StatusInfo() {
|
||||
/*
|
||||
char stemp[20];
|
||||
snprintf_P(stemp, sizeof(stemp),PSTR("{%s:{\"found\": %u}}"),D_CMND_HM10, MIBLEsensors.size());
|
||||
AddLog_P2(LOG_LEVEL_INFO, stemp);
|
||||
RulesProcessEvent(stemp);
|
||||
*/
|
||||
Response_P(PSTR("{%s:{\"found\":%u}}"), D_CMND_HM10, MIBLEsensors.size());
|
||||
XdrvRulesProcess();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user