  * in this case the client has asked to open/close the right door
  *****************************************************************/
 void handleRightButton(AdafruitIO_Data *data) {
+  if (handleOtherCommand(data) == 1) {
+    return;
+  }
   int value = data->toInt();
   log("right button: ", 1, 0);
   log(value, 0 , 1);

[17 Jun 17] More tweaks - if we see "relay off" and it's been awhile since "relay on", pretend it's relay ON,
              turned off logging
[ 5 Jul 17] Additional comments; deleted some unused defintions & code; conditionally compile logging

*/



#include "config.h"

#define loggingOn 0                     // set to 0 to disable logging to serial monitor

// these first two are the reed switches on the garage door to detect open/close
AdafruitIO_Feed *leftreed = io.feed("left-reed");
