           enqueueCommand(command->next_command);
         }
       }
+    } else if (FIRE_COMMAND == command->command) {
+      if ((count * DELAY_MILLIS ) > command->duration) {
+        for(uint16_t i = command->range_start; i <= command->range_end; i++) {
+          int brightness = random(100 - command->B,100);
+          strip.setPixelColor(i, strip.Color((FIRE_RED * brightness)/100, 
+                                             random(((FIRE_GREEN - command->G)*brightness)/100, (FIRE_GREEN * brightness)/100),
+                                             (FIRE_BLUE * brightness)/100));
+        }
+        strip.show();
+        count = 0;
+      } else {
+        count ++;
+      }
     }
   }
 


#define LED_PIN D6
#define LED_TOPIC "house/led"
#define DELAY_MILLIS 50

WiFiClient wclient;
ESP8266WiFiGenericClass wifi;

  return true;
}

boolean extractRange(int* start,
                     int* end,
                     int numPixels) {
  *start = 0;
  *end = 0;
  char* next = strtok(nullptr," ");
