     if(String(stripObj2.params).equals("") || String(stripObj2.params).equals("INIT"))
     {
         Serial.println("Reseting state");
+        brightness = 255;
+        EEPROM.put(EEPROM_BRIGHTNESS, 255);
     }
     else
     {
         Serial.println("Resuming state: " + String(stripObj2.params));
+        if(brightness > 0 && brightness < 256)
+        {
+            strip2.setBrightness(brightness);
+        }
         run(String(stripObj2.params));
     }
 

#include "neopixel.h"
#include "led-strip-particles.h"

#define EEPROM_ADDR_PINS 0
#define EEPROM_ADDR_STRIP_0 500
#define EEPROM_ADDR_STRIP_1 1000
#define EEPROM_ADDR_STRIP_2 1500

    }
    else if(command.equals(SETBRIGHTNESS))
    {
        brightness = stringToInt(args[1]);
        EEPROM.put(EEPROM_BRIGHTNESS, brightness);
        strip2.setBrightness(brightness);
        strip2.show();
    }
