I am trying to implement an RGBW controller that fits my needs. Everything is fine until now, except that I receive from time to time a system fault of ZUNO_LOGGING_EVENT_QUEUE_OVERLOAD.
I have implemented my sys_event_handler as folows:
Code: Select all
void sys_event_handler(byte event, byte param) {
switch (event) {
case ZUNO_LOGGING_EVENT_LEARNSTART:
// some action
break;
case ZUNO_LOGGING_EVENT_LEARNCOMPLETE:
case ZUNO_LOGGING_EVENT_SETDEFAULT:
#ifdef SERIAL_DEBUG
Serial.println("Learn complete / Set default event.");
#endif
// some action
rgbw.beginAll(0);
energyWs = 0;
saveEnergyToEeprom();
break;
case ZUNO_LOGGING_EVENT_FWAUTH:
// some action
break;
case ZUNO_LOGGING_EVENT_STACKOVERFLOW:
#ifdef SERIAL_DEBUG
Serial.println("stack overflow. Reboot");
delay(3000);
#endif
zunoReboot();
break;
default:
#ifdef SERIAL_DEBUG
Serial.println("fault");
//delay(3000);
#endif
break;
}
}
Code: Select all
fault:
53975:C0:2
What does this fault means and which Queue is being referred to and how to get rid of it?
If I am not mistaken, when I change the color through the color wheel from my gateway, I believe that my Gateway is sending the new color and is fetching it directly afterwards. Could this be causing the problem?
firmware data:
----------------------------------------------------------
FIRMWARE DATA
----------------------------------------------------------
REVISION:02.17
Z-WAVE FREQUENCY:EU
ORIGINAL FW. CRC32: D6 D2 9D 43
MAXIMUM CODE SIZE: 30 KB
CURRENT FW. CRC16: 8C FB
RADIO CHANNELS: 02