resp was used twice, causing a bridge on the second found IP address to
never be accessed, as it was overwritten in line 39.
Enabled toggling a lamp on and off by clicking the bulb multiple times, without having to reload the page.
Merge pull request #7 from bashopman/master

Suggesties ter verbetering