title: Phillips Hue: How to restore previous state of bulb when using electric switch?
body: <p>I have a number of Philips Hue bulbs at home, but they are only used pretty much like classic on/off-no-color light bulbs today, mainly because I do find <strong>electric switches</strong> more useful than pulling out my iPhone or correct HueTap just to turn the light on/off. - Every time the Hue bulb is switch off, it forgets its state and always comes back on at 100% brightness in white color.</p>
  
  <p>After lots of googling (and not finding any solutions) I wonder whether I am missing the point and why others do not have this problem.</p>
  
  <p>I am certainly not keen on doing software or even hardware work here, but if I had a reasonable idea I'd love to evaluate such path:</p>
  
  <ul>
  <li>is there anything planned from Philips to fix this? The last firmware update did not help and Philips product support explained that this is not a bug, it is just the way it is designed.</li>
  <li>any new "stateful" bulbs?</li>
  <li>any work-arounds like patched / custom bulb or bridge firmware?</li>
  <li>any recommendation on how to tackle this problem?</li>
  <li>Assuming the Hue bulbs themselves do not have any memory installed, I guess they always switch on at 100% brightness and then register with the bridge? And this would be the earliest possible moment to restore the previous state?</li>
  <li>Can this problem be solved using Hue SDK? (how long does it take for a turned on bulb to be controllable by the Hue Bridge? What is the quickest way for a Java program to get notified of a bulb being electrically turned on?)</li>
  <li>any chance to get the previous state restored in a quicker way if using some ZigBee protocol/techniques directly?</li>
  </ul>
  
  <p>Any hints are much appreciated.</p>
  
  <p>Best regards,
  Christian</p>