some changes to global mode
This commit is contained in:
parent
47269c3633
commit
353cc61416
@ -46,8 +46,8 @@ const mqttClient = function(events) {
|
||||
const url = ['https://maker.ifttt.com/trigger/', mode, '/with/key/cWvECkeiyAPwmiOPBkXL2D'].join('');
|
||||
|
||||
if (mode !== globalMode) {
|
||||
logger.info('Go for change state');
|
||||
// globalMode = mode;
|
||||
logger.info('Go for change state', mode);
|
||||
globalMode = mode;
|
||||
logger.debug('Global Mode now A:', globalMode);
|
||||
/* Request(url, function (error, response, body) {
|
||||
logger.debug(response, body);
|
||||
|
Loading…
Reference in New Issue
Block a user