You are reading a single comment by @thomc and its replies. Click here to read the full conversation.
  • Refactored this a bit and it works nicely. Now going to move my efforts to GitHub:

    https://github.com/thomascannon/espruino-lightwaverf/

    A humble start, but something to build from. Given it is using JS it would be nice to make it object oriented so we could do:

    rooms.list;
    =["Study","Bedroom"]
    rooms("Study").allOff;
    rooms("Bedroom").on("Lamp");
    

    You get the idea anyway.

About

Avatar for thomc @thomc started