 			char buf[4];
 			val = 1 - val;
 			if (val)
-				mqtt_cli.publish("/neuro/chatroom", "light on");
+				mqtt_cli.publish(nd->cfg.topic_to, "light on");
 			else
-				mqtt_cli.publish("/neuro/chatroom", "light off");
+				mqtt_cli.publish(nd->cfg.topic_to, "light off");
 		}
 	}
 }

void neurite_user_setup(void)
{
	log_dbg("\n\r");
	pinMode(14, OUTPUT);
	analogWrite(14, 1023);
}

/* called once on mqtt message received */

		char *subtopic = topic + strlen(nd->topic_private) - 2;
		char *token = NULL;
		token = strtok(subtopic, "/");
		if (strcmp(token, "io") == 0) {
			log_dbg("hit io, payload: %c\n\r", payload[0]);
		}
	}
	if (strcmp(topic, nd->cfg.topic_from) == 0) {
	}
}

/* time_ms: the time delta in ms of button press/release cycle. */
