You should be able to simplify this somewhat. Use your first program and compare the data when the drier is off and when it is running. Which axis shows the most difference? Keep a moving average of that axis and use it to tell you whether the LED is on or off. Alternatively, just use a current sensor to tell you how much power the device is pulling.